/*
Theme Name: World of INSPIYAH
Theme URI: https://worldofinspiyah.com
Author: Keeper Of The Fiyah (KOTF888) — A.R.T Energi
Author URI: https://artenergi.org
Description: A cinematic spiritual portal theme with Living Veil → Sacred Threshold → Full Reveal hero flow, YAH HEALTH WEALTH HAPPINESS pillar vows with Witness email capture, and rotating sacred scriptures. Built around the Triad: Divine Intelligence Illuminates · Human Intelligence Leads · AI Intelligence Expands. Iteration 6.3.0 — adds Seedz CTAs (Get Your Free Seedz button + bookmark ribbon → seedz.bookofcolorz.com, filterable via woi_seedz_url); built on 6.2.2 mobile video-fit fix (full-reveal video object-fit:contain on phones ≤640px, video layers pinned to 100dvh).
Version: 6.4.1
License: All Rights Reserved — Copyright 1988 CT / KEEPER OF THE FIYAH
License URI: https://artenergi.org
Text Domain: world-of-inspiyah
Tags: dark, cinematic, faith, fullscreen-video, spiritual, copper, sacred
*/

/* ═════════════════════════════════════════════════════════════════════
   WORLD OF INSPIYAH — ITERATION 6.1 (May 7, 2026)
   Phase A → Invocation       (0-7s "Can you hear it?")
   Phase B → Living Veil      (Snake Charmer plays muted, breathes twice)
   Phase C → Sacred Threshold (Cinematic fade-to-black, freeze on charmer)
   Phase D → Full Reveal      (Click → ISMIS full-bleed + open the portal)
   Phase F → The Vows         (YAH HEALTH WEALTH HAPPINESS + Witness capture)
   ═════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Manrope:wght@300;400;500;600&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #050505; color: #fff; font-family: 'Cormorant Garamond', Georgia, serif; overflow-x: hidden; }
.woi-sans { font-family: 'Manrope', sans-serif; }
::selection { background: rgba(184, 115, 51, 0.4); color: #fff; }

/* Grain overlay */
.grain-overlay {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Phase A — Invocation */
.woi-intro { position: fixed; inset: 0; z-index: 100; background: #050505; display: flex; align-items: center; justify-content: center; transition: opacity 1.5s ease-in-out; }
.woi-intro.done { opacity: 0; pointer-events: none; }
.woi-intro p { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 300; font-style: italic; color: #E8D8C8; opacity: 0; animation: fadeIn 1.5s 0.5s forwards; }
.woi-intro .line { display: block; height: 1px; background: linear-gradient(90deg, transparent, #B87333, transparent); width: 0; margin: 24px auto 0; animation: drawLine 2s 1s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes drawLine { to { width: 200px; } }

/* Side nav */
.woi-side-nav { position: fixed; left: 0; top: 0; bottom: 0; width: 256px; z-index: 50; background: rgba(5,5,5,0.85); backdrop-filter: blur(20px); border-right: 1px solid rgba(184,115,51,0.12); padding: 40px 24px; display: none; flex-direction: column; justify-content: space-between; }
@media (min-width: 1024px) { .woi-side-nav { display: flex; } main { margin-left: 256px; } }
.woi-side-nav .brand .label { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: #B87333; }
.woi-side-nav .brand h2 { font-size: 24px; font-weight: 300; margin-top: 4px; letter-spacing: 0.05em; }
.woi-side-nav .brand .accent { width: 32px; height: 1px; background: linear-gradient(90deg, #B87333, #D4AF37, #B87333); margin-top: 12px; }
.woi-side-nav nav { margin-top: 48px; }
.woi-side-nav a { display: block; padding: 12px; font-family: 'Manrope', sans-serif; font-size: 14px; color: #6b7280; text-decoration: none; transition: color 0.5s; }
.woi-side-nav a:hover { color: #fff; background: rgba(184,115,51,0.05); border-left: 2px solid #B87333; }
.woi-side-nav .footer-text { font-family: 'Manrope', sans-serif; font-size: 11px; color: #404040; line-height: 1.7; }
.woi-side-nav .footer-text .copper { color: #B87333; margin-top: 12px; display: block; }

/* Hero */
.woi-hero { position: relative; min-height: 100vh; min-height: 100dvh; min-height: -webkit-fill-available; overflow: hidden; display: flex; flex-direction: column; }
.woi-hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at 50% 30%, rgba(184,115,51,0.18) 0%, rgba(5,5,5,0.6) 35%, #050505 75%); }
.woi-veil { position: absolute; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; height: -webkit-fill-available; z-index: 1; pointer-events: none; }
.woi-veil video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease-in-out, filter 1.6s ease-in-out; }
.woi-veil.active video { opacity: 0.6; }
.woi-veil.frozen video { opacity: 0.7; filter: saturate(1.1) contrast(1.05); }
.woi-veil .vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(5,5,5,0.15) 0%, rgba(5,5,5,0.45) 55%, rgba(5,5,5,0.8) 100%); }
.woi-veil .bottom-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 33%; background: linear-gradient(to top, rgba(5,5,5,0.7), transparent); }
.woi-veil .fade-mask { position: absolute; inset: 0; background: #050505; opacity: 0; pointer-events: none; transition: opacity 400ms ease-in-out; }
.woi-veil.fading .fade-mask { opacity: 1; }

/* Full Reveal Video */
.woi-full-video { position: absolute; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; height: -webkit-fill-available; z-index: 10; opacity: 0; pointer-events: none; transition: opacity 1.2s ease-in-out; }
.woi-full-video.active { opacity: 1; pointer-events: auto; }
.woi-full-video video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 640px) { .woi-full-video video { object-fit: contain; background: #050505; } }
.woi-full-video .overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5,5,5,0.45) 0%, rgba(5,5,5,0.15) 30%, rgba(5,5,5,0.15) 60%, rgba(5,5,5,0.7) 100%); }

/* Hero content stack */
.woi-hero-content { position: relative; z-index: 30; flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 96px 24px 48px; text-align: center; min-height: 0; transition: opacity 0.6s ease-in-out; }
.woi-hero-content.hidden { opacity: 0; pointer-events: none; }
.woi-eyebrow { font-family: 'Manrope', sans-serif; font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: #B87333; margin-bottom: 24px; opacity: 0; animation: fadeUp 0.8s 0.2s forwards; }
.woi-headline { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 300; margin-bottom: 24px; line-height: 1.05; letter-spacing: -0.02em; text-shadow: 0 2px 24px rgba(0,0,0,0.7); opacity: 0; animation: fadeUp 1s 0.4s forwards; }
.woi-headline .yah { color: #B87333; animation: glowPulse 3s ease-in-out infinite; }
@keyframes glowPulse { 0%,100% { text-shadow: 0 0 20px rgba(184,115,51,0.3); } 50% { text-shadow: 0 0 40px rgba(184,115,51,0.6); } }
.woi-divider { height: 1px; width: 80px; background: linear-gradient(90deg, #B87333, #D4AF37, #C45B2D); margin: 0 auto 32px; opacity: 0; animation: fadeIn 1s 1.5s forwards; }
.woi-blurb { font-size: clamp(1rem, 1.5vw, 1.125rem); color: #E8E8E8; font-weight: 300; line-height: 1.6; max-width: 640px; margin: 0 auto 24px; text-shadow: 0 1px 12px rgba(0,0,0,0.7); opacity: 0; animation: fadeIn 1s 1.8s forwards; }
.woi-quote { font-size: 14px; font-style: italic; color: #E8D8C8; padding: 12px 24px; max-width: 640px; margin: 0 auto 40px; border-left: 2px solid #B87333; border-right: 2px solid #B87333; text-shadow: 0 1px 8px rgba(0,0,0,0.6); opacity: 0; animation: fadeUp 0.8s 2s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.woi-cta-row { display: flex; flex-direction: column; gap: 16px; opacity: 0; animation: fadeUp 0.8s 2.3s forwards; }
@media (min-width: 640px) { .woi-cta-row { flex-direction: row; } }
.woi-cta { font-family: 'Manrope', sans-serif; padding: 14px 32px; font-size: 14px; letter-spacing: 0.1em; cursor: pointer; border: none; transition: all 0.3s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.woi-cta-primary { background: #B87333; color: #fff; }
.woi-cta-primary:hover { box-shadow: 0 0 30px rgba(184,115,51,0.5); }
.woi-cta-ghost { background: rgba(0,0,0,0.4); border: 1px solid rgba(184,115,51,0.4); color: #E5E7EB; backdrop-filter: blur(4px); }
.woi-cta-ghost:hover { color: #fff; border-color: #B87333; }
.woi-cta-seedz { background: linear-gradient(135deg,#E8C87A,#D4AF37); color: #241a07; font-weight: 700; }
.woi-cta-seedz:hover { box-shadow: 0 0 30px rgba(212,175,55,0.5); transform: translateY(-1px); }
.woi-bookmark-ribbon { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 8px 16px; border-radius: 999px; font-family: 'Manrope', sans-serif; font-size: 12.5px; letter-spacing: 0.03em; color: #f3e6cf; background: rgba(212,175,55,0.10); border: 1px solid rgba(212,175,55,0.5); text-decoration: none; opacity: 0; animation: fadeUp 0.8s 2.15s forwards; transition: box-shadow 0.3s; }
.woi-bookmark-ribbon:hover { box-shadow: 0 0 24px rgba(212,175,55,0.35); }
.woi-ribbon-accent { color: #D4AF37; font-weight: 600; }
.woi-watermark { font-family: 'Manrope', sans-serif; font-size: 11px; letter-spacing: 0.1em; color: #888; margin-top: 24px; opacity: 0; animation: fadeIn 1s 2.8s forwards; }

/* Floating video controls (Phase D) */
.woi-floating-controls { position: absolute; bottom: 32px; bottom: calc(32px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); z-index: 40; display: none; gap: 12px; }
.woi-floating-controls.active { display: flex; }
.woi-floating-controls button { font-family: 'Manrope', sans-serif; padding: 8px 16px; font-size: 11px; letter-spacing: 0.2em; cursor: pointer; backdrop-filter: blur(10px); display: inline-flex; align-items: center; gap: 8px; }
.woi-mute-btn { background: rgba(5,5,5,0.7); border: 1px solid rgba(184,115,51,0.4); color: #E8D8C8; }
.woi-open-portal-btn { background: rgba(184,115,51,0.85); border: 1px solid rgba(184,115,51,0.6); color: #fff; }
.woi-open-portal-btn:hover { box-shadow: 0 0 30px rgba(184,115,51,0.5); }

/* Sections */
.woi-section { padding: 96px 24px; }
.woi-section-narrow { max-width: 1024px; margin: 0 auto; }
.woi-section-eyebrow { font-family: 'Manrope', sans-serif; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: #B87333; text-align: center; margin-bottom: 16px; }
.woi-section-h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; text-align: center; color: #fff; margin-bottom: 16px; }
.woi-section-sub { font-family: 'Manrope', sans-serif; font-size: 14px; color: #6b7280; text-align: center; margin-bottom: 64px; }

/* Pillars */
.woi-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 1024px) { .woi-pillars { grid-template-columns: repeat(4, 1fr); } }
.woi-pillar { padding: 48px 16px; text-align: center; cursor: pointer; transition: all 0.5s; background: #0A0A0A; border: 1px solid rgba(184,115,51,0.1); position: relative; }
.woi-pillar.selected { box-shadow: 0 0 40px var(--pillar-glow); border-color: var(--pillar-color); background: var(--pillar-glow); }
.woi-pillar .name { font-size: clamp(1.5rem, 2vw, 1.875rem); font-weight: 300; letter-spacing: 0.1em; color: #444; transition: color 0.3s; }
.woi-pillar.selected .name { color: var(--pillar-color); }
.woi-pillar .label { display: block; font-family: 'Manrope', sans-serif; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 8px; color: #333; }
.woi-pillar.selected .label { color: var(--pillar-color); }
.woi-pillar .underline { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); height: 2px; background: var(--pillar-color); width: 0; transition: width 0.4s; }
.woi-pillar.selected .underline { width: 24px; }

/* Vow Cards */
.woi-vow-card { display: none; margin-top: 48px; padding: 40px 32px; position: relative; background: linear-gradient(135deg, rgba(5,5,5,0.95) 0%, rgba(10,10,10,0.95) 100%); border: 1px solid var(--pillar-color); box-shadow: 0 0 40px var(--pillar-color-22), inset 0 0 60px rgba(0,0,0,0.5); animation: vowReveal 0.6s ease-out forwards; }
.woi-vow-card.show { display: block; }
@keyframes vowReveal { from { opacity: 0; transform: translateY(20px) scaleY(0.95); } to { opacity: 1; transform: translateY(0) scaleY(1); } }
.woi-vow-card .corner { position: absolute; width: 32px; height: 32px; }
.woi-vow-card .c-tl { top: 0; left: 0; border-top: 2px solid var(--pillar-color); border-left: 2px solid var(--pillar-color); }
.woi-vow-card .c-tr { top: 0; right: 0; border-top: 2px solid var(--pillar-color); border-right: 2px solid var(--pillar-color); }
.woi-vow-card .c-bl { bottom: 0; left: 0; border-bottom: 2px solid var(--pillar-color); border-left: 2px solid var(--pillar-color); }
.woi-vow-card .c-br { bottom: 0; right: 0; border-bottom: 2px solid var(--pillar-color); border-right: 2px solid var(--pillar-color); }
.woi-vow-card .vow-eyebrow { font-family: 'Manrope', sans-serif; font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--pillar-color); text-align: center; margin-bottom: 8px; }
.woi-vow-card h3 { font-size: clamp(1.875rem, 3vw, 2.25rem); font-weight: 300; letter-spacing: 0.08em; color: var(--pillar-color); text-align: center; }
.woi-vow-card .vow-sublabel { font-family: 'Manrope', sans-serif; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: #888; text-align: center; margin-top: 8px; }
.woi-vow-card .vow-divider { width: 64px; height: 1px; margin: 24px auto; background: linear-gradient(90deg, transparent, var(--pillar-color), transparent); }
.woi-vow-card .vow-text { font-size: clamp(1rem, 1.5vw, 1.125rem); font-style: italic; line-height: 1.7; color: #E8D8C8; text-align: center; max-width: 640px; margin: 0 auto; }

/* Witness capture */
.woi-witness { max-width: 480px; margin: 40px auto 0; text-align: center; }
.woi-witness p { font-family: 'Manrope', sans-serif; font-size: 12px; color: #999; line-height: 1.6; margin-bottom: 12px; }
.woi-witness .row { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 640px) { .woi-witness .row { flex-direction: row; } }
.woi-witness input { flex: 1; padding: 10px 12px; background: transparent; color: #fff; border: 1px solid var(--pillar-color-40); font-family: 'Manrope', sans-serif; font-size: 14px; }
.woi-witness input:focus { outline: none; border-color: var(--pillar-color); }
.woi-witness button { padding: 10px 20px; background: var(--pillar-color); color: #050505; border: none; font-family: 'Manrope', sans-serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; transition: opacity 0.3s; }
.woi-witness button:disabled { opacity: 0.5; cursor: not-allowed; }
.woi-witness .success { padding: 16px; border: 1px solid var(--pillar-color-55); background: var(--pillar-color-0A); }
.woi-witness .success .label { font-family: 'Manrope', sans-serif; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--pillar-color); margin-bottom: 8px; }
.woi-witness .success .msg { font-size: 14px; font-style: italic; color: #E8D8C8; }
.woi-witness .error { color: #f87171; font-size: 12px; margin-top: 8px; }

/* Scripture rotator */
.woi-scripture { padding: 80px 24px; text-align: center; border-top: 1px solid rgba(184,115,51,0.08); border-bottom: 1px solid rgba(184,115,51,0.08); }
.woi-scripture blockquote { max-width: 768px; margin: 0 auto; }
.woi-scripture p { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 300; font-style: italic; line-height: 1.6; color: #E8D8C8; }
.woi-scripture cite { display: block; font-family: 'Manrope', sans-serif; font-size: 13px; color: #B87333; margin-top: 24px; font-style: normal; }

/* Ancient principles */
.woi-principles { background: #0A0A0A; }
.woi-principles-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .woi-principles-grid { grid-template-columns: repeat(2, 1fr); } }
.woi-principles-grid .item { padding: 32px; background: #050505; border: 1px solid rgba(184,115,51,0.08); transition: all 0.5s; }
.woi-principles-grid .item:hover { border-color: rgba(212,175,55,0.25); box-shadow: 0 0 30px rgba(184,115,51,0.08); }
.woi-principles-grid .item p { font-size: 17px; font-weight: 300; font-style: italic; line-height: 1.7; color: #E8D8C8; margin-bottom: 16px; }
.woi-principles-grid .item cite { font-family: 'Manrope', sans-serif; font-size: 13px; color: #B87333; font-style: normal; }

/* Footer */
.woi-footer { padding: 48px 24px; text-align: center; border-top: 1px solid rgba(184,115,51,0.08); font-family: 'Manrope', sans-serif; font-size: 11px; color: #404040; }
.woi-footer p { margin: 4px 0; }
.woi-legal-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; font-size: 12px; }
.woi-legal-links a { color: #B87333; text-decoration: none; transition: color 0.2s ease; }
.woi-legal-links a:hover { color: #D4AF37; }
.woi-legal-links span { color: #404040; }
.woi-copyright { color: #6b6b6b; }
.woi-tagline { color: #B87333; letter-spacing: 0.04em; }

/* ─── Author × Launch Spotlight (Book of Colorz) — Iteration 6.4.0 ─── */
.woi-spotlight-section { padding: 60px 24px; }
.woi-spotlight {
	position: relative; max-width: 980px; margin: 0 auto; border-radius: 20px; overflow: hidden;
	background: linear-gradient(150deg, rgba(26,21,37,0.92), rgba(15,12,20,0.96));
	border: 1px solid rgba(212,175,55,0.22);
	box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px rgba(212,175,55,0.06);
	display: grid; grid-template-columns: auto auto 1fr; gap: 26px; align-items: center;
	padding: 26px 30px; text-align: left;
}
.woi-spotlight::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(circle at 12% 50%, rgba(212,175,55,0.10), transparent 45%);
}
.woi-sp-seal { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex-shrink: 0; position: relative; z-index: 1; box-shadow: 0 0 26px rgba(212,175,55,0.28); }
.woi-sp-cover { width: 92px; height: auto; border-radius: 6px; flex-shrink: 0; position: relative; z-index: 1; box-shadow: 0 10px 26px rgba(0,0,0,0.55), 0 0 0 1px rgba(212,175,55,0.25); }
.woi-sp-body { position: relative; z-index: 1; min-width: 0; }
.woi-sp-kicker { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: #E8C87A; margin-bottom: 6px; }
.woi-sp-title { font-size: 1.85rem; font-weight: 400; line-height: 1.1; margin: 0 0 3px; color: #f5efe6; }
.woi-sp-subtitle { font-size: 1.05rem; color: #E8C87A; font-style: italic; margin: 0 0 6px; }
.woi-sp-byline { font-size: 1.02rem; font-style: italic; color: #E8C87A; margin: 0 0 8px; }
.woi-sp-pitch { color: #c9b896; font-size: 1rem; line-height: 1.6; margin: 0 0 16px; max-width: 62ch; }
.woi-sp-cta { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; display: inline-block; padding: 12px 26px; border-radius: 999px; color: #241a07; text-decoration: none; background: linear-gradient(135deg, #E8C87A, #D4AF37); }
.woi-sp-cta:hover { box-shadow: 0 0 30px rgba(212,175,55,0.5); transform: translateY(-1px); }
.woi-sp-trust { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(201,184,150,0.45); margin-top: 12px; }
@media (max-width: 720px) {
	.woi-spotlight { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 26px 20px; }
	.woi-sp-pitch { text-align: left; }
}
