/* ═══════════════════════════════════════════════════
   EKOW MENSAH MEMORIAL · STYLES
   Aesthetic: Ultra-Premium, Atmospheric, Deep Ink + Kente Gold
═══════════════════════════════════════════════════ */

:root {
  /* Palette - Richer, darker, more sophisticated */
  --ink:        #060504; /* True deep black/brown */
  --ink-2:      #0e0a08;
  --ink-3:      #16100c;
  --ink-4:      #1e1611;
  --parchment:  #eadecb;
  --parchment-2:#f5ebd9;
  --parchment-3:#d4c4af;
  
  --gold:       #b88645;
  --gold-bright:#e2af65;
  --gold-light: #fbe5b8;
  --gold-dim:   #6b4e28;
  --gold-glow:  rgba(226, 175, 101, 0.15);
  
  --kente-red:  #7a2115;
  --kente-green:#164d20;
  
  --cream:      rgba(234, 222, 203, 0.85);
  --cream-soft: rgba(234, 222, 203, 0.55);
  --cream-faint:rgba(234, 222, 203, 0.15);

  /* Spacing */
  --nav-h: 80px;

  /* Type */
  --serif:  "Playfair Display", Georgia, serif;
  --body:   "Crimson Pro", Georgia, serif;
  --ui:     "DM Sans", Arial, sans-serif;

  /* Transitions */
  --ease: cubic-bezier(0.25, 1, 0.5, 1); /* Smoother, more elegant ease-out */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; font-size: 16px; background: var(--ink); }
body {
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--body);
  font-size: 1.15rem;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
}

/* ── Utility ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ═══════════════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════════════ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%); border-radius: 50%;
  mix-blend-mode: exclusion;
}

.cursor-dot {
  width: 8px; height: 8px; background: var(--gold-bright);
  transition: width 0.3s, height 0.3s;
}

.cursor-ring {
  width: 40px; height: 40px; border: 1px solid rgba(226, 175, 101, 0.4);
  transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
}

.cursor-dot.hovered { width: 0; height: 0; }
.cursor-ring.hovered {
  width: 60px; height: 60px; background: rgba(226, 175, 101, 0.1);
  border-color: var(--gold-bright); backdrop-filter: blur(2px);
}

/* Hide cursor on mobile/touch devices */
@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ═══════════════════════════════════════════════════
   ATMOSPHERIC LAYERS & CANVAS
═══════════════════════════════════════════════════ */
.bg-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.8; mix-blend-mode: screen;
}

.atm-grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: screen;
}

.atm-radial {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: 
    radial-gradient(circle at 15% 10%, rgba(184, 134, 69, 0.08), transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(122, 33, 21, 0.05), transparent 40%);
}

.atm-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: 
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

/* Ensure content sits above atmosphere */
body > nav, body > main, body > footer { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════
   NAVIGATION (Glassmorphic)
═══════════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(6, 5, 4, 0.6);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: transform 0.4s var(--ease), background 0.4s;
}

.site-nav.scrolled {
  background: rgba(6, 5, 4, 0.85);
  border-bottom: 1px solid rgba(226, 175, 101, 0.1);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.8);
}

.nav-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 3vw;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  text-decoration: none; display: flex; align-items: center; gap: 1rem;
}

.live-status {
  margin-left: auto; margin-right: 1rem; padding: 0.35rem 0.75rem;
  border: 1px solid rgba(226, 175, 101, 0.18); border-radius: 999px;
  background: rgba(255,255,255,0.025); color: var(--cream-soft);
  font-family: var(--ui); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
}

.live-status::before {
  content: ""; display: inline-block; width: 0.45rem; height: 0.45rem;
  margin-right: 0.5rem; border-radius: 999px; background: var(--gold-dim);
  box-shadow: 0 0 0 rgba(226, 175, 101, 0);
}

.live-status.is-online {
  color: var(--gold-light); border-color: rgba(226, 175, 101, 0.35);
  background: rgba(226, 175, 101, 0.06);
}

.live-status.is-online::before {
  background: var(--gold-bright);
  box-shadow: 0 0 18px rgba(226, 175, 101, 0.65);
}

.logo-monogram {
  font-family: var(--serif); font-size: 1.8rem; font-weight: 700;
  color: var(--gold-bright); letter-spacing: 0.05em;
  text-shadow: 0 0 20px var(--gold-glow);
}

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }

.logo-name {
  font-family: var(--ui); font-size: 0.9rem; font-weight: 500;
  color: var(--parchment-2); letter-spacing: 0.1em; text-transform: uppercase;
}

.logo-dates {
  font-family: var(--ui); font-size: 0.7rem; font-weight: 400;
  color: var(--cream-soft); letter-spacing: 0.2em;
}

.nav-links { display: flex; align-items: center; gap: 0.5rem; list-style: none; }

.nav-links a {
  padding: 0.5rem 1.2rem;
  font-family: var(--ui); font-size: 0.85rem; font-weight: 500;
  color: var(--cream-soft); text-decoration: none; letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px; transition: all 0.3s var(--ease);
  position: relative;
}

.nav-links a:hover { color: var(--gold-light); background: rgba(255,255,255,0.03); }

/* ── Navbar Dropdown ── */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  padding: 0.5rem 1.2rem;
  font-family: var(--ui);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cream-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s var(--ease);
}

.nav-dropdown-toggle:hover {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.03);
}

.dropdown-caret {
  transition: transform 0.3s var(--ease);
}

.nav-dropdown-wrapper.open .dropdown-caret {
  transform: rotate(180deg);
}

@media (hover: hover) {
  .nav-dropdown-wrapper:hover .dropdown-caret {
    transform: rotate(180deg);
  }
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(6, 5, 4, 0.96);
  border: 1px solid rgba(226, 175, 101, 0.15);
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  min-width: 220px;
  list-style: none;
  padding: 0.5rem 0;
  display: none;
  z-index: 110;
  animation: navDropdownFadeIn 0.3s var(--ease) both;
}

@keyframes navDropdownFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-dropdown-wrapper.open .nav-dropdown-menu {
  display: block;
}

@media (hover: hover) {
  .nav-dropdown-wrapper:hover .nav-dropdown-menu {
    display: block;
  }
}

.nav-dropdown-menu li {
  width: 100%;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--cream-soft);
  font-family: var(--ui);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s var(--ease);
  border-radius: 0;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(226, 175, 101, 0.08) !important;
  color: var(--gold-bright) !important;
}

@media (max-width: 768px) {
  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: rgba(255, 255, 255, 0.02);
    border: none;
    border-left: 2px solid rgba(226, 175, 101, 0.2);
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
    width: 100%;
    margin-top: 0.5rem;
    padding-left: 1rem;
    display: none;
    animation: none;
  }
  
  .nav-dropdown-wrapper.open .nav-dropdown-menu {
    display: block;
  }
  
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
}

/* The CTA nav button */
.nav-cta {
  margin-left: 1rem;
  color: var(--gold-bright) !important;
  border: 1px solid rgba(226, 175, 101, 0.3);
  border-radius: 40px !important;
  background: rgba(226, 175, 101, 0.05);
  box-shadow: inset 0 0 0 0 rgba(226, 175, 101, 0);
}

.nav-cta:hover {
  background: rgba(226, 175, 101, 0.1);
  border-color: rgba(226, 175, 101, 0.6);
  box-shadow: inset 0 0 20px 0 rgba(226, 175, 101, 0.1), 0 0 15px rgba(226, 175, 101, 0.1);
  color: #fff !important;
}

/* Mobile Toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
  z-index: 101;
}
.nav-toggle span {
  display: block; width: 28px; height: 1px;
  background: var(--gold-bright); transition: 0.3s;
}

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--ui); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  padding: 1rem 2.5rem; border-radius: 50px; cursor: none;
  transition: all 0.4s var(--ease);
  border: 1px solid transparent; outline: none;
  will-change: transform;
}

.btn-icon,
.lucide-icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile-icon .lucide-icon {
  width: 24px;
  height: 24px;
  color: var(--champagne);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-dim));
  color: var(--ink); font-weight: 600;
  box-shadow: 0 10px 30px -10px rgba(226, 175, 101, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 15px 40px -10px rgba(226, 175, 101, 0.6);
  filter: brightness(1.1);
}

.btn-glass {
  background: rgba(255,255,255,0.03);
  color: var(--parchment);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(226, 175, 101, 0.4);
  color: var(--gold-bright);
}

.btn-full { width: 100%; }

/* ═══════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; padding-top: var(--nav-h);
}

.hero-inner {
  max-width: 1400px; margin: 0 auto; width: 100%; padding: 4rem 3vw;
  display: grid; grid-template-columns: 45% 55%; align-items: center; gap: 4rem;
}

/* Portrait Column */
.hero-portrait-col {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}

