/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #050505;
  --white: #f0ede8;
  --gold: #b8975a;
  --muted: #5a5a5a;
  --font-main: 'Georgia', 'Times New Roman', serif;
  --font-mono: 'Courier New', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-main);
  overflow-x: hidden;
  /* iOS momentum scroll */
  -webkit-overflow-scrolling: touch;
}

/* Prevent text size inflation on iOS rotation */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* ─── ANKARA BACKGROUND ────────────────────────────────────── */
.ankara-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* All sections sit above the pattern */
section, .hero {
  position: relative;
  z-index: 1;
}

/* ─── NSIBIDI LOADER ───────────────────────────────────────── */
.nsibidi-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #020202;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;   /* keep particles clipped inside */
}

/* Sand / smoke particle canvas — behind the dial */
.sand-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Dial elements sit above the canvas */
.nsibidi-ring,
.nsibidi-center-glyph,
.nsibidi-label {
  position: relative;
  z-index: 1;
}

.nsibidi-ring {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nsibidi-sym {
  position: absolute;
  font-size: 1.5rem;
  color: rgba(184, 151, 90, 0.2);
  user-select: none;
  will-change: transform, color, text-shadow;
  line-height: 1;
}

.nsibidi-center-glyph {
  position: absolute;
  font-size: 2.8rem;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(184, 151, 90, 0.5);
  user-select: none;
  will-change: transform, opacity;
}

.nsibidi-label {
  position: absolute;
  bottom: calc(50% - 180px);
  font-size: 0.6rem;
  letter-spacing: 0.45em;
  color: rgba(184, 151, 90, 0.3);
  font-family: var(--font-mono);
  text-transform: uppercase;
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* ─── DOOR PAGE ────────────────────────────────────────────── */
.door-page {
  height: 100svh;
  min-height: 100vh; /* fallback */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020202;
  cursor: pointer;
  overflow: hidden;
}

/* Ankara on door too */
.door-page .ankara-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.door-scene {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100svh;
  min-height: 100vh;
}

/* ── Old cracked plaster wall ── */
.door-wall {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  will-change: transform, opacity;
  /* Aged plaster: mottled earth-toned patches over near-black */
  background:
    radial-gradient(ellipse 38% 30% at 18% 22%, rgba(62, 52, 36, 0.32), transparent 70%),
    radial-gradient(ellipse 45% 36% at 82% 70%, rgba(54, 44, 30, 0.28), transparent 70%),
    radial-gradient(ellipse 30% 26% at 70% 15%, rgba(46, 38, 26, 0.22), transparent 70%),
    radial-gradient(ellipse 34% 30% at 12% 80%, rgba(50, 40, 28, 0.24), transparent 70%),
    radial-gradient(ellipse 55% 45% at 50% 50%, rgba(38, 32, 22, 0.18), transparent 75%),
    linear-gradient(180deg, #0a0907 0%, #0d0b08 45%, #080706 100%);
}

/* Rough plaster grain over the mottling */
.door-wall::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012 0.018' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.29 0 0 0 0 0.19 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23r)'/%3E%3C/svg%3E");
}

/* Damp staining creeping from the bottom */
.door-wall::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, transparent 28%),
              linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 18%);
}

.wall-cracks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Soft gold bloom rising behind the stage */
.door-bloom {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 55%,
              rgba(184, 151, 90, 0.13) 0%,
              rgba(184, 151, 90, 0.04) 40%,
              transparent 70%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
}

/* Ember particle canvas */
.door-embers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ── 3D stage ── */
.door-stage {
  position: relative;
  z-index: 2;
  perspective: 1100px;
  perspective-origin: 50% 45%;
  will-change: transform, opacity;
}

.door-rig {
  position: relative;
  width: min(340px, 82vw);
  height: min(520px, 68svh);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Light pouring through the seam */
.door-light {
  position: absolute;
  top: -4%;
  left: 50%;
  width: 14px;
  height: 108%;
  margin-left: -7px;
  background: linear-gradient(to bottom,
              rgba(244, 226, 188, 0) 0%,
              rgba(244, 226, 188, 0.95) 18%,
              rgba(255, 245, 220, 1) 50%,
              rgba(244, 226, 188, 0.95) 82%,
              rgba(244, 226, 188, 0) 100%);
  filter: blur(6px);
  opacity: 0.12;
  transform: translateZ(-40px);
  pointer-events: none;
  will-change: transform, opacity;
}

/* Carved arch frame around the doors */
.door-arch { position: absolute; inset: 0; pointer-events: none; transform: translateZ(6px); }
.arch-line { position: absolute; border: 1px solid rgba(184, 151, 90, 0.3); }
.arch-outer { inset: -14px; }
.arch-inner { inset: -6px; border-color: rgba(184, 151, 90, 0.12); }

/* ── Door leaves ── */
.door-leaf {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background:
    linear-gradient(105deg,
      rgba(20, 16, 10, 0.98) 0%,
      rgba(10, 8, 5, 0.98) 45%,
      rgba(16, 13, 8, 0.98) 100%);
  border: 1px solid rgba(184, 151, 90, 0.22);
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.8),
    inset 0 0 4px rgba(184, 151, 90, 0.15);
  backface-visibility: hidden;
  will-change: transform;
  cursor: pointer;
}

