/*
Theme Name: Peepsule Inc
Theme URI: https://peepsuleinc.com
Author: Peepsule Inc
Description: Company theme for Peepsule Inc. Homepage copy lives in the Home page (block editor); this theme supplies layout, typography and light/dark colours.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: peepsule-inc
*/

/* ---------------------------------------------------------------- tokens */
:root {
	/* Colours from the Peepsule neon logo: blue-black, royal blue, electric blue, neon cyan, icy highlights. */
	--bg: #020617;
	--bg-soft: #050d28;
	--bg-card: #081434;
	--ink: #cfe6ff;
	--muted: #7f9cc8;
	--line: #132a5e;
	--accent: #1fb4ff;
	--accent-ink: #00031a;
	--accent-soft: rgba(3, 165, 253, 0.14);
	--grad: linear-gradient(120deg, #0df2ff 0%, #03a5fd 45%, #0153d6 100%);
	--neon: 0 0 12px rgba(3, 165, 253, 0.55), 0 0 32px rgba(1, 83, 214, 0.45);
	--brand-bg: #00031a;
	--brand-panel: #050d28;
	--brand-ink: #cfe6ff;
	--brand-muted: #7f9cc8;
	--shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px rgba(0, 0, 0, 0.55);
	--radius: 14px;
	--wrap: 1160px;
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color-scheme: dark;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 750; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--bg); color: var(--ink); border-radius: 8px; box-shadow: var(--shadow); }
.pi-wrap, .pi-container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 600px) { .pi-wrap, .pi-container { padding-inline: 16px; } body { font-size: 16px; } }
main { flex: 1; }

/* ---------------------------------------------------------------- header */
.pi-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.pi-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.pi-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.pi-logo__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 1rem; font-weight: 800; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.pi-logo__sub { font-weight: 600; color: var(--muted); }
.pi-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.pi-nav a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.pi-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.pi-header__cta { display: flex; align-items: center; gap: 10px; }
.pi-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; text-decoration: none; border: 1.5px solid transparent; background: var(--accent); color: var(--accent-ink); transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.pi-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35); }
.pi-menu-toggle { display: none; background: none; border: 1.5px solid var(--line); color: var(--ink); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.pi-menu-toggle svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
	.pi-menu-toggle { display: inline-flex; }
	.pi-header__cta .pi-btn { display: none; }
	.pi-nav { position: absolute; left: 0; right: 0; top: 72px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
	.pi-nav.is-open { display: block; }
	.pi-nav ul { flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px; }
	.pi-nav a { padding: 12px 14px; border-radius: 10px; font-size: 1rem; }
	.pi-nav .pi-nav__cta a { background: var(--accent); color: var(--accent-ink); text-align: center; margin-top: 8px; }
}
@media (min-width: 901px) { .pi-nav .pi-nav__cta { display: none; } }

/* ---------------------------------------------------------------- footer */
.pi-footer { background: var(--brand-bg); color: var(--brand-muted); margin-top: auto; font-size: 0.95rem; }
.pi-footer a { color: var(--brand-ink); text-decoration: none; }
.pi-footer a:hover { text-decoration: underline; }
.pi-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px 40px; }
.pi-footer h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brand-muted); font-weight: 700; margin-bottom: 14px; }
.pi-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pi-footer .pi-logo { color: var(--brand-ink); }
.pi-footer .pi-logo__sub { color: var(--brand-muted); }
.pi-footer__blurb { margin-top: 14px; max-width: 30ch; }
.pi-footer__base { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; }
@media (max-width: 900px) { .pi-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pi-footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------------------------------------------------------------- block basics (homepage content is core blocks) */
.entry-content > * { margin-block: 0; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.wp-block-button__link, .wp-element-button { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 1rem; text-decoration: none; border: 1.5px solid var(--accent); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); color: var(--accent-ink); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--ink); border-color: var(--line); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--ink); box-shadow: none; }
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 28px; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 781px) { .wp-block-columns { flex-direction: column; } .wp-block-column { flex-basis: 100% !important; } }
.wp-block-image { margin: 0; }
.wp-block-image img { border-radius: var(--radius); }
.wp-block-list { padding-left: 1.2em; }

