/* ==========================================================================
   Saira Naeem Portfolio — front-end styles
   Tokens (Midnight Blue default, Clean White via .theme-light on <html>)
   ========================================================================== */

:root {
	--font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
	--font-serif: "Instrument Serif", ui-serif, Georgia, serif;
	--font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--radius: 1rem;

	--background: oklch(0.2 0.075 264);
	--background-deep: oklch(0.14 0.05 266);
	--foreground: oklch(0.98 0.005 250);
	--card: oklch(0.24 0.07 265 / 0.6);
	--card-solid: oklch(0.22 0.065 265);
	--card-foreground: oklch(0.98 0.005 250);
	--popover: oklch(0.18 0.06 265);
	--primary: oklch(0.98 0.005 250);
	--primary-foreground: oklch(0.18 0.06 265);
	--secondary: oklch(0.28 0.07 264);
	--secondary-foreground: oklch(0.96 0.01 250);
	--muted: oklch(0.27 0.06 264);
	--muted-foreground: oklch(0.8 0.05 255);
	--accent: oklch(0.3 0.09 262);
	--electric: oklch(0.72 0.17 245);
	--success: oklch(0.78 0.17 155);
	--destructive: oklch(0.7 0.19 22);
	--border: oklch(1 0 0 / 0.1);
	--input: oklch(1 0 0 / 0.14);
	--ring: oklch(0.72 0.17 245);
	--glass: oklch(0.2 0.07 265 / 0.55);
	--g1: oklch(0.78 0.14 235);
	--g2: oklch(0.62 0.2 258);
	--gradient-page: radial-gradient(1200px 700px at 80% -10%, oklch(0.42 0.17 258 / 0.55), transparent 60%),
		radial-gradient(900px 600px at -10% 40%, oklch(0.32 0.14 262 / 0.45), transparent 60%),
		linear-gradient(180deg, var(--background), var(--background-deep));
	--gradient-electric: linear-gradient(120deg, var(--g1), var(--g2));
	--shadow-card: 0 30px 60px -30px oklch(0.05 0.03 265 / 0.8), inset 0 1px 0 oklch(1 0 0 / 0.06);
	--shadow-glow: 0 10px 40px -10px oklch(0.62 0.2 255 / 0.65);
}

.theme-light {
	--background: oklch(0.99 0.003 250);
	--background-deep: oklch(0.965 0.008 250);
	--foreground: oklch(0.16 0.02 264);
	--card: oklch(1 0 0);
	--card-solid: oklch(1 0 0);
	--card-foreground: oklch(0.16 0.02 264);
	--popover: oklch(1 0 0);
	--primary: oklch(0.16 0.02 264);
	--primary-foreground: oklch(0.99 0 0);
	--secondary: oklch(0.96 0.01 255);
	--secondary-foreground: oklch(0.2 0.03 264);
	--muted: oklch(0.955 0.008 255);
	--muted-foreground: oklch(0.42 0.02 264);
	--accent: oklch(0.94 0.03 258);
	--electric: oklch(0.52 0.22 262);
	--success: oklch(0.62 0.17 155);
	--border: oklch(0.16 0.02 264 / 0.09);
	--input: oklch(0.16 0.02 264 / 0.14);
	--ring: oklch(0.52 0.22 262);
	--glass: oklch(1 0 0 / 0.72);
	--g1: oklch(0.6 0.2 250);
	--g2: oklch(0.45 0.23 265);
	--gradient-page: radial-gradient(1000px 600px at 85% -10%, oklch(0.9 0.06 255 / 0.7), transparent 60%),
		linear-gradient(180deg, var(--background), var(--background-deep));
	--shadow-card: 0 1px 2px oklch(0.2 0.03 264 / 0.05), 0 24px 48px -28px oklch(0.3 0.08 264 / 0.25);
	--shadow-glow: 0 10px 30px -10px oklch(0.52 0.22 262 / 0.5);
}

/* ------------------------------ Base ------------------------------------ */
html { scroll-behavior: smooth; }
body.sn-theme {
	margin: 0;
	background: var(--gradient-page);
	background-attachment: fixed;
	background-color: var(--background);
	color: var(--foreground);
	font-family: var(--font-sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.sn-theme ::selection { background: var(--electric); color: var(--background); }
.sn-theme .sn-sec, .sn-theme .sn-sec *, .sn-theme .sn-sec *::before, .sn-theme .sn-sec *::after,
.sn-header, .sn-header *, .sn-assist, .sn-assist * { box-sizing: border-box; }
:where(.sn-sec, .sn-header, .sn-assist) * {
	transition-property: background-color, border-color, color, box-shadow;
	transition-duration: 500ms;
	transition-timing-function: var(--ease);
}
:where(.sn-sec, .sn-header, .sn-assist) :where(h1, h2, h3, p, ul, ol) { margin: 0; }
:where(.sn-sec, .sn-header) :where(ul, ol) { padding: 0; list-style: none; }
:where(.sn-sec, .sn-header) a { text-decoration: none; }
:where(.sn-sec) img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
.sn-sec svg.sn-ico, .sn-header svg.sn-ico, .sn-assist svg.sn-ico { width: 1em; height: 1em; flex: none; }
.sn-sec [class*="__icon"] svg, .sn-sec [class*="__check"] svg, .sn-footer__soc svg { width: 1em; height: 1em; fill: currentColor; }

.sn-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--background); color: var(--foreground); padding: .75rem 1rem; }
.sn-skip:focus { left: 1rem; top: 1rem; }
.sn-main { display: block; }