.portrait-wrap {
  position: relative; width: 420px; height: 500px;
  display: flex; align-items: center; justify-content: center;
}

/* Elegant Rings */
.p-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(226, 175, 101, 0.15);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.r1 { width: 380px; height: 380px; border-style: dashed; animation: spin 60s linear infinite; }
.r2 { width: 420px; height: 420px; border-color: rgba(255,255,255,0.05); animation: spin 80s linear infinite reverse; }
.r3 { width: 460px; height: 460px; border-width: 2px; border-color: transparent; border-top-color: rgba(226, 175, 101, 0.3); animation: spin 40s ease-in-out infinite alternate; }

@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }

/* Floating Adinkra / Stars */
.adinkra-float {
  position: absolute; color: var(--gold-dim); font-size: 1.2rem;
  animation: float 6s ease-in-out infinite alternate;
}
.af1 { top: 10%; left: 15%; animation-delay: 0s; }
.af2 { bottom: 15%; right: 10%; animation-delay: 2s; font-size: 1.8rem; color: rgba(226,175,101,0.2); }
.af3 { top: 40%; right: 5%; animation-delay: 4s; font-size: 0.9rem; }

@keyframes float {
  0% { transform: translateY(0) rotate(0); opacity: 0.4; }
  100% { transform: translateY(-20px) rotate(15deg); opacity: 0.8; }
}

/* Medallion */
.portrait-medallion {
  width: 300px; height: 380px;
  border-radius: 150px;
  background: linear-gradient(145deg, var(--ink-2), var(--ink-4));
  border: 1px solid rgba(226, 175, 101, 0.2);
  box-shadow: 
    0 30px 60px -20px rgba(0,0,0,0.8),
    inset 0 0 0 10px rgba(255,255,255,0.02);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; z-index: 2;
}

.medallion-kente {
  position: absolute; inset: 0; opacity: 0.15;
  background: 
    repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 1px, transparent 10px),
    repeating-linear-gradient(-45deg, var(--gold) 0, var(--gold) 1px, transparent 1px, transparent 10px);
  z-index: 2; mix-blend-mode: color-dodge; pointer-events: none;
}

.medallion-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 0%; z-index: 1;
  filter: contrast(1.1) brightness(0.95);
  transition: transform 1.5s var(--ease), filter 1.5s var(--ease);
}

.portrait-medallion:hover .medallion-photo {
  transform: scale(1.05); filter: contrast(1.15) brightness(1.05);
}

.portrait-caption-strip {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  background: rgba(6, 5, 4, 0.9); backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 175, 101, 0.2);
  padding: 1rem 2rem; border-radius: 30px;
  white-space: nowrap; z-index: 4;
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
}

.caption-bar { width: 30px; height: 2px; background: var(--gold); border-radius: 2px; }

.portrait-caption-strip span {
  font-family: var(--ui); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-light);
}

/* Copy Column */
.hero-copy-col { padding-left: 2rem; }

.hero-eyebrow-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.eyebrow-dash { width: 40px; height: 1px; background: var(--gold); }
.hero-eyebrow {
  font-family: var(--ui); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-bright);
}

.hero-name {
  font-family: var(--serif); font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 400; line-height: 1; color: var(--parchment-2);
  letter-spacing: -0.02em; margin-bottom: 3rem;
  position: relative;
}

.name-pre {
  display: block; font-family: var(--ui); font-size: 1.2rem;
  font-weight: 300; letter-spacing: 0.1em; color: var(--cream-soft);
  margin-bottom: 0.5rem; text-transform: uppercase;
}

.hero-name em {
  font-style: italic; color: var(--gold-bright); font-weight: 600;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* Life Stats row */
.life-stats {
  display: flex; align-items: center; gap: 2rem;
  padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 3rem;
}

.stat-item { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-val { font-family: var(--serif); font-size: 1.5rem; color: var(--parchment-2); line-height: 1; }
.stat-key { font-family: var(--ui); font-size: 0.7rem; color: var(--gold-dim); text-transform: uppercase; letter-spacing: 0.15em; }
.stat-div { width: 1px; height: 30px; background: rgba(255,255,255,0.1); }

.hero-verse {
  font-family: var(--body); font-style: italic; font-size: 1.6rem;
  font-weight: 300; line-height: 1.6; color: var(--cream);
  margin-bottom: 3rem; max-width: 500px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* Scroll Hint */
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.scroll-label {
  font-family: var(--ui); font-size: 0.65rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold-dim); writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s var(--ease-in-out) infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════════════════════════════════════════════
   QUOTE BAND
═══════════════════════════════════════════════════ */
.quote-band {
  position: relative; padding: 8rem 0;
  background: linear-gradient(to bottom, transparent, rgba(226, 175, 101, 0.03) 50%, transparent);
  text-align: center; overflow: hidden;
}

/* Modern Kente Rails */
.kente-rail {
  position: absolute; left: 0; right: 0; height: 4px;
  display: flex; opacity: 0.6;
}
.kente-rail--top { top: 0; }
.kente-rail--bot { bottom: 0; }
.kr { flex: 1; height: 100%; }
.kr-r { background: var(--kente-red); }
.kr-g { background: var(--kente-green); }
.kr-y { background: var(--gold); }

.quote-inner { max-width: 900px; margin: 0 auto; padding: 0 3vw; position: relative; }

.big-quote-mark {
  font-family: var(--serif); font-size: 12rem; line-height: 0;
  position: absolute; top: 40px; left: 50%; transform: translateX(-50%);
  color: rgba(226, 175, 101, 0.05); z-index: -1;
}

.life-verse p {
  font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400; line-height: 1.5; color: var(--parchment-2);
  margin-bottom: 2rem;
}

.life-verse cite {
  font-family: var(--ui); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-bright);
  font-style: normal;
}

/* ═══════════════════════════════════════════════════
   GLOBAL SECTION STYLES
═══════════════════════════════════════════════════ */
.section { padding: 10rem 0; position: relative; }
.section-container { max-width: 1400px; margin: 0 auto; padding: 0 3vw; }

.section-header { text-align: center; margin-bottom: 5rem; max-width: 600px; margin-inline: auto; }
.section-eyebrow {
  font-family: var(--ui); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 400; color: var(--parchment-2); line-height: 1.1;
  margin-bottom: 1.5rem; letter-spacing: -0.02em;
}
.section-lead {
  font-family: var(--body); font-size: 1.2rem; color: var(--cream-soft);
}

/* ═══════════════════════════════════════════════════
   TRIBUTES
═══════════════════════════════════════════════════ */
.tributes-section { background: radial-gradient(circle at center, rgba(226,175,101,0.02) 0%, transparent 70%); }

.tributes-layout {
  display: grid; grid-template-columns: 400px 1fr; gap: 4rem; align-items: start;
}

.form-card {
  background: rgba(22, 16, 12, 0.6);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 24px; padding: 3rem 2.5rem;
  position: sticky; top: calc(var(--nav-h) + 2rem);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  overflow: hidden;
}

.form-card-accent {
  position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--kente-green), var(--gold-bright), var(--kente-red));
}

.form-card h3 { font-family: var(--serif); font-size: 2rem; color: var(--parchment-2); margin-bottom: 0.5rem; }
.form-card > p { font-size: 1rem; color: var(--cream-soft); margin-bottom: 2rem; }

.field-group { margin-bottom: 1.5rem; }
.field-group label {
  display: block; font-family: var(--ui); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 0.5rem;
}
.field-group input, .field-group textarea {
  width: 100%; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; color: var(--parchment); font-family: var(--body); font-size: 1.1rem;
  padding: 1rem; transition: all 0.3s var(--ease); outline: none; cursor: none;
}
.field-group input:focus, .field-group textarea:focus {
  border-color: var(--gold); background: rgba(0,0,0,0.5);
  box-shadow: 0 0 0 4px rgba(226,175,101,0.1);
}
.form-note { margin-top: 1rem; font-family: var(--ui); font-size: 0.85rem; color: var(--gold-bright); }