/* ---------------------------------------------------------------- sections */
.pi-section { padding-block: clamp(64px, 9vw, 112px); }
.pi-section--soft { background: var(--bg-soft); }
.pi-section > .pi-wrap { max-width: var(--wrap); }
.pi-eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.pi-lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.pi-center { text-align: center; }
.pi-center .pi-lead { margin-inline: auto; }
.pi-center .wp-block-buttons { justify-content: center; }

/* hero */
.pi-hero { padding-block: clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.pi-hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.07), transparent 70%); pointer-events: none; }
.pi-hero::after { content: ""; position: absolute; inset: auto auto -35% -15%; width: 50vw; height: 50vw; max-width: 620px; max-height: 620px; background: radial-gradient(closest-side, rgba(3, 165, 253, 0.08), transparent 70%); pointer-events: none; }
.pi-hero .pi-wrap { position: relative; z-index: 1; }
.pi-hero .wp-block-columns { align-items: center; gap: clamp(32px, 5vw, 64px); }
.pi-hero h1 .pi-grad, .pi-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pi-hero__media { position: relative; }
.pi-hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.pi-hero__media figcaption, .pi-hero__media .wp-element-caption { position: absolute; left: 16px; right: 16px; bottom: 16px; margin: 0; padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); font-size: 0.92rem; font-weight: 600; box-shadow: var(--shadow); }
.pi-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.pi-points li { display: flex; align-items: center; gap: 8px; }
.pi-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: none; }

/* value strip */
.pi-values { border-block: 1px solid var(--line); padding-block: 28px; }
.pi-values .wp-block-columns { gap: 24px; }
.pi-values h3 { font-size: 1rem; margin-bottom: 4px; }
.pi-values p { font-size: 0.93rem; color: var(--muted); margin: 0; }

/* cards */
.pi-cards { margin-top: 44px; }
.pi-cards.wp-block-columns { gap: 24px; align-items: stretch; }
.pi-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); height: 100%; }
.pi-card h3 { margin-top: 6px; }
.pi-card p { color: var(--muted); }
.pi-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pi-card li { position: relative; padding-left: 26px; color: var(--ink); font-size: 0.97rem; line-height: 1.5; }
.pi-card li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%231fb4ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pi-card__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 1rem; margin-bottom: 10px; }
.pi-card strong { color: var(--ink); }

/* media + copy split */
.pi-split .wp-block-columns { align-items: center; gap: clamp(32px, 5vw, 72px); }
.pi-split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.pi-split--portrait img { aspect-ratio: 4 / 5; }
.pi-quote { margin: 0 0 18px; padding: 0 0 0 22px; border-left: 4px solid; border-image: var(--grad) 1; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.pi-quote p { margin: 0; }
.pi-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 0.95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }

/* process */
.pi-steps { margin-top: 44px; counter-reset: step; }
.pi-steps.wp-block-columns { gap: 18px; }
.pi-step { border-top: 3px solid var(--line); padding-top: 18px; }
.pi-step h3 { font-size: 1.1rem; }
.pi-step h3::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 0.85rem; font-weight: 800; color: var(--accent); margin-bottom: 8px; letter-spacing: 0.08em; }
.pi-step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Peepsule product panel (always dark, brand colours) */
.pi-peepsule { background: var(--brand-bg); color: var(--brand-ink); position: relative; overflow: hidden; }
.pi-peepsule::before { content: ""; position: absolute; top: -220px; left: -160px; width: 620px; height: 620px; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.06), transparent 70%); pointer-events: none; }
.pi-peepsule::after { content: ""; position: absolute; bottom: -260px; right: -160px; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(3, 165, 253, 0.10), transparent 70%); pointer-events: none; }
.pi-peepsule .pi-wrap { position: relative; z-index: 1; }
.pi-peepsule h2, .pi-peepsule h3 { color: var(--brand-ink); }
.pi-peepsule .pi-eyebrow { color: var(--accent); }
.pi-peepsule .pi-lead, .pi-peepsule p { color: var(--brand-muted); }
.pi-peepsule__logo img { width: 220px; height: auto; border-radius: 0; margin-bottom: 18px; }
.pi-peepsule .pi-card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); box-shadow: none; backdrop-filter: blur(6px); }
.pi-peepsule .pi-card p { color: var(--brand-muted); }
.pi-peepsule .pi-card__num { background: var(--grad); color: #fff; }
.pi-peepsule .wp-block-button__link { background: var(--grad); border: 0; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.pi-peepsule .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.28); color: var(--brand-ink); box-shadow: none; }
.pi-peepsule .wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: #fff; }

