/*
Theme Name: Shobhit Verma Portfolio
Theme URI: https://shobhitverma.com
Author: Shobhit Verma
Author URI: https://shobhitverma.com
Description: Dark, editorial single-page portfolio theme for Shobhit Verma — senior full-stack developer. Custom-built, SEO-ready, Contact Form 7 compatible.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
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: shobhitverma
Tags: portfolio, one-page, custom-colors, custom-menu, translation-ready
*/

/* ==========================================================================
   Shobhit Verma — Portfolio
   Organized stylesheet. Authored from the design handoff; every value is
   preserved from the original inline styles, just relocated and tokenized.

   Contents:
     1.  Design tokens (:root)
     2.  Base / reset
     3.  Keyframes
     4.  Reveal animation + delays
     5.  Shared utilities & components
     6.  Navigation
     7.  Hero
     8.  Stats
     9.  About
     10. Services
     11. Featured / Other work
     12. Skills
     13. Contact
     14. Footer
     15. Case-study modal
     16. Responsive
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
	--bg: #0c0b0a;
	--surface: #100f0c;
	--surface-hover: #13120e;

	--text-primary: #f5f3ee;
	--text-bright: #e3dfd6;
	--text-secondary: #cbc6bc;
	--text-muted: #b6b1a7;
	--text-soft: #c9c4ba;
	--text-dim: #9b968d;
	--text-dim-2: #928d84;
	--text-faint: #86817a;
	--text-faint-2: #6f6a61;

	--accent: #ccff33;
	--accent-ink: #0c0b0a;

	--font-head: 'Space Grotesk', sans-serif;
	--font-body: 'Hanken Grotesk', system-ui, sans-serif;
	--font-mono: 'JetBrains Mono', monospace;

	--maxw: 1400px;
	--pad-x: clamp(20px, 5vw, 80px);
	--ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. Base / reset ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text-primary);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }

a { color: inherit; text-decoration: none; }

.page { position: relative; width: 100%; min-height: 100vh; background: var(--bg); }

/* ---------- 3. Keyframes ---------- */
@keyframes spin      { to { transform: rotate(360deg); } }
@keyframes lineUp    { from { transform: translateY(115%); } to { transform: translateY(0); } }
@keyframes fadeUp    { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes marquee   { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse     { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.7); } }
@keyframes glowDrift { 0% { transform: translate(-12%,-8%) scale(1); } 50% { transform: translate(14%,10%) scale(1.18); } 100% { transform: translate(-12%,-8%) scale(1); } }

/* ---------- 4. Reveal animation + delays ----------
   The design keeps reveal elements visible (opacity:1 !important); only the
   translateY slide animates in. JS sets transform:none when in view. */
[data-reveal] { opacity: 1 !important; }
@media print { [data-reveal] { transform: none !important; } }

.reveal { transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal--soft { transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }

/* manual transition delays (staggered grids set their own delay via JS) */
.rd-05 { transition-delay: .05s; }
.rd-06 { transition-delay: .06s; }
.rd-08 { transition-delay: .08s; }
.rd-10 { transition-delay: .10s; }
.rd-12 { transition-delay: .12s; }
.rd-14 { transition-delay: .14s; }
.rd-42 { transition-delay: .42s; }
.rd-54 { transition-delay: .54s; }

/* ---------- 5. Shared utilities & components ---------- */
.accent { color: var(--accent); }

.container { max-width: var(--maxw); margin: 0 auto; }

/* mono uppercase label */
.eyebrow {
	font-family: var(--font-mono);
	font-size: 12.5px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--accent);
}

/* eyebrow row: accent dash + label */
.section-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.section-eyebrow--mb26 { margin-bottom: 26px; }
.section-eyebrow__line { width: 28px; height: 1px; background: var(--accent); }

/* section heading (Space Grotesk) */
.section-heading {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(2.4rem, 6vw, 5rem);
	line-height: 1;
	letter-spacing: -.03em;
}

/* buttons */
.btn {
	display: inline-flex;
	align-items: center;
	border-radius: 100px;
	font-weight: 600;
}
.btn-lime {
	gap: 10px;
	padding: 15px 26px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 15px;
	transition: transform .2s, box-shadow .2s;
}
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(204,255,51,.25); }
.btn-outline {
	padding: 15px 26px;
	border: 1px solid rgba(245,243,238,.2);
	color: var(--text-primary);
	font-weight: 500;
	font-size: 15px;
	transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: rgba(245,243,238,.5); background: rgba(245,243,238,.04); }