.tribute-wall {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem;
}

.tribute-wall-link {
  min-height: 360px;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: 2.5rem;
  border: 1px solid var(--line-gold);
  background:
    linear-gradient(145deg, rgba(244,230,200,0.06), rgba(244,230,200,0.018)),
    rgba(8, 7, 6, 0.72);
}

.tribute-wall-link h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
  color: var(--champagne);
}

.tribute-wall-link p {
  max-width: 420px;
  color: var(--champagne-dim);
}

.tribute-wall-link .btn {
  justify-self: start;
}



.tribute-wall-page-section {
  min-height: 100vh;
  padding-top: 7rem;
}

.tribute-page-hero {
  max-width: 820px;
  margin-bottom: 3rem;
}

.tribute-page-hero .section-title {
  font-size: clamp(4rem, 12vw, 8.5rem);
}

.tribute-page-hero .hero-actions {
  margin-top: 2rem;
  justify-content: flex-start;
}

.tribute-wall-page-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.tribute-card {
  min-height: 310px;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.4rem, 3vw, 2.35rem);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(244,230,200,0.075), rgba(244,230,200,0.018) 48%, rgba(0,0,0,0.18)),
    rgba(8, 7, 6, 0.78);
  border: 1px solid rgba(217,176,105,0.18);
  border-radius: 0;
  box-shadow:
    0 28px 80px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  animation: riseIn 0.8s var(--ease) both;
}

.tribute-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(244,230,200,0.08);
  pointer-events: none;
}

.tribute-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(217,176,105,0.74), transparent);
  opacity: 0.74;
}

.tribute-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217,176,105,0.34);
  box-shadow:
    0 42px 110px rgba(0,0,0,0.46),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.tribute-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tribute-initials {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217,176,105,0.28);
  color: var(--champagne);
  font-family: var(--ui);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  background: rgba(244,230,200,0.035);
}

.tribute-date {
  color: rgba(244,230,200,0.44);
  font-family: var(--ui);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tribute-card blockquote {
  display: grid;
  gap: 1rem;
  margin: 0;
  color: var(--champagne);
  font-family: var(--body);
  font-size: clamp(1.12rem, 1.8vw, 1.36rem);
  line-height: 1.62;
}

.tribute-quote-icon {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: rgba(217,176,105,0.7);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tribute-meta {
  display: grid;
  gap: 0.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(244,230,200,0.1);
}

.tribute-meta strong {
  color: var(--champagne);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
}

.tribute-meta span {
  color: var(--champagne-dim);
  font-family: var(--ui);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tribute-empty {
  min-height: 320px; display: grid; place-items: center; align-content: center;
  gap: 0.75rem; padding: 3rem; text-align: center;
  border: 1px solid rgba(226,175,101,0.14);
  background: linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  box-shadow: 0 30px 70px rgba(0,0,0,0.24);
}

.empty-mark {
  width: 64px; height: 64px; display: grid; place-items: center;
  border: 1px solid rgba(226,175,101,0.3); border-radius: 50%;
  color: var(--gold-bright); font-family: var(--serif); font-size: 1.35rem;
}

.tribute-empty p {
  font-family: var(--serif); font-size: 1.65rem; color: var(--parchment-2);
}

.tribute-empty small {
  font-family: var(--ui); font-size: 0.75rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cream-soft);
}

@keyframes riseIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════════
   LUXURY VISUAL REFRESH
═══════════════════════════════════════════════════ */
body {
  background:
    radial-gradient(ellipse at 50% -20%, rgba(226, 175, 101, 0.11), transparent 45%),
    radial-gradient(ellipse at 5% 35%, rgba(122, 33, 21, 0.14), transparent 34%),
    linear-gradient(180deg, #050403 0%, #0c0907 42%, #050403 100%);
}

.atm-radial {
  background:
    linear-gradient(90deg, rgba(184,134,69,0.08) 0 1px, transparent 1px) 7vw 0 / 1px 100% no-repeat,
    linear-gradient(90deg, rgba(184,134,69,0.05) 0 1px, transparent 1px) 93vw 0 / 1px 100% no-repeat,
    radial-gradient(circle at 23% 16%, rgba(226, 175, 101, 0.12), transparent 34%),
    radial-gradient(circle at 82% 76%, rgba(122, 33, 21, 0.12), transparent 38%);
}

.site-nav {
  height: 88px;
  background: linear-gradient(180deg, rgba(5,4,3,0.88), rgba(5,4,3,0.5));
  border-bottom-color: rgba(226, 175, 101, 0.12);
}

.nav-inner { max-width: 1520px; padding-inline: clamp(1.25rem, 4vw, 5rem); }

.logo-monogram {
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 1px solid rgba(226,175,101,0.34); border-radius: 50%;
  background: radial-gradient(circle, rgba(226,175,101,0.13), rgba(255,255,255,0.02));
  font-size: 1.35rem; letter-spacing: 0;
}

.hero {
  min-height: 100svh;
  isolation: isolate;
}

.hero::before {
  content: ""; position: absolute; inset: 88px clamp(1rem, 3vw, 4rem) 3rem;
  border: 1px solid rgba(226,175,101,0.1);
  pointer-events: none; z-index: -1;
}

.hero::after {
  content: "EKOW MENSAH"; position: absolute; right: -0.2em; bottom: 0.12em;
  font-family: var(--serif); font-size: clamp(5rem, 14vw, 15rem); line-height: 0.8;
  color: rgba(226,175,101,0.035); letter-spacing: 0.06em; white-space: nowrap;
  pointer-events: none; z-index: -1;
}

.hero-inner {
  max-width: 1520px; padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 4vw, 5rem) 5rem;
  grid-template-columns: minmax(330px, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(3rem, 7vw, 8rem);
}

.hero-copy-col { padding-left: 0; }

.hero-eyebrow-row { margin-bottom: 1.45rem; }
.eyebrow-dash { width: 76px; background: linear-gradient(90deg, var(--gold-bright), transparent); }
.hero-eyebrow { color: var(--gold-light); }

.hero-name {
  font-size: clamp(4.2rem, 8vw, 8.8rem);
  margin-bottom: 2rem;
  text-shadow: 0 24px 80px rgba(0,0,0,0.72);
}

.name-pre {
  font-size: 0.9rem; color: var(--gold-bright); letter-spacing: 0.42em;
}

.hero-name em {
  background: linear-gradient(110deg, #fff6dd 0%, var(--gold-bright) 38%, #9b6c31 100%);
  -webkit-background-clip: text; background-clip: text;
}

.life-stats {
  width: min(100%, 660px);
  padding: 1rem 1.2rem;
  border: 1px solid rgba(226,175,101,0.14);
  background: linear-gradient(90deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 24px 60px rgba(0,0,0,0.24);
  margin-bottom: 1.45rem;
}

.stat-val { font-size: 1.32rem; }
.stat-key { color: rgba(226,175,101,0.72); }

.hero-legacy-note {
  max-width: 620px; display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2.35rem; color: rgba(234,222,203,0.72);
  font-family: var(--ui); font-size: 0.82rem; line-height: 1.7;
  letter-spacing: 0.08em; text-transform: uppercase;
}

.legacy-rule {
  width: 34px; height: 1px; flex: 0 0 34px;
  background: rgba(226,175,101,0.45);
}

.hero-verse {
  max-width: 640px;
  font-size: clamp(1.45rem, 2.1vw, 2.05rem);
  line-height: 1.45;
  color: rgba(245,235,217,0.88);
}

.btn {
  border-radius: 0; min-height: 56px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.btn-primary {
  background: linear-gradient(135deg, #f5d28e, #b88645 46%, #6b461d);
  box-shadow: 0 18px 50px rgba(184,134,69,0.26), inset 0 1px 0 rgba(255,255,255,0.28);
}

.btn-glass {
  background: rgba(255,255,255,0.025);
  border-color: rgba(226,175,101,0.22);
}

.portrait-wrap {
  width: min(42vw, 560px); height: min(70vh, 690px);
}

.portrait-medallion {
  width: min(32vw, 420px); height: min(62vh, 560px);
  border-radius: 0 46% 0 46%;
  border: 1px solid rgba(226,175,101,0.42);
  background: #070504;
  box-shadow:
    0 48px 90px rgba(0,0,0,0.72),
    0 0 0 14px rgba(255,255,255,0.018),
    0 0 0 15px rgba(226,175,101,0.1);
}

.portrait-medallion::before {
  content: ""; position: absolute; inset: 18px; z-index: 3;
  border: 1px solid rgba(245,229,184,0.22);
  pointer-events: none;
}

.medallion-photo { filter: contrast(1.13) brightness(0.92) saturate(0.88); }
.medallion-kente { opacity: 0.11; }

.medallion-glow {
  position: absolute; inset: auto -30% -20% -30%; height: 40%;
  background: radial-gradient(ellipse, rgba(226,175,101,0.3), transparent 62%);
  z-index: 4; mix-blend-mode: screen;
}

.p-ring { border-color: rgba(226,175,101,0.22); }
.r1 { width: 82%; height: 70%; border-radius: 50%; }
.r2 { width: 96%; height: 82%; border-radius: 50%; }
.r3 { width: 108%; height: 92%; border-radius: 50%; }

.portrait-caption-strip {
  bottom: 3%; left: auto; right: -7%; transform: none;
  border-radius: 0; padding: 1rem 1.35rem;
  background: rgba(5,4,3,0.82);
  border-color: rgba(226,175,101,0.28);
}

.hero-ledger {
  position: absolute; left: clamp(1rem, 3vw, 4rem); right: clamp(1rem, 3vw, 4rem); bottom: 2.2rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border: 1px solid rgba(226,175,101,0.1);
  background: rgba(226,175,101,0.1);
}

.hero-ledger span {
  padding: 0.9rem 1rem; background: rgba(5,4,3,0.72);
  font-family: var(--ui); font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(234,222,203,0.55); text-align: center;
}

.hero-scroll-hint { display: none; }

.quote-band {
  padding: clamp(6rem, 10vw, 10rem) 0;
  background:
    linear-gradient(90deg, transparent, rgba(226,175,101,0.07), transparent),
    rgba(255,255,255,0.012);
}

.quote-inner {
  max-width: 1040px;
}

.life-verse p {
  font-size: clamp(2rem, 3.2vw, 3.7rem);
  line-height: 1.16;
  color: var(--parchment-2);
}

.life-verse cite {
  display: inline-block; margin-top: 2rem;
  font-family: var(--ui); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-bright); font-size: 0.74rem;
}

.section-container { max-width: 1520px; padding-inline: clamp(1.25rem, 4vw, 5rem); }
.section-header {
  max-width: 820px; text-align: left; margin-left: 0; margin-right: auto;
  padding-left: clamp(0rem, 5vw, 5rem);
}

.section-title { font-size: clamp(3.2rem, 6vw, 6.6rem); }
.section-lead { max-width: 560px; font-size: 1.35rem; }

.tributes-layout {
  grid-template-columns: minmax(340px, 440px) 1fr;
  gap: clamp(2rem, 5vw, 6rem);
}

.form-card,
.gallery-upload-bar,
.detail-tile {
  border-radius: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.014));
  border: 1px solid rgba(226,175,101,0.14);
  box-shadow: 0 30px 70px rgba(0,0,0,0.28);
}

.form-card {
  padding: 2.5rem;
  top: 120px;
}

.field-group input,
.field-group textarea {
  border-radius: 0;
  background: rgba(5,4,3,0.5);
}

.tribute-wall { gap: 1rem; }
.tribute-card:nth-child(3n + 1) { transform: translateY(1.2rem); }
.tribute-card:nth-child(3n + 1):hover { transform: translateY(0); }

.gallery-upload-bar {
  margin-left: clamp(0rem, 5vw, 5rem);
  margin-right: clamp(0rem, 5vw, 5rem);
}

.gallery-grid {
  grid-template-columns: 1.2fr 0.8fr 1fr 0.9fr;
  align-items: stretch;
}

.gallery-item {
  border-radius: 0; min-height: 360px;
  border-color: rgba(226,175,101,0.13);
  box-shadow: 0 28px 70px rgba(0,0,0,0.28);
}

.gallery-item:nth-child(1) {
  grid-row: span 2; aspect-ratio: auto;
  background:
    linear-gradient(to top, rgba(0,0,0,0.74), transparent 52%),
    url("grandpa.jpeg") 50% 0% / cover;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(4) { margin-top: 3rem; }

.gallery-placeholder {
  background:
    linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0.12)),
    repeating-linear-gradient(135deg, rgba(226,175,101,0.1) 0 1px, transparent 1px 14px);
}

.gallery-item:nth-child(1) .gallery-placeholder {
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 58%);
}

.g-num { color: rgba(226,175,101,0.16); }

.service-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent),
    rgba(255,255,255,0.006);
}