/* careers / partners */
.pi-list-lg { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.pi-list-lg li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; display: flex; gap: 14px; }
.pi-list-lg li:last-child { border-bottom: 0; }
.pi-list-lg li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 0.55em; border-radius: 50%; background: var(--grad); }

/* contact */
.pi-contact .wp-block-columns { gap: clamp(32px, 5vw, 64px); }
.pi-contact__card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.pi-contact__details { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.pi-contact__details strong { display: block; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Contact Form 7 */
.wpcf7 form p { margin: 0 0 16px; }
.wpcf7 label { display: block; font-weight: 600; font-size: 0.93rem; color: var(--ink); }
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.wpcf7 input[type="submit"] { font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; padding: 14px 30px; border-radius: 999px; border: 0; background: var(--accent); color: var(--accent-ink); }
.wpcf7 input[type="submit"]:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); }
.wpcf7 .wpcf7-spinner { vertical-align: middle; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; border-radius: 10px; padding: 12px 14px; }
.wpcf7-not-valid-tip { font-size: 0.85rem; margin-top: 4px; }

/* ---------------------------------------------------------------- inner pages / posts */
.pi-page-head { padding-block: 64px 24px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.pi-page-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.pi-page-head p { color: var(--muted); margin: 10px 0 0; }
.pi-prose { max-width: 760px; margin-inline: auto; padding: 48px 24px 88px; }
.pi-prose > * + * { margin-top: 1.1em; }
.pi-prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.pi-prose h3 { margin-top: 1.5em; }
.pi-prose ul, .pi-prose ol { padding-left: 1.3em; }
.pi-prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 4px solid var(--accent); color: var(--muted); }
.pi-posts { display: grid; gap: 20px; max-width: 860px; margin: 0 auto; padding: 48px 24px 88px; }
.pi-post-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--bg-card); }
.pi-post-card h2 { font-size: 1.4rem; margin-bottom: 6px; }
.pi-post-card h2 a { color: var(--ink); text-decoration: none; }
.pi-meta { color: var(--muted); font-size: 0.9rem; }
.pi-404 { text-align: center; padding: 120px 24px; }
.pi-404 .pi-btn { margin-top: 12px; }
.search-form { display: flex; gap: 8px; max-width: 420px; margin: 20px auto 0; }
.search-form .search-field { flex: 1; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); }
.search-form .search-submit { font: inherit; font-weight: 700; border: 0; border-radius: 12px; padding: 0 18px; background: var(--accent); color: var(--accent-ink); cursor: pointer; }

/* ---------------------------------------------------------------- refinements */
.pi-hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pi-cards--flush { margin-top: 0; }
.pi-card--feature { padding: clamp(28px, 4vw, 44px); }
.pi-card--feature h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.pi-card--feature p { color: var(--muted); }
.wpcf7 textarea { height: 150px; min-height: 120px; }
.pi-footer__base { border-top: 0; position: relative; }
.pi-footer__base::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
@media (max-width: 600px) { .pi-footer__base::before { left: 16px; right: 16px; } }
.pi-card p.pi-eyebrow { color: var(--accent); }
.pi-card p.pi-card__num { color: var(--accent); }
.pi-peepsule .pi-card p.pi-card__num { color: #fff; }

/* ---------------------------------------------------------------- motion */
@property --pi-ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes pi-shimmer { to { background-position: 200% center; } }
@keyframes pi-drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-6%, 8%) scale(1.12); } 100% { transform: translate(5%, -4%) scale(0.95); } }
@keyframes pi-spin { to { --pi-ang: 360deg; } }
@keyframes pi-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pi-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(3, 165, 253, 0.45); } 70% { box-shadow: 0 0 0 14px rgba(3, 165, 253, 0); } }
@keyframes pi-dot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.6; } }
@keyframes pi-sheen { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(260%) skewX(-20deg); } }