/* Elementor wrappers: remove default section/column/widget padding for our full-width blocks */
.sn-el-section > .elementor-container { max-width: none !important; padding: 0 !important; }
.sn-el-section .elementor-column-gap-no > .elementor-column > .elementor-element-populated,
.sn-el-section .elementor-column > .elementor-element-populated,
.sn-el-section .elementor-widget-wrap { padding: 0 !important; }
.sn-el-section .elementor-widget:not(:last-child) { margin-bottom: 0; }
.sn-el-section .elementor-widget-container { padding: 0; }

/* ------------------------------ Shared ---------------------------------- */
.sn-sec { position: relative; scroll-margin-top: 6rem; color: var(--foreground); font-family: var(--font-sans); }
.sn-wrap { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.sn-glass {
	background: var(--glass);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
	border: 1px solid var(--border);
}
.sn-surface { background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.sn-eyebrow {
	font-family: var(--font-sans); font-size: .72rem; font-weight: 700; letter-spacing: .22em;
	text-transform: uppercase; color: var(--electric); margin: 0;
}
.sn-hl {
	font-family: var(--font-serif); font-weight: 400; font-style: italic;
	background: var(--gradient-electric); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sn-head { margin-bottom: 3.5rem; max-width: 42rem; }
.sn-head .sn-eyebrow { margin-bottom: 1.25rem; }
.sn-h2 {
	font-family: var(--font-display); font-size: 2.25rem; font-weight: 600;
	line-height: 1.08; letter-spacing: -.025em;
}
.sn-lead { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.625; color: var(--muted-foreground); }
.sn-lead--lg { margin-top: 2rem; }
.sn-grid-lines {
	position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
	mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.sn-fullh { height: 100%; }

/* Buttons */
.sn-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	overflow: hidden; border-radius: 9999px; font-family: inherit; font-weight: 600; line-height: 1;
	cursor: pointer; border: 0; text-decoration: none; white-space: nowrap;
	transition: all .3s var(--ease);
}
.sn-btn:active { transform: scale(.97); }
.sn-btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.sn-btn--sm { height: 2.5rem; padding: 0 1.25rem; font-size: .875rem; }
.sn-btn--md { height: 3rem; padding: 0 1.75rem; font-size: .875rem; }
.sn-btn--lg { height: 3.5rem; padding: 0 2rem; font-size: 1rem; }
.sn-btn--primary { background: var(--primary); color: var(--primary-foreground); }
.sn-btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.sn-btn--electric { background: var(--gradient-electric); color: var(--primary-foreground); box-shadow: var(--shadow-glow); }
.theme-light .sn-btn--electric { color: var(--background); }
.sn-btn--electric:hover { transform: translateY(-2px); }
.sn-btn--ghost { border: 1px solid var(--border); background: transparent; color: var(--foreground); }
.sn-btn--ghost:hover { border-color: var(--electric); color: var(--electric); }
.sn-btn__arrow { transition: transform .3s var(--ease); }
.sn-btn:hover .sn-btn__arrow { transform: translate(2px, -2px); }

/* Entrance reveal (JS adds .is-in) */
.sn-reveal { transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.sn-js .sn-anim .sn-reveal:not(.is-in) { opacity: 0; transform: translateY(var(--y, 28px)); }
body.elementor-editor-active .sn-reveal { opacity: 1 !important; transform: none !important; }

/* ------------------------------ Header ---------------------------------- */
.sn-header { z-index: 50; left: 0; right: 0; top: 0; padding: 1rem 1rem 0; font-family: var(--font-sans); color: var(--foreground); }
.sn-header--fixed { position: fixed; }
.sn-header--absolute { position: absolute; }
.sn-header--static { position: relative; }
.admin-bar .sn-header--fixed { top: 32px; }
@media (max-width: 782px) { .admin-bar .sn-header--fixed { top: 46px; } }
.sn-nav {
	margin: 0 auto; display: flex; max-width: 80rem; align-items: center; justify-content: space-between;
	border-radius: 9999px; padding: .75rem 1.25rem; border: 1px solid transparent; transition: all .5s var(--ease);
}
.sn-nav.is-scrolled {
	background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
	border-color: var(--border); box-shadow: var(--shadow-card);
}
.sn-logo { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -.025em; color: inherit; display: inline-flex; align-items: center; }
.sn-logo__img { height: 2rem; width: auto; display: block; }
.sn-dot { color: var(--electric); }
.sn-nav__links { display: none; align-items: center; gap: .25rem; }
.sn-nav__link { position: relative; display: block; padding: .5rem 1rem; font-size: .875rem; font-weight: 500; color: var(--muted-foreground); }
.sn-nav__link:hover { color: var(--foreground); }
.sn-nav__u { position: absolute; left: 1rem; right: 1rem; bottom: .25rem; height: 1px; background: var(--electric); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.sn-nav__link:hover .sn-nav__u { transform: scaleX(1); }
.sn-nav__right { display: flex; align-items: center; gap: .75rem; }
.sn-nav__cta { display: none; }
.sn-nav__toggle { display: inline-flex; background: none; border: 0; padding: .25rem; color: inherit; cursor: pointer; font-size: 1.5rem; }
.sn-nav__ico-close { display: none; }
.sn-nav__toggle[aria-expanded="true"] .sn-nav__ico-open { display: none; }
.sn-nav__toggle[aria-expanded="true"] .sn-nav__ico-close { display: block; }
.sn-nav__mobile { margin: .75rem auto 0; max-width: 80rem; border-radius: 1.5rem; padding: .75rem; animation: sn-drop .3s var(--ease); }
.sn-nav__mobile a { display: block; border-radius: 1rem; padding: .75rem 1rem; font-weight: 500; color: inherit; }
.sn-nav__mobile a:hover { background: var(--secondary); }

.sn-switch-wrap { position: relative; }
.sn-switch {
	position: relative; display: flex; align-items: center; height: 2.25rem; width: 4rem; padding: .25rem;
	border-radius: 9999px; border: 1px solid var(--border); background: var(--secondary); cursor: pointer;
}
.sn-switch:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.sn-switch__knob {
	display: flex; height: 1.75rem; width: 1.75rem; align-items: center; justify-content: center; border-radius: 50%;
	background: var(--gradient-electric); color: var(--primary-foreground); font-size: .875rem;
	transition: transform .35s cubic-bezier(.5, 1.5, .4, 1), color .5s;
}
.theme-light .sn-switch__knob { transform: translateX(1.75rem); color: var(--background); }
.sn-switch__sun { display: none; }
.theme-light .sn-switch__moon { display: none; }
.theme-light .sn-switch__sun { display: block; }
.sn-switch__tip {
	position: absolute; right: 0; top: 3rem; white-space: nowrap; border-radius: .75rem; padding: .5rem .75rem;
	font-size: .75rem; font-weight: 500; opacity: 0; transform: translateY(-4px) scale(.96); pointer-events: none;
	transition: opacity .2s, transform .2s;
}
.sn-switch-wrap:hover .sn-switch__tip, .sn-switch-wrap:focus-within .sn-switch__tip { opacity: 1; transform: none; }
.sn-switch__name { color: var(--electric); font-weight: inherit; }

/* ------------------------------ Hero ------------------------------------ */
.sn-hero { display: flex; min-height: 100vh; flex-direction: column; overflow: hidden; padding-top: 7rem; }
.sn-hero > .sn-grid-lines { opacity: .6; }
.sn-hero__grid { position: relative; display: grid; flex: 1; align-items: center; gap: 2.5rem; }
.sn-hero__copy { position: relative; z-index: 1; }
.sn-hero__eyebrow { margin-bottom: 1.75rem; display: flex; align-items: center; gap: .75rem; }
.sn-hero__rule { display: block; height: 1px; width: 2rem; background: var(--electric); }
.sn-hero__title {
	font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1.02; letter-spacing: -.03em; margin: 0;
}
.sn-w { display: inline-block; overflow: hidden; padding-bottom: .5rem; vertical-align: bottom; }
.sn-w__i { display: inline-block; }
.sn-w__i.sn-hl { padding-right: .25rem; }
.sn-hero__desc { margin-top: 1.75rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.625; color: var(--muted-foreground); }
.sn-hero__cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.sn-hero__badge {
	margin-top: 2.5rem; display: inline-flex; align-items: center; gap: .75rem; border: 1px solid var(--border);
	border-radius: 9999px; padding: .5rem 1rem; font-size: .875rem; color: var(--muted-foreground);
}
.sn-pulse { position: relative; display: flex; height: .625rem; width: .625rem; }
.sn-pulse__ring { position: absolute; inset: 0; border-radius: 50%; background: var(--success); animation: sn-ring 1.8s ease-out infinite; }
.sn-pulse__dot { position: relative; height: .625rem; width: .625rem; border-radius: 50%; background: var(--success); }
.sn-hero__visual { position: relative; height: 420px; }
.sn-hero__glow { position: absolute; inset: 15%; border-radius: 50%; background: var(--electric); opacity: .2; filter: blur(90px); }
.sn-hero__scene { position: absolute; inset: 0; }
.sn-hero__scene canvas { display: block; width: 100% !important; height: 100% !important; }
.sn-hero__img { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.sn-hero__pic { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: 1.5rem; }
.sn-hero__foot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding-bottom: 2.5rem; }
.sn-scroll {
	display: flex; align-items: center; gap: .75rem; font-size: .75rem; font-weight: 600; text-transform: uppercase;
	letter-spacing: .2em; color: var(--muted-foreground);
}
.sn-scroll:hover { color: var(--foreground); }
.sn-scroll__mouse { display: flex; height: 2.5rem; width: 1.5rem; justify-content: center; border-radius: 9999px; border: 1px solid var(--border); padding-top: .5rem; }
.sn-scroll__arrow { display: block; font-size: .75rem; animation: sn-bob 1.8s ease-in-out infinite; }
.sn-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; font-size: .875rem; color: var(--muted-foreground); }
.sn-strip li { display: flex; align-items: center; gap: 1.25rem; }
.sn-strip li + li::before { content: ""; height: .25rem; width: .25rem; border-radius: 50%; background: var(--electric); }

/* Hero entrance (pure CSS so it also replays in the Elementor editor) */
.sn-anim .sn-w__i { animation: sn-word .9s var(--ease) both; animation-delay: calc(.15s + var(--i, 0) * .07s); }
.sn-anim .sn-in { animation: sn-fade .8s var(--ease) both; animation-delay: calc(var(--i, 0) * .1s); }
.sn-anim .sn-in--scale { animation-name: sn-scale; animation-duration: 1.4s; }

/* ------------------------------ About ----------------------------------- */
.sn-about, .sn-services, .sn-projects, .sn-process, .sn-skills, .sn-contact { padding: 7rem 0; }
.sn-about { overflow-x: clip; }
.sn-about__grid { display: grid; align-items: center; gap: 4rem; }
.sn-orbit { position: relative; margin: 0 auto; aspect-ratio: 1; width: 100%; max-width: 28rem; }
.sn-orbit__ring1 { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--border); animation: sn-spin 40s linear infinite; }
.sn-orbit__ring2 { position: absolute; inset: 12%; border-radius: 50%; border: 1px solid var(--border); animation: sn-spin 28s linear infinite reverse; }
.sn-orbit__dot { position: absolute; top: -.375rem; left: 50%; height: .75rem; width: .75rem; margin-left: -.375rem; border-radius: 50%; background: var(--electric); box-shadow: var(--shadow-glow); }
.sn-orbit__core { position: absolute; inset: 24%; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; text-align: center; overflow: hidden; }
.sn-orbit__mono { font-family: var(--font-serif); font-size: 4.5rem; font-style: italic; line-height: 1; background: var(--gradient-electric); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .2em; }
.sn-orbit__label { margin-top: .25rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .25em; color: var(--muted-foreground); }
.sn-orbit__photo { width: 100%; height: 100%; object-fit: cover; }
.sn-orbit__tag { position: absolute; border-radius: 9999px; padding: .5rem 1rem; font-size: .875rem; font-weight: 600; animation: sn-float 4s ease-in-out infinite; }
.sn-orbit > :nth-child(4) { left: 0; top: 18%; }
.sn-orbit > :nth-child(5) { right: 0; top: 30%; animation-duration: 5s; }
.sn-orbit > :nth-child(6) { left: 8%; bottom: 14%; animation-duration: 6s; }
.sn-orbit > :nth-child(7) { right: 6%; bottom: 8%; animation-duration: 7s; }
.sn-orbit > :nth-child(8) { left: 34%; top: 0; animation-duration: 8s; }
.sn-quals { margin-top: 3rem; display: grid; gap: 1rem; }
.sn-qual {
	display: flex; align-items: flex-start; gap: 1.25rem; border: 1px solid var(--border); border-radius: 1rem; padding: 1.25rem;
	transition: all .4s var(--ease);
}
.sn-qual:hover { border-color: color-mix(in oklab, var(--electric) 60%, transparent); background: color-mix(in oklab, var(--secondary) 40%, transparent); }
.sn-qual__icon {
	display: flex; flex: none; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center;
	border-radius: .75rem; background: var(--accent); color: var(--electric); font-size: 1.25rem; transition: transform .3s var(--ease);
}
.sn-qual:hover .sn-qual__icon { transform: scale(1.1); }
.sn-qual__title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.sn-qual__text { margin-top: .25rem; font-size: .875rem; color: var(--muted-foreground); }

/* ------------------------------ Services -------------------------------- */
.sn-cards3 { display: grid; gap: 1.5rem; }
.sn-card {
	position: relative; height: 100%; overflow: hidden; border-radius: 1.5rem; padding: 2rem;
	background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-card);
	transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform .25s ease-out, background-color .5s, border-color .5s;
}
.sn-card__glow {
	position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
	background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), color-mix(in oklab, var(--electric) 18%, transparent), transparent 60%);
}
.sn-card:hover .sn-card__glow { opacity: 1; }
.sn-card__in { position: relative; }
.sn-card__top { display: flex; align-items: center; justify-content: space-between; }
.sn-card__icon {
	display: flex; height: 3.5rem; width: 3.5rem; align-items: center; justify-content: center; border-radius: 1rem;
	background: var(--gradient-electric); color: var(--primary-foreground); box-shadow: var(--shadow-glow); font-size: 1.5rem;
}
.theme-light .sn-card__icon { color: var(--background); }
.sn-card__no { font-family: var(--font-serif); font-size: 3rem; font-style: italic; line-height: 1; color: color-mix(in oklab, var(--muted-foreground) 40%, transparent); }
.sn-card__title { margin-top: 2.5rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.025em; }
.sn-card__desc { margin-top: 1rem; line-height: 1.625; color: var(--muted-foreground); }
.sn-card__rule { margin: 2rem 0; height: 1px; background: var(--border); }
.sn-card__list { display: grid; gap: .75rem; }
.sn-card__list li { display: flex; align-items: center; gap: .75rem; font-size: .875rem; }
.sn-card__check { display: inline-flex; flex: none; color: var(--electric); font-size: 1rem; }