.detail-tile { padding: 3.2rem 1.8rem; }
.tile-icon {
  width: 58px; height: 58px; display: grid; place-items: center;
  margin: 0 auto 1.6rem; border: 1px solid rgba(226,175,101,0.22);
  border-radius: 50%; font-size: 1.5rem;
}

.candle-section {
  background:
    radial-gradient(circle at 50% 45%, rgba(226,175,101,0.12), transparent 32%),
    linear-gradient(180deg, rgba(10,7,5,0), rgba(10,7,5,0.88));
}

.candle-content {
  width: min(92vw, 780px); margin-inline: auto;
  padding: clamp(3rem, 6vw, 5rem);
  border: 1px solid rgba(226,175,101,0.14);
  background: rgba(5,4,3,0.42);
  box-shadow: 0 40px 100px rgba(0,0,0,0.34);
}

.candle-title { font-size: clamp(3.4rem, 7vw, 6.5rem); }

.site-footer {
  background:
    linear-gradient(180deg, rgba(226,175,101,0.04), transparent 42%),
    #050403;
}

.footer-inner { padding: 8rem 2rem; }
.footer-name { font-size: clamp(3rem, 7vw, 7rem); }

/* ═══════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════ */
.gallery-section { border-top: 1px solid rgba(255,255,255,0.03); }

.gallery-upload-bar {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px; padding: 2rem 3rem; margin-bottom: 3rem;
  display: flex; justify-content: space-between; align-items: center;
}
.upload-text h3 { font-family: var(--serif); font-size: 1.8rem; color: var(--parchment-2); margin-bottom: 0.3rem; }
.upload-text p { color: var(--cream-soft); }

.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.gallery-item {
  aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; position: relative;
  background: var(--ink-3); border: 1px solid rgba(255,255,255,0.05);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease), filter 1s; filter: grayscale(40%) sepia(20%);
}
.gallery-item:hover img { transform: scale(1.05); filter: grayscale(0%) sepia(0%); }
.gallery-placeholder {
  position: absolute; inset: 0; padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.g-num { font-family: var(--serif); font-size: 5rem; line-height: 0.8; color: rgba(226,175,101,0.1); position: absolute; top: 1rem; right: 1rem; }
.g-lbl { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--gold-light); }

/* ═══════════════════════════════════════════════════
   SERVICE
═══════════════════════════════════════════════════ */
.service-section { border-top: 1px solid rgba(255,255,255,0.03); background: rgba(255,255,255,0.01); }

.detail-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}

.detail-tile {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px; padding: 3rem 2rem; text-align: center;
  transition: transform 0.4s var(--ease);
}
.detail-tile:hover { transform: translateY(-10px); border-color: rgba(226,175,101,0.2); background: rgba(255,255,255,0.03); }
.tile-icon { font-size: 2.5rem; margin-bottom: 1.5rem; opacity: 0.8; }
.tile-label { display: block; font-family: var(--ui); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.detail-tile strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; color: var(--parchment-2); }

/* ═══════════════════════════════════════════════════
   CANDLE SECTION (The Masterpiece)
═══════════════════════════════════════════════════ */
.candle-section {
  position: relative; padding: 12rem 0; text-align: center; overflow: hidden;
  border-top: 1px solid rgba(226,175,101,0.1);
  background: radial-gradient(circle at 50% 100%, rgba(226,175,101,0.05) 0%, transparent 60%);
}

