/* ============================================================
VIBE IS META 4 — Site Stylesheet
Black Utopia Press · vibemeta4.com
============================================================ */

:root {
--bg: #0a0818;
--bg-alt: #120e28;
--panel: #17123a;
--panel-2: #1d1748;
--text: #f2edf9;
--text-dim: #c7bfe0;
--text-faint: #9086b3;
--pink: #ff5ea8;
--cyan: #57e0ff;
--purple: #b98cf0;
--purple-deep: #7c4fd1;
--orange: #ff9a3c;
--gold: #f5c542;
--border: rgba(185, 140, 240, 0.22);
--max-width: 1180px;
--radius: 14px;
--font-display: 'Poppins', 'Segoe UI', system-ui, sans-serif;
--font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
margin: 0;
background: radial-gradient(ellipse at top, #1a1440 0%, var(--bg) 55%) fixed;
color: var(--text);
font-family: var(--font-body);
line-height: 1.65;
-webkit-font-smoothing: antialiased;
}

/* starfield */
body::before {
content: "";
position: fixed;
inset: 0;
z-index: -2;
background-image:
radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,.7), transparent),
radial-gradient(1px 1px at 80% 10%, rgba(255,255,255,.5), transparent),
radial-gradient(2px 2px at 60% 60%, rgba(255,255,255,.6), transparent),
radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,.4), transparent),
radial-gradient(1px 1px at 90% 70%, rgba(255,255,255,.5), transparent),
radial-gradient(1px 1px at 45% 35%, rgba(255,255,255,.6), transparent),
radial-gradient(2px 2px at 20% 55%, rgba(255,255,255,.4), transparent);
background-repeat: repeat;
background-size: 600px 600px;
opacity: .8;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--pink); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 {
font-family: var(--font-display);
font-weight: 700;
line-height: 1.2;
margin: 0 0 .5em;
letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1.1em; color: var(--text-dim); }

.container {
max-width: var(--max-width);
margin: 0 auto;
padding: 0 24px;
}

.eyebrow {
display: inline-block;
font-family: var(--font-display);
font-size: .78rem;
font-weight: 600;
letter-spacing: .14em;
text-transform: uppercase;
color: var(--orange);
margin-bottom: .6em;
}

.gradient-text {
background: linear-gradient(90deg, var(--pink), var(--purple), var(--cyan));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}

/* ---------- Header ---------- */
header.site-header {
position: sticky;
top: 0;
z-index: 50;
background: rgba(10, 8, 24, 0.86);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border);
}

.nav-wrap {
max-width: var(--max-width);
margin: 0 auto;
padding: 14px 24px;
display: flex;
align-items: center;
justify-content: space-between;
}

.brand {
font-family: var(--font-display);
font-weight: 700;
font-size: 1.15rem;
color: var(--text);
letter-spacing: .02em;
display: flex;
align-items: center;
gap: 10px;
}
.brand .ring-mark {
width: 22px; height: 22px;
border-radius: 50%;
border: 2px solid var(--pink);
border-top-color: var(--cyan);
border-right-color: var(--cyan);
}
.brand .brand-mark {
height: 32px;
width: auto;
display: inline-block;
vertical-align: middle;
filter: drop-shadow(0 0 6px rgba(255, 184, 76, 0.55));
transition: transform .3s ease;
}
.brand:hover .brand-mark { transform: translateY(-2px); }
.brand:hover { color: var(--pink); }

nav.main-nav {
display: flex;
align-items: center;
gap: 26px;
}
nav.main-nav a {
color: var(--text-dim);
font-size: .92rem;
font-weight: 500;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--pink); }

.nav-cta {
background: linear-gradient(90deg, var(--pink), var(--purple-deep));
color: #fff !important;
padding: 9px 18px;
border-radius: 999px;
font-weight: 600;
font-size: .88rem !important;
}
.nav-cta:hover { filter: brightness(1.12); color: #fff !important; }

.nav-toggle {
display: none;
background: none;
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text);
font-size: 1.3rem;
padding: 6px 10px;
cursor: pointer;
}