.door-leaf-left  { left: 0;  transform-origin: left center;  border-right: none; }
.door-leaf-right { right: 0; transform-origin: right center; border-left: none; }

/* Carved grooves + gold studs on each leaf */
.leaf-carving { position: absolute; inset: 14px; pointer-events: none; }

.leaf-groove {
  position: absolute;
  left: 12%;
  right: 12%;
  border: 1px solid rgba(184, 151, 90, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}
.leaf-groove.g1 { top: 8%;  height: 34%; }
.leaf-groove.g2 { top: 56%; height: 34%; }

.leaf-stud {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
              rgba(220, 190, 130, 0.9), rgba(120, 95, 50, 0.9) 70%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 0 6px rgba(184, 151, 90, 0.25);
}
.leaf-stud.s1 { top: 5%;    left: 8%; }
.leaf-stud.s2 { top: 5%;    right: 8%; }
.leaf-stud.s3 { bottom: 5%; left: 8%; }
.leaf-stud.s4 { bottom: 5%; right: 8%; }

/* Glowing inner edge along the seam */
.leaf-edge {
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom,
              transparent, rgba(184, 151, 90, 0.4) 30%,
              rgba(184, 151, 90, 0.4) 70%, transparent);
}
.leaf-edge-l { right: auto; left: 0; }

/* ── Engraving floating above the seam ── */
.door-engraving {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  transform: translateZ(30px);
  pointer-events: none;
  will-change: transform, opacity;
}

.door-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.35em;
  color: var(--gold);
  font-weight: 400;
}

.door-sub {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(184, 151, 90, 0.3);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.door-access-line {
  position: absolute;
  bottom: 12vh;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: rgba(240, 237, 232, 0.25);
  font-family: var(--font-mono);
  opacity: 0;
}

/* ─── HOME PAGE ────────────────────────────────────────────── */
.home-page { background: var(--black); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* HERO */
.hero {
  height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  gap: 40px;
}

.hero-inner {
  flex: 1;
  min-width: 0;
}

.hero-label {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  font-family: var(--font-mono);
  margin-bottom: 28px;
  text-transform: uppercase;
}

/* ── Crown + orbit block ── */
.hero-title-block {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}

/* ── DOOR CROWN ── */
.door-crown {
  width: 110px;
  height: auto;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 10px rgba(184,151,90,0.55));
  animation: crownPulse 3.5s ease-in-out infinite;
}

@keyframes crownPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(184,151,90,0.35)); }
  50%       { filter: drop-shadow(0 0 22px rgba(184,151,90,0.9)); }
}

/* ── DOOR ORBIT ── */
.door-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 2;
}

.orbit-sym {
  position: absolute;
  font-size: 1rem;
  color: rgba(184,151,90,0.5);
  user-select: none;
  line-height: 1;
  will-change: transform, opacity;
  transform: translate(-50%, -50%);
}

/* ── DOOR ANCIENT TITLE ── */
.door-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 3;
}

/* Ge'ez / Ethiopic ancient script line */
.door-ancient {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(184,151,90,0.55);
  letter-spacing: 0.18em;
  font-family: 'Noto Sans Ethiopic', 'Ethiopic', serif;
  line-height: 1.2;
}

/* Latin subtitle below */
.door-title {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  letter-spacing: 0.45em;
  color: var(--gold);
  font-weight: 400;
  font-family: var(--font-main);
  line-height: 1;
}

.hero-crown {
  width: 90px;
  height: auto;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 8px rgba(184,151,90,0.5));
  animation: crownPulse 3s ease-in-out infinite;
}

@keyframes crownPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(184,151,90,0.4)); }
  50%       { filter: drop-shadow(0 0 18px rgba(184,151,90,0.85)); }
}

/* Orbit container — centered on the HIGHFATHER label */
.hero-orbit {
  position: absolute;
  /* vertically centered on the label line (~bottom of crown block) */
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  pointer-events: none;
}

.orbit-sym {
  position: absolute;
  font-size: 0.85rem;
  color: rgba(184,151,90,0.55);
  user-select: none;
  line-height: 1;
  will-change: transform;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 36px;
}

.hero-statement {
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  color: var(--muted);
  line-height: 1.8;
  letter-spacing: 0.02em;
  max-width: 560px;
}

.scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 40px;
  font-size: 0.75rem;
  color: rgba(184, 151, 90, 0.4);
  letter-spacing: 0.1em;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 0.9; transform: translateY(4px); }
}

/* AFRICA PULSE MAP */
.africa-wrap {
  flex: 0 0 auto;
  width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s;
}

.africa-wrap.visible { opacity: 1; }

.africa-svg-container {
  position: relative;
  width: 100%;
}

.africa-svg-container img#africaImg {
  width: 100%;
  height: auto;
  display: block;
  /* Make the map itself invisible — only the pulse dots show */
  opacity: 0;
  position: relative;
}

.africa-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

