/* ==========================================================================
   Aaryan Goswami Portfolio — front-end
   Colours come from CSS variables printed by the plugin (Colours tab).
   ========================================================================== */

.agp-html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--agp-bg); }
.agp-body {
	margin: 0;
	background: var(--agp-bg);
	color: var(--agp-text);
	font-family: var(--agp-font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
.agp-body.agp-lock { overflow: hidden; }
.agp-html::-webkit-scrollbar { width: 10px; }
.agp-html::-webkit-scrollbar-track { background: var(--agp-bg); }
.agp-html::-webkit-scrollbar-thumb { background: linear-gradient(var(--agp-primary), var(--agp-secondary)); border-radius: 10px; border: 2px solid var(--agp-bg); }
.agp-root ::selection { background: rgba(var(--agp-primary-rgb), .85); color: #fff; }

/* Shortcode inside a theme: full-bleed + defend against theme typography.
   Kept at the top so later, equally specific component rules still win. */
.agp-embed { width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; border-radius: 0 !important; overflow: hidden; font-size: 16px; line-height: 1.65; }
.agp-embed :where(h1, h2, h3, h4, p, ul, ol, li, figure, blockquote) { margin: 0; padding: 0; }
.agp-embed :is(h1, h2, h3, h4) { font-family: var(--agp-font-head); color: var(--agp-text); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; text-transform: none; }
.agp-embed a { text-decoration: none; }
.agp-embed a:not(.agp-btn) { color: inherit; }
.agp-embed .agp-btn--primary, .agp-embed .agp-btn--primary:hover { color: #fff; }
.agp-embed .agp-btn--light, .agp-embed .agp-btn--light:hover { color: #0b0c10; }
.agp-embed .agp-btn--ghost { color: var(--agp-text); }
.agp-embed .agp-project-link:hover h3 { color: #ffb59f; }
.agp-embed input, .agp-embed textarea, .agp-embed select, .agp-embed button { font-family: var(--agp-font-body); }

.agp-root, .agp-root *, .agp-root *::before, .agp-root *::after { box-sizing: border-box; }
.agp-root { position: relative; isolation: isolate; color: var(--agp-text); font-family: var(--agp-font-body); }
.agp-embed { background: var(--agp-bg); }
:where(.agp-root) img, :where(.agp-root) video, :where(.agp-root) svg { display: block; max-width: 100%; }
:where(.agp-root) a { color: inherit; text-decoration: none; }
:where(.agp-root) :where(h1, h2, h3, h4, p, figure, blockquote, ul, ol) { margin: 0; padding: 0; }
:where(.agp-root) :where(ul, ol) { list-style: none; }
:where(.agp-root) button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
:where(.agp-root) :where(h1, h2, h3, h4) { font-family: var(--agp-font-head); color: var(--agp-text); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
.agp-icon { width: 1.15em; height: 1.15em; flex: none; }
.agp-anchor { position: absolute; bottom: 0; }

.agp-skip { position: fixed; left: 12px; top: -60px; z-index: 3000; background: var(--agp-primary); color: #fff; padding: 10px 16px; border-radius: 10px; }
.agp-skip:focus { top: 12px; }
.agp-root :focus-visible { outline: 2px solid var(--agp-primary); outline-offset: 3px; border-radius: 8px; }

.agp-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 36px); position: relative; }
.agp-center { text-align: center; }
.agp-muted { color: var(--agp-muted); }

/* ---------- Ambient background ---------- */
.agp-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.agp-bg-grid {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
/* Soft glows: radial gradients (no CSS blur filter) moved only with transform, so they never compete with the hero video for GPU time. */
.agp-orb { position: absolute; width: 80vw; height: 80vw; max-width: 1100px; max-height: 1100px; border-radius: 50%; opacity: .22; will-change: transform; transform: translateZ(0); animation: agpFloat 24s ease-in-out infinite alternate; }
.agp-orb--a { background: radial-gradient(closest-side, var(--agp-primary), transparent); top: 18%; left: -36%; }
.agp-orb--b { background: radial-gradient(closest-side, var(--agp-secondary), transparent); top: 48%; right: -38%; animation-delay: -8s; }
.agp-hero-playing .agp-orb { animation-play-state: paused; }
@keyframes agpFloat { to { transform: translate3d(6vw, -8vh, 0) scale(1.15); } }

.agp-cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(var(--agp-primary-rgb), .09), transparent 60%); opacity: 0; transition: opacity .4s; will-change: transform; }
.agp-cursor-on .agp-cursor-glow { opacity: 1; }
@media (hover: none) { .agp-cursor-glow { display: none; } }

/* ---------- Preloader ---------- */
.agp-preloader { position: fixed; inset: 0; z-index: 5000; background: var(--agp-bg); display: grid; place-items: center; transition: opacity .6s ease, visibility .6s; }
.agp-loaded .agp-preloader { opacity: 0; visibility: hidden; }
.agp-preloader-mark { position: relative; width: 92px; height: 92px; display: grid; place-items: center; }
.agp-preloader-mark span { font: 900 28px/1 var(--agp-font-head); letter-spacing: -.02em; background: linear-gradient(135deg, var(--agp-primary), var(--agp-secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: agpPulse 1.2s ease-in-out infinite; }
.agp-preloader-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.agp-preloader-mark circle { fill: none; stroke: var(--agp-primary); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; animation: agpDraw 1.4s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes agpDraw { 50% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -289; } }
@keyframes agpPulse { 50% { opacity: .55; transform: scale(.94); } }

/* ---------- Header ---------- */
.agp-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 900; padding: 0 clamp(12px, 3vw, 28px); transition: transform .45s cubic-bezier(.2,.8,.2,1), top .3s; pointer-events: none; }
.admin-bar .agp-header { top: 46px; }
@media (max-width: 782px) { .admin-bar .agp-header { top: 60px; } }
.agp-header.is-hidden { transform: translateY(-140%); }
.agp-header-inner {
	pointer-events: auto;
	max-width: 1240px; margin: 0 auto; height: 64px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 0 10px 0 14px;
	border-radius: 999px;
	background: rgba(var(--agp-bg-rgb), .45);
	border: 1px solid rgba(255,255,255,.08);
	backdrop-filter: blur(18px) saturate(150%);
	-webkit-backdrop-filter: blur(18px) saturate(150%);
	box-shadow: 0 10px 40px -20px rgba(0,0,0,.8);
	transition: background .3s, border-color .3s;
}
.agp-header.is-scrolled .agp-header-inner { background: rgba(var(--agp-surface-rgb), .82); border-color: rgba(255,255,255,.1); }
.agp-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--agp-font-head); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.agp-logo img { height: var(--agp-logo-h); width: auto; }
.agp-logo-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--agp-primary), #ff8a4c 55%, var(--agp-secondary)); box-shadow: 0 6px 20px -6px rgba(var(--agp-primary-rgb), .8), inset 0 1px 0 rgba(255,255,255,.3); }
.agp-logo-text { font-size: 17px; }

.agp-menu { display: flex; gap: 4px; }
.agp-menu a { position: relative; display: block; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: rgba(var(--agp-text-rgb), .72); transition: color .2s, background .2s; }
.agp-menu a:hover, .agp-menu a.is-active { color: var(--agp-text); background: rgba(255,255,255,.06); }
.agp-menu a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--agp-primary); box-shadow: 0 0 10px var(--agp-primary); }
.agp-header-actions { display: flex; align-items: center; gap: 8px; }
.agp-burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.1) !important; position: relative; }
.agp-burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--agp-text); transition: transform .35s, opacity .25s, top .35s; }
.agp-burger span:nth-child(1) { top: 15px; } .agp-burger span:nth-child(2) { top: 21px; } .agp-burger span:nth-child(3) { top: 27px; }
.agp-nav-open .agp-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.agp-nav-open .agp-burger span:nth-child(2) { opacity: 0; }
.agp-nav-open .agp-burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.agp-mobile-nav { pointer-events: auto; max-width: 1240px; margin: 10px auto 0; padding: 14px; border-radius: 24px; background: rgba(var(--agp-surface-rgb), .96); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); transform-origin: top; animation: agpDrop .4s cubic-bezier(.2,.8,.2,1); }
.agp-mobile-nav ul { margin-bottom: 12px; }
.agp-mobile-nav li { opacity: 0; transform: translateY(-8px); animation: agpIn .45s forwards; animation-delay: calc(var(--i) * 45ms + 80ms); }
.agp-mobile-nav li a { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px; border-radius: 14px; font: 700 18px/1.2 var(--agp-font-head); }
.agp-mobile-nav li a:hover { background: rgba(255,255,255,.05); }
.agp-mobile-nav li a .agp-icon { color: var(--agp-primary); }
@keyframes agpDrop { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
@keyframes agpIn { to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
	.agp-nav { display: none; }
	.agp-burger { display: inline-block; }
}
@media (max-width: 560px) {
	.agp-header { top: 10px; }
	.agp-header-cta { display: none !important; }
	.agp-header-inner { height: 58px; }
	.agp-logo-text { font-size: 15.5px; }
}

/* ---------- Buttons ---------- */
.agp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.agp-actions--center { justify-content: center; }
.agp-btn {
	--bx: 0px;
	position: relative; overflow: hidden; isolation: isolate;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 24px; border-radius: 999px;
	font: 600 15px/1.2 var(--agp-font-body); letter-spacing: .005em; white-space: nowrap;
	transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background .3s, border-color .3s, color .3s;
	cursor: pointer; border: 1px solid transparent;
}
.agp-btn .agp-icon { transition: transform .3s; }
.agp-btn:hover { transform: translateY(-2px); }
.agp-btn:hover .agp-icon { transform: translateX(3px); }
.agp-btn:hover .agp-icon[class*="up-right"], .agp-btn:hover svg.agp-icon:last-child { transform: translate(3px, -2px); }
.agp-btn--primary { color: #fff; background: linear-gradient(135deg, var(--agp-primary), #ff7d47); box-shadow: 0 12px 30px -12px rgba(var(--agp-primary-rgb), .9), inset 0 1px 0 rgba(255,255,255,.28); }
.agp-btn--primary::after, .agp-btn--light::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .7s ease; }
.agp-btn--primary:hover::after, .agp-btn--light:hover::after { left: 130%; }
.agp-btn--primary:hover { box-shadow: 0 18px 40px -12px rgba(var(--agp-primary-rgb), 1), inset 0 1px 0 rgba(255,255,255,.3); }
.agp-btn--ghost { color: var(--agp-text); background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.agp-btn--ghost:hover { border-color: rgba(var(--agp-primary-rgb), .7); background: rgba(var(--agp-primary-rgb), .08); }
.agp-btn--light { color: #0b0c10; background: #fff; box-shadow: 0 12px 30px -12px rgba(255,255,255,.5); }
.agp-btn--sm { padding: 10px 18px; font-size: 14px; }
.agp-btn--block { width: 100%; }
.agp-btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Hero (video only) ---------- */
.agp-hero { position: relative; background: var(--agp-bg); z-index: 1; }
.agp-hero-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 100vh; max-height: 100svh; overflow: hidden; background: #050608; }
.agp-hero--cover .agp-hero-frame { aspect-ratio: auto; height: 100vh; height: 100svh; max-height: none; }
.agp-hero-video { position: absolute; inset: 0; transform: translateZ(0); backface-visibility: hidden; width: 100%; height: 100%; object-fit: cover; pointer-events: none !important; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.agp-hero-video::-webkit-media-controls, .agp-hero-video::-webkit-media-controls-enclosure, .agp-hero-video::-webkit-media-controls-panel, .agp-hero-video::-webkit-media-controls-start-playback-button, .agp-hero-video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; opacity: 0 !important; }
.agp-hero-overlay { position: absolute; inset: 0; background: #000; opacity: var(--agp-hero-overlay, 0); pointer-events: none; }
.agp-hero-fade { position: absolute; left: 0; right: 0; bottom: -1px; height: 22%; background: linear-gradient(to bottom, transparent, var(--agp-bg)); pointer-events: none; }
.agp-hero-shield { position: absolute; inset: 0; z-index: 2; background: transparent; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.agp-scroll-hint { position: absolute; left: 50%; bottom: clamp(14px, 3vw, 32px); z-index: 3; transform: translateX(-50%); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(var(--agp-bg-rgb), .7); border: 1px solid rgba(255,255,255,.14); transition: background .3s, border-color .3s; }
.agp-scroll-hint:hover { border-color: var(--agp-primary); }
.agp-mouse { width: 18px; height: 28px; border: 2px solid rgba(255,255,255,.75); border-radius: 12px; position: relative; }
.agp-mouse span { position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--agp-primary); animation: agpWheel 1.6s ease-in-out infinite; }
@keyframes agpWheel { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(9px); } }
@media (max-width: 767px) {
	.agp-hero--auto { padding-top: 78px; }
	.agp-hero--auto .agp-scroll-hint { display: none; }
	.agp-hero--auto .agp-hero-frame { border-radius: 0; }
}

/* ---------- Sections & headings ---------- */
.agp-section { position: relative; padding: clamp(56px, 7vw, 100px) 0; }
.agp-section--tight { padding: clamp(28px, 4vw, 48px) 0; }
.agp-head { margin-bottom: clamp(36px, 5vw, 60px); }
.agp-head--center { max-width: 780px; margin-left: auto; margin-right: auto; text-align: center; }
.agp-head--center .agp-eyebrow { margin-left: auto; margin-right: auto; }
.agp-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; margin-bottom: 20px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #ffb59f; background: rgba(var(--agp-primary-rgb), .08); border: 1px solid rgba(var(--agp-primary-rgb), .3); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.agp-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--agp-primary); box-shadow: 0 0 0 0 rgba(var(--agp-primary-rgb), .6); animation: agpRing 2s infinite; }
@keyframes agpRing { 70% { box-shadow: 0 0 0 9px rgba(var(--agp-primary-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--agp-primary-rgb), 0); } }
.agp-title { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.agp-title--xl { font-size: clamp(2.3rem, 6vw, 4.6rem); }
.agp-sub { margin-top: 18px; font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--agp-muted); max-width: 640px; }
.agp-head--center .agp-sub { margin-left: auto; margin-right: auto; }

.agp-split .agp-w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .02em .1em; margin: -.04em -.02em -.1em; }
.agp-split .agp-w > span { display: inline-block; will-change: transform; }
.agp-grad .agp-w > span {
	background: linear-gradient(100deg, var(--agp-primary) 0%, #ff9b63 25%, var(--agp-secondary) 55%, #8a7dff 70%, var(--agp-primary) 100%);
	background-size: 260% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: agpShimmer 7s linear infinite;
}
@keyframes agpShimmer { to { background-position: -260% 0; } }

/* Reveal animations (only when JS is running) */
.agp-js [data-reveal] { opacity: 0; transform: translate3d(0, 30px, 0); filter: blur(6px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1), filter .9s; transition-delay: var(--d, 0s); }
.agp-js [data-reveal="left"] { transform: translate3d(-48px, 0, 0); }
.agp-js [data-reveal="right"] { transform: translate3d(48px, 0, 0); }
.agp-js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.agp-js .agp-split[data-reveal] { opacity: 1; transform: none; filter: none; }
.agp-js .agp-split .agp-w > span { transform: translate3d(0, 110%, 0) rotate(4deg); transition: transform 1s cubic-bezier(.2,.85,.25,1); transition-delay: calc(var(--i) * 55ms); }
.agp-js .agp-split.is-in .agp-w > span { transform: none; }
.agp-no-anim [data-reveal], .agp-no-anim .agp-split .agp-w > span { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
	.agp-root *, .agp-root *::before, .agp-root *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.agp-js [data-reveal], .agp-js .agp-split .agp-w > span { opacity: 1; transform: none; filter: none; }
}

/* ---------- Cards ---------- */
.agp-card { position: relative; border-radius: var(--agp-radius); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); border: 1px solid rgba(255,255,255,.075); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.agp-spot { --mx: 50%; --my: 50%; overflow: hidden; }
.agp-spot::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--agp-primary-rgb), .14), transparent 45%); }
.agp-spot::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(var(--agp-primary-rgb), .9), rgba(var(--agp-secondary-rgb), .5) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.agp-spot:hover::before, .agp-spot:hover::after { opacity: 1; }
.agp-spot > * { position: relative; z-index: 1; }