@media (max-width: 880px) {
nav.main-nav {
position: fixed;
top: 62px; left: 0; right: 0;
background: var(--bg-alt);
flex-direction: column;
align-items: flex-start;
padding: 18px 24px 26px;
gap: 16px;
border-bottom: 1px solid var(--border);
transform: translateY(-130%);
transition: transform .25s ease;
max-height: calc(100vh - 62px);
overflow-y: auto;
}
nav.main-nav.open { transform: translateY(0); }
.nav-toggle { display: inline-block; }
}

/* ---------- Buttons ---------- */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
font-family: var(--font-display);
font-weight: 600;
font-size: .95rem;
padding: 13px 26px;
border-radius: 999px;
cursor: pointer;
border: none;
transition: transform .15s ease, filter .15s ease;
white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
background: linear-gradient(90deg, var(--pink), var(--purple-deep));
color: #fff;
}
.btn-primary:hover { filter: brightness(1.1); color: #fff; }
.btn-secondary {
background: transparent;
color: var(--text);
border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-tertiary {
background: none;
color: var(--text-faint);
padding: 13px 10px;
text-decoration: underline;
text-underline-offset: 3px;
}
.btn-tertiary:hover { color: var(--pink); }

.cta-stack {
display: flex;
flex-wrap: wrap;
gap: 14px;
align-items: center;
margin: 28px 0;
}

/* ---------- Hero ---------- */
.hero {
padding: 90px 0 70px;
text-align: center;
position: relative;
}
.hero h1 { max-width: 880px; margin: 0 auto .5em; }
.hero .lede {
max-width: 680px;
margin: 0 auto 1.6em;
font-size: 1.15rem;
color: var(--text-dim);
}
.hero .cta-stack { justify-content: center; }

/* ---------- Hero: full-bleed background image, woman + halo on the
left, copy pushed well right with generous breathing room ---------- */
.hero {
padding: 0;
text-align: left;
overflow: hidden;
}

.hero::before {
content: "";
position: absolute;
inset: 0;
z-index: 0;
background-image:
/* fades the image into the page background toward the right so the
copy sits on a clean, cohesive surface rather than over the photo */
linear-gradient(100deg, rgba(10, 8, 24, 0.05) 0%, rgba(10, 8, 24, 0.55) 46%, var(--bg) 74%),
url('/assets/images/hero/keisha-hero-banner.jpg');
background-repeat: no-repeat;
background-size: cover;
/* shifts the woman + halo toward the left side of the header */
background-position: 65% 50%;
}

.hero-grid {
position: relative;
z-index: 1;
min-height: 640px;
display: flex;
align-items: center;
padding: 120px 0 100px;
}

.hero-copy {
/* pushes the copy well clear of the figure, with real breathing
room between the image and the text */
margin-left: 46%;
max-width: 560px;
padding-left: 28px;
}
.hero-copy h1 { margin-left: 0; margin-right: 0; }
.hero-copy .lede { margin-left: 0; margin-right: 0; }
.hero-copy .cta-stack { justify-content: flex-start; }

@media (max-width: 860px) {
.hero::before {
background-position: 62% 25%;
}
.hero-grid {
min-height: 520px;
padding: 90px 0 60px;
}
.hero-copy {
margin-left: 0;
max-width: 100%;
padding-left: 0;
text-align: center;
}
.hero-copy .cta-stack { justify-content: center; }
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.tight { padding: 40px 0; }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* Anchor offset so the sticky header never covers a scrolled-to section */
main section[id] { scroll-margin-top: 90px; }

.divider {
border: none;
border-top: 1px solid var(--border);
margin: 0;
}

/* ---------- Cards ---------- */
.grid {
display: grid;
gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
.grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
background: linear-gradient(160deg, var(--panel), var(--panel-2));
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 26px;
}

.book-card {
background: linear-gradient(160deg, var(--panel), var(--panel-2));
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
display: flex;
flex-direction: column;
transition: transform .2s ease, border-color .2s ease;
}
.book-card:hover { transform: translateY(-4px); border-color: var(--pink); }
.book-card-link { display: flex; flex-direction: column; flex: 1; color: inherit; }
button.book-card-link {
background: none;
border: none;
padding: 0;
margin: 0;
font: inherit;
text-align: left;
cursor: pointer;
width: 100%;
}
.book-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.book-card .book-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.book-card h4 { margin-bottom: .3em; }
.book-card .tags { margin-top: auto; padding-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.book-card-buy { padding: 0 20px 20px; }
.book-card-buy .btn { width: 100%; padding: 11px 20px; font-size: .88rem; }

/* ---------- Pre-order / Shop ---------- */
.preorder-block {
margin-top: 22px;
padding-top: 18px;
border-top: 1px solid var(--border);
}
.preorder-options {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 8px;
}
.preorder-options .btn { padding: 10px 18px; font-size: .88rem; }

.swatch-row { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch-dot {
display: block;
width: 30px;
height: 30px;
border-radius: 50%;
background: var(--swatch-color);
border: 2px solid var(--border);
transition: border-color .15s ease, box-shadow .15s ease;
}
.swatch input:checked + .swatch-dot {
border-color: var(--pink);
box-shadow: 0 0 0 2px rgba(255, 94, 168, .25);
}
.swatch input:focus-visible + .swatch-dot { outline: 2px solid var(--cyan); outline-offset: 2px; }
.swatch-label { font-size: .7rem; color: var(--text-faint); max-width: 70px; text-align: center; line-height: 1.2; }
.tag {
font-size: .72rem;
font-weight: 600;
letter-spacing: .04em;
text-transform: uppercase;
color: var(--cyan);
border: 1px solid var(--border);
border-radius: 999px;
padding: 3px 10px;
}

/* ---------- Cover ---------- */
.cover-frame {
border-radius: var(--radius);
overflow: hidden;
box-shadow: 0 30px 70px -20px rgba(87, 224, 255, .18), 0 30px 70px -30px rgba(255, 94, 168, .25);
border: 1px solid var(--border);
}

/* ---------- Found document ---------- */
.doc-card {
background: #efe9da;
color: #201c14;
border-radius: 6px;
padding: 34px 36px;
font-family: 'Courier New', monospace;
box-shadow: 0 20px 60px -20px rgba(0,0,0,.6);
border: 1px solid rgba(0,0,0,.15);
}
.doc-card h3, .doc-card h4 { color: #17130c; font-family: 'Courier New', monospace; }
.doc-card p { color: #2b271c; }
.doc-card .doc-label {
font-size: .75rem;
letter-spacing: .12em;
text-transform: uppercase;
color: #6b5f3f;
margin-bottom: 12px;
}

/* ---------- Clock line ---------- */
.clock-line {
font-family: var(--font-display);
font-weight: 600;
font-size: 1.3rem;
color: var(--gold);
text-align: center;
margin-bottom: 30px;
}

/* ---------- Countdown ---------- */
.countdown {
display: flex;
justify-content: center;
gap: 18px;
flex-wrap: wrap;
margin: 30px auto;
}
.countdown .unit {
background: var(--panel);
border: 1px solid var(--border);
border-radius: 12px;
padding: 16px 20px;
min-width: 84px;
text-align: center;
}
.countdown .unit .num {
font-family: var(--font-display);
font-size: 2rem;
font-weight: 700;
color: var(--cyan);
}
.countdown .unit .lab {
font-size: .7rem;
letter-spacing: .08em;
text-transform: uppercase;
color: var(--text-faint);
}

/* ---------- Reviews ---------- */
.review {
border-left: 3px solid var(--pink);
padding-left: 18px;
font-style: italic;
color: var(--text);
}
.review cite { display: block; margin-top: 10px; font-style: normal; color: var(--text-faint); font-size: .85rem; }

/* ---------- Signup / funnel block ---------- */
.funnel-block {
background: linear-gradient(140deg, rgba(255,94,168,.14), rgba(87,224,255,.10));
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 40px;
text-align: center;
}
.funnel-block .funnel-icon {
width: 64px;
height: auto;
margin: 0 auto 18px;
display: block;
}
.signup-form {
display: flex;
gap: 10px;
max-width: 460px;
margin: 22px auto 10px;
flex-wrap: wrap;
justify-content: center;
}
.signup-form input[type="email"],
.signup-form input[type="text"] {
flex: 1;
min-width: 220px;
padding: 13px 16px;
border-radius: 999px;
border: 1.5px solid var(--border);
background: rgba(255,255,255,.04);
color: var(--text);
font-size: .95rem;
}
.signup-form input::placeholder { color: var(--text-faint); }
.signup-form button { flex-shrink: 0; }
.form-note { font-size: .8rem; color: var(--text-faint); }
.form-success { display: none; color: var(--cyan); font-weight: 600; margin-top: 14px; }

/* ---------- Footer ---------- */
footer.site-footer {
border-top: 1px solid var(--border);
padding: 50px 0 30px;
margin-top: 40px;
text-align: center;
}
footer.site-footer .foot-tag {
font-family: var(--font-display);
color: var(--text-dim);
font-size: .95rem;
margin-bottom: 18px;
}
footer.site-footer .foot-links {
display: flex;
gap: 22px;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 18px;
font-size: .85rem;
}
footer.site-footer .foot-social {
display: flex;
gap: 18px;
justify-content: center;
margin-bottom: 18px;
}
footer.site-footer .copyright { color: var(--text-faint); font-size: .8rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
font-size: .82rem;
color: var(--text-faint);
padding: 18px 0 0;
}
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--pink); }

/* ---------- Glossary ---------- */
.glossary-entry {
border-bottom: 1px solid var(--border);
padding: 22px 0;
}
.glossary-entry h3 { color: var(--cyan); margin-bottom: .3em; }
.glossary-entry .appears-in {
font-size: .8rem;
color: var(--text-faint);
text-transform: uppercase;
letter-spacing: .06em;
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: .88rem; }
.faint { color: var(--text-faint); }
.hidden { display: none !important; }

.share-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.share-row a {
border: 1px solid var(--border);
border-radius: 999px;
padding: 8px 16px;
font-size: .85rem;
color: var(--text-dim);
}
.share-row a:hover { border-color: var(--pink); color: var(--pink); }

.next-book {
background: linear-gradient(140deg, var(--panel), var(--panel-2));
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 34px;
text-align: center;
margin-top: 20px;
}
.next-book .arrow { color: var(--orange); font-size: 1.4rem; }

.quote-card {
background: var(--panel);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 28px;
font-family: var(--font-display);
font-weight: 600;
font-size: 1.1rem;
text-align: center;
}

.pill-nav { display:flex; flex-wrap: wrap; gap: 10px; justify-content:center; margin: 20px 0 40px; }
.pill-nav a {
border: 1px solid var(--border);
padding: 8px 16px;
border-radius: 999px;
font-size: .85rem;
color: var(--text-dim);
}
.pill-nav a:hover, .pill-nav a.active { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Testimonial carousel ---------- */
.testimonial-carousel-wrap {
position: relative;
}
.testimonial-carousel {
overflow: hidden;
}
.testimonial-track {
display: flex;
transition: transform .7s ease;
}
.testimonial-slide {
flex: 0 0 100%;
max-width: 100%;
}
.testimonial-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 42px;
height: 42px;
border-radius: 50%;
background: rgba(23, 18, 58, .9);
border: 1.5px solid var(--border);
color: var(--text);
font-size: 1.4rem;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 5;
padding: 0;
transition: border-color .2s ease, color .2s ease;
}
.testimonial-arrow:hover,
.testimonial-arrow:focus-visible {
border-color: var(--pink);
color: var(--pink);
}
.testimonial-prev { left: -18px; }
.testimonial-next { right: -18px; }
@media (max-width: 760px) {
.testimonial-prev { left: 4px; }
.testimonial-next { right: 4px; }
.testimonial-arrow { background: rgba(10, 8, 24, .75); }
}

/* ---------- Shop carousel ---------- */
.shop-carousel-wrap {
position: relative;
}
.shop-carousel {
overflow: hidden;
}
.shop-track {
display: flex;
transition: transform .7s ease;
}
.shop-slide {
flex: 0 0 100%;
max-width: 100%;
}
.shop-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 42px;
height: 42px;
border-radius: 50%;
background: rgba(23, 18, 58, .9);
border: 1.5px solid var(--border);
color: var(--text);
font-size: 1.4rem;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 5;
padding: 0;
transition: border-color .2s ease, color .2s ease;
}
.shop-arrow:hover,
.shop-arrow:focus-visible {
border-color: var(--pink);
color: var(--pink);
}
.shop-prev { left: -18px; }
.shop-next { right: -18px; }
@media (max-width: 760px) {
.shop-prev { left: 4px; }
.shop-next { right: 4px; }
.shop-arrow { background: rgba(10, 8, 24, .75); }
}
