/*
Theme Name: Ranjana Rajput
Theme URI: https://example.com/
Author: PRJS Creations
Description: A rose-and-gold portfolio for Ranjana Rajput: actor, director and healer. Includes a "Book Coming Soon" section with a notify-me list.
Version: 1.1.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ranjana
*/

:root {
	--blush: #fbeef1;
	--petal: #f6dbe2;
	--rose: #e7a3b6;
	--rose-deep: #c76f8c;
	--berry: #8e3b5b;
	--plum: #3b1d2c;
	--plum-soft: #5e3a4a;
	--gold: #c9a24a;
	--gold-soft: #e6cf8f;
	--cream: #fffaf8;
	--ink: #2b1720;
	--muted: #7a5c68;
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Jost", "Helvetica Neue", Arial, sans-serif;
	--script: "Pinyon Script", "Brush Script MT", cursive;
	--radius: 22px;
	--shadow: 0 30px 60px -30px rgba(142, 59, 91, .45);
	--max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 300;
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--berry); text-decoration: none; transition: color .25s; }
a:hover { color: var(--rose-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; color: var(--plum); }
p { margin: 0 0 1.1em; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

.eyebrow {
	display: inline-flex; align-items: center; gap: .7em;
	font-size: .78rem; letter-spacing: .32em; text-transform: uppercase;
	color: var(--rose-deep); font-weight: 400; margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.script { font-family: var(--script); font-weight: 400; color: var(--rose-deep); }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.section-head p { color: var(--muted); }

.btn {
	display: inline-flex; align-items: center; gap: .6em;
	padding: 15px 32px; border-radius: 999px;
	font-family: var(--sans); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400;
	border: 1px solid var(--berry); color: var(--cream); background: var(--berry);
	cursor: pointer; transition: transform .3s, background .3s, color .3s, box-shadow .3s;
}
.btn:hover { background: var(--plum); color: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.ghost { background: transparent; color: var(--berry); }
.btn.ghost:hover { background: var(--berry); color: var(--cream); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--plum); }
.btn.gold:hover { background: var(--gold-soft); color: var(--plum); }

/* Header */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 50;
	transition: background .35s, box-shadow .35s, padding .35s;
	padding: 22px 0;
}
.site-header.scrolled { background: rgba(255, 250, 248, .9); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(142,59,91,.1); padding: 12px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-family: var(--script); font-size: 2rem; color: var(--plum); line-height: 1; display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.book-name { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 34px 0 4px; font-weight: 500; }
.book-series { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-soft); margin-bottom: 14px; }
.book-quote { margin: 22px 0 6px; padding-left: 18px; border-left: 1px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--cream); }
.brand:hover { color: var(--berry); }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--plum-soft); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--gold); transition: width .3s; }
.nav-links a:hover::after { width: 100%; }
.nav-links .book-link a { color: var(--berry); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--plum); margin: 6px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 900px) {
	.nav-toggle { display: block; z-index: 2; }
	.nav-links {
		position: fixed; inset: 0; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
		background: var(--blush); opacity: 0; pointer-events: none; transition: opacity .35s;
	}
	.nav-links a { font-size: 1rem; }
	.nav-open .nav-links { opacity: 1; pointer-events: auto; }
	.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
	.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* Hero */
.hero {
	min-height: min(100vh, 920px); display: flex; align-items: center; position: relative; overflow: hidden;
	background:
		radial-gradient(60% 70% at 85% 30%, rgba(231,163,182,.55), transparent 70%),
		radial-gradient(50% 60% at 10% 90%, rgba(246,219,226,.9), transparent 70%),
		var(--blush);
	padding: 130px 0 80px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(3.6rem, 9vw, 7.4rem); font-weight: 400; letter-spacing: -.01em; margin-bottom: .2em; }
.hero h1 em { font-style: italic; color: var(--berry); display: block; }
.hero .roles { font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-style: italic; color: var(--plum-soft); margin-bottom: 1.6rem; }
.hero .motto { max-width: 460px; color: var(--muted); border-left: 1px solid var(--gold); padding-left: 18px; margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.arch {
	position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius);
	overflow: hidden; box-shadow: var(--shadow);
	background: linear-gradient(160deg, var(--rose) 0%, var(--rose-deep) 55%, var(--berry) 100%);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch .placeholder {
	position: absolute; inset: 0; display: grid; place-items: center;
	font-family: var(--script); font-size: clamp(5rem, 12vw, 9rem); color: rgba(255,250,248,.85);
}
.hero-visual { position: relative; }
.hero-visual::before {
	content: ""; position: absolute; inset: -18px -18px 18px 18px;
	border: 1px solid var(--gold); border-radius: 999px 999px var(--radius) var(--radius); z-index: 0;
}
.hero-visual .arch { z-index: 1; }
.hero-badge {
	position: absolute; left: -34px; bottom: 50px; z-index: 2;
	background: var(--cream); padding: 16px 22px; border-radius: 16px; box-shadow: var(--shadow);
	font-family: var(--serif); font-size: 1.05rem; color: var(--plum);
}
.hero-badge small { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--rose-deep); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 40px; background: var(--gold); margin: 10px auto 0; animation: drip 2.2s infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; gap: 50px; }
	.hero-visual { max-width: 380px; margin-inline: auto; width: 85%; }
	.hero-badge { left: -10px; }
	.scroll-cue { display: none; }
}