.agp-icon-box { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #ffb59f; background: linear-gradient(135deg, rgba(var(--agp-primary-rgb), .2), rgba(var(--agp-secondary-rgb), .14)); border: 1px solid rgba(var(--agp-primary-rgb), .28); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 10px 26px -14px rgba(var(--agp-primary-rgb), .8); }
.agp-icon-box .agp-icon { width: 24px; height: 24px; }
.agp-icon-box--sm { width: 46px; height: 46px; border-radius: 14px; }
.agp-icon-box--sm .agp-icon { width: 20px; height: 20px; }

.agp-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.agp-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .agp-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .agp-grid--3 { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.agp-about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.agp-about-media { position: relative; max-width: 460px; width: 100%; margin: 0 auto; }
.agp-about-card { position: relative; aspect-ratio: 4 / 5; border-radius: calc(var(--agp-radius) + 10px); overflow: hidden; background: var(--agp-surface); border: 1px solid rgba(255,255,255,.08); transform-style: preserve-3d; transition: transform .3s ease-out; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.agp-about-card img { width: 100%; height: 100%; object-fit: cover; }
.agp-about-ring { position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent 0 60%, var(--agp-primary) 75%, var(--agp-secondary) 90%, transparent); animation: agpSpin 8s linear infinite; opacity: .55; }
.agp-about-card::after { content: ""; position: absolute; inset: 1px; border-radius: inherit; background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }
@keyframes agpSpin { to { transform: rotate(1turn); } }
.agp-about-placeholder { position: absolute; inset: 2px; border-radius: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 30px; background: radial-gradient(circle at 30% 20%, rgba(var(--agp-primary-rgb), .25), transparent 55%), radial-gradient(circle at 80% 90%, rgba(var(--agp-secondary-rgb), .3), transparent 55%), var(--agp-surface); }
.agp-about-initials { font: 900 clamp(84px, 12vw, 140px)/1 var(--agp-font-head); letter-spacing: -.05em; background: linear-gradient(135deg, #fff 10%, var(--agp-primary) 55%, var(--agp-secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 18px 30px rgba(var(--agp-primary-rgb), .35)); }
.agp-about-placeholder strong { font: 800 22px/1.2 var(--agp-font-head); text-transform: uppercase; letter-spacing: .02em; }
.agp-about-placeholder em { font-style: normal; color: var(--agp-muted); font-size: 14px; }
.agp-float-badge { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: rgba(var(--agp-surface-rgb), .85); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.9); animation: agpBob 5s ease-in-out infinite; white-space: nowrap; }
.agp-float-badge .agp-icon { color: var(--agp-secondary); }
.agp-float-badge--a { left: -22px; bottom: 14%; }
.agp-float-badge--b { right: -18px; top: 10%; animation-delay: -2.5s; }
@keyframes agpBob { 50% { transform: translateY(-10px); } }
.agp-pulse { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: agpRingG 1.8s infinite; flex: none; }
@keyframes agpRingG { 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.agp-prose { color: rgba(var(--agp-text-rgb), .78); font-size: 1.05rem; }
.agp-prose p + p { margin-top: 1em; }
.agp-prose a { color: #ffb59f; text-decoration: underline; text-underline-offset: 3px; }
.agp-prose--lg { font-size: 1.1rem; }
.agp-prose h2, .agp-prose h3 { margin: 1.6em 0 .6em; }
.agp-prose ul { list-style: disc; padding-left: 1.2em; margin: 1em 0; }
.agp-prose img { border-radius: var(--agp-radius); margin: 1.4em 0; }
.agp-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 28px; }
.agp-checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15px; }
.agp-check { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, var(--agp-primary), var(--agp-secondary)); }
.agp-check .agp-icon { width: 15px; height: 15px; stroke-width: 3; }
@media (max-width: 900px) {
	.agp-about-grid { grid-template-columns: 1fr; }
	.agp-about-media { max-width: 380px; }
	.agp-float-badge--a { left: -6px; } .agp-float-badge--b { right: -6px; }
}
@media (max-width: 520px) { .agp-checks { grid-template-columns: 1fr; } .agp-float-badge { font-size: 12px; padding: 9px 13px; } }

/* ---------- Services ---------- */
.agp-service { display: block; padding: clamp(24px, 3vw, 32px); min-height: 100%; transition: transform .4s cubic-bezier(.2,.8,.2,1), background .3s; }
.agp-service:hover { transform: translateY(-6px); }
.agp-service h3 { font-size: 1.25rem; margin: 22px 0 10px; }
.agp-service p { color: var(--agp-muted); font-size: 15px; }
.agp-service-num { position: absolute !important; top: 18px; right: 22px; font: 800 42px/1 var(--agp-font-head); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); transition: -webkit-text-stroke-color .3s; }
.agp-service:hover .agp-service-num { -webkit-text-stroke-color: rgba(var(--agp-primary-rgb), .5); }
.agp-service:hover .agp-icon-box { transform: rotate(-6deg) scale(1.06); }
.agp-icon-box { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.agp-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: 14px; color: #ffb59f; }

/* ---------- Portfolio ---------- */
.agp-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; width: max-content; max-width: 100%; margin: -16px auto clamp(28px, 4vw, 44px); padding: 6px; border-radius: 999px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); }
.agp-filter button { padding: 10px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--agp-muted); transition: color .25s, background .25s, box-shadow .25s; }
.agp-filter button sup { font-size: 10px; margin-left: 3px; opacity: .7; }
.agp-filter button:hover { color: var(--agp-text); }
.agp-filter button.is-active { color: #fff; background: linear-gradient(135deg, var(--agp-primary), #ff7d47); box-shadow: 0 8px 22px -10px rgba(var(--agp-primary-rgb), .9); }
.agp-filter-pill { display: none; }
@media (max-width: 640px) {
	.agp-filter { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; border-radius: 18px; scrollbar-width: none; }
	.agp-filter::-webkit-scrollbar { display: none; }
	.agp-filter button { flex: none; }
}

.agp-projects { display: grid; gap: clamp(18px, 2.2vw, 28px); grid-auto-flow: dense; }
.agp-projects--3 { grid-template-columns: repeat(3, 1fr); }
.agp-projects--2 { grid-template-columns: repeat(2, 1fr); }
.agp-project.is-featured { grid-column: span 2; }
.agp-project.is-hidden, .agp-project.is-paged { display: none; }
.agp-project.is-pop { animation: agpPop .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes agpPop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.agp-project-link { display: flex; flex-direction: column; height: 100%; }
.agp-browser { position: relative; border-radius: var(--agp-radius); overflow: hidden; background: var(--agp-surface); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 60px -36px rgba(0,0,0,.95); transition: border-color .4s, box-shadow .4s, transform .5s cubic-bezier(.2,.8,.2,1); }
.agp-project .agp-browser { flex: 1; display: flex; flex-direction: column; }
.agp-browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: rgba(255,255,255,.035); border-bottom: 1px solid rgba(255,255,255,.06); }
.agp-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.agp-browser-bar i:first-child { background: var(--agp-primary); }
.agp-browser-bar span { margin: 0 auto; padding: 3px 14px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 999px; font-size: 11.5px; color: var(--agp-muted); background: rgba(255,255,255,.05); transform: translateX(-14px); }
.agp-project-img { position: relative; flex: 1 0 auto; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0c12; }
.agp-project.is-featured .agp-project-img { aspect-ratio: auto; min-height: clamp(200px, 18vw, 300px); }
.agp-project-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.1s cubic-bezier(.2,.8,.2,1), filter .5s; }
.agp-project-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--agp-muted); }
.agp-project-noimg .agp-icon { width: 48px; height: 48px; }
.agp-project-view { position: absolute; right: 14px; top: 14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--agp-primary), #ff7d47); box-shadow: 0 10px 24px -8px rgba(var(--agp-primary-rgb), .9); transform: scale(.4) rotate(-45deg); opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.agp-project-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--agp-bg-rgb), .55), transparent 50%); opacity: 0; transition: opacity .4s; }
.agp-project-link:hover .agp-browser { border-color: rgba(var(--agp-primary-rgb), .45); box-shadow: 0 40px 70px -36px rgba(var(--agp-primary-rgb), .45); transform: translateY(-6px); }
.agp-project-link:hover .agp-project-img img { transform: scale(1.06); }
.agp-project-link:hover .agp-project-img::after { opacity: 1; }
.agp-project-link:hover .agp-project-view { transform: none; opacity: 1; }
.agp-project-body { padding: 18px 6px 0; }
.agp-project-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.agp-chip { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #aab4ff; background: rgba(var(--agp-secondary-rgb), .12); border: 1px solid rgba(var(--agp-secondary-rgb), .28); }
.agp-project h3 { font-size: 1.35rem; transition: color .3s; }
.agp-project-link:hover h3 { color: #ffb59f; }
.agp-project-tagline { color: var(--agp-muted); font-size: 14.5px; margin-top: 4px; }
.agp-more-wrap { margin-top: 44px; }
@media (max-width: 1000px) { .agp-projects--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
	.agp-projects--3, .agp-projects--2 { grid-template-columns: 1fr; }
	.agp-project.is-featured { grid-column: auto; }
	.agp-project.is-featured .agp-project-img { aspect-ratio: 16 / 10; min-height: 0; }
	.agp-project-view { transform: none; opacity: 1; width: 40px; height: 40px; }
}

/* Modal */
.agp-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; }
.agp-modal[hidden] { display: none; }
.agp-modal-backdrop { position: absolute; inset: 0; background: rgba(3,4,7,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: agpFade .35s ease both; }
.agp-modal-panel { position: relative; width: min(1080px, 100%); max-height: min(90vh, 820px); overflow: auto; border-radius: calc(var(--agp-radius) + 6px); background: var(--agp-surface); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 50px 120px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(var(--agp-primary-rgb), .08); animation: agpModalIn .5s cubic-bezier(.2,.8,.2,1) both; scrollbar-width: thin; }
.agp-modal.is-closing .agp-modal-panel { animation: agpModalOut .3s ease both; }
.agp-modal.is-closing .agp-modal-backdrop { animation: agpFade .3s ease reverse both; }
@keyframes agpFade { from { opacity: 0; } }
@keyframes agpModalIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
@keyframes agpModalOut { to { opacity: 0; transform: translateY(20px) scale(.97); } }
.agp-modal-close { position: absolute !important; top: 14px; right: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--agp-bg-rgb), .7) !important; border: 1px solid rgba(255,255,255,.12) !important; transition: transform .3s, border-color .3s; }
.agp-modal-close:hover { transform: rotate(90deg); border-color: var(--agp-primary) !important; }
.agp-modal-content { display: grid; grid-template-columns: 1.35fr 1fr; }
.agp-modal-media { padding: 22px; background: radial-gradient(circle at 20% 10%, rgba(var(--agp-primary-rgb), .16), transparent 60%), radial-gradient(circle at 90% 90%, rgba(var(--agp-secondary-rgb), .18), transparent 60%); display: flex; align-items: center; }
.agp-modal-media .agp-browser { width: 100%; }
.agp-modal-media img { width: 100%; height: auto; }
.agp-modal-body { padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.agp-modal-title { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.agp-modal-body > p:not(.agp-project-tagline) { color: rgba(var(--agp-text-rgb), .78); margin-top: 16px; }
.agp-modal-body .agp-actions { margin-top: 24px; }
.agp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.agp-tags span { font-size: 13px; padding: 5px 11px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: rgba(var(--agp-text-rgb), .8); }
@media (max-width: 820px) {
	.agp-modal { align-items: end; padding: 0; }
	.agp-modal-panel { max-height: 92vh; border-radius: 26px 26px 0 0; animation-name: agpSheetIn; }
	.agp-modal-content { grid-template-columns: 1fr; }
	.agp-modal-media { padding: 56px 16px 4px; }
	@keyframes agpSheetIn { from { transform: translateY(100%); } }
}

/* ---------- Stats ---------- */
.agp-stats-band { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: calc(var(--agp-radius) + 6px); background: linear-gradient(135deg, rgba(var(--agp-primary-rgb), .1), rgba(255,255,255,.02) 40%, rgba(var(--agp-secondary-rgb), .1)); border: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.agp-stats-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent); transform: translateX(-100%); animation: agpSweep 6s ease-in-out infinite; }
@keyframes agpSweep { 60%, 100% { transform: translateX(100%); } }
.agp-stat { position: relative; display: flex; align-items: center; gap: 16px; padding: clamp(22px, 3vw, 34px); }
.agp-stat + .agp-stat { border-left: 1px solid rgba(255,255,255,.07); }
.agp-stat-icon { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; color: #ffb59f; background: rgba(var(--agp-primary-rgb), .12); border: 1px solid rgba(var(--agp-primary-rgb), .25); }
.agp-stat strong { display: flex; align-items: baseline; font: 800 clamp(1.9rem, 3.4vw, 2.6rem)/1 var(--agp-font-head); letter-spacing: -.03em; }
.agp-stat strong em { font-style: normal; color: var(--agp-primary); margin-left: 2px; }
.agp-stat div > span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--agp-muted); line-height: 1.3; }
@media (max-width: 900px) {
	.agp-stats-band { grid-template-columns: 1fr 1fr; }
	.agp-stat:nth-child(3) { border-left: 0; }
	.agp-stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.07); }
}
@media (max-width: 420px) { .agp-stat { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* ---------- Skills ---------- */
.agp-skills-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.agp-skills-grid .agp-head { margin-bottom: 0; }
.agp-bars { padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 24px; }
.agp-bar-top { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 10px; font-size: 15px; }
.agp-bar-top b { color: #ffb59f; font-variant-numeric: tabular-nums; }
.agp-bar-track { height: 8px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.agp-bar-track span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--agp-primary), #ff9b63, var(--agp-secondary)); box-shadow: 0 0 16px rgba(var(--agp-primary-rgb), .6); transition: width 1.6s cubic-bezier(.2,.8,.2,1) .2s; }
.agp-bars.is-in .agp-bar-track span, .agp-no-anim .agp-bar-track span { width: var(--w); }
.agp-marquee { margin-top: clamp(48px, 7vw, 88px); display: grid; gap: 14px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); overflow: hidden; }
.agp-marquee-track { display: flex; width: max-content; animation: agpMarquee 46s linear infinite; }
.agp-marquee-track--rev { animation-direction: reverse; animation-duration: 52s; }
.agp-marquee:hover .agp-marquee-track { animation-play-state: paused; }
.agp-marquee-group { display: flex; gap: 14px; padding-right: 14px; }
.agp-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; white-space: nowrap; font-weight: 600; font-size: 15px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); transition: border-color .3s, color .3s; }
.agp-pill:hover { border-color: rgba(var(--agp-primary-rgb), .6); color: #ffb59f; }
.agp-pill i { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--agp-primary), var(--agp-secondary)); }
@keyframes agpMarquee { to { transform: translateX(-50%); } }
@media (max-width: 900px) { .agp-skills-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.agp-steps { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 24px; counter-reset: s; }
.agp-steps-line { position: absolute; top: 28px; left: 28px; right: 28px; height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.agp-steps-line span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--agp-primary), var(--agp-secondary)); transition: width 2s cubic-bezier(.2,.8,.2,1) .3s; }
.agp-steps.is-in .agp-steps-line span, .agp-no-anim .agp-steps-line span { width: 100%; }
.agp-step { position: relative; }
.agp-step-num { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; font: 800 18px/1 var(--agp-font-head); color: #fff; background: var(--agp-bg); border: 1px solid rgba(var(--agp-primary-rgb), .4); box-shadow: 0 0 0 6px var(--agp-bg), 0 12px 30px -12px rgba(var(--agp-primary-rgb), .8); transition: background .4s, transform .4s; }
.agp-step:hover .agp-step-num { background: linear-gradient(135deg, var(--agp-primary), var(--agp-secondary)); transform: translateY(-4px); }
.agp-step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.agp-step p { color: var(--agp-muted); font-size: 15px; }
@media (max-width: 860px) {
	.agp-steps { grid-template-columns: 1fr; gap: 30px; padding-left: 80px; }
	.agp-steps-line { top: 0; bottom: 0; left: 28px; right: auto; width: 2px; height: auto; }
	.agp-steps-line span { width: 100% !important; height: 0; transition: height 2s cubic-bezier(.2,.8,.2,1) .3s; }
	.agp-steps.is-in .agp-steps-line span, .agp-no-anim .agp-steps-line span { height: 100%; }
	.agp-step-num { position: absolute; left: -80px; top: -4px; margin: 0; }
}

/* ---------- Testimonials ---------- */
.agp-slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 10px; scrollbar-width: none; }
.agp-slider-track::-webkit-scrollbar { display: none; }
.agp-quote { scroll-snap-align: start; padding: 30px; display: flex; flex-direction: column; }
.agp-quote-icon { position: absolute; right: 22px; top: 22px; color: rgba(var(--agp-primary-rgb), .3); }
.agp-quote-icon .agp-icon { width: 40px; height: 40px; }
.agp-stars { display: flex; gap: 3px; color: #ffb547; margin-bottom: 16px; }
.agp-stars .agp-icon { width: 17px; height: 17px; fill: currentColor; }
.agp-quote blockquote { flex: 1; color: rgba(var(--agp-text-rgb), .85); font-size: 15.5px; }
.agp-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.07); }
.agp-quote figcaption img, .agp-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.agp-avatar { display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--agp-primary), var(--agp-secondary)); }
.agp-quote figcaption strong { display: block; font-size: 15px; }
.agp-quote figcaption em { font-style: normal; font-size: 13px; color: var(--agp-muted); }
.agp-slider-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.agp-slider-nav button { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.04) !important; border: 1px solid rgba(255,255,255,.12) !important; transition: border-color .3s, background .3s; }
.agp-slider-nav button:hover { border-color: var(--agp-primary) !important; background: rgba(var(--agp-primary-rgb), .1) !important; }
.agp-dots { display: flex; gap: 8px; }
.agp-dots button { width: 8px !important; height: 8px !important; padding: 0; border-radius: 99px; background: rgba(255,255,255,.2) !important; border: 0 !important; transition: width .35s, background .35s; }
.agp-dots button.is-active { width: 26px !important; background: var(--agp-primary) !important; }
@media (max-width: 980px) { .agp-slider-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .agp-slider-track { grid-auto-columns: 88%; } }