/* PRESENCE */
.presence {
  padding: 160px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.presence-line {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 800px;
}

/* SYSTEM */
.system {
  padding: 160px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  font-family: var(--font-mono);
  text-transform: uppercase;
  margin-bottom: 80px;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.system-entity {
  border-top: 1px solid rgba(184, 151, 90, 0.2);
  padding-top: 32px;
}

.entity-name {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.entity-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.9;
  letter-spacing: 0.01em;
}

/* PHILOSOPHY */
.philosophy {
  padding: 160px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.phil-line {
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 8px;
}

.phil-line.muted {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--muted);
  margin-top: 48px;
  letter-spacing: 0.04em;
}

/* BIO */
.bio {
  padding: 160px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.portrait-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border: 1px solid rgba(184, 151, 90, 0.15);
  overflow: hidden;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%) contrast(1.05);
  display: block;
}

/* Fallback initials — always rendered, hidden behind image */
.portrait-placeholder {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 4rem;
  letter-spacing: 0.25em;
  color: rgba(184, 151, 90, 0.35);
  font-family: var(--font-mono);
}

/* When image loads successfully, it sits on top via z-index */
.portrait-wrap img {
  z-index: 1;
}

.bio-text p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.bio-closing {
  color: var(--white) !important;
  font-style: italic;
}

/* PARTNERS */
.partners {
  padding: 160px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 60px;
  align-items: center;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.partner-logo {
  width: 100px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%) brightness(0.65);
  transition: filter 0.4s ease;
}

.partner-item:hover .partner-logo {
  filter: grayscale(0%) brightness(1);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.partner-name {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  transition: color 0.4s;
}

.partner-item:hover .partner-name {
  color: var(--gold);
}

/* CLOSING */
.closing {
  padding: 200px 0 160px;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}

.closing-line {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--white);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.hidden-layer {
  margin-top: 80px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(184, 151, 90, 0.25);
  font-family: var(--font-mono);
  min-height: 20px;
}

/* ─── REVEAL ANIMATION BASE ────────────────────────────────── */
/* Only hero reveals start hidden — everything else is visible by default */
.hero .reveal,
.page-hero .reveal,
.about-hero .reveal {
  opacity: 0;
  transform: translateY(30px);
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — HYPER IMMERSIVE
   Breakpoints: 768 · 480 · 375 · landscape · short-viewport
   ═══════════════════════════════════════════════════════════ */

/* ── Safe area support (notch / home indicator) */
:root {
  --safe-top:    env(safe-area-inset-top,    0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left,   0px);
  --safe-right:  env(safe-area-inset-right,  0px);
}

/* ── 768px — tablet & large phone ─────────────────────────── */
@media (max-width: 768px) {

  /* Layout */
  .container { padding: 0 20px; }
  .hero {
    padding: 0 20px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    height: 100svh; /* small viewport height unit */
  }
  .hero-inner { flex: none; width: 100%; }

  /* Africa map — ghost behind text */
  .africa-wrap {
    width: 55vw;
    max-width: 240px;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.18;
    pointer-events: none;
  }

  /* Typography */
  .hero-label    { font-size: 0.62rem; letter-spacing: 0.3em; margin-bottom: 16px; }
  .hero-title    { font-size: clamp(2.2rem, 9vw, 3.6rem); margin-bottom: 20px; }
  .hero-statement{ font-size: clamp(0.82rem, 3.5vw, 1rem); line-height: 1.9; max-width: 100%; }

  /* Sections */
  .presence, .system, .philosophy, .bio, .partners, .closing,
  .about-bio, .about-values, .about-systems, .blog-list,
  .post-wrap, .contact-section { padding-top: 80px; padding-bottom: 80px; }
  .page-hero { padding-top: 120px; padding-bottom: 48px; }
  .about-hero { padding-top: 120px; padding-bottom: 40px; }

  /* Grids */
  .system-grid   { grid-template-columns: 1fr; gap: 32px; }
  .bio-grid      { grid-template-columns: 1fr; gap: 40px; }
  .values-grid   { grid-template-columns: 1fr; gap: 32px; }
  .system-row    { grid-template-columns: 1fr; gap: 12px; }
  .contact-grid  { grid-template-columns: 1fr; gap: 48px; }
  .form-row      { grid-template-columns: 1fr; }
  .partners-grid { gap: 28px 32px; }

  /* Door */
  .door-rig {
    width: min(320px, 88vw);
    height: min(480px, 82svh);
  }
  .door-crown  { width: 80px; }
  .door-ancient{ font-size: clamp(0.95rem, 4vw, 1.3rem); }
  .door-title  { font-size: clamp(1rem, 5vw, 1.6rem); letter-spacing: 0.3em; }
  .door-sub    { font-size: 0.58rem; letter-spacing: 0.18em; }
  .door-access-line { font-size: 0.6rem; bottom: 8vh; }

  /* Nsibidi loader */
  .nsibidi-ring { width: 240px; height: 240px; }

  /* Dial */
  .dial-wrap { width: 340px; height: 340px; }
  .dial-disc  { width: 290px; height: 290px; }

  /* Blog */
  .blog-card-title { font-size: clamp(1.2rem, 5vw, 1.8rem); }
  .post-title      { font-size: clamp(1.6rem, 6vw, 2.8rem); }
  .post-container  { max-width: 100%; }

  /* Newsletter */
  .newsletter-inner  { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-fields { flex-direction: column; }

  /* Comments */
  .comment-form-wrap { padding: 24px; }
  .cf-row            { grid-template-columns: 1fr; }
  .comment-reply     { margin-left: 20px; }

  /* Scroll hint */
  .scroll-hint { left: 20px; bottom: calc(32px + var(--safe-bottom)); }
}

/* ── 480px — standard phone ────────────────────────────────── */
@media (max-width: 480px) {

  .container { padding: 0 16px; }

  /* Hero — full bleed immersive */
  .hero { padding: 0 16px; }
  .hero-title    { font-size: clamp(2rem, 11vw, 3rem); line-height: 1.0; }
  .hero-statement{ font-size: 0.88rem; line-height: 2; }
  .hero-label    { font-size: 0.58rem; letter-spacing: 0.28em; }

  /* Africa map — even more ghosted, smaller */
  .africa-wrap { width: 48vw; opacity: 0.12; right: -8px; }

  /* Door — full screen feel */
  .door-rig {
    width: 92vw;
    height: 82svh;
    border-width: 1px;
  }
  .door-crown   { width: 70px; }
  .door-ancient { font-size: 1rem; }
  .door-title   { font-size: 1.2rem; letter-spacing: 0.28em; }
  .door-orbit   { /* orbit radius reduced in JS */ }

  /* Sections */
  .presence, .system, .philosophy, .bio, .partners, .closing,
  .about-bio, .about-values, .about-systems { padding-top: 60px; padding-bottom: 60px; }
  .page-hero  { padding-top: 100px; padding-bottom: 32px; }
  .about-hero { padding-top: 100px; }

  /* Typography */
  .page-headline  { font-size: clamp(1.8rem, 9vw, 3rem); }
  .about-headline { font-size: clamp(2.2rem, 11vw, 4rem); }
  .presence-line  { font-size: clamp(1rem, 5vw, 1.5rem); }
  .phil-line      { font-size: clamp(1.2rem, 6vw, 2rem); }
  .section-label  { font-size: 0.6rem; letter-spacing: 0.3em; margin-bottom: 40px; }

  /* Dial — full width on small phones */
  .dial-wrap { width: 300px; height: 300px; }
  .dial-disc  { width: 256px; height: 256px; }
  .dial-center-glyph { font-size: 1.8rem; }
  .dial-center-label { font-size: 0.55rem; }

  /* Nsibidi loader */
  .nsibidi-ring { width: 200px; height: 200px; }
  .nsibidi-sym  { font-size: 1.2rem; }
  .nsibidi-center-glyph { font-size: 2.2rem; }

  /* Partners */
  .partner-logo { width: 80px; height: 48px; }

  /* Blog */
  .blog-card { padding: 40px 0; }
  .blog-card-meta { flex-wrap: wrap; gap: 10px; }
  .comment-form-wrap { padding: 16px; }
}

/* ── 375px — iPhone SE / small Android ────────────────────── */
@media (max-width: 375px) {

  .hero-title    { font-size: clamp(1.8rem, 12vw, 2.6rem); }
  .door-title    { font-size: 1rem; letter-spacing: 0.22em; }
  .door-ancient  { font-size: 0.9rem; }
  .door-crown    { width: 60px; }

  .dial-wrap { width: 280px; height: 280px; }
  .dial-disc  { width: 236px; height: 236px; }

  .container { padding: 0 14px; }
  .section-label { font-size: 0.55rem; letter-spacing: 0.25em; }
}

/* ── Landscape phones ──────────────────────────────────────── */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {

  .hero {
    height: 100svh;
    flex-direction: row;
    align-items: center;
    padding: 0 24px;
    gap: 24px;
  }
  .hero-title    { font-size: clamp(1.4rem, 4vw, 2.2rem); margin-bottom: 12px; }
  .hero-statement{ font-size: 0.78rem; }
  .africa-wrap   { width: 30vw; opacity: 0.2; position: relative; top: auto; transform: none; }

  .door-rig {
    width: auto;
    height: 88svh;
    aspect-ratio: 2/3;
  }
  .door-crown { width: 60px; }

  .nsibidi-ring { width: 180px; height: 180px; }

  .dial-wrap { width: 280px; height: 280px; }
  .dial-disc  { width: 236px; height: 236px; }

  .presence, .system, .philosophy, .bio, .closing,
  .page-hero, .about-hero { padding-top: 48px; padding-bottom: 48px; }
}

/* ── Short viewports (< 650px height) ─────────────────────── */
@media (max-height: 650px) and (min-width: 481px) {
  .door-rig { height: 80svh; }
  .nsibidi-ring { width: 200px; height: 200px; }
  .scroll-hint { bottom: calc(20px + var(--safe-bottom)); }
}

/* ── Touch — larger tap targets ────────────────────────────── */
@media (hover: none) and (pointer: coarse) {
  .dial-hole   { width: 52px; height: 52px; }
  .reply-btn   { padding: 8px 0; font-size: 0.65rem; }
  .form-submit { padding: 18px 32px; }
  .newsletter-btn { padding: 18px 32px; }
  .blog-card-link { padding: 8px 0; display: inline-block; }
  .hamburger   { padding: 12px; }
  .hamburger span { width: 28px; }
  .social-rail { flex-direction: row; left: 16px; bottom: 16px; }
  .social-rail-link { width: 38px; height: 38px; font-size: 0.62rem; }
  .post-back   { padding: 10px 0; display: inline-block; }
}

/* ── Safe area padding for fixed elements ──────────────────── */
@supports (padding: env(safe-area-inset-top)) {
  .hamburger {
    top:   calc(24px + var(--safe-top));
    right: calc(28px + var(--safe-right));
  }
  .social-rail {
    left:   calc(28px + var(--safe-left));
    bottom: calc(28px + var(--safe-bottom));
  }
  .dial-close {
    top:   calc(24px + var(--safe-top));
    right: calc(32px + var(--safe-right));
  }
  .nsibidi-label {
    bottom: calc(50% - 160px - var(--safe-bottom));
  }
}

/* ─── HAMBURGER ────────────────────────────────────────────── */
.hamburger {
  position: fixed;
  top: 28px;
  right: 32px;
  z-index: 900;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── SOCIAL RAIL ─────────────────────────────────────────── */
.social-rail {
  position: fixed;
  left: 28px;
  bottom: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.social-rail-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184,151,90,0.32);
  background: rgba(5,5,5,0.68);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: transform 0.25s, border-color 0.25s, background 0.25s, color 0.25s;
}
.social-rail-link:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(184,151,90,0.12);
  color: var(--white);
}

/* ─── DIAL OVERLAY ─────────────────────────────────────────── */
.dial-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(2,2,2,0.96);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 28px;
  opacity: 0;
}
.dial-overlay.active { display: flex; }

.dial-close {
  position: absolute;
  top: 28px; right: 36px;
  background: none; border: none;
  color: rgba(184,151,90,0.4);
  font-size: 1.1rem; cursor: pointer;
  transition: color 0.3s;
}
.dial-close:hover { color: var(--gold); }

.dial-hint {
  font-size: 0.58rem;
  letter-spacing: 0.38em;
  color: rgba(184,151,90,0.3);
  font-family: var(--font-mono);
  text-transform: uppercase;
  animation: blink 1.8s ease-in-out infinite;
}

/* ─── DIAL WRAP ────────────────────────────────────────────── */
.dial-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  --dial-edge: 198px;
  --dial-disc-size: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
}

.dial-outer-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(184,151,90,0.2);
  box-shadow: 0 0 40px rgba(184,151,90,0.05), inset 0 0 40px rgba(184,151,90,0.03);
}
.dial-outer-ring::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(184,151,90,0.07);
}