/* ---------- 6. Navigation ---------- */
.site-nav {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
	padding: 0 var(--pad-x);
	transition: background .4s ease, border-color .4s ease;
	border-bottom: 1px solid transparent;
}
.logo {
	display: flex;
	align-items: baseline;
	gap: 2px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 21px;
	letter-spacing: -.02em;
}
.site-nav__links { display: flex; align-items: center; gap: 38px; }
.nav-link { font-size: 14.5px; color: var(--text-soft); transition: color .2s; }
.nav-link:hover { color: #fff; }
.nav-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 600;
	font-size: 14px;
	border-radius: 100px;
	white-space: nowrap;
	transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(204,255,51,.28); }
.nav-burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.nav-burger__bar { display: block; width: 24px; height: 2px; background: var(--text-primary); }

/* mobile menu overlay (display toggled by JS) */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 70;
	background: var(--bg);
	flex-direction: column;
	padding: 90px clamp(20px,6vw,40px) 40px;
	gap: 6px;
}
.mobile-menu__close {
	position: absolute;
	top: 24px; right: 24px;
	background: none;
	border: none;
	color: var(--text-primary);
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}
.mobile-menu__link {
	font-family: var(--font-head);
	font-size: 38px;
	font-weight: 500;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu__cta {
	margin-top: 18px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	padding: 14px 26px;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 600;
	font-size: 17px;
	border-radius: 100px;
}

/* ---------- 6b. WordPress admin bar offset (logged-in users) ----------
   WP's fixed admin bar sits at top:0; nudge the fixed nav below it. The
   .admin-bar class is only present for logged-in users, so visitors are
   unaffected. */
.admin-bar .site-nav { top: 32px; }
.admin-bar .mobile-menu { top: 32px; }
@media screen and (max-width: 782px) {
	.admin-bar .site-nav { top: 46px; }
	.admin-bar .mobile-menu { top: 46px; }
}

/* ---------- 7. Hero ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 120px var(--pad-x) 0;
	overflow: hidden;
}
.hero-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	-webkit-mask-image: radial-gradient(ellipse 92% 76% at 50% 42%, #000 32%, transparent 82%);
	mask-image: radial-gradient(ellipse 92% 76% at 50% 42%, #000 32%, transparent 82%);
}
.hero__glow {
	position: absolute;
	top: 18%; left: 46%;
	width: 60vw; height: 60vw;
	max-width: 760px; max-height: 760px;
	background: radial-gradient(circle, rgba(204,255,51,.16), transparent 62%);
	filter: blur(20px);
	animation: glowDrift 16s ease-in-out infinite;
	pointer-events: none;
}
.hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero__eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 22px;
	justify-content: space-between;
	margin-bottom: 30px;
}
.hero__status { display: flex; align-items: center; gap: 14px; }
.hero__pulse { position: relative; display: inline-flex; width: 9px; height: 9px; }
.hero__pulse-ring { position: absolute; inset: 0; border-radius: 50%; background: rgba(204,255,51,.4); }
.hero__pulse-dot { position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-in-out infinite; }
.hero__status-text { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-dim); }
.hero__meta { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--text-faint); }
.hero__meta-sep { width: 1px; height: 13px; background: rgba(245,243,238,.16); }
.hero__clock { color: var(--text-secondary); }

.hero__name {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(3.4rem, 13.5vw, 13.5rem);
	line-height: .9;
	letter-spacing: -.035em;
	will-change: transform;
}
.hero__name-line { display: block; }
.hero__name-word {
	display: block;
	transform: translateY(44px);
	transition: opacity 1s ease, transform 1.1s var(--ease);
}
.hero__name-word--1 { transition-delay: .1s; }
.hero__name-word--2 { transition-delay: .22s; }
.verma-fill {
	display: inline-block;
	color: transparent;
	-webkit-text-stroke: 2px rgba(245,243,238,.82);
	transition: color .35s ease, -webkit-text-stroke-color .35s ease;
	cursor: default;
}
.verma-fill:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.hero__star {
	display: inline-block;
	color: var(--accent);
	animation: spin 9s linear infinite;
	transform-origin: 50% 54%;
	margin-left: .22em;
	font-size: .82em;
}

.hero__sub {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 36px;
	margin-top: 42px;
}
.hero__lede {
	max-width: 540px;
	margin: 0;
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.6;
	color: var(--text-muted);
}
.hero__ctas { display: flex; gap: 14px; }

.marquee {
	position: relative;
	margin-top: clamp(40px, 7vh, 90px);
	padding: 18px 0;
	border-top: 1px solid rgba(245,243,238,.08);
	border-bottom: 1px solid rgba(245,243,238,.08);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
	display: flex;
	width: max-content;
	animation: marquee 32s linear infinite;
	font-family: var(--font-mono);
	font-size: 14px;
	letter-spacing: .06em;
	color: var(--text-faint);
}
.marquee__group { display: flex; align-items: center; }
.marquee__item { padding: 0 28px; }
.marquee__sep { color: var(--accent); }

/* ---------- 8. Stats ---------- */
.stats {
	padding: clamp(50px,7vw,90px) var(--pad-x);
	border-bottom: 1px solid rgba(245,243,238,.08);
}
.stats-grid {
	max-width: var(--maxw);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(20px, 4vw, 60px);
}
.stat__value {
	display: flex;
	align-items: flex-start;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(2.6rem, 5vw, 4.5rem);
	line-height: 1;
	letter-spacing: -.03em;
	color: var(--text-primary);
}
.stat__label { margin-top: 10px; font-size: 14px; color: var(--text-dim-2); letter-spacing: .01em; }

/* ---------- 9. About ---------- */
.about { padding: clamp(80px,12vw,160px) var(--pad-x); }
.about__heading { margin: 0 0 56px; }
.role-cycle { display: inline-block; color: var(--accent); transition: opacity .32s ease, transform .32s ease; }

.about-grid {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: clamp(36px, 5vw, 80px);
	align-items: start;
}
.about-text { display: flex; flex-direction: column; gap: 24px; }
.about-text p { margin: 0; }
.about-text__p1 { font-size: clamp(16px,1.4vw,18.5px); line-height: 1.65; color: var(--text-secondary); }
.about-text__p2,
.about-text__p3 { font-size: clamp(15px,1.3vw,17px); line-height: 1.7; color: var(--text-dim); }

.about-portrait { display: flex; flex-direction: column; gap: 18px; }
.portrait {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid rgba(204,255,51,.22);
	background: var(--surface);
}
.portrait__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	filter: grayscale(1) contrast(1.02);
}
.portrait__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,11,10,.62), transparent 46%); pointer-events: none; }
.portrait__caption {
	position: absolute;
	left: 18px; right: 18px; bottom: 15px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	pointer-events: none;
}
.portrait__name { font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: -.01em; color: var(--text-primary); }
.portrait__loc { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--text-muted); margin-top: 3px; }
.portrait__est { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }

