/*
Theme Name: WealthPromise
Theme URI: 
Author: Innovate Crew
Author URI: 
Description: Custom lightweight theme for WealthPromise.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: weath-promise
*/

/* =========================================================
   Design tokens — ported from the React app's global.css
   (Tailwind v4 `@theme` block converted to plain :root vars
   since this theme has no build step / Tailwind engine).
   Google Fonts are enqueued in functions.php, not @import'd
   here, so they don't block first paint.
   ========================================================= */
:root{
	--color-background: #FDFBF7;
	--color-foreground: #1A1A1A;

	--color-surface: #F3EFE9;
	--color-surface-hover: #EBE5DC;

	--color-muted: #737373;
	--color-border: #E5E5E5;

	--color-accent: #6B21A8;
	--color-accent-dark: #4B246F;  /* link/hover — darker step */
	--color-accent-light: #7C3ABD; /* button hover — lighter step */
	--color-accent-dim: rgba(107, 33, 168, 0.15);

	--font-serif: 'Playfair Display', Georgia, serif;
	--font-sans: 'Inter', system-ui, sans-serif;

	--header-height: 80px;
}

/* =========================================================
   Base reset
   ========================================================= */
*,
*::before,
*::after{
	box-sizing: border-box;
}

html{
	-webkit-text-size-adjust: 100%;
}

html, body{
	height: 100%;
}

body{
	margin: 0;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-foreground);
	background-color: var(--color-background);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a{
	color: inherit;
}

ul,
ol{
	margin: 0;
	padding: 0;
}

button{
	font-family: inherit;
}

h1, h2, h3, h4, h5, h6{
	font-family: var(--font-serif);
	margin: 0;
}

::-webkit-scrollbar{ width: 0px; }

/* =========================================================
   Accessibility helpers
   ========================================================= */
.screen-reader-text{
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link{
	position: absolute;
	top: -100px;
	left: 0;
	z-index: 100000;
	background: var(--color-accent);
	color: #fff;
	padding: .75rem 1.25rem;
	text-decoration: none;
}
.skip-link:focus{
	top: 0;
}

/* =========================================================
   Content spacing (header is fixed, so push page content down)
   ========================================================= */
.site-content{
	padding-top: var(--header-height);
}

/* =========================================================
   Editorial layout + effects — site-wide utility classes
   ========================================================= */
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up{
	animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.editorial{
	width: 100%;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(1.5rem, 5vw, 4rem);
	padding-right: clamp(1.5rem, 5vw, 4rem);
}

.hairline-top{
	border-top: 1px solid var(--color-border);
}

.hairline-bottom{
	border-bottom: 1px solid var(--color-border);
}

.glass{
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(26, 26, 26, 0.08);
	backdrop-filter: blur(12px);
}

.glass-purple{
	background: rgba(107, 33, 168, 0.06);
	border: 1px solid rgba(107, 33, 168, 0.14);
}

.float-card{
	box-shadow: 0 4px 24px rgba(26, 26, 26, 0.07);
}

.float-card-strong{
	box-shadow: 0 8px 40px rgba(107, 33, 168, 0.12);
}

.orb{
	border-radius: 50%;
	filter: blur(60px);
	pointer-events: none;
}

.purple-glow{
	box-shadow: 0 4px 20px rgba(107, 33, 168, 0.3);
}

.text-gradient-purple{
	background: linear-gradient(135deg, #6B21A8 0%, #9B6DC8 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