/* Marquee */
.marquee { background: var(--plum); color: var(--petal); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: slide 38s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 1.5rem; font-style: italic; white-space: nowrap; }
.marquee span.star { color: var(--gold); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* About */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.about .arch { border-radius: var(--radius) var(--radius) 999px 999px; }
.about h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.about .lead { font-family: var(--serif); font-size: 1.5rem; line-height: 1.45; color: var(--plum-soft); font-style: italic; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; padding-top: 34px; border-top: 1px solid rgba(201,162,74,.45); }
.facts strong { display: block; font-family: var(--serif); font-size: 2.3rem; font-weight: 500; color: var(--berry); line-height: 1; margin-bottom: 8px; }
.facts span { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) {
	.about-grid { grid-template-columns: 1fr; gap: 50px; }
	.about-grid .arch { max-width: 360px; margin-inline: auto; width: 85%; }
	.facts { grid-template-columns: 1fr 1fr; }
}

/* Cards */
.work { background: linear-gradient(180deg, var(--cream), var(--blush)); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
	background: var(--cream); border-radius: var(--radius); padding: 44px 36px;
	border: 1px solid rgba(231,163,182,.45); transition: transform .4s, box-shadow .4s;
	position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--rose), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.card h3 { font-size: 2rem; margin: 10px 0 14px; }
.card p { color: var(--muted); font-size: .97rem; }
.card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.card li { padding: 9px 0; border-top: 1px dashed rgba(199,111,140,.3); font-size: .92rem; color: var(--plum-soft); }
.card li::before { content: "✦"; color: var(--gold); margin-right: 10px; font-size: .75rem; }
.center-cta { text-align: center; margin-top: 50px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* Healing */
.healing { background: var(--blush); }
.heal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.heal {
	text-align: center; padding: 40px 24px; border-radius: 999px 999px var(--radius) var(--radius);
	background: linear-gradient(180deg, rgba(255,250,248,.9), rgba(255,250,248,.5));
	border: 1px solid rgba(201,162,74,.35);
}
.heal .icon { font-size: 2rem; display: block; margin-bottom: 14px; color: var(--rose-deep); }
.heal h3 { font-size: 1.6rem; }
.heal p { font-size: .92rem; color: var(--muted); margin: 0; }
.quote-band { margin-top: 70px; text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 820px; font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: var(--plum); line-height: 1.3; }
.quote-band cite { display: block; margin-top: 18px; font-style: normal; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--rose-deep); }
@media (max-width: 1000px) { .heal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .heal-grid { grid-template-columns: 1fr; } }

/* Book */
.book {
	background:
		radial-gradient(50% 60% at 75% 40%, rgba(199,111,140,.45), transparent 70%),
		radial-gradient(40% 50% at 15% 80%, rgba(201,162,74,.18), transparent 70%),
		var(--plum);
	color: var(--petal); overflow: hidden;
}
.book h2, .book h3 { color: var(--cream); }
.book .eyebrow { color: var(--gold-soft); }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.soon-badge {
	display: inline-block; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--gold);
	color: var(--gold-soft); font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; margin-bottom: 26px;
}
.rotator { display: grid; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 400; font-style: italic; }
.rotator span { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.rotator span.active { opacity: 1; transform: none; }
.book p.sub { color: rgba(246,219,226,.8); max-width: 480px; }
.notify { display: flex; gap: 10px; margin-top: 30px; max-width: 480px; flex-wrap: wrap; }
.notify input[type="email"] {
	flex: 1 1 240px; padding: 15px 22px; border-radius: 999px; border: 1px solid rgba(246,219,226,.35);
	background: rgba(255,250,248,.06); color: var(--cream); font-family: var(--sans); font-size: .95rem;
}
.notify input::placeholder { color: rgba(246,219,226,.55); }
.notify input:focus { outline: none; border-color: var(--gold); }
.notify-msg { margin-top: 14px; color: var(--gold-soft); font-size: .92rem; }
.hp { position: absolute; left: -9999px; }

.book-visual { perspective: 1400px; display: grid; place-items: center; }
.book-3d {
	width: min(340px, 78%); aspect-ratio: 2 / 3; position: relative; transform-style: preserve-3d;
	transform: rotateY(-22deg) rotateX(4deg); transition: transform .8s; animation: float 6s ease-in-out infinite;
}
.book-3d:hover { transform: rotateY(-8deg); }
@keyframes float { 50% { translate: 0 -14px; } }
.cover {
	position: absolute; inset: 0; border-radius: 4px 14px 14px 4px; overflow: hidden;
	background: linear-gradient(155deg, #f6dbe2 0%, #e7a3b6 40%, #c76f8c 75%, #8e3b5b 100%);
	box-shadow: 30px 40px 60px -20px rgba(0,0,0,.55), inset 6px 0 12px -4px rgba(0,0,0,.25);
	display: flex; flex-direction: column; justify-content: space-between; padding: 34px 28px; text-align: center;
}
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: 0 auto 0 10px; width: 2px; background: rgba(255,255,255,.25); }
.cover .c-top { font-size: .65rem; letter-spacing: .35em; text-transform: uppercase; color: var(--plum); }
.cover .c-title { font-family: var(--script); font-size: clamp(2.6rem, 6vw, 3.6rem); color: var(--cream); line-height: 1.05; text-shadow: 0 2px 20px rgba(59,29,44,.35); }
.cover .c-line { width: 50px; height: 1px; background: var(--gold); margin: 14px auto; }
.cover .c-bottom { font-family: var(--serif); letter-spacing: .3em; text-transform: uppercase; font-size: .85rem; color: var(--cream); }
.pages { position: absolute; top: 6px; bottom: 6px; right: -16px; width: 18px; background: repeating-linear-gradient(90deg, #fff 0 1px, #f3e6ea 1px 3px); transform: rotateY(90deg) translateZ(-1px); transform-origin: left; border-radius: 0 3px 3px 0; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; gap: 60px; } .book-visual { order: -1; } }

/* Recognition */
.recog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.award { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid rgba(201,162,74,.35); }
.award .yr { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.25rem; min-width: 70px; }
.award h3 { font-size: 1.45rem; margin-bottom: 4px; }
.award p { color: var(--muted); font-size: .92rem; margin: 0; }
.causes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.causes span { padding: 10px 20px; border-radius: 999px; background: var(--blush); color: var(--berry); font-size: .88rem; border: 1px solid rgba(231,163,182,.6); }
@media (max-width: 900px) { .recog-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Gallery */
.gallery { background: var(--blush); }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.g-item { border-radius: 18px; overflow: hidden; position: relative; background: linear-gradient(150deg, var(--petal), var(--rose)); }
.g-item:nth-child(1) { grid-row: span 2; }
/* 4 x 2 mosaic: tall photo at each end, four squares in the middle */
.g-item:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.g-item:nth-child(6) { grid-column: 4; grid-row: 1 / span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.g-item:hover img { transform: scale(1.06); }
.g-item .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--script); font-size: 3rem; color: rgba(255,250,248,.75); }
.g-item:nth-child(even) { background: linear-gradient(150deg, var(--rose), var(--rose-deep)); }
@media (max-width: 900px) {
	.g-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; grid-auto-flow: dense; }
	.g-item:nth-child(1) { grid-column: 1; grid-row: span 2; }
	.g-item:nth-child(6) { grid-column: 1 / span 2; grid-row: span 2; }
}
.recognition h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 24px; }
html { overflow-x: hidden; }

/* Contact */
.contact { text-align: center; }
.contact h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 400; }
.contact h2 .script { font-size: 1.15em; display: block; }
.contact .mail { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); font-style: italic; border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.socials a { padding: 12px 24px; border-radius: 999px; border: 1px solid rgba(142,59,91,.3); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--plum-soft); }
.socials a:hover { background: var(--berry); color: var(--cream); border-color: var(--berry); }

/* Footer */
.site-footer { background: var(--plum); color: rgba(246,219,226,.75); padding: 60px 0 40px; text-align: center; font-size: .88rem; }
.site-footer .brand { color: var(--cream); font-size: 2.6rem; display: inline-block; margin-bottom: 10px; }
.site-footer .f-motto { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--petal); margin-bottom: 26px; }
.site-footer small { letter-spacing: .15em; }

/* Generic pages / posts */
.page-wrap { padding: 160px 0 100px; }
.page-wrap .entry { max-width: 760px; margin-inline: auto; }
.page-wrap h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-wrap article + article { margin-top: 60px; padding-top: 60px; border-top: 1px solid rgba(201,162,74,.35); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}