.about-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: clamp(28px, 4vw, 48px);
}
.about-card {
	padding: clamp(28px,3vw,38px);
	border-radius: 8px;
}
.about-card--plain {
	border: 1px solid rgba(245,243,238,.1);
	background: linear-gradient(160deg, rgba(245,243,238,.03), transparent);
}
.about-card--cta {
	border: 1px solid rgba(204,255,51,.25);
	background: rgba(204,255,51,.04);
}
.about-card__label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.about-card__text { margin: 0; font-size: clamp(16px,1.3vw,18px); line-height: 1.6; color: var(--text-secondary); max-width: 46ch; }
.about-card--cta .about-card__text { margin: 0 0 18px; }
.about-card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--accent); }
.about-card__text strong,
.text-strong { color: var(--text-primary); font-weight: 600; }

.ledger { margin-top: clamp(48px, 7vw, 90px); }
.ledger-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.ledger-head__rule { flex: 1; height: 1px; background: rgba(245,243,238,.1); }
.ledger-head__count { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--text-faint-2); }
.ind-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ind-item {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 18px 22px;
	border: 1px solid rgba(245,243,238,.09);
	border-radius: 8px;
	background: var(--surface);
	transition: border-color .3s, background .3s, transform .3s;
}
.ind-item:hover { border-color: rgba(204,255,51,.4); background: var(--surface-hover); transform: translateY(-2px); }
.ind-item__num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); min-width: 22px; }
.ind-item__body { flex: 1; min-width: 0; }
.ind-item__name { font-family: var(--font-head); font-weight: 500; font-size: 18px; letter-spacing: -.01em; color: var(--text-primary); margin-bottom: 5px; }
.ind-item__brands { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 10. Services ---------- */
.section--bordered { border-top: 1px solid rgba(245,243,238,.08); }
.services { padding: clamp(60px,9vw,120px) var(--pad-x); }
.services__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 60px;
}
.services__intro { max-width: 380px; margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-dim); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
	position: relative;
	padding: 34px 30px 30px;
	border: 1px solid rgba(245,243,238,.1);
	border-radius: 8px;
	background: var(--surface);
	transition: opacity .9s var(--ease), transform .9s var(--ease), border-color .3s, background .3s;
}
.service-card:hover { border-color: rgba(204,255,51,.4); background: var(--surface-hover); }
.service-card__num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-bottom: 22px; }
.service-card__title { margin: 0 0 14px; font-family: var(--font-head); font-weight: 500; font-size: 22px; letter-spacing: -.01em; color: var(--text-primary); }
.service-card__desc { margin: 0 0 22px; font-size: 14.5px; line-height: 1.6; color: var(--text-dim); }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
	font-family: var(--font-mono);
	font-size: 11.5px;
	padding: 4px 10px;
	border: 1px solid rgba(245,243,238,.13);
	border-radius: 100px;
	color: var(--text-faint);
}