/* Finger stop notch */
.dial-stop {
  position: absolute;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(184,151,90,0.55);
  background: rgba(184,151,90,0.07);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) rotate(300deg) translateY(calc(var(--dial-edge) * -1));
  pointer-events: none;
  z-index: 3;
}
.dial-stop::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: rgba(184,151,90,0.25);
}

/* ─── NEEDLE ───────────────────────────────────────────────── */
.dial-needle {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  z-index: 4;
  cursor: grab;
  transform-origin: 0 0;
  touch-action: none;
}
.dial-needle:active { cursor: grabbing; }

.needle-arrow {
  position: absolute;
  left: -6px;
  top: calc(var(--dial-edge) * -1);
  width: 12px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold) 0%, rgba(184,151,90,0.2) 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  filter: drop-shadow(0 0 6px rgba(184,151,90,0.7));
}

/* ─── DISC ─────────────────────────────────────────────────── */
.dial-disc {
  position: absolute;
  width: var(--dial-disc-size); height: var(--dial-disc-size);
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(20,18,14,1) 0%, rgba(10,9,7,1) 60%, rgba(5,5,5,1) 100%);
  border: 1px solid rgba(184,151,90,0.12);
  user-select: none;
  touch-action: none;
  box-shadow: 0 0 60px rgba(0,0,0,0.8), inset 0 0 30px rgba(0,0,0,0.6);
}