.candle-bg-particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.cp { position: absolute; width: 4px; height: 4px; background: var(--gold-bright); border-radius: 50%; opacity: 0; filter: blur(2px); }
.cp1 { left: 40%; top: 60%; animation: spark 4s infinite 1s; }
.cp2 { left: 60%; top: 50%; animation: spark 5s infinite 2s; }
.cp3 { left: 45%; top: 30%; animation: spark 3.5s infinite 0.5s; width: 6px; height: 6px; }
.cp4 { left: 55%; top: 70%; animation: spark 4.5s infinite 3s; }

@keyframes spark {
  0% { transform: translateY(0) scale(0); opacity: 0; }
  50% { opacity: 0.6; }
  100% { transform: translateY(-100px) scale(1.5); opacity: 0; }
}

.candle-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.candle-title { font-family: var(--serif); font-size: 4rem; color: var(--parchment-2); margin-bottom: 0.5rem; font-weight: 400; }
.candle-lead { font-family: var(--body); font-size: 1.3rem; color: var(--cream-soft); margin-bottom: 4rem; }

/* ── The Candle Structure ── */
.candle-scene {
  position: relative; width: 140px; height: 260px; margin: 0 auto 4rem; perspective: 600px;
}

/* Base body */
.candle-body {
  position: absolute; bottom: 20px; left: 20px; right: 20px; height: 140px;
  border-radius: 8px 8px 15px 15px;
  background: linear-gradient(90deg, #bfae91, #e6dcd0 40%, #a6967a);
  box-shadow: 
    inset -15px 0 30px rgba(0,0,0,0.3),
    inset 5px 0 10px rgba(255,255,255,0.5),
    0 20px 30px -10px rgba(0,0,0,0.8);
}
.candle-shine {
  position: absolute; top: 0; left: 15%; width: 20%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  border-radius: 8px 0 0 15px;
}
.candle-plate {
  position: absolute; bottom: 5px; left: -10px; right: -10px; height: 30px;
  border-radius: 50%;
  background: radial-gradient(ellipse at top, #8a6c42, #3d2d17);
  border: 2px solid #a88452;
  box-shadow: 0 15px 25px rgba(0,0,0,0.8);
  z-index: -1;
}

/* Wick & Unlit state */
.candle-wick {
  position: absolute; top: 85px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 20px; border-radius: 2px;
  background: #3a2012; transition: background 0.8s;
}
.candle-scene.is-lit .candle-wick { background: #0a0604; }

.wick-ember {
  position: absolute; top: 83px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: #ff5500; box-shadow: 0 0 10px 4px rgba(255,85,0,0.4);
  animation: emberGlow 2s ease-in-out infinite alternate; z-index: 9;
  transition: opacity 0.5s;
}
.candle-scene.is-lit .wick-ember { opacity: 0; }

@keyframes emberGlow { from { opacity: 0.5; transform: translateX(-50%) scale(0.9); } to { opacity: 1; transform: translateX(-50%) scale(1.3); } }

/* Flame Container */
.candle-flame {
  position: absolute; top: -50px; left: 50%; transform: translateX(-50%) scaleY(0);
  transform-origin: 50% 100%; width: 45px; height: 85px; pointer-events: none; z-index: 10; opacity: 0;
}

/* Ignition Anim */
.candle-scene.is-lit .candle-flame { animation: ignite 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
@keyframes ignite {
  0% { opacity: 0; transform: translateX(-50%) scaleY(0) scaleX(0.5); }
  50% { opacity: 1; transform: translateX(-50%) scaleY(1.4) scaleX(1.2); }
  100% { opacity: 1; transform: translateX(-50%) scaleY(1) scaleX(1); }
}

/* The Layers */
.flame-outer {
  position: absolute; inset: 0; border-radius: 50% 50% 30% 30% / 60% 60% 40% 40%;
  background: radial-gradient(ellipse 70% 80% at 50% 90%, #ff7b00 0%, #eb4600 40%, transparent 100%);
  filter: blur(4px); opacity: 0.85; transform-origin: 50% 100%;
}
.flame-mid {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 30px; height: 60px;
  border-radius: 50% 50% 28% 28% / 62% 62% 38% 38%;
  background: radial-gradient(ellipse 65% 80% at 50% 88%, #ffea00 0%, #ff9500 60%, transparent 100%);
  filter: blur(2px); transform-origin: 50% 100%;
}
.flame-inner {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); width: 16px; height: 35px;
  border-radius: 50% 50% 30% 30% / 65% 65% 35% 35%;
  background: radial-gradient(ellipse 60% 80% at 50% 85%, #ffffff 0%, #fff080 50%, transparent 100%);
  filter: blur(1px); transform-origin: 50% 100%;
}
.flame-tip {
  position: absolute; bottom: 45px; left: 50%; transform: translateX(-50%); width: 8px; height: 18px;
  border-radius: 50% 50% 40% 40% / 70% 70% 30% 30%; background: #ffffff; filter: blur(0.5px); transform-origin: 50% 100%;
}
.flame-base {
  position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px;
  border-radius: 50%; background: radial-gradient(circle, #80c4ff, transparent 80%); opacity: 0.8;
}

/* Flame Animations (Only run when lit) */
.candle-scene.is-lit .flame-outer { animation: flickerOut 2.3s ease-in-out infinite; }
.candle-scene.is-lit .flame-mid { animation: flickerMid 1.8s ease-in-out infinite; }
.candle-scene.is-lit .flame-inner { animation: flickerIn 1.5s ease-in-out infinite; }

@keyframes flickerOut { 0%, 100% { transform: rotate(-2deg) scaleX(0.95); } 50% { transform: rotate(3deg) scaleX(1.05); } }
@keyframes flickerMid { 0%, 100% { transform: translateX(-50%) rotate(3deg) scaleY(1.05); } 50% { transform: translateX(-50%) rotate(-2deg) scaleY(0.95); } }
@keyframes flickerIn { 0%, 100% { transform: translateX(-50%) scaleY(0.95); } 50% { transform: translateX(-50%) scaleY(1.08); } }

/* Halo */
.candle-halo {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%) scale(0.5);
  width: 250px; height: 250px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 50, 0.25) 0%, rgba(255, 100, 0, 0.05) 50%, transparent 70%);
  filter: blur(20px); opacity: 0; z-index: 1; transition: opacity 1.5s ease, transform 1.5s ease; pointer-events: none;
}
.candle-scene.is-lit .candle-halo { opacity: 1; transform: translateX(-50%) scale(1); animation: haloBreathe 4s ease-in-out infinite alternate; }
@keyframes haloBreathe { from { opacity: 0.7; transform: translateX(-50%) scale(0.95); } to { opacity: 1; transform: translateX(-50%) scale(1.05); } }

/* Candle Button */
.btn-candle {
  background: rgba(226, 175, 101, 0.1); border: 1px solid rgba(226, 175, 101, 0.4);
  color: var(--gold-light); font-size: 1rem; padding: 1.2rem 3rem; margin-bottom: 2rem;
}
.btn-candle:hover { background: rgba(226, 175, 101, 0.2); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(226, 175, 101, 0.2); }

.btn-candle:disabled {
  background: linear-gradient(135deg, rgba(226,175,101,0.15), transparent);
  border-color: rgba(226,175,101,0.5); color: var(--gold-bright);
  box-shadow: 0 0 30px rgba(226,175,101,0.1), inset 0 0 15px rgba(226,175,101,0.1);
  transform: none; cursor: default;
}

.candle-tally { display: flex; flex-direction: column; gap: 0.5rem; }
.tally-number { font-family: var(--serif); font-size: 3rem; color: var(--gold-bright); line-height: 1; }
.tally-label { font-family: var(--ui); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-dim); }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer {
  background: var(--ink-2); text-align: center; position: relative; border-top: 1px solid rgba(255,255,255,0.03);
}

.footer-kente {
  height: 8px; display: flex; width: 100%; opacity: 0.4;
}

.footer-inner { padding: 6rem 2rem; display: flex; flex-direction: column; align-items: center; }

.footer-adinkra { font-size: 2rem; color: var(--gold-dim); margin-bottom: 2rem; }
.footer-sub-top { font-family: var(--ui); font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-name { font-family: var(--serif); font-size: 3rem; color: var(--parchment-2); margin-bottom: 0.5rem; }
.footer-dates { font-family: var(--ui); font-size: 1rem; letter-spacing: 0.3em; color: var(--cream-soft); margin-bottom: 2rem; }
.footer-sentiment { font-family: var(--body); font-style: italic; font-size: 1.2rem; color: var(--gold-bright); }

.footer-rule { width: 100px; height: 1px; background: rgba(255,255,255,0.1); margin: 3rem 0; }
.footer-credit { font-family: var(--ui); font-size: 0.7rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.2); text-transform: uppercase; }

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 200ms; }
.delay-2 { transition-delay: 400ms; }
.delay-3 { transition-delay: 600ms; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-copy-col { padding-left: 0; }
  .hero-eyebrow-row { justify-content: center; }
  .life-stats { justify-content: center; }
  .hero-verse { margin: 0 auto 3rem; }
  .hero-actions { justify-content: center; }
  
  .tributes-layout { grid-template-columns: 1fr; }
  .form-card { position: static; }
  
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .live-status { margin-left: 0; margin-right: 0.75rem; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; background: rgba(6, 5, 4, 0.95); padding: 2rem; gap: 1rem;
    border-bottom: 1px solid rgba(226, 175, 101, 0.1); backdrop-filter: blur(20px);
  }
  .nav-links.open { display: flex; }
  .nav-cta { margin-left: 0 !important; width: 100%; text-align: center; }
  
  .portrait-wrap { width: 300px; height: 350px; }
  .r1 { width: 260px; height: 260px; }
  .r2 { width: 290px; height: 290px; }
  .r3 { width: 320px; height: 320px; }
  .portrait-medallion { width: 220px; height: 280px; }
  .medallion-initials { font-size: 4rem; }
  
  .section { padding: 6rem 0; }
  .tribute-wall { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-tiles { grid-template-columns: 1fr; }
  .gallery-upload-bar { flex-direction: column; gap: 1.5rem; text-align: center; }
}

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

/* Final cascade pass for the refreshed visual system */
.gallery-upload-bar,
.detail-tile,
.form-card {
  border-radius: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.014));
  border-color: rgba(226,175,101,0.14);
  box-shadow: 0 30px 70px rgba(0,0,0,0.28);
}

.gallery-upload-bar {
  margin-left: clamp(0rem, 5vw, 5rem);
  margin-right: clamp(0rem, 5vw, 5rem);
}

.gallery-grid {
  grid-template-columns: 1.2fr 0.8fr 1fr 0.9fr;
  align-items: stretch;
}

.gallery-item {
  border-radius: 0;
  min-height: 360px;
  border-color: rgba(226,175,101,0.13);
  box-shadow: 0 28px 70px rgba(0,0,0,0.28);
}

.gallery-item:nth-child(1) {
  grid-row: span 2;
  aspect-ratio: auto;
  background:
    linear-gradient(to top, rgba(0,0,0,0.74), transparent 52%),
    url("grandpa.jpeg") 50% 0% / cover;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(4) {
  margin-top: 3rem;
}

.gallery-placeholder {
  background:
    linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0.12)),
    repeating-linear-gradient(135deg, rgba(226,175,101,0.1) 0 1px, transparent 1px 14px);
}