/* ---------- 11. Featured / Other work ---------- */
.work { padding: clamp(60px,9vw,120px) var(--pad-x); }
.work__heading { margin: 0 0 56px; }
.work-list { display: flex; flex-direction: column; border-top: 1px solid rgba(245,243,238,.1); }
.work-row {
	cursor: pointer;
	display: grid;
	grid-template-columns: 80px 1fr 320px 40px;
	align-items: center;
	gap: 30px;
	padding: 34px 0;
	border-bottom: 1px solid rgba(245,243,238,.1);
	transition: opacity .9s var(--ease), transform .9s var(--ease), background .3s, padding .3s;
}
.work-row:hover { background: rgba(245,243,238,.02); }
.work-row__num { font-family: var(--font-mono); font-size: 14px; color: var(--text-faint-2); }
.work-row__name { margin: 0 0 8px; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.6rem,3vw,2.6rem); line-height: 1.02; letter-spacing: -.02em; color: var(--text-primary); }
.work-row__cat { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--text-dim-2); }
.work-lede { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-faint); }
.work-arrow {
	justify-self: end;
	width: 40px; height: 40px;
	border: 1px solid rgba(245,243,238,.18);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	font-size: 17px;
	transition: background .3s, border-color .3s, color .3s;
}
.work-row:hover .work-arrow { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.other { padding: clamp(50px,7vw,90px) var(--pad-x); }
.other-head { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.other-head__label { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-faint-2); }
.other-head__rule { flex: 1; height: 1px; background: rgba(245,243,238,.08); }
.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.other-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 24px;
	border: 1px solid rgba(245,243,238,.09);
	border-radius: 8px;
	transition: opacity .9s var(--ease), transform .9s var(--ease), border-color .3s, background .3s;
}
.other-card:hover { border-color: rgba(204,255,51,.35); background: rgba(245,243,238,.02); }
.other-card__name { font-family: var(--font-head); font-weight: 500; font-size: 18px; color: var(--text-primary); margin-bottom: 5px; }
.other-card__cat { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .03em; color: var(--text-faint); }
.other-card__arrow { color: var(--text-faint-2); font-size: 15px; }

/* ---------- 12. Skills ---------- */
.skills { padding: clamp(60px,9vw,120px) var(--pad-x); }
.skills-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px,6vw,90px); align-items: start; }
.skills-head { position: sticky; top: 100px; }
.skills-head__heading { margin: 0 0 24px; font-size: clamp(2.2rem,5vw,4.2rem); }
.skills-head__text { margin: 0; max-width: 340px; font-size: 16px; line-height: 1.6; color: var(--text-dim); }
.skills-list { display: flex; flex-direction: column; gap: 30px; }
.skill-group { padding-bottom: 30px; border-bottom: 1px solid rgba(245,243,238,.08); }
.skill-group__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint-2); margin-bottom: 18px; }
.skill-group__items { display: flex; flex-wrap: wrap; gap: 9px; }
.skill-pill {
	font-size: 15px;
	padding: 8px 16px;
	border: 1px solid rgba(245,243,238,.12);
	border-radius: 100px;
	color: var(--text-secondary);
	transition: border-color .25s, color .25s;
}
.skill-pill:hover { border-color: rgba(204,255,51,.5); color: #fff; }

/* ---------- 13. Contact ---------- */
.contact { padding: clamp(80px,12vw,170px) var(--pad-x); position: relative; overflow: hidden; }
.contact__glow {
	position: absolute;
	bottom: -30%; left: 50%;
	transform: translateX(-50%);
	width: 80vw; height: 50vw;
	max-width: 900px;
	background: radial-gradient(circle, rgba(204,255,51,.1), transparent 60%);
	filter: blur(20px);
	pointer-events: none;
}
.contact__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.contact__heading { margin: 0 0 28px; font-size: clamp(2.6rem,8vw,7rem); line-height: .96; letter-spacing: -.035em; }
.contact__lede { max-width: 520px; margin: 0 0 44px; font-size: clamp(16px,1.5vw,19px); line-height: 1.6; color: var(--text-muted); }
.contact__cta {
	gap: 12px;
	padding: 18px 32px;
	font-size: 17px;
	margin-bottom: 56px;
	transition: opacity .9s var(--ease) .14s, transform .9s var(--ease) .14s, box-shadow .25s;
}
.contact__cta:hover { box-shadow: 0 14px 36px rgba(204,255,51,.3); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.contact-card {
	padding: 24px;
	border: 1px solid rgba(245,243,238,.1);
	border-radius: 8px;
	transition: opacity .9s var(--ease), transform .9s var(--ease), border-color .3s;
}
.contact-card:hover { border-color: rgba(204,255,51,.4); }
.contact-card__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint-2); margin-bottom: 10px; }
.contact-card__value { font-size: 14.5px; color: var(--text-secondary); }
.contact-card__value--break { word-break: break-all; }