/* ---------- CTA ---------- */
.agp-cta { position: relative; overflow: hidden; text-align: center; padding: clamp(52px, 9vw, 110px) clamp(22px, 5vw, 64px); border-radius: calc(var(--agp-radius) + 12px); background: radial-gradient(ellipse at 15% 0%, rgba(var(--agp-primary-rgb), .45), transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(var(--agp-secondary-rgb), .5), transparent 55%), var(--agp-surface); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 50px 100px -50px rgba(var(--agp-primary-rgb), .55); }
.agp-cta-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); }
.agp-cta-orbs span { position: absolute; width: 520px; height: 520px; border-radius: 50%; opacity: .6; will-change: transform; animation: agpFloat 12s ease-in-out infinite alternate; }
.agp-cta-orbs span:first-child { background: radial-gradient(closest-side, var(--agp-primary), transparent); left: -200px; top: -220px; }
.agp-cta-orbs span:last-child { background: radial-gradient(closest-side, var(--agp-secondary), transparent); right: -200px; bottom: -240px; animation-delay: -4s; }
.agp-cta-inner { position: relative; max-width: 820px; margin: 0 auto; }
.agp-cta .agp-sub { margin-left: auto; margin-right: auto; color: rgba(var(--agp-text-rgb), .8); }
.agp-cta .agp-grad .agp-w > span { background: linear-gradient(100deg, #fff, #ffd2c2 30%, #b9c3ff 60%, #fff); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; }

/* ---------- Contact ---------- */
.agp-contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.agp-contact-grid.is-single { grid-template-columns: 1fr; max-width: 780px; }
.agp-info-cards { display: grid; gap: 12px; }
.agp-info-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: calc(var(--agp-radius) - 4px); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); transition: transform .3s, border-color .3s; }
a.agp-info-card:hover { transform: translateX(6px); border-color: rgba(var(--agp-primary-rgb), .4); }
.agp-info-card > span:nth-child(2) { flex: 1; min-width: 0; }
.agp-info-card em { display: block; font-style: normal; font-size: 12.5px; color: var(--agp-muted); text-transform: uppercase; letter-spacing: .1em; }
.agp-info-card strong { display: block; font-weight: 600; overflow-wrap: anywhere; }
.agp-info-arrow { color: var(--agp-muted); transition: color .3s, transform .3s; }
a.agp-info-card:hover .agp-info-arrow { color: var(--agp-primary); transform: translate(2px, -2px); }
.agp-form { padding: clamp(22px, 3.5vw, 38px); display: grid; gap: 16px; }
.agp-form::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, rgba(var(--agp-primary-rgb), .5), transparent 35%, transparent 65%, rgba(var(--agp-secondary-rgb), .5)); }
.agp-form { background: linear-gradient(180deg, rgba(var(--agp-surface-rgb), .98), rgba(var(--agp-surface-rgb), .92)); }
.agp-form-head { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--agp-muted); margin-bottom: 4px; }
.agp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.agp-input { position: relative; display: block; }
.agp-input input, .agp-input textarea, .agp-input select { width: 100%; padding: 24px 16px 10px; border-radius: 14px; font: 500 15px/1.4 var(--agp-font-body); color: var(--agp-text); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); outline: none; transition: border-color .25s, background .25s, box-shadow .25s; appearance: none; -webkit-appearance: none; }
.agp-input textarea { resize: vertical; min-height: 140px; }
.agp-input select { background-image: linear-gradient(45deg, transparent 50%, var(--agp-muted) 50%), linear-gradient(135deg, var(--agp-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.agp-input select option { background: var(--agp-surface); color: var(--agp-text); }
.agp-input > span { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--agp-muted); pointer-events: none; transition: top .2s, font-size .2s, color .2s; }
.agp-input input:focus, .agp-input textarea:focus, .agp-input select:focus { border-color: rgba(var(--agp-primary-rgb), .7); background: rgba(var(--agp-primary-rgb), .04); box-shadow: 0 0 0 4px rgba(var(--agp-primary-rgb), .12); }
.agp-input input:focus + span, .agp-input input:not(:placeholder-shown) + span, .agp-input textarea:focus + span, .agp-input textarea:not(:placeholder-shown) + span, .agp-input--select > span { top: 7px; font-size: 11.5px; letter-spacing: .04em; color: #ffb59f; }
.agp-input small { display: block; min-height: 0; color: #ff8a7a; font-size: 12.5px; margin-top: 5px; }
.agp-input small:empty { display: none; }
.agp-input.has-error input, .agp-input.has-error textarea { border-color: #ff6b5b; }
.agp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.agp-form-status { font-size: 14.5px; text-align: center; min-height: 1px; }
.agp-form-status.is-ok { color: #4ade80; padding: 12px; border-radius: 12px; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); }
.agp-form-status.is-err { color: #ff8a7a; }
@media (max-width: 900px) { .agp-contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .agp-form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.agp-footer { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 28px; margin-top: clamp(24px, 4vw, 48px); border-top: 1px solid rgba(255,255,255,.07); background: linear-gradient(180deg, transparent, rgba(var(--agp-surface-rgb), .6)); }
.agp-footer-glow { position: absolute; left: 50%; top: -1px; width: min(700px, 80%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--agp-primary), var(--agp-secondary), transparent); box-shadow: 0 0 40px 6px rgba(var(--agp-primary-rgb), .35); }
.agp-footer-top { display: grid; grid-template-columns: 1.6fr repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.agp-footer-brand p { margin-top: 18px; color: var(--agp-muted); max-width: 360px; font-size: 15px; }
.agp-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.agp-socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); transition: transform .3s, background .3s, border-color .3s, color .3s; }
.agp-socials a:hover { transform: translateY(-3px); color: #fff; background: linear-gradient(135deg, var(--agp-primary), var(--agp-secondary)); border-color: transparent; }
.agp-footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--agp-muted); font-family: var(--agp-font-body); font-weight: 600; margin-bottom: 18px; }
.agp-footer-col li + li { margin-top: 10px; }
.agp-footer-col a { position: relative; color: rgba(var(--agp-text-rgb), .85); font-size: 15px; transition: color .25s; }
.agp-footer-col a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--agp-primary); transform: scaleX(0); transform-origin: right; transition: transform .35s; }
.agp-footer-col a:hover { color: #fff; }
.agp-footer-col a:hover::after { transform: scaleX(1); transform-origin: left; }
.agp-footer-col a.agp-btn::after { display: none; }
.agp-footer-buttons { display: grid; gap: 10px; justify-items: start; }
.agp-footer-col a.agp-btn--primary { color: #fff; }
.agp-bigname { margin: clamp(36px, 6vw, 70px) 0 10px; text-align: center; overflow: hidden; user-select: none; }
.agp-bigname span { display: inline-block; white-space: nowrap; font: 900 min(7.2vw, 112px)/.95 var(--agp-font-head); letter-spacing: -.04em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); background: linear-gradient(90deg, var(--agp-primary), var(--agp-secondary)) no-repeat; background-size: 0% 100%; -webkit-background-clip: text; background-clip: text; transition: background-size 1.6s cubic-bezier(.2,.8,.2,1); }
.agp-bigname:hover span, .agp-bigname.is-in span { background-size: 100% 100%; -webkit-text-stroke-color: transparent; }
.agp-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.07); color: var(--agp-muted); font-size: 14px; }
.agp-footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.agp-footer-links a:hover { color: var(--agp-text); }
@media (max-width: 960px) { .agp-footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
	.agp-footer-top { grid-template-columns: 1fr 1fr; }
	.agp-footer-brand { grid-column: 1 / -1; }
	.agp-footer-bottom { flex-direction: column; text-align: center; padding-bottom: 64px; }
}

/* ---------- Single project ---------- */
.agp-single-hero { padding-top: clamp(120px, 14vw, 170px); }
.agp-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 26px; color: var(--agp-muted); font-weight: 500; transition: color .25s; }
.agp-back:hover { color: var(--agp-text); }
.agp-browser--xl { margin-top: clamp(36px, 5vw, 60px); border-radius: calc(var(--agp-radius) + 6px); box-shadow: 0 60px 120px -50px rgba(var(--agp-primary-rgb), .45); }
.agp-browser--xl img { width: 100%; height: auto; }
.agp-single-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.agp-single-meta { padding: 26px; display: grid; gap: 16px; position: sticky; top: 100px; }
.agp-single-meta em { display: block; font-style: normal; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--agp-muted); }
.agp-single-meta strong { font-weight: 600; }
.agp-single-meta .agp-tags { margin-top: 0; }
.agp-single-live { display: inline-flex; align-items: center; gap: 8px; color: #ffb59f; font-weight: 600; }
.agp-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.agp-pn-link { padding: 24px 26px; transition: border-color .3s, transform .3s; }
.agp-pn-link:hover { border-color: rgba(var(--agp-primary-rgb), .45); transform: translateY(-4px); }
.agp-pn-link em { display: flex; align-items: center; gap: 6px; font-style: normal; color: var(--agp-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.agp-pn-link strong { display: block; margin-top: 6px; font: 800 1.35rem/1.2 var(--agp-font-head); }
.agp-pn-link--next { text-align: right; }
.agp-pn-link--next em { justify-content: flex-end; }
@media (max-width: 900px) { .agp-single-grid { grid-template-columns: 1fr; } .agp-single-meta { position: static; } }
@media (max-width: 560px) { .agp-pn { grid-template-columns: 1fr; } }

/* tilt helper */
.agp-tilt { will-change: transform; }

/* soften the edge between the hero and the ambient background */
.agp-hero::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 180px; background: linear-gradient(var(--agp-bg), rgba(var(--agp-bg-rgb), 0)); pointer-events: none; z-index: 0; }

.agp-about .agp-head { margin-bottom: 22px; }
.agp-skills-grid .agp-sub, .agp-contact .agp-sub { margin-top: 14px; }
@media (max-width: 760px) { .agp-bigname span { font-size: 9vw; } }
.agp-main, .agp-footer { overflow-x: clip; }
@media (max-width: 900px) {
	.agp-js [data-reveal="left"], .agp-js [data-reveal="right"] { transform: translate3d(0, 30px, 0); }
}

/* ---- Video performance: nothing blurs or glows on top of the playing video ---- */
.agp-hero-frame { contain: layout paint; }
.agp-hero-playing .agp-header-inner { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(var(--agp-surface-rgb), .78); }
.agp-hero-playing .agp-cursor-glow { opacity: 0 !important; }

/* ---- Sound button ---- */
.agp-sound { position: absolute !important; right: clamp(12px, 2.4vw, 28px); bottom: clamp(12px, 2.4vw, 28px); z-index: 4; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px; color: #fff; background: rgba(var(--agp-bg-rgb), .72) !important; border: 1px solid rgba(255,255,255,.16) !important; transition: background .3s, border-color .3s, transform .3s; -webkit-tap-highlight-color: transparent; }
.agp-sound:hover { border-color: var(--agp-primary) !important; transform: translateY(-2px); }
.agp-sound .agp-icon { width: 20px; height: 20px; }
.agp-sound .agp-sound-on, .agp-sound[aria-pressed="true"] .agp-sound-off { display: none; }
.agp-sound[aria-pressed="true"] .agp-sound-on { display: block; }
.agp-sound[aria-pressed="true"] { background: rgba(var(--agp-primary-rgb), .92) !important; border-color: transparent !important; }
.agp-sound-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.agp-sound-bars i { width: 3px; height: 4px; border-radius: 2px; background: currentColor; opacity: .5; }
.agp-sound[aria-pressed="true"] .agp-sound-bars i { opacity: 1; animation: agpEq .9s ease-in-out infinite alternate; }
.agp-sound[aria-pressed="true"] .agp-sound-bars i:nth-child(2) { animation-delay: -.3s; }
.agp-sound[aria-pressed="true"] .agp-sound-bars i:nth-child(3) { animation-delay: -.6s; }
@keyframes agpEq { from { height: 3px; } to { height: 14px; } }
.agp-sound:not([aria-pressed="true"])::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid rgba(var(--agp-primary-rgb), .6); animation: agpSoundHint 2.4s ease-out infinite; pointer-events: none; }
@keyframes agpSoundHint { 0% { opacity: .9; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.25); } }
@media (max-width: 767px) { .agp-sound { height: 36px; padding: 0 10px; } .agp-sound .agp-icon { width: 17px; height: 17px; } }