/* scroll progress + header */
.pi-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.pi-header { transition: box-shadow 0.3s ease, background 0.3s ease; }
.pi-header.is-scrolled { box-shadow: 0 10px 30px rgba(5, 10, 28, 0.45); background: color-mix(in srgb, var(--bg) 94%, transparent); }
.pi-nav a { position: relative; transition: color 0.2s ease, background 0.2s ease; }
@media (min-width: 901px) {
	.pi-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform 0.3s ease; }
	.pi-nav a:hover::after { transform: scaleX(1); }
}
.pi-logo__mark { position: relative; overflow: hidden; }
.pi-logo__mark::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent); animation: pi-sheen 3.5s ease-in-out 1s infinite; }

/* reveal on scroll */
.pi-js [data-reveal] { opacity: 0; transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1); transition-delay: var(--d, 0s); }
.pi-js [data-reveal="up"] { transform: translateY(32px); }
.pi-js [data-reveal="rise"] { transform: translateY(48px) scale(0.96); }
.pi-js [data-reveal="zoom"] { transform: scale(0.9); }
.pi-js [data-reveal="left"] { transform: translateX(-36px); }
.pi-js [data-reveal].is-in { opacity: 1; transform: none; }

/* shimmering highlight text */
.pi-hero h1 em, .pi-grad { background-size: 200% auto; -webkit-background-clip: text; background-clip: text; animation: pi-shimmer 6s linear infinite; }
.pi-hero h1 em, .pi-grad { background-image: linear-gradient(110deg, #0df2ff 0%, #1e7bff 25%, #abfbfd 50%, #1e7bff 75%, #0df2ff 100%); }

/* drifting glows */
.pi-hero::before, .pi-hero::after, .pi-peepsule::before, .pi-peepsule::after { animation: pi-drift 16s ease-in-out infinite alternate; }
.pi-hero::after, .pi-peepsule::after { animation-duration: 21s; animation-direction: alternate-reverse; }
.pi-hero::before { background: radial-gradient(closest-side, rgba(1, 83, 214, 0.38), transparent 70%); }
.pi-hero::after { background: radial-gradient(closest-side, rgba(3, 165, 253, 0.16), transparent 70%); }

/* hero photo: rotating glow ring + tilt */
.pi-hero__media { perspective: 1000px; }
.pi-hero__media::before { content: ""; position: absolute; inset: -3px; border-radius: 25px; background: conic-gradient(from var(--pi-ang), transparent 0deg, #0df2ff 60deg, transparent 140deg, #0153d6 220deg, transparent 300deg); filter: blur(10px); opacity: 0.85; animation: pi-spin 7s linear infinite; z-index: 0; }
.pi-hero__media img { position: relative; z-index: 1; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.4s ease-out; }
.pi-hero__media figcaption { z-index: 2; }
.pi-points li::before { animation: pi-dot 2.4s ease-in-out infinite; }
.pi-points li:nth-child(2)::before { animation-delay: 0.4s; }
.pi-points li:nth-child(3)::before { animation-delay: 0.8s; }

/* buttons: sheen sweep + glow */
.wp-block-button__link, .pi-btn, .wpcf7 input[type="submit"] { position: relative; overflow: hidden; isolation: isolate; }
.wp-block-button__link::after, .pi-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent); transform: translateX(-120%) skewX(-20deg); z-index: -1; pointer-events: none; }
.wp-block-button__link:hover::after, .pi-btn:hover::after { animation: pi-sheen 0.8s ease; }
.wp-block-button__link:hover, .pi-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 34px rgba(3, 165, 253, 0.28); }
.pi-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link, .pi-header__cta .pi-btn { animation: pi-pulse 2.6s ease-out infinite; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--accent); color: var(--accent); }

