/*
Theme Name: AO Tech
Theme URI: https://aotech.shop
Author: Suman Santra
Description: Personal brand theme for AO Tech — creative development & digital experiences. Purple, black and white, with glass UI, particle portrait, GSAP + Lenis motion.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aotech
*/

:root {
  --bg: #050409;
  --bg-2: #0c0a14;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(201, 168, 255, 0.22);
  --text: #f5f3fa;
  --muted: #9a94ab;
  --purple: #7c3aed;
  --purple-2: #9b5cff;
  --lilac: #c9a8ff;
  --radius: 22px;
  --pad: clamp(20px, 5vw, 72px);
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--text); }
body { font-family: var(--body); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--purple); color: #fff; }

/* Faint vertical guide lines, like a blueprint */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(90deg, transparent calc(33.33% - 0.5px), rgba(255,255,255,0.025) 33.33%, transparent calc(33.33% + 0.5px), transparent calc(66.66% - 0.5px), rgba(255,255,255,0.025) 66.66%, transparent calc(66.66% + 0.5px)); }
main, footer { position: relative; z-index: 1; }

/* Cursor spotlight */
.spotlight { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, -20%), rgba(124, 58, 237, 0.13), transparent 60%); }

/* ---------- type ---------- */
.label { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.label span { color: var(--purple-2); }
.h-lg { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 5.5vw, 4.6rem); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
.h-xl { font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: 0.98; letter-spacing: -0.015em; text-transform: uppercase; }
.center { text-align: center; }
.lead { color: #b3adc3; font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 560px; }
.glow { color: #e2d0ff; text-shadow: 0 0 12px rgba(167, 115, 255, 0.9), 0 0 32px rgba(124, 58, 237, 0.75), 0 0 70px rgba(124, 58, 237, 0.45); }
[data-split] .wl { display: inline-block; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
[data-split] .wi { display: inline-block; }

.section-index { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #6f6880; margin-bottom: clamp(30px, 5vw, 56px); }
.section-index i { width: 48px; height: 1px; background: linear-gradient(90deg, var(--purple-2), transparent); }
.section-index .right { margin-left: auto; }

.section { position: relative; padding: clamp(90px, 12vw, 170px) var(--pad); max-width: 1360px; margin: 0 auto; }
.actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 32px; }

/* ---------- glass ---------- */
.glass { background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 20px 60px -20px rgba(0,0,0,0.6); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); }

/* Glass buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 7px 7px 7px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; color: #f3eaff;
  background: linear-gradient(180deg, rgba(167, 115, 255, 0.42), rgba(109, 40, 217, 0.22));
  border: 1px solid rgba(201, 168, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), inset 0 0 18px rgba(155, 92, 255, 0.45), 0 0 24px rgba(155, 92, 255, 0.35), 0 10px 30px -10px rgba(124, 58, 237, 0.8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s, background 0.4s; will-change: transform; }
.btn:hover { border-color: #e2d0ff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), inset 0 0 24px rgba(155, 92, 255, 0.6), 0 0 40px rgba(155, 92, 255, 0.6), 0 14px 40px -10px rgba(124, 58, 237, 0.9); }
.btn-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, #e4d4ff); color: var(--purple); box-shadow: 0 0 14px rgba(201, 168, 255, 0.7); transition: transform 0.5s var(--ease); }
.btn:hover .btn-icon { transform: rotate(45deg); }
.btn-ghost { color: #e8e4f2; background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02)); border-color: rgba(255,255,255,0.22); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 10px 30px -15px rgba(0,0,0,0.6); }
.btn-ghost:not(:has(.btn-icon)) { padding: 13px 22px; }
.btn-ghost .btn-icon { background: rgba(255,255,255,0.12); color: #fff; box-shadow: none; border: 1px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { border-color: rgba(201,168,255,0.7); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 0 30px rgba(155, 92, 255, 0.35); }

/* Glowing glass pills (status-chip style) */
.pill { --c: 155, 92, 255; --t: #e3d2ff; display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--t);
  background: linear-gradient(90deg, rgba(var(--c), 0.08), rgba(var(--c), 0.26));
  border: 1.5px solid rgba(var(--c), 0.75);
  box-shadow: inset 0 0 14px rgba(var(--c), 0.25), 0 0 18px rgba(var(--c), 0.22); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--c)); box-shadow: 0 0 10px rgb(var(--c)); }
.pill-violet { --c: 155, 92, 255; --t: #e3d2ff; }
.pill-orchid { --c: 214, 122, 255; --t: #f5d9ff; }
.pill-indigo { --c: 120, 130, 255; --t: #d7dbff; }
.pill-pearl  { --c: 220, 214, 235; --t: #f4f2fa; }
.pill-lg { font-size: clamp(15px, 1.4vw, 19px); padding: 10px 22px 10px 12px; gap: 12px; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.pill-lg:hover { transform: translateY(-4px); box-shadow: inset 0 0 20px rgba(var(--c), 0.4), 0 0 34px rgba(var(--c), 0.45); }
.pill-ico { display: grid; place-items: center; width: 26px; height: 26px; color: rgb(var(--c)); filter: drop-shadow(0 0 6px rgba(var(--c), 0.8)); }
.pill-ico svg { width: 100%; height: 100%; }

/* ---------- nav (glass) ---------- */
.nav { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1320px, calc(100% - 32px)); display: flex; align-items: center; justify-content: space-between; padding: 9px 9px 9px 20px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), inset 0 -1px 0 rgba(255,255,255,0.03), 0 20px 50px -20px rgba(0,0,0,0.8);
  backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%); transition: background 0.4s, padding 0.4s var(--ease), top 0.4s var(--ease); }
.nav.scrolled { background: linear-gradient(180deg, rgba(20,16,30,0.72), rgba(10,8,16,0.55)); top: 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-text { font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: 0.06em; }
.logo-text span { color: var(--lilac); margin-left: 6px; font-weight: 300; }
.nav-links { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.nav-links a { position: relative; z-index: 1; padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #d8d4e3; transition: color 0.3s; }
.nav-links a:hover { color: #fff; }
.nav-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; opacity: 0; background: linear-gradient(180deg, rgba(167,115,255,0.5), rgba(109,40,217,0.3)); border: 1px solid rgba(201,168,255,0.6); box-shadow: 0 0 20px rgba(155,92,255,0.45), inset 0 1px 0 rgba(255,255,255,0.3); transition: left 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 140px var(--pad) 70px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 95%; z-index: -2; background:
  radial-gradient(60% 55% at 50% 0%, rgba(155, 92, 255, 0.85), transparent 70%),
  radial-gradient(40% 40% at 85% 20%, rgba(124, 58, 237, 0.55), transparent 70%),
  radial-gradient(35% 40% at 10% 30%, rgba(88, 28, 220, 0.45), transparent 70%); filter: blur(10px); }
.hero-glow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, var(--bg)); }
.hero-grain { position: absolute; inset: 0; z-index: 2; opacity: 0.16; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"); }
.hero-greet { position: relative; z-index: 3; font-family: var(--display); font-size: clamp(1.2rem, 2.2vw, 2rem); font-weight: 300; max-width: 1320px; width: 100%; margin: 0 auto; }
.hero-name { position: relative; z-index: 0; font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: min(17rem, calc((100vw - 2 * var(--pad)) / 5.6)); line-height: 0.86; letter-spacing: -0.02em; display: flex; justify-content: center; align-items: center; gap: 0.22em; margin: 6px auto 0; width: 100%; }
.hero-name .word { display: inline-flex; flex: none; overflow: hidden; padding-bottom: 0.04em; }
.hero-name .char { display: inline-block; background: linear-gradient(to bottom, #fff 30%, rgba(255, 255, 255, 0.5)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero > .hero-photo { position: absolute; z-index: 1; top: 70px; bottom: 0; left: 0; right: 0; margin-inline: auto; aspect-ratio: 680 / 909; max-width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 42% 66% at 50% 30%, #000 30%, transparent 100%), linear-gradient(to bottom, #000 40%, transparent 78%);
  -webkit-mask-composite: source-in;
          mask-image: radial-gradient(ellipse 42% 66% at 50% 30%, #000 30%, transparent 100%), linear-gradient(to bottom, #000 40%, transparent 78%);
          mask-composite: intersect; }
.hero-photo img { object-position: 50% 0; filter: grayscale(1) contrast(1.45) brightness(0.58); }
.hero-photo::after { background: linear-gradient(170deg, #b48cff 0%, #6d28d9 45%, #14062f 100%); }
.hero-bottom { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; max-width: 1320px; width: 100%; margin: clamp(40px, 6vw, 70px) auto 0; }
.hero-copy { max-width: 560px; }
.hero-copy h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.05; text-transform: uppercase; }
.hero-copy > p { color: #c4bdd6; margin-top: 16px; max-width: 480px; }
.hero-card { width: 340px; padding: 22px; border-radius: var(--radius); }
.hero-card p { font-size: 13px; color: #d9d3ea; margin: 12px 0 16px; }
.status { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 24px; height: 38px; margin-left: -12px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,0.35); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--lilac); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- photos ---------- */
.duo { position: relative; overflow: hidden; isolation: isolate; }
.duo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.15) brightness(0.92); transition: filter 0.8s ease; }
.duo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(165deg, #d9c2ff 0%, #8b4dff 45%, #2a0f63 100%); mix-blend-mode: color; transition: opacity 0.8s ease; }
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ---------- marquee + stack ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: linear-gradient(90deg, rgba(124,58,237,0.08), transparent 40%, transparent 60%, rgba(124,58,237,0.08)); }
.marquee-track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.marquee span { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 400; line-height: 1; white-space: nowrap; display: inline-flex; align-items: center; }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(201,168,255,0.7); }
.marquee em { font-style: normal; color: var(--purple-2); font-size: 0.5em; margin: 0 0.8em; -webkit-text-stroke: 0; text-shadow: 0 0 14px var(--purple-2); }
@keyframes scroll { to { transform: translateX(-33.333%); } }
.stack { overflow: hidden; padding: 10px 0 20px; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.stack-track { display: flex; gap: clamp(40px, 6vw, 90px); width: max-content; animation: scroll2 30s linear infinite; }
.stack span { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; color: #5f5870; white-space: nowrap; transition: color 0.3s, text-shadow 0.3s; }
.stack span:hover { color: #fff; text-shadow: 0 0 20px var(--purple-2); }
@keyframes scroll2 { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-text { font-family: var(--display); font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.25; margin-top: 30px; }
.photo-card { aspect-ratio: 4 / 5; border-radius: 28px; border: 1px solid var(--line-2); box-shadow: 0 50px 120px -40px rgba(124, 58, 237, 0.75); }
.photo-card figcaption { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; font-size: 12px; color: #b6b0c6; }
.photo-card figcaption strong { display: block; color: #fff; font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: 0.02em; }
.photo-card:hover img, .contact-photo:hover img { filter: none; }
.photo-card:hover::after, .contact-photo:hover::after { opacity: 0; }

/* ---------- capabilities ---------- */
.caps-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; margin-bottom: clamp(50px, 7vw, 90px); }
.caps-head .lead { text-align: center; }
.caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-spot { position: relative; isolation: isolate; overflow: hidden; }
.card-spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s; background: radial-gradient(380px circle at var(--x, 50%) var(--y, 50%), rgba(155, 92, 255, 0.22), transparent 60%); }
.card-spot:hover::before { opacity: 1; }
.cap { padding: 34px 32px 38px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)); border: 1px solid var(--line); transition: border-color 0.4s, transform 0.5s var(--ease); }
.cap:hover { border-color: rgba(155, 92, 255, 0.45); transform: translateY(-6px); }
.cap-icon { height: 240px; display: grid; place-items: center; margin-bottom: 26px; background: radial-gradient(closest-side, rgba(124, 58, 237, 0.28), transparent); }
.cap-icon svg { width: 72%; max-height: 200px; overflow: visible; filter: drop-shadow(0 0 6px rgba(167, 115, 255, 0.9)) drop-shadow(0 0 22px rgba(124, 58, 237, 0.6)); }
.cap-icon .ln { fill: none; stroke: #b88cff; stroke-width: 2; }
.cap-icon .dash { stroke-dasharray: 2 10; }
.cap-icon .fillc { fill: rgba(155, 92, 255, 0.12); }
.cap-icon .core { fill: #c9a8ff; }
.cap-icon .core-ln { stroke: #d6bbff; stroke-width: 5; stroke-linecap: round; fill: none; }
.cap-icon .dotc { fill: #e9dcff; }
.cap-icon .bar { fill: rgba(155, 92, 255, 0.18); stroke: #b88cff; stroke-width: 2; transform-box: fill-box; transform-origin: bottom; animation: bar 2.6s var(--ease) infinite alternate; }
.cap-icon .b2 { animation-delay: 0.3s; } .cap-icon .b3 { animation-delay: 0.6s; } .cap-icon .b4 { animation-delay: 0.9s; }
@keyframes bar { from { transform: scaleY(0.45); } to { transform: scaleY(1); } }
.cap-icon .orbit { transform-origin: 100px 100px; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cap-icon .core { animation: breathe 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes breathe { 50% { opacity: 0.65; transform: scale(0.9); } }
.cap-icon .sheet { transition: transform 0.6s var(--ease); }
.cap-icon .s1 { animation: float 4s ease-in-out infinite; }
.cap-icon .s2 { animation: float 4s ease-in-out 0.3s infinite; opacity: 0.75; }
.cap-icon .s3 { animation: float 4s ease-in-out 0.6s infinite; opacity: 0.5; }
@keyframes float { 50% { transform: translateY(-8px); } }
.cap h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; }
.cap p { color: var(--muted); font-size: 15px; }

/* ---------- services ---------- */
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-columns: 80px 1.1fr 1fr 60px; gap: 24px; align-items: center; padding: 34px 20px; border-bottom: 1px solid var(--line); cursor: default; transition: padding 0.5s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(124,58,237,0.22), rgba(124,58,237,0.02)); transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease); }
.svc:hover::before { transform: scaleY(1); }
.svc:hover { padding-left: 34px; }
.svc .num { font-family: var(--mono); color: var(--lilac); font-size: 13px; }
.svc h3 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1; transition: color 0.3s; }
.svc:hover h3 { color: #e4d4ff; }
.svc p { color: var(--muted); font-size: 15px; }
.svc-arrow { justify-self: end; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); transition: transform 0.5s var(--ease), background 0.3s, border-color 0.3s; }
.svc:hover .svc-arrow { transform: rotate(45deg); background: rgba(155,92,255,0.3); border-color: var(--lilac); }
.cursor-img { position: fixed; z-index: 40; top: 0; left: 0; width: 240px; aspect-ratio: 4 / 5; border-radius: 18px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0.6); box-shadow: 0 30px 80px -20px rgba(124,58,237,0.7); border: 1px solid var(--line-2); }

/* ---------- particle self ---------- */
.self { position: relative; height: 260vh; }
.self-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; padding: 0 var(--pad);
  background: radial-gradient(50% 60% at 62% 50%, rgba(124, 58, 237, 0.18), transparent 70%); }
.particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.self-copy { position: relative; z-index: 2; max-width: 520px; pointer-events: none; }
.self-copy .lead { margin-top: 20px; }
.self-hud { position: absolute; z-index: 2; right: var(--pad); bottom: 40px; display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: #6f6880; text-align: right; }
.self-hud b { color: var(--lilac); font-weight: 400; }

/* ---------- work slider ---------- */
.work { position: relative; }
.work-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 110px 0 60px; overflow: hidden; }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding: 0 var(--pad); margin-bottom: 44px; }
.work-head .section-index { margin-bottom: 22px; }
.work-ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; min-width: 200px; }
.work-count { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.15em; }
.work-count b { color: #fff; font-weight: 400; }
.work-bar { width: 200px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.work-bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--purple-2), var(--lilac)); box-shadow: 0 0 12px var(--purple-2); }
.work-track { display: flex; gap: 26px; padding: 0 var(--pad); width: max-content; will-change: transform; }
.work-card { position: relative; flex: none; width: clamp(300px, 38vw, 560px); padding: 14px 14px 26px; border-radius: 26px; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)); border: 1px solid var(--line); transition: border-color 0.4s, transform 0.6s var(--ease); }
.work-card:hover { border-color: rgba(155,92,255,0.5); }
.work-media { aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.work-card:hover .work-media img, .work-card:hover .mock { transform: scale(1.05); }
.work-meta { padding: 22px 12px 0; }
.work-meta h3 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 14px 0 6px; }
.work-meta p { color: var(--muted); font-size: 14px; }
.work-num { position: absolute; top: 26px; right: 28px; font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,0.7); padding: 4px 10px; border-radius: 999px; background: rgba(5,4,9,0.55); backdrop-filter: blur(8px); border: 1px solid var(--line); }
.work-end { display: flex; flex-direction: column; justify-content: center; gap: 30px; padding: 40px; background: radial-gradient(80% 80% at 30% 70%, rgba(124,58,237,0.35), transparent 70%), var(--bg-2); border-color: var(--line-2); }

/* CSS mock-ups (shown until real project screenshots are added) */
.mock { width: 100%; height: 100%; padding: 9% 12%; display: flex; flex-direction: column; transition: transform 0.9s var(--ease); }
.mock-store { background: radial-gradient(circle at 30% 20%, #9b5cff, #2a1258 70%); }
.mock-dashboard { background: linear-gradient(135deg, #f5f3fa, #c9a8ff); }
.mock-landing { background: radial-gradient(circle at 70% 80%, #7c3aed, #0b0812 70%); }
.mock-cms { background: linear-gradient(160deg, #1b1426, #5b21b6); }
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; background: rgba(15, 12, 22, 0.85); border-radius: 14px 14px 0 0; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); }
.mock-body { flex: 1; background: rgba(11, 8, 18, 0.88); border-radius: 0 0 14px 14px; padding: 8%; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7); }
.mock-dashboard .mock-body, .mock-dashboard .mock-bar { background: rgba(255, 255, 255, 0.92); }
.mock-title { width: 60%; height: 18%; border-radius: 8px; background: linear-gradient(90deg, #fff, #c9a8ff); }
.mock-dashboard .mock-title { background: linear-gradient(90deg, #0b0812, #7c3aed); }
.mock-line { width: 80%; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.2); }
.mock-dashboard .mock-line { background: rgba(11, 8, 18, 0.15); }
.mock-line.short { width: 45%; }
.mock-grid { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; height: 35%; }
.mock-grid b { border-radius: 8px; background: rgba(155, 92, 255, 0.35); border: 1px solid rgba(201, 168, 255, 0.3); }

/* ---------- statement over photo ---------- */
.statement { position: relative; overflow: hidden; padding: clamp(120px, 16vw, 220px) var(--pad); text-align: center; isolation: isolate; }
.statement > .statement-photo { position: absolute; inset: -15% 0; z-index: -1; }
.statement-photo img { filter: grayscale(1) contrast(1.3) brightness(0.45); }
.statement-photo::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to bottom, var(--bg), transparent 30%, transparent 70%, var(--bg)), radial-gradient(60% 60% at 50% 50%, transparent, rgba(5,4,9,0.7)); }
.statement .line { overflow: hidden; font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: clamp(4rem, 14vw, 13rem); line-height: 0.92; }
.statement .line span { display: inline-block; }
.outline { color: transparent; -webkit-text-stroke: 2px var(--lilac); filter: drop-shadow(0 0 20px rgba(155,92,255,0.6)); }

/* ---------- expertise pills ---------- */
.expertise-sec .h-xl { margin-bottom: clamp(40px, 6vw, 70px); }
.expertise-sec .section-index { justify-content: center; }
.pill-groups { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.pill-group { width: 100%; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #6f6880; margin-top: 18px; }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: center; gap: clamp(30px, 5vw, 70px); padding: clamp(50px, 7vw, 90px); margin: 0 var(--pad) 40px; border-radius: 36px; border: 1px solid var(--line-2); isolation: isolate; }
.contact-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 30% 110%, rgba(155, 92, 255, 0.7), transparent 70%), var(--bg-2); }
.contact h2 { font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: 0.95; }
.contact-copy > p { color: #cfc8de; margin-top: 20px; }
.contact-photo { aspect-ratio: 4 / 5; border-radius: 26px; border: 1px solid var(--line-2); }

/* ---------- footer ---------- */
.footer { padding: 30px var(--pad) 40px; max-width: 1360px; margin: 0 auto; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer-top p { font-family: var(--display); font-size: 1.3rem; font-weight: 300; color: #d8d4e3; }
.footer-mark { font-family: var(--display); font-weight: 600; font-size: clamp(5rem, 22vw, 21rem); line-height: 0.8; text-align: center; letter-spacing: -0.02em; margin: 30px 0 10px; background: linear-gradient(180deg, rgba(201,168,255,0.35), rgba(201,168,255,0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- WordPress additions ---------- */
body.admin-bar .nav { top: 48px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 62px; } }
.page-wrap { max-width: 860px; margin: 0 auto; padding: 160px var(--pad) 100px; }
.page-wrap h1 { font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; margin-bottom: 30px; }
.page-wrap .project-frame { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.page-wrap .project-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content a { color: var(--lilac); text-decoration: underline; }
.entry-content img { max-width: 100%; height: auto; border-radius: 14px; }


/* ---------- mobile menu ---------- */
.nav-end { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)); border: 1px solid rgba(255,255,255,0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.menu-open .nav-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .nav-toggle span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; padding: 110px 28px 40px;
  background: radial-gradient(80% 60% at 50% 100%, rgba(124,58,237,0.45), transparent 70%), rgba(5,4,9,0.82);
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a { display: flex; align-items: baseline; gap: 14px; font-family: var(--display); text-transform: uppercase; font-size: clamp(2.6rem, 12vw, 4rem); line-height: 1.05; color: #f3eefc;
  opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s; }
.mobile-menu a small { font-family: var(--mono); font-size: 12px; color: var(--lilac); letter-spacing: 0.15em; }
.mobile-menu a:active, .mobile-menu a:hover { color: #e2d0ff; text-shadow: 0 0 24px rgba(155,92,255,0.8); }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: 0.05s; } .menu-open .mobile-menu a:nth-child(3) { transition-delay: 0.1s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: 0.15s; } .menu-open .mobile-menu a:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
body.menu-open { overflow: hidden; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
}
@media (max-width: 640px) {
  .nav { padding: 7px 7px 7px 14px; }
  .nav .btn { padding: 6px 6px 6px 14px; font-size: 12.5px; gap: 8px; }
  .pill-row { gap: 10px; }
  .pill-lg { font-size: 14px; padding: 8px 16px 8px 9px; gap: 8px; }
  .pill-ico { width: 20px; height: 20px; }
  .svc { padding: 26px 6px; gap: 14px 16px; }
  .svc:hover { padding-left: 12px; }
  .cap { padding: 26px 22px 30px; }
  .cap-icon { height: 190px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-card { width: 100%; max-width: 420px; }
  .about-grid { grid-template-columns: 1fr; }
  .photo-card { max-width: 380px; }
  .caps-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .svc { grid-template-columns: 50px 1fr 46px; }
  .svc p { grid-column: 2 / 3; grid-row: 2; }
  .svc-arrow { grid-row: 1 / 3; grid-column: 3; }
  .cursor-img { display: none; }
  .self { height: auto; }
  .self-sticky { position: relative; height: auto; min-height: 100svh; flex-direction: column; justify-content: flex-end; padding-bottom: 60px; }
  .self-hud { display: none; }
  .work-pin { min-height: 0; }
  .work-head { flex-direction: column; align-items: flex-start; }
  .work-ctrl { align-items: flex-start; }
  .work-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: none; }
  .work-track::-webkit-scrollbar { display: none; }
  .work-card { width: 82vw; scroll-snap-align: center; }
  .contact { grid-template-columns: 1fr; }
  .contact-photo { max-width: 360px; }
}
@media (max-width: 640px) {
  .nav .btn { padding-left: 16px; font-size: 13px; }
  .nav .btn-icon { width: 28px; height: 28px; }
  .logo-text { display: none; }
  .hero { justify-content: flex-end; padding-top: 52svh; }
  .hero-photo { top: 60px; bottom: auto; height: 62svh; aspect-ratio: auto; width: 100%; }
  .hero-name { font-size: 22vw; gap: 0; flex-direction: column; align-items: flex-start; }
  .scroll-cue { display: none; }
  .section-index .right { display: none; }
  .contact { padding: 40px 24px; margin-inline: 12px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .stack-track, .dot, .cap-icon *, .scroll-cue span { animation: none !important; }
}