/* ─── HOLES ────────────────────────────────────────────────── */
.dial-hole {
  position: absolute;
  top: 50%; left: 50%;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(184,151,90,0.3);
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.dial-hole.active,
.dial-hole:hover {
  border-color: var(--gold);
  background: rgba(184,151,90,0.1);
  box-shadow: 0 0 16px rgba(184,151,90,0.5);
}
.dial-hole-glyph {
  font-size: 1.15rem;
  color: rgba(184,151,90,0.55);
  pointer-events: none;
  transition: color 0.25s;
}
.dial-hole.active .dial-hole-glyph,
.dial-hole:hover  .dial-hole-glyph { color: var(--gold); }

/* ─── CENTER ───────────────────────────────────────────────── */
.dial-center {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  z-index: 5;
}
.dial-center-glyph {
  font-size: 2.4rem;
  color: var(--gold);
  text-shadow: 0 0 22px rgba(184,151,90,0.55);
  line-height: 1;
}
.dial-center-label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--white);
  font-family: var(--font-mono);
  text-transform: uppercase;
  min-height: 14px;
}
.dial-center-sub {
  font-size: 0.52rem;
  letter-spacing: 0.25em;
  color: rgba(184,151,90,0.35);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 520px) {
  .dial-wrap {
    width: 320px;
    height: 320px;
    --dial-edge: 150px;
    --dial-disc-size: 270px;
  }
}

@media (max-width: 480px) {
  .dial-wrap {
    width: 300px;
    height: 300px;
    --dial-edge: 140px;
    --dial-disc-size: 256px;
  }
}

@media (max-width: 375px) {
  .dial-wrap {
    width: 280px;
    height: 280px;
    --dial-edge: 130px;
    --dial-disc-size: 236px;
  }
}

/* ─── PAGE HERO (blog, contact, about) ────────────────────── */
.page-hero {
  padding: 180px 0 80px;
  position: relative;
  z-index: 1;
}
.page-headline {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
}
.page-sub {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
}