.gallery-item:nth-child(1) .gallery-placeholder {
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 58%);
}

.service-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent),
    rgba(255,255,255,0.006);
}

.detail-tile {
  padding: 3.2rem 1.8rem;
}

.tile-icon {
  width: 58px; height: 58px; display: grid; place-items: center;
  margin: 0 auto 1.6rem; border: 1px solid rgba(226,175,101,0.22);
  border-radius: 50%; font-size: 1.5rem;
}

.candle-section {
  background:
    radial-gradient(circle at 50% 45%, rgba(226,175,101,0.12), transparent 32%),
    linear-gradient(180deg, rgba(10,7,5,0), rgba(10,7,5,0.88));
}

.candle-content {
  width: min(92vw, 780px);
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 5rem);
  border: 1px solid rgba(226,175,101,0.14);
  background: rgba(5,4,3,0.42);
  box-shadow: 0 40px 100px rgba(0,0,0,0.34);
}

.candle-title {
  font-size: clamp(3.4rem, 7vw, 6.5rem);
}

@media (max-width: 1100px) {
  .hero::before { inset: 88px 1rem 2rem; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-bottom: 8rem;
  }
  .portrait-wrap {
    width: min(82vw, 520px);
    height: min(62vh, 600px);
  }
  .portrait-medallion {
    width: min(68vw, 380px);
    height: min(54vh, 520px);
  }
  .hero-legacy-note { margin-inline: auto; }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-item:nth-child(1) { grid-row: span 1; min-height: 440px; }
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(4) { margin-top: 0; }
}

@media (max-width: 768px) {
  .site-nav { height: 76px; }
  .nav-inner { padding-inline: 1rem; }
  .logo-monogram { width: 44px; height: 44px; font-size: 1.1rem; }
  .logo-name { font-size: 0.72rem; }
  .logo-dates { font-size: 0.62rem; }
  .live-status {
    position: absolute; right: 4.55rem; top: 50%; transform: translateY(-50%);
    max-width: 118px; overflow: hidden; text-overflow: ellipsis;
    padding: 0.28rem 0.55rem; font-size: 0.56rem;
  }
  .nav-toggle { margin-left: auto; }
  .hero-inner {
    padding: 6.2rem 1rem 7rem;
    gap: 2.25rem;
  }
  .hero::before { inset: 76px 0.7rem 1.4rem; }
  .hero::after { bottom: 0.35em; font-size: 4.2rem; }
  .hero-name {
    font-size: clamp(3.25rem, 17vw, 5.6rem);
    margin-bottom: 1.3rem;
  }
  .life-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem;
    padding: 0.85rem;
  }
  .stat-div { display: none; }
  .stat-val { font-size: 1rem; }
  .stat-key { font-size: 0.58rem; }
  .hero-legacy-note {
    display: block;
    font-size: 0.68rem;
  }
  .legacy-rule { display: none; }
  .hero-verse {
    font-size: 1.28rem;
  }
  .hero-actions .btn {
    width: 100%;
    padding-inline: 1rem;
  }
  .portrait-wrap {
    width: min(86vw, 330px);
    height: 390px;
  }
  .portrait-medallion {
    width: 260px;
    height: 340px;
  }
  .portrait-caption-strip {
    right: 50%; transform: translateX(50%);
    width: min(92vw, 300px);
  }
  .hero-ledger {
    left: 0.7rem; right: 0.7rem; bottom: 1.2rem;
    grid-template-columns: repeat(2, 1fr);
  }
  .section-header {
    text-align: left;
    padding-left: 0;
  }
  .section-title {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }
  .gallery-grid,
  .detail-tiles {
    grid-template-columns: 1fr;
  }
  .gallery-upload-bar {
    margin-inline: 0;
    padding: 1.5rem;
  }
  .gallery-item,
  .gallery-item:nth-child(1) {
    min-height: 320px;
  }
  .candle-content {
    width: calc(100% - 1.4rem);
    padding: 3rem 1.2rem;
  }
}

/* Premium interface refinement */
body {
  cursor: auto;
  background:
    linear-gradient(180deg, rgba(239, 216, 171, 0.06), transparent 320px),
    radial-gradient(circle at 78% 8%, rgba(197, 151, 82, 0.16), transparent 34%),
    radial-gradient(circle at 12% 38%, rgba(255, 255, 255, 0.04), transparent 28%),
    #080706;
}

.cursor-dot,
.cursor-ring,
.atm-grid,
.adinkra-float,
.hero-scroll-hint {
  display: none !important;
}

.bg-canvas {
  opacity: 0.35;
}

.atm-grain {
  opacity: 0.028;
}