/* cards: lift, glowing border, pointer spotlight */
.pi-card, .pi-contact__card { position: relative; overflow: hidden; transition: transform 0.35s cubic-bezier(0.2, 0.75, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.9s ease; }
.pi-card::before, .pi-contact__card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(3, 165, 253, 0.14), transparent 45%); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.pi-card:hover::before, .pi-contact__card:hover::before { opacity: 1; }
.pi-card:hover { transform: translateY(-8px); border-color: rgba(3, 165, 253, 0.5); box-shadow: 0 24px 50px rgba(5, 10, 28, 0.55), 0 0 0 1px rgba(3, 165, 253, 0.2); }
.pi-card__num { transition: transform 0.4s ease; }
.pi-card:hover .pi-card__num { transform: rotate(-8deg) scale(1.12); }

/* images, logo, steps, lists */
.pi-split .wp-block-image { overflow: hidden; border-radius: 20px; }
.pi-split .wp-block-image img { transition: transform 0.8s cubic-bezier(0.2, 0.75, 0.2, 1); }
.pi-split .wp-block-image:hover img { transform: scale(1.06); }
.pi-peepsule__logo img { animation: pi-float 5s ease-in-out infinite; filter: drop-shadow(0 10px 24px rgba(18, 150, 245, 0.35)); }
.pi-step { position: relative; border-top-color: transparent; }
.pi-step::before { content: ""; position: absolute; top: -3px; left: 0; right: 0; height: 3px; background: var(--line); }
.pi-step::after { content: ""; position: absolute; top: -3px; left: 0; width: 100%; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s cubic-bezier(0.2, 0.75, 0.2, 1) calc(var(--d, 0s) + 0.3s); }
.pi-step.is-in::after, html:not(.pi-js) .pi-step::after { transform: scaleX(1); }
.pi-list-lg li { transition: transform 0.25s ease, color 0.25s ease, opacity 0.9s ease; }
.pi-list-lg li:hover { transform: translateX(6px); color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
	.pi-js [data-reveal] { opacity: 1; transform: none; }
}

/* neon glow, echoing the logo */
.pi-hero h1 em, .pi-grad { filter: drop-shadow(0 0 14px rgba(3, 165, 253, 0.45)); }
.pi-eyebrow { text-shadow: 0 0 10px rgba(3, 165, 253, 0.5); }
.wp-block-button:not(.is-style-outline) > .wp-block-button__link, .pi-btn, .wpcf7 input[type="submit"] { box-shadow: var(--neon); }
.wp-block-button__link:hover, .pi-btn:hover { box-shadow: 0 0 18px rgba(13, 242, 255, 0.7), 0 0 44px rgba(1, 83, 214, 0.6); }
.wp-block-button.is-style-outline > .wp-block-button__link { border-color: rgba(3, 165, 253, 0.45); }
.pi-card, .pi-contact__card { border-color: rgba(3, 165, 253, 0.18); }
.pi-card:hover { border-color: rgba(13, 242, 255, 0.6); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 26px rgba(3, 165, 253, 0.35); }
.pi-logo__mark, .pi-card__num, .pi-points li::before { box-shadow: 0 0 14px rgba(3, 165, 253, 0.6); }
.pi-progress { box-shadow: 0 0 10px rgba(13, 242, 255, 0.8); }
.pi-header { border-bottom-color: rgba(3, 165, 253, 0.2); }

/* ---------------------------------------------------------------- personal touch */
:root { --display: "Unbounded", "Plus Jakarta Sans", system-ui, sans-serif; --script: "Allura", cursive; }
h1, h2 { font-family: var(--display); text-transform: uppercase; font-weight: 800; letter-spacing: -0.01em; line-height: 1.08; }
h1 { font-size: clamp(2rem, 3.7vw, 3.05rem); }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.4rem); }
.pi-footer h2 { font-family: var(--font); }
.pi-hero h1 em { display: inline; }

/* eyebrows get a neon lead-in bar */
.pi-eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.pi-eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 8px rgba(13, 242, 255, 0.8); flex: none; }
.pi-center .pi-eyebrow { justify-content: center; }