/* ─── ABOUT ────────────────────────────────────────────────── */
.about-hero { padding: 180px 0 60px; position: relative; z-index: 1; }
.about-headline {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
}
.about-bio { padding: 80px 0 120px; border-top: 1px solid rgba(255,255,255,0.04); }
.about-bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 80px;
  align-items: start;
}
.about-portrait { position: relative; }
.about-bio-text p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 24px;
}
.about-bio-text strong { color: var(--gold); font-weight: 400; }

.about-values { padding: 120px 0; border-top: 1px solid rgba(255,255,255,0.04); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 80px;
}
.value-item { border-top: 1px solid rgba(184,151,90,0.15); padding-top: 28px; }
.value-num {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-family: var(--font-mono);
  margin-bottom: 12px;
}
.value-title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.value-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.9; }

.about-systems { padding: 120px 0; border-top: 1px solid rgba(255,255,255,0.04); }
.systems-list { display: flex; flex-direction: column; gap: 0; }
.system-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: start;
}
.system-row-left { display: flex; flex-direction: column; gap: 8px; }
.system-row-name {
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-family: var(--font-mono);
}
.system-row-tag {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
}
.system-row-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.9; }

/* ─── BLOG LIST ────────────────────────────────────────────── */
.blog-list { padding: 60px 0 160px; }
.blog-card {
  padding: 56px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.blog-card-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
.blog-cat {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-family: var(--font-mono);
  text-transform: uppercase;
  border: 1px solid rgba(184,151,90,0.3);
  padding: 3px 10px;
}
.blog-date, .blog-read {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-family: var(--font-mono);
}
.blog-card-title {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}
.blog-card-title a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}
.blog-card-title a:hover { color: var(--gold); }
.blog-card-excerpt {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.9;
  max-width: 680px;
  margin-bottom: 24px;
}
.blog-card-link {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-decoration: none;
  font-family: var(--font-mono);
  text-transform: uppercase;
  transition: opacity 0.3s;
}
.blog-card-link:hover { opacity: 0.6; }

/* ─── BLOG POST ────────────────────────────────────────────── */
.post-wrap { padding: 160px 0; }
.post-container { max-width: 760px; }
.post-header { margin-bottom: 48px; }
.post-meta { display: flex; gap: 20px; margin-bottom: 28px; }
.post-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}
.post-excerpt {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  font-style: italic;
}
.post-divider {
  width: 60px;
  height: 1px;
  background: rgba(184,151,90,0.4);
  margin: 48px 0;
}
.post-body {
  font-size: 0.97rem;
  line-height: 2;
  color: rgba(240,237,232,0.75);
}
.post-body p  { margin-bottom: 24px; }
.post-body h3 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
  margin: 48px 0 16px;
}
.post-body strong { color: var(--gold); font-weight: 400; }
.post-footer { margin-top: 80px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.post-back {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-mono);
  text-transform: uppercase;
  transition: color 0.3s;
}
.post-back:hover { color: var(--gold); }

/* ─── CONTACT ──────────────────────────────────────────────── */
.contact-section { padding: 60px 0 160px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  align-items: start;
}
.contact-intro {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 48px;
}
.contact-channels { display: flex; flex-direction: column; gap: 32px; }
.channel-item { border-left: 1px solid rgba(184,151,90,0.2); padding-left: 20px; }
.channel-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-family: var(--font-mono);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.channel-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

.social-network {
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid rgba(184,151,90,0.14);
}
.social-network-label {
  display: block;
  margin-bottom: 18px;
  color: rgba(184,151,90,0.85);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}
.social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.social-link {
  position: relative;
  min-height: 88px;
  padding: 18px 16px;
  border: 1px solid rgba(184,151,90,0.18);
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.social-link::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(184,151,90,0.06);
  pointer-events: none;
}
.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(184,151,90,0.55);
  background: rgba(184,151,90,0.045);
}
.social-name {
  display: block;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.social-handle {
  display: block;
  color: rgba(240,237,232,0.55);
  font-size: 0.78rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-family: var(--font-mono);
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(184,151,90,0.2);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.9rem;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: rgba(184,151,90,0.6); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.15); }