/* ---------- 14. Footer ---------- */
.site-footer {
	padding: 32px var(--pad-x);
	border-top: 1px solid rgba(245,243,238,.08);
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
}
.site-footer__logo { display: flex; align-items: baseline; gap: 2px; font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.site-footer__copy { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint-2); }
.site-footer__link { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }

/* ---------- 15. Case-study modal (built by main.js) ---------- */
.case-overlay {
	position: fixed; inset: 0; z-index: 90;
	background: rgba(6,5,4,.78);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	display: flex; justify-content: center; align-items: flex-start;
	padding: clamp(12px,4vw,56px); overflow-y: auto;
}
.case-dialog {
	position: relative; width: 100%; max-width: 1040px;
	background: var(--surface); border: 1px solid rgba(245,243,238,.12);
	border-radius: 10px; overflow: hidden;
}
.case-close {
	position: absolute; top: 18px; right: 18px; z-index: 5;
	width: 42px; height: 42px; border-radius: 50%;
	background: rgba(12,11,10,.7); border: 1px solid rgba(245,243,238,.16);
	color: var(--text-primary); font-size: 22px; line-height: 1; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: background .2s, border-color .2s;
}
.case-close:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.case-live:hover { background: rgba(204,255,51,.1); }

/* case-study screenshot (real image, or dashed placeholder until one is added) */
.case-shot {
	position: relative;
	margin: clamp(24px,4vw,44px) clamp(24px,5vw,64px) 0;
	height: clamp(180px,28vw,320px);
	border-radius: 8px;
	border: 1px solid rgba(245,243,238,.1);
	background-image: repeating-linear-gradient(135deg, rgba(245,243,238,.035) 0 14px, transparent 14px 28px);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.case-shot__ph { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; color: var(--text-faint-2); padding: 0 16px; text-align: center; }
.case-shot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* case-study body section: label column + content (collapses to 1 col on mobile) */
.modal-sec { display: grid; grid-template-columns: 170px 1fr; gap: clamp(16px,3vw,40px); }

/* ---------- 15b. Contact form (Contact Form 7) ---------- */
.contact-form-panel {
	margin: 0 0 56px;
	padding: clamp(28px,3.5vw,44px);
	border: 1px solid rgba(245,243,238,.1);
	border-radius: 10px;
	background: linear-gradient(160deg, rgba(245,243,238,.03), transparent);
}
.contact-form-panel__head { margin-bottom: 26px; }
.contact-form-panel__note { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--text-dim); max-width: 52ch; }