/* neon grid floor in the hero */
@keyframes pi-grid-run { to { background-position: 0 64px, 0 0; } }
.pi-gridfloor { position: absolute; left: -20%; right: -20%; bottom: 0; height: 46%; pointer-events: none; z-index: 0;
	background-image: linear-gradient(rgba(3, 165, 253, 0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(3, 165, 253, 0.35) 1px, transparent 1px);
	background-size: 64px 64px, 64px 64px;
	transform: perspective(420px) rotateX(62deg); transform-origin: 50% 100%;
	-webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%); mask-image: linear-gradient(to top, #000 0%, transparent 85%);
	animation: pi-grid-run 3.2s linear infinite; }

/* spinning badge on the founder photo */
@keyframes pi-rotate { to { transform: rotate(360deg); } }
.pi-badge { position: absolute; z-index: 3; top: -34px; right: -34px; width: 124px; height: 124px; border-radius: 50%; background: radial-gradient(circle, #041036 55%, #020617 100%); border: 1px solid rgba(13, 242, 255, 0.5); box-shadow: 0 0 22px rgba(3, 165, 253, 0.55); display: grid; place-items: center; }
.pi-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: pi-rotate 14s linear infinite; }
.pi-badge text { fill: #9fe9ff; font: 700 9.6px/1 var(--font); letter-spacing: 0.22em; }
.pi-badge span { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; font: 800 1.25rem/1 var(--display); box-shadow: 0 0 18px rgba(13, 242, 255, 0.7); }
@media (max-width: 781px) { .pi-badge { width: 96px; height: 96px; top: -22px; right: -8px; } .pi-badge span { width: 36px; height: 36px; font-size: 1rem; border-radius: 11px; } }

/* neon ticker */
@keyframes pi-marquee { to { transform: translateX(-50%); } }
.pi-ticker { position: relative; overflow: hidden; background: linear-gradient(90deg, #0153d6, #03a5fd 50%, #0153d6); box-shadow: 0 0 30px rgba(3, 165, 253, 0.45); transform: rotate(-1.4deg); margin: 10px -2% 18px; z-index: 2; }
.pi-ticker__track { display: flex; width: max-content; animation: pi-marquee 38s linear infinite; }
.pi-ticker:hover .pi-ticker__track { animation-play-state: paused; }
.pi-ticker__row { display: flex; align-items: center; flex: none; }
.pi-ticker span { padding: 16px 22px; font: 800 0.95rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; color: #00031a; white-space: nowrap; }
.pi-ticker b { color: #fff; font-size: 1.1rem; text-shadow: 0 0 10px #fff; }

/* giant outlined section words */
.has-bigword { position: relative; overflow: hidden; }
.has-bigword > .pi-wrap { position: relative; z-index: 1; }
.pi-bigword { position: absolute; top: 18px; left: 50%; margin-left: -50vw; width: 100vw; text-align: center; white-space: nowrap; pointer-events: none; z-index: 0;
	font: 800 clamp(5rem, 17vw, 15rem)/1 var(--display); text-transform: uppercase; color: transparent;
	-webkit-text-stroke: 1.5px rgba(3, 165, 253, 0.16); letter-spacing: 0.02em; will-change: transform; }

/* handwritten signature */
.pi-sign { display: block; font-family: var(--script); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 400; line-height: 1; letter-spacing: 0; color: #9fe9ff; text-shadow: 0 0 12px rgba(3, 165, 253, 0.7); margin-bottom: 4px; transform: rotate(-4deg); transform-origin: left center; }

/* photo frame: offset neon outline for a personal, framed look */
.pi-hero__media::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid rgba(13, 242, 255, 0.45); border-radius: 24px; z-index: -1; box-shadow: 0 0 20px rgba(3, 165, 253, 0.35); }
@media (max-width: 600px) { .pi-hero__media::after { inset: 12px -8px -12px 12px; } }

@media (prefers-reduced-motion: reduce) { .pi-ticker__track { transform: none; } .pi-bigword { transform: none !important; } }
main { overflow-x: clip; }