.site-nav {
  top: 18px; left: 50%; right: auto; width: min(1180px, calc(100% - 32px));
  height: 72px; transform: translateX(-50%);
  border: 1px solid rgba(239, 216, 171, 0.16);
  border-radius: 8px;
  background: rgba(9, 8, 7, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.site-nav.scrolled {
  background: rgba(9, 8, 7, 0.92);
}

.nav-inner {
  padding-inline: 18px;
}

.nav-logo {
  min-width: 218px;
}

.logo-monogram {
  width: 44px; height: 44px; border-radius: 8px;
  background: linear-gradient(145deg, rgba(239,216,171,0.18), rgba(255,255,255,0.025));
}

.logo-name {
  font-size: 0.78rem;
}

.logo-dates {
  letter-spacing: 0.16em;
}

.live-status {
  display: none;
}

.nav-links {
  margin-left: auto;
  gap: 0.15rem;
}

.nav-links a {
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.nav-cta {
  border-radius: 6px !important;
}

.hero {
  min-height: auto;
  padding-top: 110px;
}

.hero::before,
.hero::after,
.hero-ledger {
  display: none;
}

.hero-inner {
  min-height: calc(100svh - 110px);
  max-width: 1180px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 5.2rem);
  padding: clamp(2rem, 5vw, 5rem) 24px 4rem;
}

.hero-portrait-col {
  order: 1;
}

.hero-copy-col {
  order: 2;
}

.portrait-wrap {
  width: min(100%, 420px);
  height: 560px;
}

.portrait-medallion {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.5),
    0 0 0 1px rgba(239,216,171,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

.portrait-medallion::before {
  inset: 14px;
  border-color: rgba(239,216,171,0.18);
}

.p-ring {
  display: none;
}

.portrait-caption-strip {
  left: 24px; right: 24px; bottom: 24px; transform: none;
  width: auto; border-radius: 8px;
  padding: 0.85rem 1rem;
  background: rgba(8,7,6,0.78);
}

.portrait-caption-strip span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.hero-eyebrow-row {
  margin-bottom: 1.15rem;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

.hero-name {
  font-size: clamp(4.2rem, 9vw, 7.6rem);
  margin-bottom: 1.4rem;
  letter-spacing: 0;
}

.name-pre {
  letter-spacing: 0.28em;
}

.life-stats {
  width: 100%;
  max-width: 590px;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  background: rgba(255,255,255,0.035);
}

.hero-legacy-note {
  max-width: 560px;
  margin-bottom: 2rem;
  font-size: 0.78rem;
  color: rgba(234,222,203,0.78);
}

.hero-verse {
  max-width: 580px;
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  line-height: 1.55;
  margin-bottom: 2rem;
}

.btn {
  min-height: 52px;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.07em;
  padding: 0.95rem 1.45rem;
}

.quote-band {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.kente-rail {
  opacity: 0.22;
}

.quote-inner,
.section-container {
  max-width: 1180px;
}

.life-verse p {
  font-size: clamp(1.85rem, 3.5vw, 3.15rem);
}

.section {
  padding: clamp(5rem, 8vw, 8rem) 0;
}

.section-container {
  padding-inline: 24px;
}

.section-header {
  padding-left: 0;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.section-lead {
  font-size: 1.1rem;
}

.tributes-layout {
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 1.6rem;
}

.form-card,
.tribute-empty,
.gallery-upload-bar,
.detail-tile,
.candle-content {
  border-radius: 8px;
}

.form-card {
  padding: 2rem;
}

.tribute-empty {
  min-height: 100%;
}

.gallery-upload-bar {
  margin-inline: 0;
  padding: 1.35rem 1.5rem;
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item,
.gallery-item:nth-child(1) {
  min-height: 320px;
  border-radius: 8px;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(4) {
  margin-top: 0;
}

.detail-tiles {
  gap: 1rem;
}

.detail-tile {
  padding: 2rem 1.4rem;
}

.candle-section {
  padding: clamp(5rem, 8vw, 8rem) 24px;
}

.candle-content {
  max-width: 680px;
}

.site-footer {
  border-top-color: rgba(239,216,171,0.12);
}

@media (max-width: 980px) {
  .site-nav {
    top: 10px;
    width: calc(100% - 20px);
  }

  .hero {
    padding-top: 92px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-portrait-col,
  .hero-copy-col {
    order: initial;
  }

  .portrait-wrap {
    height: min(92vw, 520px);
    margin-inline: auto;
  }

  .hero-content,
  .hero-legacy-note,
  .hero-verse {
    margin-inline: auto;
    text-align: center;
  }

  .hero-eyebrow-row,
  .hero-actions,
  .life-stats {
    justify-content: center;
    margin-inline: auto;
  }

  .legacy-rule {
    display: none;
  }

  .tributes-layout {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-nav {
    height: 64px;
  }

  .nav-logo {
    min-width: auto;
  }

  .logo-monogram {
    width: 38px;
    height: 38px;
  }

  .logo-name {
    font-size: 0.68rem;
  }

  .logo-dates {
    font-size: 0.58rem;
  }

  .nav-links {
    top: 76px;
    border-radius: 8px;
  }

  .hero-name {
    font-size: clamp(3.1rem, 16vw, 4.8rem);
  }

  .life-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stat-item {
    align-items: center;
  }

  .hero-actions {
    display: grid;
    gap: 0.8rem;
  }

  .portrait-caption-strip {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .gallery-grid,
  .detail-tiles {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(1) {
    min-height: 280px;
  }
}

/* 30B institutional luxury pass */
:root {
  --obsidian: #050505;
  --charcoal: #10100f;
  --champagne: #f4e6c8;
  --champagne-dim: rgba(244, 230, 200, 0.68);
  --line-gold: rgba(217, 176, 105, 0.22);
  --surface: rgba(255, 255, 255, 0.045);
}

html {
  background: var(--obsidian);
}

body {
  background:
    linear-gradient(90deg, rgba(217,176,105,0.08) 0 1px, transparent 1px) 64px 0 / 1px 100% no-repeat,
    linear-gradient(90deg, rgba(217,176,105,0.08) 0 1px, transparent 1px) calc(100% - 64px) 0 / 1px 100% no-repeat,
    radial-gradient(circle at 72% 12%, rgba(217,176,105,0.15), transparent 34rem),
    linear-gradient(180deg, #090807 0%, #050505 48%, #0a0806 100%);
  color: var(--champagne);
}

.atm-radial,
.atm-grid,
.cursor-dot,
.cursor-ring,
.footer-kente,
.kente-rail,
.big-quote-mark,
.footer-adinkra,
.live-status {
  display: none !important;
}

.bg-canvas {
  opacity: 0.22;
  filter: saturate(0.8);
}

.site-nav {
  top: 24px;
  width: min(1240px, calc(100% - 48px));
  height: 78px;
  border-radius: 0;
  border: 1px solid var(--line-gold);
  background: rgba(5, 5, 5, 0.74);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}

.nav-inner {
  padding-inline: 22px;
}

.logo-monogram {
  width: 48px;
  height: 48px;
  border-radius: 0;
  border-color: rgba(244,230,200,0.24);
  color: var(--champagne);
  background: linear-gradient(145deg, rgba(244,230,200,0.14), rgba(217,176,105,0.04));
}

.logo-name {
  color: var(--champagne);
  font-weight: 500;
}

.logo-dates,
.nav-links a {
  color: rgba(244,230,200,0.58);
}

.nav-links a:hover,
.nav-cta {
  color: var(--champagne) !important;
}

.nav-cta {
  border-color: rgba(244,230,200,0.2);
  background: rgba(244,230,200,0.045);
}

.hero {
  padding-top: 124px;
}

.hero-inner {
  max-width: 1240px;
  min-height: calc(100svh - 124px);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(3rem, 7vw, 7.5rem);
  padding: clamp(2.5rem, 5vw, 5.5rem) 24px 5rem;
}

.hero-copy-col {
  align-self: center;
}

.hero-portrait-col {
  justify-content: flex-end;
}

.hero-eyebrow-row {
  gap: 1rem;
}

.eyebrow-dash {
  width: 92px;
  background: linear-gradient(90deg, var(--champagne), transparent);
}

.hero-eyebrow,
.section-eyebrow {
  color: rgba(244,230,200,0.72);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
}

.hero-name {
  max-width: 760px;
  color: var(--champagne);
  font-size: clamp(5rem, 10vw, 9.6rem);
  line-height: 0.88;
  margin-bottom: 1.8rem;
  text-shadow: 0 46px 120px rgba(0,0,0,0.62);
}

.hero-name em {
  color: var(--champagne);
  background: linear-gradient(110deg, #fff8e8, #d1a85d 46%, #fff1cf 90%);
  -webkit-background-clip: text;
  background-clip: text;
}

.name-pre {
  color: rgba(244,230,200,0.62);
  font-size: 0.82rem;
}

.life-stats {
  max-width: 640px;
  border-radius: 0;
  border-color: var(--line-gold);
  background: rgba(255,255,255,0.03);
  box-shadow: none;
}

.stat-val {
  color: var(--champagne);
}

.stat-key {
  color: rgba(217,176,105,0.76);
}

.hero-legacy-note {
  max-width: 610px;
  color: rgba(244,230,200,0.66);
}

.hero-verse {
  color: rgba(244,230,200,0.82);
  font-size: clamp(1.28rem, 1.75vw, 1.72rem);
}

.btn {
  border-radius: 0;
  min-width: 180px;
  border-color: rgba(244,230,200,0.18);
}

.btn-primary {
  background: var(--champagne);
  color: #090807;
  box-shadow: 0 24px 70px rgba(217,176,105,0.22);
}

.btn-glass {
  background: transparent;
  color: var(--champagne);
}

.portrait-wrap {
  width: min(39vw, 440px);
  height: min(68vh, 620px);
}

.portrait-medallion {
  border-radius: 0;
  border-color: rgba(244,230,200,0.24);
  box-shadow:
    0 60px 120px rgba(0,0,0,0.62),
    20px 20px 0 rgba(217,176,105,0.08);
}

.portrait-medallion::before {
  inset: 18px;
  border-color: rgba(244,230,200,0.2);
}

.medallion-photo {
  filter: grayscale(12%) contrast(1.08) brightness(0.92) saturate(0.9);
}

.medallion-kente {
  opacity: 0.05;
}

.portrait-caption-strip {
  border-radius: 0;
  border-color: rgba(244,230,200,0.18);
  background: rgba(5,5,5,0.82);
}

.quote-band {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 8rem) 24px;
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
  background: transparent;
}

.quote-inner {
  padding: 0;
}

.life-verse p {
  color: var(--champagne);
  font-size: clamp(2rem, 4vw, 4.25rem);
  letter-spacing: 0;
}

.life-verse cite {
  color: rgba(217,176,105,0.78);
}

.section-container,
.quote-inner {
  max-width: 1240px;
}

.section {
  padding: clamp(5.5rem, 9vw, 9rem) 0;
}

.section-header {
  max-width: 760px;
}

.section-title {
  color: var(--champagne);
  font-size: clamp(3.1rem, 6.5vw, 6.2rem);
}

.section-lead {
  color: var(--champagne-dim);
}

.tributes-layout {
  grid-template-columns: minmax(320px, 410px) minmax(0, 1fr);
}

.form-card,
.tribute-empty,
.gallery-upload-bar,
.detail-tile,
.candle-content {
  border-radius: 0;
  border: 1px solid var(--line-gold);
  background:
    linear-gradient(180deg, rgba(244,230,200,0.055), rgba(244,230,200,0.018));
  box-shadow: 0 50px 120px rgba(0,0,0,0.28);
}

.form-card h3,
.upload-text h3,
.tribute-empty p,
.detail-tile strong {
  color: var(--champagne);
}

.field-group input,
.field-group textarea {
  border-radius: 0;
  border-color: rgba(244,230,200,0.14);
  background: rgba(0,0,0,0.22);
}

.tribute-empty {
  min-height: 460px;
}

.empty-mark {
  border-radius: 0;
  border-color: rgba(244,230,200,0.24);
  color: var(--champagne);
}

.gallery-grid {
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 1px;
  background: var(--line-gold);
  border: 1px solid var(--line-gold);
}

.gallery-item,
.gallery-item:nth-child(1) {
  min-height: 390px;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.gallery-item:nth-child(1) {
  grid-row: span 2;
}

.gallery-placeholder {
  background:
    linear-gradient(to top, rgba(0,0,0,0.86), rgba(0,0,0,0.16)),
    linear-gradient(135deg, rgba(244,230,200,0.09), transparent 52%);
}

.g-num {
  color: rgba(244,230,200,0.16);
}

.g-lbl {
  color: var(--champagne);
}

.detail-tiles {
  gap: 1px;
  background: var(--line-gold);
  border: 1px solid var(--line-gold);
}

.detail-tile {
  border: 0;
  box-shadow: none;
  background: rgba(255,255,255,0.025);
}

.tile-icon {
  border-radius: 0;
  border-color: rgba(244,230,200,0.18);
}

.candle-section {
  padding-inline: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(217,176,105,0.1), transparent 28rem);
}

.candle-content {
  max-width: 760px;
}

.candle-title {
  color: var(--champagne);
}

.site-footer {
  background: #050505;
}

.footer-inner {
  padding: clamp(5rem, 9vw, 9rem) 24px;
}

.footer-name {
  color: var(--champagne);
}

@media (max-width: 980px) {
  body {
    background:
      radial-gradient(circle at 68% 8%, rgba(217,176,105,0.12), transparent 24rem),
      #080706;
  }

  .site-nav {
    top: 12px;
    width: calc(100% - 24px);
  }

  .hero {
    padding-top: 102px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .hero-portrait-col {
    justify-content: center;
  }

  .portrait-wrap {
    width: min(100%, 440px);
    height: min(112vw, 570px);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Video tribute system */
.video-tributes-section {
  border-top: 1px solid var(--line-gold);
}

.video-tributes-layout {
  display: grid;
  grid-template-columns: minmax(320px, 410px) minmax(0, 1fr);
  gap: 1px;
  border: 1px solid var(--line-gold);
  background: var(--line-gold);
}

.video-form-card,
.video-empty,
.video-card {
  background:
    linear-gradient(180deg, rgba(244,230,200,0.055), rgba(244,230,200,0.018)),
    #080706;
}

.video-form-card {
  padding: 2rem;
}

.video-form-card h3 {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--champagne);
  margin-bottom: 0.45rem;
}

.video-form-card > p {
  color: var(--champagne-dim);
  margin-bottom: 1.8rem;
}

.video-wall {
  min-height: 520px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
}

.video-empty {
  min-height: 520px;
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.75rem;
  padding: 3rem;
  text-align: center;
}

.video-empty p {
  font-family: var(--serif);
  font-size: 1.65rem;
  color: var(--champagne);
}

.video-empty small {
  font-family: var(--ui);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne-dim);
}

.video-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  object-fit: cover;
  border-bottom: 1px solid var(--line-gold);
}

.video-card-body {
  padding: 1.35rem;
  display: grid;
  gap: 0.45rem;
}

.video-card-body strong {
  font-family: var(--ui);
  color: var(--champagne);
  font-weight: 500;
}

.video-card-body span {
  font-family: var(--ui);
  color: rgba(244,230,200,0.52);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-card-body p {
  color: var(--champagne-dim);
}

@media (max-width: 980px) {
  .video-tributes-layout {
    grid-template-columns: 1fr;
  }
}

.gallery-upload-bar input[type="text"] {
  min-width: 180px;
  background: rgba(0,0,0,0.24);
  color: var(--champagne);
  border: 1px solid var(--line-gold);
  padding: 0.9rem 1rem;
  font: inherit;
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.82), transparent);
}

.gallery-caption strong {
  color: var(--champagne);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.gallery-caption span {
  color: rgba(244,230,200,0.58);
  font-family: var(--ui);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .gallery-upload-bar input[type="text"],
  .gallery-upload-bar .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  body {
    background: #080706;
  }

  .site-nav {
    height: 64px;
    width: calc(100% - 18px);
  }

  .hero {
    padding-top: 86px;
  }

  .hero-inner,
  .section-container,
  .quote-band {
    padding-inline: 18px;
  }

  .hero-name {
    font-size: clamp(3.5rem, 18vw, 5.25rem);
  }

  .hero-verse {
    font-size: 1.18rem;
  }

  .portrait-wrap {
    height: 430px;
  }

  .life-stats {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .detail-tiles {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(1) {
    min-height: 300px;
    grid-row: span 1;
  }

  .tribute-empty {
    min-height: 340px;
  }
}