/* ------------------------------ Projects -------------------------------- */
.sn-projgrid { display: grid; gap: 1.5rem; }
.sn-proj__media { position: relative; overflow: hidden; border-radius: 1.5rem; border: 1px solid var(--border); }
.sn-proj--wide .sn-proj__media { aspect-ratio: 3 / 2; }
.sn-proj--tall .sn-proj__media { aspect-ratio: 4 / 5; }
.sn-proj__img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.sn-proj:hover .sn-proj__img { transform: scale(1.05); }
.sn-proj__cat { position: absolute; left: 1.25rem; top: 1.25rem; border-radius: 9999px; padding: .375rem .75rem; font-size: .75rem; font-weight: 600; }
.sn-proj__body { margin-top: 1.5rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.sn-proj__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.025em; }
.sn-proj__desc { margin-top: .5rem; max-width: 28rem; color: var(--muted-foreground); }
.sn-proj__tags { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.sn-proj__tags li { border: 1px solid var(--border); border-radius: 9999px; padding: .25rem .75rem; font-size: .75rem; color: var(--muted-foreground); }
.sn-proj__go {
	display: flex; flex: none; height: 3.5rem; width: 3.5rem; align-items: center; justify-content: center; border-radius: 50%;
	border: 1px solid var(--border); color: inherit; font-size: 1.25rem; transition: all .3s var(--ease);
}
.sn-proj:hover .sn-proj__go { transform: rotate(45deg); border-color: var(--electric); background: var(--electric); color: var(--background); }

/* ------------------------------ Process --------------------------------- */
.sn-steps { position: relative; --p: 1; }
.sn-steps__line, .sn-steps__fill { position: absolute; left: 1.75rem; top: 0; height: 100%; width: 1px; }
.sn-steps__line { background: var(--border); }
.sn-steps__fill { background: var(--gradient-electric); transform-origin: top; transform: scaleY(var(--p)); transition: transform .3s linear; }
.sn-steps__list { position: relative; display: grid; gap: 3rem; }
.sn-step { position: relative; display: flex; gap: 1.5rem; }
.sn-step__icon {
	position: relative; z-index: 1; display: flex; flex: none; height: 3.5rem; width: 3.5rem; align-items: center; justify-content: center;
	border-radius: 50%; border: 1px solid var(--border); background: var(--background); color: var(--electric); font-size: 1.25rem;
}
.sn-step__label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .2em; color: var(--muted-foreground); }
.sn-step__title { margin-top: .5rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.sn-step__desc { margin-top: .5rem; color: var(--muted-foreground); }

/* ------------------------------ Skills ---------------------------------- */
.sn-skillgrid {
	display: grid; grid-template-columns: 1fr; gap: 1px; overflow: hidden; border-radius: 1.5rem;
	border: 1px solid var(--border); background: var(--border);
}
.sn-skillcell { background: var(--background); }
.sn-skill { display: flex; height: 100%; align-items: center; gap: 1.25rem; padding: 1.75rem; transition: background-color .3s; }
.sn-skill:hover { background: color-mix(in oklab, var(--secondary) 50%, transparent); }
.sn-skill__icon {
	display: flex; flex: none; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: 1rem;
	border: 1px solid var(--border); color: var(--electric); font-size: 1.25rem; transition: all .3s var(--ease);
}
.sn-skill:hover .sn-skill__icon { transform: rotate(-6deg) scale(1.1); border-color: var(--electric); }
.sn-skill__title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.sn-skill__note { font-size: .875rem; color: var(--muted-foreground); }
.sn-marquee { margin-top: 4rem; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.sn-marquee__track {
	display: flex; width: max-content; white-space: nowrap; font-family: var(--font-serif); font-size: 1.875rem; font-style: italic;
	color: var(--muted-foreground); animation: sn-marquee 30s linear infinite;
}
.sn-marquee__item { display: inline-flex; align-items: center; gap: 3rem; padding-right: 3rem; }
.sn-marquee__sep { color: var(--electric); }

/* ------------------------------ CTA ------------------------------------- */
.sn-cta { padding: 5rem 0; }
.sn-cta__panel { position: relative; overflow: hidden; border-radius: 2.5rem; background: var(--gradient-electric); padding: 5rem 2rem; text-align: center; }
.sn-cta__panel .sn-grid-lines { opacity: .4; }
.sn-cta__in { position: relative; max-width: 48rem; margin: 0 auto; color: var(--primary-foreground); }
.theme-light .sn-cta__in { color: var(--background); }
.sn-cta__title { font-family: var(--font-display); font-size: 2.25rem; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.sn-cta .sn-hl { background: none; color: inherit; -webkit-text-fill-color: currentColor; }
.sn-cta__text { margin: 1.5rem auto 0; max-width: 36rem; font-size: 1.125rem; opacity: .85; }
.sn-cta__btn {
	margin-top: 2.5rem; display: inline-flex; height: 3.5rem; align-items: center; gap: .5rem; border-radius: 9999px;
	background: var(--background); padding: 0 2rem; font-weight: 600; color: var(--foreground); transition: transform .3s var(--ease);
}
.sn-cta__btn:hover { transform: translateY(-2px); }
.sn-cta__btn .sn-btn__arrow { transition: transform .3s var(--ease); }
.sn-cta__btn:hover .sn-btn__arrow { transform: rotate(45deg); }

/* ------------------------------ Contact --------------------------------- */
.sn-contact__grid { display: grid; gap: 4rem; }
.sn-chans { display: grid; gap: .75rem; }
.sn-chan {
	display: flex; align-items: center; gap: 1rem; border: 1px solid var(--border); border-radius: 1rem; padding: 1rem;
	color: inherit; transition: all .3s var(--ease);
}
a.sn-chan:hover { transform: translateY(-2px); border-color: var(--electric); }
.sn-chan--off { border-style: dashed; opacity: .7; }
.sn-chan__icon {
	display: flex; flex: none; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center;
	border-radius: .75rem; background: var(--accent); color: var(--electric); font-size: 1.25rem; transition: transform .3s var(--ease);
}
a.sn-chan:hover .sn-chan__icon { transform: scale(1.1); }
.sn-chan__label { display: block; font-weight: 600; }
.sn-chan__value { display: block; font-size: .875rem; color: var(--muted-foreground); word-break: break-word; }
.sn-form { display: grid; gap: 1.25rem; border-radius: 1.5rem; padding: 1.5rem; position: relative; }
.sn-form__row { display: grid; gap: 1.25rem; }
.sn-field { display: block; }
.sn-field__label { display: block; margin-bottom: .5rem; font-size: .875rem; font-weight: 600; }
.sn-input {
	width: 100%; border-radius: 1rem; border: 1px solid var(--input); background: transparent; padding: 1rem 1.25rem;
	color: var(--foreground); font: inherit; outline: none; transition: border-color .2s, box-shadow .2s;
}
.sn-input::placeholder { color: color-mix(in oklab, var(--muted-foreground) 70%, transparent); }
.sn-input:focus { border-color: var(--electric); box-shadow: 0 0 0 2px color-mix(in oklab, var(--ring) 30%, transparent); }
.sn-select { background-color: var(--card-solid); appearance: auto; }
.sn-select option { background: var(--card-solid); color: var(--foreground); }
.sn-textarea { resize: none; display: block; }
.sn-field__error { display: block; margin-top: .5rem; font-size: .875rem; color: var(--destructive); }
.sn-field__error:empty { display: none; }
.sn-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sn-form__submit { width: 100%; }
.sn-form__submit[disabled] { opacity: .6; pointer-events: none; }
.sn-form__status { font-size: .875rem; }
.sn-form__status:empty { display: none; }
.sn-form__status.is-ok { color: var(--success); }
.sn-form__status.is-err { color: var(--destructive); }

/* ------------------------------ Footer ---------------------------------- */
.sn-footer { border-top: 1px solid var(--border); padding-top: 5rem; }
.sn-footer__grid { display: grid; gap: 3rem; }
.sn-footer__logo { font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; letter-spacing: -.025em; }
.sn-footer__desc { margin-top: 1rem; max-width: 24rem; color: var(--muted-foreground); }
.sn-footer__soc { margin-top: 1.5rem; display: flex; gap: .75rem; }
.sn-footer__soc a {
	display: flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: 50%;
	border: 1px solid var(--border); color: inherit; font-size: 1rem; transition: all .3s var(--ease);
}
.sn-footer__soc a:hover { transform: translateY(-2px); border-color: var(--electric); color: var(--electric); }
.sn-footer .sn-eyebrow { margin-bottom: 1.25rem; }
.sn-footer__links { display: grid; gap: .75rem; }
.sn-footer__links a { color: var(--muted-foreground); }
.sn-footer__links a:hover { color: var(--foreground); }
.sn-footer__work { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: inherit; }
.sn-footer__work:hover { color: var(--electric); }
.sn-footer__bar {
	margin-top: 5rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5rem;
	border-top: 1px solid var(--border); padding-top: 2rem; padding-bottom: 2rem; font-size: .875rem; color: var(--muted-foreground);
}
.sn-footer__tag { font-family: var(--font-serif); font-size: 1rem; font-style: italic; text-align: center; }
.sn-footer__top {
	display: flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: 50%;
	border: 1px solid var(--border); color: inherit; transition: all .3s var(--ease);
}
.sn-footer__top:hover { transform: translateY(-4px); border-color: var(--electric); color: var(--electric); }

/* ------------------------------ Assistant ------------------------------- */
.sn-assist { position: fixed; bottom: 1.25rem; z-index: 60; display: flex; flex-direction: column; gap: 1rem; font-family: var(--font-sans); color: var(--foreground); }
.sn-assist--right { right: 1.25rem; align-items: flex-end; }
.sn-assist--left { left: 1.25rem; align-items: flex-start; }
.sn-assist__panel {
	display: flex; flex-direction: column; overflow: hidden; height: min(600px, calc(100vh - 8rem)); width: min(390px, calc(100vw - 2.5rem));
	border-radius: 1.5rem; border: 1px solid var(--border); background: var(--popover); box-shadow: var(--shadow-card);
	transform-origin: bottom right; animation: sn-pop .3s var(--ease);
}
.sn-assist--left .sn-assist__panel { transform-origin: bottom left; }
.sn-assist__head {
	display: flex; align-items: center; gap: .75rem; border-bottom: 1px solid var(--border); background: var(--gradient-electric);
	color: var(--primary-foreground); padding: 1rem 1.25rem;
}
.theme-light .sn-assist__head { color: var(--background); }
.sn-assist__avatar { border-radius: 50%; background: color-mix(in oklab, var(--background) 20%, transparent); padding: .25rem; display: flex; }
.sn-assist__who { flex: 1; }
.sn-assist__name { font-family: var(--font-display); font-weight: 600; }
.sn-assist__sub { font-size: .75rem; opacity: .8; }
.sn-assist__close { background: none; border: 0; border-radius: 50%; padding: .5rem; color: inherit; cursor: pointer; font-size: 1rem; display: flex; }
.sn-assist__close:hover { background: color-mix(in oklab, var(--background) 20%, transparent); }
.sn-assist__list { flex: 1; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.sn-msgrow { display: flex; animation: sn-fade .4s var(--ease) both; }
.sn-msgrow--user { justify-content: flex-end; }
.sn-msg { max-width: 85%; border-radius: 1rem; padding: .75rem 1rem; font-size: .875rem; line-height: 1.625; }
.sn-msg--bot { border-bottom-left-radius: .375rem; background: var(--secondary); color: var(--secondary-foreground); }
.sn-msg--user { border-bottom-right-radius: .375rem; background: var(--electric); color: var(--background); }
.sn-msg__actions { margin-top: .75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.sn-msg__actions button {
	display: inline-flex; align-items: center; gap: .25rem; border-radius: 9999px; background: none; cursor: pointer;
	border: 1px solid color-mix(in oklab, var(--electric) 50%, transparent); padding: .25rem .75rem;
	font-family: inherit; font-size: .75rem; font-weight: 600; color: var(--electric);
}
.sn-msg__actions button:hover { background: var(--electric); color: var(--background); }
.sn-typing { display: flex; width: 4rem; gap: .25rem; border-radius: 1rem; background: var(--secondary); padding: .75rem 1rem; }
.sn-typing i { display: block; height: .5rem; width: .5rem; border-radius: 50%; background: var(--muted-foreground); animation: sn-dots .8s ease-in-out infinite; }
.sn-typing i:nth-child(2) { animation-delay: .15s; }
.sn-typing i:nth-child(3) { animation-delay: .3s; }
.sn-assist__foot { border-top: 1px solid var(--border); padding: .75rem; }
.sn-assist__quick { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; margin-bottom: .75rem; }
.sn-assist__quick:empty { display: none; }
.sn-assist__quick button {
	flex: none; border: 1px solid var(--border); border-radius: 9999px; background: none; padding: .375rem .75rem;
	font-family: inherit; font-size: .75rem; color: inherit; cursor: pointer;
}
.sn-assist__quick button:hover { border-color: var(--electric); color: var(--electric); }
.sn-assist__form { display: flex; align-items: center; gap: .5rem; }
.sn-assist__form input {
	height: 2.75rem; flex: 1; min-width: 0; border-radius: 9999px; border: 1px solid var(--input); background: transparent;
	padding: 0 1rem; font: inherit; font-size: .875rem; color: inherit; outline: none;
}
.sn-assist__form input:focus { border-color: var(--electric); }
.sn-assist__form button {
	display: flex; height: 2.75rem; width: 2.75rem; flex: none; align-items: center; justify-content: center; border-radius: 50%;
	border: 0; background: var(--electric); color: var(--background); cursor: pointer;
}
.sn-assist__form button:disabled { opacity: .4; cursor: default; }
.sn-assist__launch { position: relative; display: flex; align-items: flex-end; gap: .75rem; }
.sn-assist--left .sn-assist__launch { flex-direction: row-reverse; }
.sn-assist__tip { display: none; margin-bottom: 1rem; max-width: 220px; border-radius: 1rem 1rem .25rem 1rem; padding: .75rem 1rem; font-size: .875rem; animation: sn-fade .4s var(--ease) both; }
.sn-assist__tip .sn-hl { font-family: inherit; font-style: normal; font-weight: 600; background: none; -webkit-text-fill-color: currentColor; color: var(--electric); }
.sn-assist__btn { position: relative; background: none; border: 0; padding: 0; cursor: pointer; animation: sn-bob2 3.2s ease-in-out infinite; }
.sn-assist__btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; border-radius: 50%; }
.sn-assist__shadow { position: absolute; bottom: -.5rem; left: 50%; height: .5rem; width: 2.5rem; transform: translateX(-50%); border-radius: 50%; background: color-mix(in oklab, var(--electric) 30%, transparent); filter: blur(4px); }
.sn-editor-note { padding: 1rem; border: 1px dashed var(--border); border-radius: .75rem; font-size: .875rem; color: var(--muted-foreground); }

.sn-robot { position: relative; display: block; width: var(--s, 64px); height: var(--s, 64px); --robot: var(--electric); transition: transform .3s var(--ease); }
.sn-robot > *, .sn-robot__head > *, .sn-robot__face > * { display: block; }
.sn-assist__btn:hover .sn-robot { transform: scale(1.08) rotate(-4deg); }
.sn-robot__ant { position: absolute; left: 50%; top: 0; height: 16%; width: 3px; transform: translateX(-50%); border-radius: 3px; background: var(--muted-foreground); }
.sn-robot__ball { position: absolute; left: 50%; top: -4%; height: 14%; width: 14%; transform: translateX(-50%); border-radius: 50%; background: var(--robot); box-shadow: var(--shadow-glow); }
.sn-robot__head {
	position: absolute; left: 8%; right: 8%; top: 14%; bottom: 6%; border-radius: 38%; border: 1px solid var(--border);
	background: radial-gradient(circle at 30% 25%, color-mix(in oklab, var(--foreground) 22%, var(--card-solid)), var(--card-solid) 60%);
	box-shadow: inset -4px -6px 12px oklch(0 0 0 / .35), var(--shadow-glow);
}
.sn-robot__face { position: absolute; left: 14%; right: 14%; top: 24%; bottom: 24%; display: flex !important; align-items: center; justify-content: center; gap: 18%; border-radius: 40%; background: var(--background); }
.sn-robot__eye { height: 42%; width: 14%; border-radius: 9999px; background: var(--robot); animation: sn-blink 4s infinite; }
.sn-robot__arm { position: absolute; top: 40%; height: 22%; width: 14%; border-radius: 9999px; background: var(--robot); }
.sn-robot__arm--r { right: -10%; transform-origin: left center; }
.sn-robot__arm--l { left: -10%; }
.sn-assist__btn:hover .sn-robot__arm--r { animation: sn-wave 1s; }

/* ------------------------------ Blog / pages / fallback ----------------- */
.sn-entry-wrap { max-width: 48rem; margin: 0 auto; padding: 9rem 1.5rem 5rem; }
.sn-entry-title { font-family: var(--font-display); font-size: 2.25rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 1.5rem; }
.sn-entry { margin-bottom: 3rem; line-height: 1.75; }
.sn-entry--card { border: 1px solid var(--border); border-radius: 1.5rem; padding: 1.5rem; background: var(--card); }
.sn-entry__title { font-family: var(--font-display); font-size: 1.5rem; margin: .5rem 0; }
.sn-entry__title a, .sn-entry a { color: var(--electric); text-decoration: none; }
.sn-entry__meta { color: var(--muted-foreground); font-size: .875rem; }
.sn-entry__thumb img { width: 100%; height: auto; border-radius: 1rem; margin-bottom: 1rem; }
.sn-entry__content img { max-width: 100%; height: auto; }
.sn-404 { text-align: center; }
.sn-search { display: flex; gap: .5rem; }
.sn-search input { flex: 1; border-radius: 9999px; border: 1px solid var(--input); background: transparent; color: inherit; padding: .75rem 1.25rem; }
.sn-fallback-header, .sn-fallback-footer { padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.sn-fallback-logo { font-family: var(--font-display); font-weight: 600; color: inherit; text-decoration: none; font-size: 1.125rem; }
.sn-fallback-header ul { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.sn-fallback-header a { color: var(--muted-foreground); text-decoration: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------ Keyframes ------------------------------- */
@keyframes sn-word { from { transform: translateY(110%); } to { transform: none; } }
@keyframes sn-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sn-scale { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes sn-spin { to { transform: rotate(360deg); } }
@keyframes sn-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes sn-marquee { to { transform: translateX(-50%); } }
@keyframes sn-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes sn-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@keyframes sn-bob2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes sn-blink { 0%, 90%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes sn-wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(25deg); } 50% { transform: rotate(-10deg); } 75% { transform: rotate(25deg); } }
@keyframes sn-pop { from { opacity: 0; transform: translateY(24px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes sn-drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes sn-dots { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ------------------------------ Responsive ------------------------------ */
@media (min-width: 640px) {
	.sn-nav__cta { display: inline-flex; }
	.sn-hero__title { font-size: 3.75rem; }
	.sn-hero__visual { height: 520px; }
	.sn-hero__foot { flex-direction: row; justify-content: space-between; }
	.sn-skillgrid { grid-template-columns: repeat(2, 1fr); }
	.sn-chans { grid-template-columns: repeat(2, 1fr); }
	.sn-form__row { grid-template-columns: repeat(2, 1fr); }
	.sn-assist__tip { display: block; }
}
@media (min-width: 768px) {
	.sn-about, .sn-services, .sn-projects, .sn-process, .sn-skills, .sn-contact { padding: 10rem 0; }
	.sn-head { margin-bottom: 5rem; }
	.sn-h2 { font-size: 3rem; }
	.sn-card { padding: 2.5rem; }
	.sn-cta__panel { padding: 7rem 2rem; }
	.sn-cta__title { font-size: 3.75rem; }
	.sn-marquee__track { font-size: 2.25rem; }
	.sn-form { padding: 2.5rem; }
	.sn-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
	.sn-footer__bar { flex-direction: row; }
	.sn-footer__tag { text-align: left; }
}
@media (min-width: 1024px) {
	.sn-nav__links { display: flex; }
	.sn-nav__toggle, .sn-nav__mobile { display: none !important; }
	.sn-hero__grid { grid-template-columns: 1.1fr 1fr; }
	.sn-hero__visual { height: 640px; }
	.sn-h2 { font-size: 3.75rem; }
	.sn-about__grid { grid-template-columns: 1fr 1fr; }
	.sn-cards3 { grid-template-columns: repeat(3, 1fr); }
	.sn-projgrid { grid-template-columns: repeat(12, 1fr); }
	.sn-proj--wide { grid-column: span 7; }
	.sn-proj--tall { grid-column: span 5; }
	.sn-stagger .sn-proj:nth-child(even) { margin-top: 5rem; }
	.sn-steps__line, .sn-steps__fill { left: 0; top: 1.75rem; height: 1px; width: 100%; }
	.sn-steps__fill { transform-origin: left; transform: scaleX(var(--p)); }
	.sn-steps__list { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2rem; }
	.sn-step { display: block; }
	.sn-step__text { margin-top: 2rem; }
	.sn-skillgrid { grid-template-columns: repeat(3, 1fr); }
	.sn-contact__grid { grid-template-columns: 1fr 1.2fr; }
}
@media (min-width: 1280px) {
	.sn-hero__title { font-size: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