.sv-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sv-field { margin: 0 0 18px; display: block; }
.sv-field__label {
	display: block;
	font-family: var(--font-mono);
	font-size: 11.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--text-faint-2);
	margin-bottom: 10px;
}
.wpcf7-form-control-wrap { display: block; }
.sv-input,
.sv-textarea {
	width: 100%;
	padding: 14px 16px;
	background: var(--bg);
	border: 1px solid rgba(245,243,238,.14);
	border-radius: 8px;
	color: var(--text-primary);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.5;
	transition: border-color .25s, background .25s;
}
.sv-input::placeholder,
.sv-textarea::placeholder { color: var(--text-faint-2); }
.sv-input:focus,
.sv-textarea:focus { outline: none; border-color: rgba(204,255,51,.55); background: #0e0d0b; }
.sv-textarea { resize: vertical; min-height: 130px; }
.sv-form__submit { margin: 8px 0 0; }
.sv-submit {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	background: var(--accent);
	color: var(--accent-ink);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	border: none;
	border-radius: 100px;
	cursor: pointer;
	transition: transform .2s, box-shadow .2s;
}
.sv-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(204,255,51,.25); }
.sv-submit:disabled { opacity: .85; cursor: default; }
.sv-form__preview-note { margin: 18px 0 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; line-height: 1.6; color: var(--text-faint-2); }
.sv-form__preview-note code { color: var(--accent); }
/* reCAPTCHA v3 disclosure (shown because we hide Google's floating badge) */
.contact-form-panel__legal { margin: 16px 0 0; font-size: 12px; line-height: 1.6; color: var(--text-faint-2); }
.contact-form-panel__legal a { color: var(--text-faint); text-decoration: underline; text-underline-offset: 2px; }
.contact-form-panel__legal a:hover { color: var(--accent); }
/* Hide Google's floating reCAPTCHA badge (compliant when the notice above is shown) */
.grecaptcha-badge { visibility: hidden !important; }
/* CF7 runtime messages */
.wpcf7 .wpcf7-response-output { margin: 18px 0 0 !important; padding: 12px 16px; border-radius: 8px; font-size: 14px; border: 1px solid rgba(245,243,238,.2); color: var(--text-secondary); }
.wpcf7 .wpcf7-not-valid-tip { color: #ff8a8a; font-size: 12.5px; margin-top: 6px; display: block; }
.wpcf7-spinner { background-color: var(--accent); }

/* ---------- 15c. WhatsApp widget ---------- */
.wa-widget {
	position: fixed;
	right: clamp(16px,3vw,28px);
	bottom: clamp(16px,3vw,28px);
	z-index: 80;
	display: inline-flex;
	align-items: center;
	height: 56px;
	background: #25d366;
	border-radius: 100px;
	box-shadow: 0 12px 30px rgba(0,0,0,.35), 0 0 0 6px rgba(37,211,102,.14);
	overflow: hidden;
	transition: box-shadow .25s ease, transform .25s ease;
}
.wa-widget__icon {
	flex: 0 0 56px;
	width: 56px; height: 56px;
	display: flex; align-items: center; justify-content: center;
	color: #fff;
}
.wa-widget__label {
	max-width: 0;
	white-space: nowrap;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	color: #fff;
	opacity: 0;
	transition: max-width .3s ease, opacity .25s ease, padding .3s ease;
}
.wa-widget:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0,0,0,.42), 0 0 0 6px rgba(37,211,102,.22); }
.wa-widget:hover .wa-widget__label { max-width: 220px; opacity: 1; padding-right: 22px; }

/* ---------- 15d. Blog (listing + single) ---------- */
.blog,
.single { padding: 72px var(--pad-x) clamp(60px,9vw,120px); }

/* blog header ambience — drifting lime glow + dot grid that fades seamlessly into the page.
   IMPORTANT: no overflow:hidden here. It clips the glow into a hard edge (a visible seam)
   and can trap page scroll on some setups (e.g. logged-in admin bar). The body already has
   overflow-x:hidden, and these decorative layers fade out on their own, so no clipping is needed. */
.blog { position: relative; }
.blog::before {
	content: "";
	position: absolute;
	top: -60px; left: 30%;
	width: min(62vw, 780px); height: min(62vw, 780px);
	background: radial-gradient(circle, rgba(204,255,51,.13), transparent 62%);
	filter: blur(22px);
	animation: glowDrift 16s ease-in-out infinite;
	pointer-events: none;
	z-index: 0;
}
.blog::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(245,243,238,.10) 1px, transparent 1px);
	background-size: 30px 30px;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.5) 24%, transparent 54%);
	mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.5) 24%, transparent 54%);
	pointer-events: none;
	z-index: 0;
}
.blog > .container { position: relative; z-index: 1; }

.blog-head { max-width: 760px; margin-bottom: clamp(40px,6vw,70px); animation: fadeUp .9s var(--ease) both; }
.blog-head .section-eyebrow { margin-bottom: 22px; }
.blog-head__title { margin: 0; }
.blog-head__intro { margin-top: 22px; font-size: clamp(16px,1.4vw,18px); line-height: 1.7; color: var(--text-dim); }
.blog-head__intro p { margin: 0 0 1em; }
.blog-head__intro p:last-child { margin-bottom: 0; }

.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.blog-empty { font-size: 18px; color: var(--text-dim); }