.form-submit {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 1px solid rgba(184,151,90,0.4);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding: 16px 32px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  align-self: flex-start;
}
.form-submit:hover {
  background: rgba(184,151,90,0.08);
  border-color: var(--gold);
}
.submit-glyph { font-size: 1rem; }
.form-error {
  font-size: 0.75rem;
  color: #c0392b;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

/* Success state */
.contact-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 48px;
  border: 1px solid rgba(184,151,90,0.2);
}
.success-glyph { font-size: 2.5rem; color: var(--gold); }
.success-title {
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.success-sub { font-size: 0.85rem; color: var(--muted); line-height: 1.8; }

/* ─── RESPONSIVE additions ─────────────────────────────────── */
@media (max-width: 768px) {
  .about-bio-grid    { grid-template-columns: 1fr; gap: 48px; }
  .values-grid       { grid-template-columns: 1fr; gap: 40px; }
  .system-row        { grid-template-columns: 1fr; gap: 16px; }
  .contact-grid      { grid-template-columns: 1fr; gap: 60px; }
  .social-links      { grid-template-columns: 1fr; }
  .form-row          { grid-template-columns: 1fr; }
  .post-container    { max-width: 100%; }
}

/* ─── NEWSLETTER SECTION ───────────────────────────────────── */
.newsletter-section {
  border-top: 1px solid rgba(184,151,90,0.15);
  border-bottom: 1px solid rgba(184,151,90,0.15);
  padding: 80px 0;
  background: rgba(184,151,90,0.03);
  position: relative;
  z-index: 1;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.newsletter-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--white);
  margin: 12px 0 12px;
}
.newsletter-sub {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.9;
}
.newsletter-form { display: flex; flex-direction: column; gap: 16px; }
.newsletter-fields { display: flex; gap: 12px; }
.newsletter-fields input {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(184,151,90,0.2);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.88rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.3s;
}
.newsletter-fields input:focus { border-color: rgba(184,151,90,0.6); }
.newsletter-fields input::placeholder { color: rgba(255,255,255,0.15); }
.newsletter-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid rgba(184,151,90,0.4);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  align-self: flex-start;
}
.newsletter-btn:hover { background: rgba(184,151,90,0.08); border-color: var(--gold); }
.newsletter-msg {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  min-height: 18px;
}
.nl-success { color: rgba(184,151,90,0.9); }
.nl-info    { color: var(--muted); }
.nl-error   { color: #c0392b; }

/* ─── COMMENTS SECTION ─────────────────────────────────────── */
.comments-section {
  padding: 80px 0 160px;
  position: relative;
  z-index: 1;
}
.comments-header { margin-bottom: 48px; }
.comments-title {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: var(--white);
  margin-top: 12px;
}

/* Comment form */
.comment-form-wrap {
  margin-bottom: 64px;
  padding: 40px;
  border: 1px solid rgba(184,151,90,0.12);
  background: rgba(255,255,255,0.01);
}
.comment-form { display: flex; flex-direction: column; gap: 20px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.optional { color: var(--muted); font-size: 0.55rem; letter-spacing: 0.1em; }
.replying-to {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-family: var(--font-mono);
  text-transform: uppercase;
}
.replying-to button {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  text-transform: uppercase;
  transition: color 0.2s;
}
.replying-to button:hover { color: var(--white); }
.comment-error {
  font-size: 0.7rem;
  color: #c0392b;
  font-family: var(--font-mono);
  min-height: 16px;
}

/* Thread */
.comments-thread { display: flex; flex-direction: column; gap: 0; }
.no-comments {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  padding: 32px 0;
}

/* Individual comment */
.comment {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.comment-reply {
  margin-left: 64px;
  padding-left: 20px;
  border-left: 1px solid rgba(184,151,90,0.12);
  border-bottom: none;
  padding-top: 24px;
  padding-bottom: 0;
}
.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(184,151,90,0.1);
  border: 1px solid rgba(184,151,90,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.comment-name {
  font-size: 0.8rem;
  color: var(--white);
  letter-spacing: 0.05em;
}
.comment-date {
  font-size: 0.6rem;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}
.comment-text {
  font-size: 0.9rem;
  color: rgba(240,237,232,0.75);
  line-height: 1.85;
  margin-bottom: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}
.reply-btn {
  background: none;
  border: none;
  color: rgba(184,151,90,0.5);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.reply-btn:hover { color: var(--gold); }
.comment-replies { margin-top: 8px; }

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .newsletter-inner  { grid-template-columns: 1fr; gap: 40px; }
  .newsletter-fields { flex-direction: column; }
  .cf-row            { grid-template-columns: 1fr; }
  .comment-reply     { margin-left: 24px; }
}

/* ─── TORCH REVEAL ─────────────────────────────────────────── */
/* removed — replaced with clean scroll animations */

/* ─── SCROLL PROGRESS LINE ─────────────────────────────────── */
/* removed */

/* ─── CURSOR TORCH ─────────────────────────────────────────── */
/* removed */

/* ─── PHILOSOPHY UNDERLINE ─────────────────────────────────── */
/* removed */

/* ─── PORTRAIT CLIP ────────────────────────────────────────── */
/* removed */

/* ─── CLOSING BLUR RESET ───────────────────────────────────── */
/* removed */

/* ─── LOGO MARQUEE ─────────────────────────────────────────── */
.marquee-strip {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(184,151,90,0.08);
  border-bottom: 1px solid rgba(184,151,90,0.08);
  padding: 28px 0;
  position: relative;
  z-index: 1;
  /* Edge fade */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  opacity: 0.45;
  transition: opacity 0.3s;
}

.marquee-item:hover { opacity: 0.9; }

.marquee-item img {
  height: 28px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.8);
}

.marquee-item span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Separator dot between items */
.marquee-item::after {
  content: '⊕';
  font-size: 0.5rem;
  color: rgba(184,151,90,0.25);
  margin-left: 32px;
}

/* ════════════════════════════════════════════════════════════
   RELIC LAYER — aged-artifact treatment over the whole site
   ════════════════════════════════════════════════════════════ */

/* Gold text selection */
::selection { background: rgba(184, 151, 90, 0.35); color: var(--white); }

/* Thin bronze scrollbar */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: #030303; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(184,151,90,0.5), rgba(120,95,50,0.4));
  border-radius: 4px;
  border: 2px solid #030303;
}
html { scrollbar-width: thin; scrollbar-color: rgba(184,151,90,0.45) #030303; }

/* Film grain — animated noise like old archival footage */
.relic-grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 9s steps(6) infinite;
}

@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -2%); }
  80%  { transform: translate(3%, 1%); }
  100% { transform: translate(0, 0); }
}