.post-card { display: flex; }
.post-card__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	border: 1px solid rgba(245,243,238,.1);
	border-radius: 10px;
	background: var(--surface);
	overflow: hidden;
	transition: border-color .3s, background .3s, transform .3s;
}
.post-card__link:hover { border-color: rgba(204,255,51,.4); background: var(--surface-hover); transform: translateY(-3px); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0e0d0b; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.post-card__link:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px,2.4vw,28px); flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-faint); }
.post-card__cat { color: var(--accent); }
.post-card__dot { color: var(--text-faint-2); }
.post-card__title { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.2rem,1.8vw,1.5rem); line-height: 1.2; letter-spacing: -.01em; color: var(--text-primary); }
.post-card__excerpt { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-dim); flex: 1; }
.post-card__more { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--accent); margin-top: 4px; }

/* pagination (the_posts_pagination) */
.pagination { margin-top: clamp(40px,5vw,64px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 14px;
	border: 1px solid rgba(245,243,238,.14); border-radius: 100px;
	font-family: var(--font-mono); font-size: 14px; color: var(--text-secondary);
	transition: border-color .25s, color .25s, background .25s;
}
.pagination a.page-numbers:hover { border-color: rgba(204,255,51,.5); color: #fff; }
.pagination .page-numbers.current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pagination .page-numbers.dots { border-color: transparent; }

/* single post */
.post { max-width: 820px; margin: 0 auto; }
.post__back { display: inline-flex; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--text-faint); margin-bottom: 28px; transition: color .2s; }
.post__back:hover { color: var(--accent); }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 20px; }
.post__cat { color: var(--accent); }
.post__dot { color: var(--text-faint-2); }
.post__title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem,5vw,3.4rem); line-height: 1.04; letter-spacing: -.025em; color: var(--text-primary); }
.post__featured { margin: clamp(28px,4vw,48px) 0 0; }
.post__featured img { width: 100%; height: auto; border-radius: 12px; display: block; }

/* post content typography (the_content) */
.post-content { margin-top: clamp(28px,4vw,44px); font-size: clamp(16px,1.25vw,18px); line-height: 1.8; color: var(--text-secondary); }
.post-content > * { margin: 0 0 1.4em; }
.post-content > *:last-child { margin-bottom: 0; }
.post-content h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem,3vw,2.1rem); line-height: 1.15; letter-spacing: -.02em; color: var(--text-primary); margin: 1.8em 0 .6em; }
.post-content h3 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.25rem,2.2vw,1.5rem); color: var(--text-primary); margin: 1.6em 0 .5em; }
.post-content h4 { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--text-primary); margin: 1.5em 0 .5em; }
.post-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post-content a:hover { text-decoration-thickness: 2px; }
.post-content strong, .post-content b { color: var(--text-primary); font-weight: 600; }
.post-content ul, .post-content ol { padding-left: 1.3em; }
.post-content li { margin: 0 0 .6em; }
.post-content ul li::marker { color: var(--accent); }
.post-content ol li::marker { color: var(--accent); font-family: var(--font-mono); }
.post-content blockquote { margin: 1.6em 0; padding: 6px 0 6px 24px; border-left: 2px solid var(--accent); color: var(--text-primary); font-size: 1.1em; line-height: 1.6; }
.post-content blockquote p:last-child { margin-bottom: 0; }
.post-content code { font-family: var(--font-mono); font-size: .88em; background: var(--surface); border: 1px solid rgba(245,243,238,.1); padding: 2px 7px; border-radius: 5px; color: var(--text-primary); }
.post-content pre { background: var(--surface); border: 1px solid rgba(245,243,238,.1); border-radius: 10px; padding: 20px 22px; overflow: auto; font-family: var(--font-mono); font-size: 14px; line-height: 1.6; }
.post-content pre code { background: none; border: none; padding: 0; font-size: inherit; }
.post-content img { max-width: 100%; height: auto; border-radius: 10px; }
.post-content figure { margin: 1.6em 0; }
.post-content figcaption { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); text-align: center; }
.post-content hr { border: none; border-top: 1px solid rgba(245,243,238,.12); margin: 2.4em 0; }
.post-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.post-content th, .post-content td { border: 1px solid rgba(245,243,238,.12); padding: 10px 14px; text-align: left; }

.post__tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: 820px; margin: clamp(32px,4vw,48px) 0 0; }

/* end-of-post CTA */
.post-cta {
	max-width: 820px;
	margin: clamp(40px,5vw,64px) auto 0;
	padding: clamp(30px,4vw,48px);
	border: 1px solid rgba(204,255,51,.25);
	border-radius: 12px;
	background: rgba(204,255,51,.04);
}
.post-cta__eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.post-cta__line { width: 28px; height: 1px; background: var(--accent); }
.post-cta__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem,3vw,2.1rem); line-height: 1.12; letter-spacing: -.02em; color: var(--text-primary); margin: 0 0 14px; }
.post-cta__text { margin: 0 0 26px; font-size: clamp(15px,1.2vw,17px); line-height: 1.65; color: var(--text-secondary); max-width: 60ch; }

/* prev / next */
.post__nav { max-width: 820px; margin: clamp(40px,5vw,64px) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post__nav-link { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border: 1px solid rgba(245,243,238,.1); border-radius: 10px; background: var(--surface); transition: border-color .3s, background .3s; }
.post__nav-link:hover { border-color: rgba(204,255,51,.4); background: var(--surface-hover); }
.post__nav-next { text-align: right; }
.post__nav-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint-2); }
.post__nav-title { font-family: var(--font-head); font-weight: 500; font-size: 16px; color: var(--text-primary); }

/* comments */
.comments { max-width: 820px; margin: clamp(48px,6vw,80px) auto 0; padding-top: clamp(32px,4vw,48px); border-top: 1px solid rgba(245,243,238,.1); }
.comments__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem,2.4vw,1.9rem); color: var(--text-primary); margin: 0 0 28px; }
.comments__list { list-style: none; margin: 0 0 40px; padding: 0; }
.comments__list .children { list-style: none; margin: 18px 0 0 28px; padding: 0; }
.comments__list li { margin: 0 0 22px; }
.comment-body { padding: 20px 22px; border: 1px solid rgba(245,243,238,.1); border-radius: 10px; background: var(--surface); }
.comment-author { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--text-primary); }
.comment-author .avatar { border-radius: 50%; }
.comment-metadata, .comment-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--text-faint-2); margin: 6px 0 12px; }
.comment-metadata a { color: inherit; }
.comment-content { font-size: 15px; line-height: 1.7; color: var(--text-secondary); }
.comment-content p { margin: 0 0 .8em; }
.comment-content p:last-child { margin-bottom: 0; }
.reply a { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.comment-respond { margin-top: 8px; }
.comment-reply-title { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--text-primary); margin: 0 0 18px; }
.comment-form { display: grid; gap: 16px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint-2); margin-bottom: 10px; }
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea {
	width: 100%; padding: 14px 16px;
	background: var(--bg); border: 1px solid rgba(245,243,238,.14); border-radius: 8px;
	color: var(--text-primary); font-family: var(--font-body); font-size: 15px;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: rgba(204,255,51,.55); background: #0e0d0b; }
.comment-form .submit {
	display: inline-flex; align-items: center; padding: 14px 28px;
	background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 15px;
	border: none; border-radius: 100px; cursor: pointer;
	transition: transform .2s, box-shadow .2s;
}
.comment-form .submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(204,255,51,.25); }

/* ---------- 16. Responsive ---------- */
@media (max-width: 1080px) {
	.stats-grid    { grid-template-columns: repeat(2,1fr); row-gap: 36px; }
	.services-grid { grid-template-columns: repeat(2,1fr); }
	.about-grid    { grid-template-columns: 1fr; }
	.about-portrait { order: -1; }
	.about-cards   { grid-template-columns: 1fr; }
	.skills-grid   { grid-template-columns: 1fr; }
	.skills-head   { position: static; }
	.other-grid    { grid-template-columns: repeat(2,1fr); }
	.ind-grid      { grid-template-columns: repeat(2,1fr); }
	.contact-grid  { grid-template-columns: repeat(2,1fr); }
	.work-row      { grid-template-columns: 60px 1fr 40px; }
	.work-lede     { display: none; }
	.blog-grid     { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
	.site-nav__links { display: none; }
	.nav-burger    { display: flex; }
	.services-grid { grid-template-columns: 1fr; }
	.other-grid    { grid-template-columns: 1fr; }
	.ind-grid      { grid-template-columns: 1fr; }
	.contact-grid  { grid-template-columns: 1fr; }
	.work-row      { grid-template-columns: 44px 1fr 36px; gap: 18px; }
	.modal-sec     { grid-template-columns: 1fr; gap: 10px; }
	.sv-form__row  { grid-template-columns: 1fr; }
	.wa-widget__label { display: none; }
	.blog-grid     { grid-template-columns: 1fr; }
	.post__nav     { grid-template-columns: 1fr; }
	.post__nav-next { text-align: left; }
}