/* Candlelit vignette pulling the eye to center */
.relic-vignette {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 80% at 50% 45%,
              transparent 55%, rgba(0, 0, 0, 0.42) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .relic-grain { animation: none; }
}

/* ── Carved section dividers: line — glyph — line ── */
.presence, .system, .philosophy, .bio, .partners, .closing {
  border-top: none;
}

.presence::after, .system::after, .philosophy::after,
.bio::after, .partners::after, .closing::after {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
              transparent, rgba(184,151,90,0.3) 30%,
              rgba(184,151,90,0.3) 70%, transparent);
  pointer-events: none;
}

.presence::before, .system::before, .philosophy::before,
.bio::before, .partners::before, .closing::before {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--black);
  padding: 0 20px;
  color: rgba(184, 151, 90, 0.6);
  font-size: 0.95rem;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
  text-shadow: 0 0 12px rgba(184,151,90,0.4);
}

.presence::before   { content: '𓂀'; }
.system::before     { content: '⍟'; }
.philosophy::before { content: '◈'; }
.bio::before        { content: '𓏏'; }
.partners::before   { content: '⊕'; }
.closing::before    { content: '𓆣'; }

/* ── Section labels as museum plaques ── */
.section-label {
  display: inline-block;
  border: 1px solid rgba(184, 151, 90, 0.35);
  outline: 1px solid rgba(184, 151, 90, 0.1);
  outline-offset: 4px;
  padding: 10px 26px;
  background: linear-gradient(180deg, rgba(184,151,90,0.05), transparent);
}

/* ── Hero: ancient script accent + ancestral proverb ── */
.hero-ancient {
  display: block;
  font-family: 'Noto Sans Ethiopic', 'Ethiopic', serif;
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  color: rgba(184, 151, 90, 0.45);
  margin-bottom: 10px;
}

.hero-proverb {
  margin-top: 40px;
  max-width: 460px;
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.9;
  color: rgba(240, 237, 232, 0.45);
  border-left: 2px solid rgba(184, 151, 90, 0.45);
  padding-left: 18px;
}

.proverb-origin {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(184, 151, 90, 0.5);
}

/* ── System entities as carved stone tablets ── */
.system-entity {
  border: 1px solid rgba(184, 151, 90, 0.14);
  border-top: 1px solid rgba(184, 151, 90, 0.4);
  padding: 32px 26px;
  background: linear-gradient(180deg, rgba(184,151,90,0.045), transparent 65%);
  position: relative;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
}

.system-entity::before,
.system-entity::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
              rgba(220,190,130,0.95), rgba(120,95,50,0.9) 70%);
  box-shadow: 0 0 6px rgba(184,151,90,0.45);
}
.system-entity::before { left: -4px; }
.system-entity::after  { right: -4px; }

.system-entity:hover {
  border-color: rgba(184, 151, 90, 0.45);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), inset 0 0 30px rgba(184,151,90,0.04);
  transform: translateY(-4px);
}

/* ── Portrait as a framed artifact ── */
.portrait-wrap {
  border: 1px solid rgba(184, 151, 90, 0.35);
  box-shadow:
    0 0 0 7px #050505,
    0 0 0 8px rgba(184, 151, 90, 0.14),
    0 28px 70px rgba(0, 0, 0, 0.65);
}

.portrait-wrap::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(184, 151, 90, 0.2);
  z-index: 2;
  pointer-events: none;
}

.portrait-wrap img { filter: grayscale(25%) sepia(12%) contrast(1.06); }

/* ── Illuminated drop cap on the bio ── */
.bio-text p:first-of-type::first-letter {
  float: left;
  font-size: 3.4em;
  line-height: 0.8;
  padding: 8px 14px 0 0;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(184, 151, 90, 0.4);
}

/* ── Closing as a carved inscription cartouche ── */
.closing .container {
  max-width: 780px;
  border: 1px solid rgba(184, 151, 90, 0.2);
  outline: 1px solid rgba(184, 151, 90, 0.07);
  outline-offset: 6px;
  padding: 72px 40px;
  position: relative;
  background: linear-gradient(180deg, rgba(184,151,90,0.03), transparent 50%,
              rgba(184,151,90,0.03));
}

.closing .container::before,
.closing .container::after {
  position: absolute;
  color: rgba(184, 151, 90, 0.5);
  font-size: 0.85rem;
  line-height: 1;
  background: var(--black);
  padding: 0 10px;
}
.closing .container::before { content: '𓂀'; top: -7px; left: 28px; }
.closing .container::after  { content: '𓏏'; bottom: -7px; right: 28px; }

/* ── Relic mobile tuning ── */
@media (max-width: 768px) {
  .hero-proverb { font-size: 0.78rem; margin-top: 28px; }
  .bio-text p:first-of-type::first-letter { font-size: 2.8em; }
  .closing .container { padding: 48px 22px; }
  .relic-vignette {
    background: radial-gradient(ellipse 110% 90% at 50% 45%,
                transparent 60%, rgba(0, 0, 0, 0.35) 100%);
  }
}

@media (max-width: 480px) {
  .section-label { padding: 8px 18px; }
  .system-entity { padding: 26px 20px; }
}
