@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(/assets/fonts/fa-solid-900.v4.woff2) format("woff2");unicode-range:U+E163,U+E2CA,U+F004,U+F007,U+F00C,U+F058,U+F05B,U+F062,U+F067,U+F075,U+F07A,U+F085,U+F08E,U+F0A1,U+F0AC,U+F0B1,U+F0E0,U+F0E7,U+F121,U+F135,U+F140,U+F185,U+F186,U+F1B2,U+F1D8,U+F201,U+F233,U+F234,U+F2E7,U+F3C5,U+F3CD,U+F3CF,U+F3ED,U+F4AD,U+F509,U+F53F,U+F544,U+F54E,U+F553,U+F5AE,U+F5CB,U+F5D1,U+F5FC,U+F625,U+F7D9}
@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:400;font-display:block;src:url(/assets/fonts/fa-regular-400.v4.woff2) format("woff2");unicode-range:U+F058,U+F0E0,U+F1D8}
@font-face{font-family:"Font Awesome 6 Brands";font-style:normal;font-weight:400;font-display:block;src:url(/assets/fonts/fa-brands-400.v4.woff2) format("woff2");unicode-range:U+F16D,U+F232,U+F39E}

/* ═══ index ═══ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/inter.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



/* patch56: true weights at last — this ONE file is the full Space Grotesk
   variable font (wght 300-700, default instance 300). The old single-value
   500/700 descriptors made browsers show the Light default instead of the
   bold the CSS asked for. A range declaration = real 600/700 headlines. */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/sg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═══ index ═══ */

/* Font Awesome 6 subset — 38 used icons (patch70) */
:root{--fa-style-family-brands:"Font Awesome 6 Brands";--fa-font-brands:normal 400 1em/1 "Font Awesome 6 Brands"}
.fa{font-family:var(--fa-style-family,"Font Awesome 6 Free");font-weight:var(--fa-style,900)}
.fa,.fa-brands,.fa-regular,.fa-solid{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:var(--fa-display,inline-block);font-style:normal;font-variant:normal;line-height:1;text-rendering:auto}
.fa-regular,.fa-solid{font-family:"Font Awesome 6 Free"}
.fa-brands{font-family:"Font Awesome 6 Brands"}
.fa-regular{font-weight:400}



.fa-apple-whole:before{content:"\f5d1"}
.fa-arrow-up:before{content:"\f062"}
.fa-arrow-up-right-from-square:before{content:"\f08e"}
.fa-bolt:before{content:"\f0e7"}
.fa-briefcase:before{content:"\f0b1"}
.fa-bullhorn:before{content:"\f0a1"}
.fa-bullseye:before{content:"\f140"}
.fa-cart-shopping:before{content:"\f07a"}
.fa-check:before{content:"\f00c"}
.fa-circle-check:before{content:"\f058"}
.fa-code:before{content:"\f121"}
.fa-comment-dots:before{content:"\f4ad"}
.fa-cube:before{content:"\f1b2"}
.fa-envelope:before{content:"\f0e0"}
.fa-gauge-high:before{content:"\f625"}
.fa-globe:before{content:"\f0ac"}
.fa-laptop-code:before{content:"\f5fc"}
.fa-location-dot:before{content:"\f3c5"}
.fa-mobile-screen:before{content:"\f3cf"}
.fa-mobile-screen-button:before{content:"\f3cd"}
.fa-moon:before{content:"\f186"}
.fa-palette:before{content:"\f53f"}
.fa-pen-ruler:before{content:"\f5ae"}
.fa-plus:before{content:"\2b"}
.fa-rocket:before{content:"\f135"}
.fa-screwdriver-wrench:before{content:"\f7d9"}
.fa-server:before{content:"\f233"}
.fa-shield-halved:before{content:"\f3ed"}
.fa-shirt:before{content:"\f553"}
.fa-store:before{content:"\f54e"}
.fa-sun:before{content:"\f185"}
.fa-user:before{content:"\f007"}
.fa-utensils:before{content:"\f2e7"}
.fa-wand-magic-sparkles:before{content:"\e2ca"}
.fa-paper-plane:before{content:"\f1d8"}
.fa-facebook-f:before{content:"\f39e"}
.fa-instagram:before{content:"\f16d"}
.fa-whatsapp:before{content:"\f232"}

/* ═══ index ═══ */

/* ════════════════════════════════════════════════════════════
   Code With Toushif — Interactive 3D Portfolio
   style.css · Dark/Light themes · Glass UI · Fully responsive
   ════════════════════════════════════════════════════════════ */

/* ── Theme variables ─────────────────────────────────────── */
:root {
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --primary: #7c5cff;
  --primary-2: #9d8bff;
  --secondary: #00d4ff;
  --accent: #ff6584;
  --success: #2fd68a;

  --gradient: linear-gradient(135deg, #7c5cff 0%, #00d4ff 100%);
  /* CTA gradient: white text/icon sits on it, so both stops must clear 4.5:1. */
  --gradient-cta: linear-gradient(135deg, #6849ee 0%, #0e7490 100%);
  /* Gradient used as clipped text — tuned per theme for AA on the page background. */
  --gradient-text: linear-gradient(135deg, #9d8bff 0%, #22d3ee 100%);
  --primary-strong: #6849ee;
  --primary-text: #9d8bff;
  --success-text: #2fd68a;

  --bg: #070812;
  --bg-alt: #0b0d20;
  --card: rgba(255, 255, 255, 0.045);
  --card-border: rgba(255, 255, 255, 0.09);
  --border-line: rgba(255, 255, 255, 0.07);
  --input-bg: #05060d;
  --card-solid: #11142e;
  --nav-bg: rgba(7, 8, 18, 0.75);

  --text: #eef0ff;
  --muted: #a0a6c3;
  /* Dim text that still clears AA: an element opacity is applied on top of
     these, so the token itself must start darker than --muted. */
  --muted-dim: #8b91a8;

  --glow-1: rgba(124, 92, 255, 0.22);
  --glow-2: rgba(0, 212, 255, 0.14);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);

  --radius: 18px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  color-scheme: dark;
}

html[data-theme='light'] {
  color-scheme: light;
  --bg: #f3f5fb;
  --bg-alt: #e9edf8;
  --card: rgba(255, 255, 255, 0.75);
  --card-border: rgba(23, 26, 58, 0.09);
  --border-line: rgba(23, 26, 58, 0.08);
  --input-bg: #ffffff;
  --card-solid: #ffffff;
  --nav-bg: rgba(255, 255, 255, 0.78);

  --text: #171a2e;
  --muted: #565d7e;
  --muted-dim: #4b5270;

  /* On paper, the brand violet/cyan are too light for text — deepen them. */
  --primary-strong: #5b3fd6;
  --primary-text: #5b3fd6;
  --success-text: #0f7a4d;
  --gradient-cta: linear-gradient(135deg, #5b3fd6 0%, #0e7490 100%);
  --gradient-text: linear-gradient(135deg, #5b3fd6 0%, #0e7490 100%);

  --glow-1: rgba(124, 92, 255, 0.18);
  --glow-2: rgba(0, 212, 255, 0.14);
  --shadow: 0 24px 60px rgba(35, 45, 100, 0.14);
}

/* ── Reset & base ────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  transition: background 0.4s ease, color 0.4s ease;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
ul { list-style: none; }
button, input, textarea { font-family: inherit; }
i { line-height: 1; }

::selection { background: rgba(124, 92, 255, 0.45); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 8px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 10001;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--primary-strong);
  color: #fff;
  font-weight: 600;
  transition: top 0.3s ease;
}
.skip-link:focus { top: 12px; }

/* ── Layout utilities ────────────────────────────────────── */
.container { width: min(1180px, 92%); margin-inline: auto; }

.section { padding: 92px 0; position: relative; }
.section-alt { background: transparent; transition: background 0.4s ease; }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 50px;
}
.section-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary-text);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
}
.section-line {
  width: 74px;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient);
  margin-top: 18px;
}

.accent-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  will-change: transform;
}
.btn i { font-size: 0.9em; }

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--gradient-cta);
  background-size: 160% auto;
  color: #fff;
  box-shadow: 0 14px 34px rgba(124, 92, 255, 0.35);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.22) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(130%); }
.btn-primary:hover {
  transform: translateY(-3px);
  background-position: right center;
  box-shadow: 0 18px 44px rgba(124, 92, 255, 0.5);
}

.btn-outline {
  border-color: var(--card-border);
  background: var(--card);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

/* Liquid sheen — cursor-tracked ripple that swells on hover */
.btn,
.social-link,
.filter-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before,
.social-link::before,
.filter-btn::before {
  content: '';
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.12) 42%,
    transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.55s ease, height 0.55s ease;
  z-index: -1;
  pointer-events: none;
}
.btn:hover::before,
.social-link:hover::before,
.filter-btn:hover::before {
  width: 260%;
  height: 260%;
}

/* ── Liquid background & blobs ───────────────────────────── */
#liquid-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -4;
  pointer-events: none;
}

/* ── Aurora background (patch10) — CSS-only, theme-aware, GPU-cheap ──
   Replaces the WebGL liquid shader + orbs + hero blobs. Soft radial-gradient
   blobs drift via transform-only keyframes (no blur filters); dot-grid + grain
   add texture. Light mode: blobs crossfade to pastel via opacity. */
#bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  overflow: hidden;
  transform: scale(1.06); /* headroom for the JS mouse-tilt */
  will-change: transform;
}
.aur {
  position: absolute;
  border-radius: 50%;
  opacity: 1;
  will-change: transform;
  transition: opacity 0.9s ease;
}
.aur-1 {
  width: min(92vw, 820px); aspect-ratio: 1 / 1; top: -20%; left: -14%;
  background: radial-gradient(circle, rgba(139, 107, 255, 0.40) 0%, rgba(88, 101, 242, 0.18) 42%, transparent 70%);
  animation: aur-a 36s ease-in-out infinite;
}
.aur-2 {
  width: min(84vw, 720px); aspect-ratio: 1 / 1; bottom: -18%; right: -12%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.30) 0%, rgba(64, 120, 255, 0.15) 42%, transparent 72%);
  animation: aur-b 44s ease-in-out infinite;
}
.aur-3 {
  width: min(60vw, 520px); aspect-ratio: 1 / 1; top: 32%; right: 6%;
  background: radial-gradient(circle, rgba(255, 101, 132, 0.22) 0%, transparent 66%);
  animation: aur-c 40s ease-in-out infinite;
}
.aur-4 {
  width: min(72vw, 640px); aspect-ratio: 1 / 1; bottom: 4%; left: 14%;
  background: radial-gradient(circle, rgba(87, 58, 200, 0.30) 0%, transparent 66%);
  animation: aur-d 52s ease-in-out infinite;
}
.aur-5 {
  width: min(70vw, 600px); aspect-ratio: 1 / 1; top: -12%; left: 32%;
  background: radial-gradient(circle, rgba(64, 110, 255, 0.24) 0%, transparent 66%);
  animation: aur-e 46s ease-in-out infinite;
}
.aur-6 {
  width: min(56vw, 480px); aspect-ratio: 1 / 1; top: 46%; left: -10%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.19) 0%, transparent 64%);
  animation: aur-f 58s ease-in-out infinite;
}
html[data-theme='light'] .aur { opacity: 0.68; }
.aur-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(238, 240, 255, 0.05) 1px, transparent 1.4px);
  background-size: 26px 26px;
}
html[data-theme='light'] .aur-dots {
  background-image: radial-gradient(rgba(23, 26, 46, 0.055) 1px, transparent 1.4px);
}
.aur-grain {
  position: absolute; inset: 0; opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
/* premium edge vignette — crossfades with the theme (patch14) */
.aur-vignette {
  position: absolute; inset: 0; pointer-events: none;
  transition: opacity 0.9s ease;
}
.vg-dark {
  background: radial-gradient(ellipse at 50% 38%, transparent 50%, rgba(3, 4, 14, 0.62) 100%);
  opacity: 1;
}
.vg-light {
  background: radial-gradient(ellipse at 50% 38%, transparent 52%, rgba(203, 210, 232, 0.55) 100%);
  opacity: 0;
}
html[data-theme='light'] .vg-dark { opacity: 0; }
html[data-theme='light'] .vg-light { opacity: 1; }
/* mobile composition — rebalanced blobs, finer grid (patch14) */
@media (max-width: 640px) {
  .aur-1 { top: -26%; left: -20%; }
  .aur-2 { bottom: -24%; right: -16%; }
  .aur-3 { top: 22%; right: -10%; }
  .aur-4 { bottom: 8%; left: 4%; }
  .aur-5 { top: -18%; left: 6%; }
  .aur-6 { top: 42%; left: -18%; }
  .aur-dots { background-size: 22px 22px; }
  .vg-dark { background: radial-gradient(ellipse at 50% 34%, transparent 44%, rgba(3, 4, 14, 0.5) 100%); }
}

/* ── aurora curtains + meteors (patch16) — "Northern Sky" ──
   Diagonal light-draperies: repeating-linear-gradient stripes on
   oversized elements, animated with transform only (seamless px loop).
   Meteors streak across every few seconds. Masks rasterize once.
   Theme-aware opacity; frozen by the global reduced-motion rule. */
.aur-curtain {
  position: absolute;
  left: -100%;
  width: 300%;
  height: 58vh;
  pointer-events: none;
  will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 28%, #000 62%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 28%, #000 62%, transparent);
}
.curtain-a {
  top: 0;
  background: repeating-linear-gradient(90deg,
    transparent 0px, transparent 64px,
    rgba(139, 107, 255, 0.14) 108px,
    rgba(88, 101, 242, 0.18) 168px,
    rgba(0, 212, 255, 0.09) 226px,
    transparent 300px);
  animation: curtain-a 120s linear infinite;
}
.curtain-b {
  top: 26%;
  height: 48vh;
  background: repeating-linear-gradient(90deg,
    transparent 0px, transparent 90px,
    rgba(0, 212, 255, 0.10) 150px,
    rgba(45, 212, 191, 0.085) 210px,
    transparent 280px);
  animation: curtain-b 170s linear infinite;
}
@keyframes curtain-a {
  from { transform: translate3d(0, 0, 0) rotate(-7deg); }
  to   { transform: translate3d(-900px, 0, 0) rotate(-7deg); }
}
@keyframes curtain-b {
  from { transform: translate3d(0, 0, 0) rotate(5deg); }
  to   { transform: translate3d(840px, 0, 0) rotate(5deg); }
}
html[data-theme='light'] .curtain-a { opacity: 0.7; }
html[data-theme='light'] .curtain-b { opacity: 0.75; }
.aur-meteor {
  position: absolute;
  width: 140px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(196, 186, 255, 0.95), rgba(139, 107, 255, 0.35) 45%, transparent);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.meteor-a { top: 8%; left: 68%; animation: meteor-a 11s ease-in 3s infinite; }
.meteor-b {
  top: 16%; left: 86%; width: 105px;
  animation: meteor-b 13s ease-in 8.5s infinite;
}
@keyframes meteor-a {
  0%   { opacity: 0; transform: rotate(33deg) translate3d(0, 0, 0); }
  2.5% { opacity: 1; }
  8%   { opacity: 0; transform: rotate(33deg) translate3d(-430px, 268px, 0); }
  100% { opacity: 0; transform: rotate(33deg) translate3d(-430px, 268px, 0); }
}
@keyframes meteor-b {
  0%   { opacity: 0; transform: rotate(24deg) translate3d(0, 0, 0); }
  2%   { opacity: 0.9; }
  7%   { opacity: 0; transform: rotate(24deg) translate3d(-360px, 194px, 0); }
  100% { opacity: 0; transform: rotate(24deg) translate3d(-360px, 194px, 0); }
}
.meteor-c {
  top: 5%; left: 80%; width: 120px;
  animation: meteor-c 16s ease-in 5.5s infinite;
}
@keyframes meteor-c {
  0%   { opacity: 0; transform: rotate(38deg) translate3d(0, 0, 0); }
  2%   { opacity: 0.85; }
  7%   { opacity: 0; transform: rotate(38deg) translate3d(-400px, 250px, 0); }
  100% { opacity: 0; transform: rotate(38deg) translate3d(-400px, 250px, 0); }
}
html[data-theme='light'] .aur-meteor {
  background: linear-gradient(90deg, rgba(96, 78, 200, 0.65), transparent);
}
@keyframes aur-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(16%, 20%) scale(1.28); } }
@keyframes aur-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-18%, -14%) scale(1.22); } }
@keyframes aur-c { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-20%, 16%) scale(1.30); } }
@keyframes aur-d { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(18%, -18%) scale(1.20); } }
@keyframes aur-e { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-16%, 16%) scale(1.24); } }
@keyframes aur-f { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(20%, -14%) scale(1.18); } }

/* ── speed + best-mobile polish (patch19) ── */
#hero-canvas { touch-action: pan-y; } /* vertical swipe scrolls, horizontal drag spins */
html, body { overflow-x: clip; }      /* no accidental sideways scroll */
a, button, .btn { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.form-group input,
.form-group textarea { font-size: 1rem; } /* ≥16px — iOS won't zoom on focus */
@media (max-width: 639px) {
  .bg-orbs,
  .liquid-blobs { display: none; } /* phone GPU: the liquid shader carries the look */
}

body.menu-open { overflow: hidden; }

.liquid-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.liquid-blob {
  position: absolute;
  width: 46vmin;
  height: 46vmin;
  filter: blur(45px);
  opacity: 0.3;
  border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%; /* static organic shape — no per-frame repaint */
  background: var(--gradient);
  animation: morph 26s ease-in-out infinite alternate;
  will-change: transform;
}
.lb-1 { top: -12%; right: -6%; animation-duration: 32s; }
.lb-2 { bottom: -18%; left: -8%; opacity: 0.22; animation-duration: 38s; animation-delay: -9s; }
.lb-3 { top: 32%; left: 38%; width: 30vmin; height: 30vmin; opacity: 0.16; animation-duration: 28s; animation-delay: -13s; }
html[data-theme='light'] .liquid-blob { opacity: 0.25; }
html[data-theme='light'] .lb-2 { opacity: 0.18; }
html[data-theme='light'] .lb-3 { opacity: 0.12; }

@keyframes morph {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { transform: translate(4%, -3%) rotate(12deg) scale(1.06); }
  66%  { transform: translate(-3%, 4%) rotate(-8deg) scale(0.95); }
  100% { transform: translate(2%, 2%) rotate(6deg) scale(1.03); }
}

/* Keep hero content above the blobs */
.hero-inner { position: relative; z-index: 1; }
.hero .scroll-indicator { z-index: 1; }
.hero-visual .hero-badge { z-index: 2; }

/* Grid blowout guards — content can never push wider than its column,
   so nothing gets clipped at the viewport edges on tablets/laptops */
.hero-inner > *,
.about-grid > *,
.contact-grid > *,
.skills-grid > *,
.projects-grid > * { min-width: 0; }

/* patch41: mobile perf — backdrop-filter re-samples everything behind it
   every single frame on phone GPUs. Replace the glass with the same
   translucent fills minus the blur: looks ~identical, scrolls far smoother. */
@media (hover: none), (pointer: coarse) {
  .header.scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav-menu {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .thumb-chip {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(0, 0, 0, 0.5);
  }
}

/* ── Scroll progress ─────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gradient);
  z-index: 950;
  transition: width 0.08s linear;
}

/* ── Background FX ───────────────────────────────────────── */
#bg-particles {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.55;
  /* perf: drift animation removed */
}
.orb-1 { width: 480px; height: 480px; background: var(--glow-1); top: -140px; left: -120px; }
.orb-2 { width: 420px; height: 420px; background: var(--glow-2); bottom: -120px; right: -100px; animation-delay: -8s; }
.orb-3 { width: 300px; height: 300px; background: var(--glow-1); top: 40%; left: 55%; opacity: 0.35; animation-delay: -14s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.15); }
}

/* ── Header / Navigation ─────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: var(--transition);
}
.header.scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--text);
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(124, 92, 255, 0.35);
  transition: transform 0.25s ease, filter 0.25s ease;
}
.logo:hover .logo-mark { transform: translateY(-1px) scale(1.04); }
html[data-theme='light'] .logo-mark { content: url("/assets/uploads/logo-r-light_128.png"); }
.logo-text { white-space: nowrap; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--card);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: var(--transition);
}
.nav-link:hover { color: var(--text); }
.nav-link.active {
  color: #fff;
  background: var(--gradient-cta);
  box-shadow: 0 8px 20px rgba(124, 92, 255, 0.3);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle,
.hamburger {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--text);
  display: grid;
  place-items: center;
  font-size: 1.02rem;
  cursor: pointer;
  transition: var(--transition);
}
.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-greet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.pulse-dot {
  position: relative;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success, #22c55e);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(34, 197, 94, 0.55);
  animation: pulse-ring 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  80%, 100% { transform: scale(1.8); opacity: 0; }
}
.wave {
  display: inline-block;
  font-size: 1.4rem;
  transform-origin: 70% 70%;
  animation: wave 2.4s ease-in-out infinite;
}
@keyframes wave {
  0%, 60%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(14deg); }
  20%, 40% { transform: rotate(-8deg); }
}

.hero-name {
  font-family: var(--font-head);
  font-size: clamp(3.6rem, 8.5vw, 6.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
  text-shadow: 0 10px 34px rgba(124, 92, 255, 0.4);
}
.hero-name .ltr { display: inline-block; }

/* patch56: crisp headline rendering — proper AA + legibility hints,
   so every weight of the brand text rasterizes clean on all screens */
.hero-greet, .hero-name, .hero-roles, .hero-desc, .section-title, h2, h3, .logo-text {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none; /* patch57: never faux-bold — real weights only */
}

/* ── patch34: living brand name — wave, hover pop, gradient underline ──
   Perf: the h1's old drop-shadow FILTERs are now text-shadows, so the
   waving letters never force a repaint of the whole name each frame. */
.hero-name { position: relative; width: fit-content; }
.hero-name .ltr {
  /* continuous gentle wave — the individual `translate` property composes
     with GSAP's transform (intro pop) instead of fighting it */
  animation: ltr-wave 3.4s ease-in-out infinite;
}
.hero-name .ltr.name-accent {
  /* "saut" keeps its gradient shimmer AND rides the wave */
  animation: ltr-wave 3.4s ease-in-out infinite,
             name-shimmer 5s linear infinite;
}
.hero-name .ltr:nth-child(2) { animation-delay: 0.09s, 0s; }
.hero-name .ltr:nth-child(3) { animation-delay: 0.18s, 0s; }
.hero-name .ltr:nth-child(4) { animation-delay: 0.27s, 0s; }
.hero-name .ltr:nth-child(5) { animation-delay: 0.36s, 0s; }
.hero-name .ltr:nth-child(6) { animation-delay: 0.45s, 0s; }
.hero-name .ltr:nth-child(7) { animation-delay: 0.54s, 0s; }
@keyframes ltr-wave {
  0%, 100% { translate: 0 0em; }
  50% { translate: 0 -0.05em; }
}
@media (hover: hover) and (pointer: fine) {
  .hero-name .ltr {
    transition: scale 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                rotate 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter 0.3s ease;
  }
  .hero-name .ltr:hover {
    scale: 1.1;
    rotate: -5deg;
    filter: drop-shadow(0 6px 22px rgba(124, 92, 255, 0.55));
  }
}
.name-underline {
  position: absolute;
  left: 50%;
  bottom: -0.09em;
  width: 3.8em;
  height: 0.055em;
  min-height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 0 16px rgba(124, 92, 255, 0.4), 0 0 6px rgba(0, 212, 255, 0.3);
  transform: translateX(-50%) scaleX(0);
  transform-origin: 0 50%;
  animation: name-underline-draw 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both,
             name-underline-breathe 3.8s ease-in-out 1.5s infinite;
  animation-play-state: paused, running;
}
/* draw starts only after the preloader curtain has lifted */
body:not(.is-loading) .name-underline { animation-play-state: running, running; }
@keyframes name-underline-draw {
  from { transform: translateX(-50%) scaleX(0); }
  to { transform: translateX(-50%) scaleX(1); }
}
@keyframes name-underline-breathe {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .name-accent { animation: none; }
  .pulse-dot::after { animation: none; }
  .hero-name .ltr,
  .hero-name .ltr.name-accent { animation: none; }
  .name-underline {
    animation: none;
    transform: translateX(-50%) scaleX(1);
  }
}

.hero-roles {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  font-weight: 600;
  /* patch43+44: reserve two lines (body line-height 1.6 → 3.2em) so the long
     typed role never grows the hero mid-type. patch44: the inner .roles-line
     is vertically centered, so one-line roles sit balanced in the box
     instead of leaving an odd gap underneath. */
  display: flex;
  align-items: center;
  min-height: 3.2em;
  margin-bottom: 18px;
}
.typed { color: var(--secondary); }
html[data-theme='light'] .typed { color: #0090c8; }
.typed-cursor {
  color: var(--primary);
  font-weight: 300;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-desc {
  max-width: 540px;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 34px;
}
.hero-desc strong { color: var(--text); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-socials { display: flex; gap: 14px; z-index: 10000;}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--muted);
  font-size: 1.1rem;
  transition: var(--transition);
}
.social-link:hover {
  color: #fff;
  background: var(--gradient-cta);
  border-color: transparent;
  transform: translateY(-4px);
}

.hero-visual {
  position: relative;
  height: 600px;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  touch-action: pan-y;
}
#hero-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border-radius: 16px;
  background: rgba(13, 16, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(3, 4, 14, 0.45);
  animation: float 6s ease-in-out infinite;
}
html[data-theme='light'] .hero-badge {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(23, 26, 58, 0.1);
  box-shadow: 0 16px 36px rgba(35, 45, 100, 0.15);
}
.hero-badge i {
  flex: 0 0 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  border-radius: 11px;
  background: rgba(124, 92, 255, 0.16);
  border: 1px solid rgba(124, 92, 255, 0.25);
  color: var(--primary);
}
.hero-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
}
.hero-badge span { font-size: 0.75rem; color: var(--muted); }
.badge-1 { top: 9%; left: -2%; }
.badge-2 { bottom: 12%; right: -2%; animation-delay: -3s; }
.badge-3 { top: 9%; right: -2%; animation-delay: -1.5s; }
.badge-4 { bottom: 12%; left: -2%; animation-delay: -4.5s; }
/* patch45: phones get a clean knot-only hero — service badges are a
   desktop/tablet thing (matches isMobile() < 768) */
@media (max-width: 767px) {
  .hero-badge { display: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--muted);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.wheel {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--primary);
  animation: wheel 1.8s ease infinite;
}
@keyframes wheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ── About ───────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.about-text h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1.35;
  margin-bottom: 18px;
}
.about-text p {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 16px;
}
.about-text strong { color: var(--text); }

.roles-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.roles-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--card-solid);
  border: 1px solid var(--card-border);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.roles-list li:hover { transform: translateX(6px); border-color: var(--primary); }
.roles-list i { color: var(--primary); width: 20px; text-align: center; }

.about-side { display: flex; flex-direction: column; gap: 22px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.stat-card {
  padding: 26px 20px;
  border-radius: var(--radius);
  background: var(--card-solid);
  border: 1px solid var(--card-border);
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-6px); border-color: var(--primary); }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 6px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 0.82rem; color: var(--muted); }

.info-card,
.contact-info {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card-solid);
  border: 1px solid var(--card-border);
}
.info-card { display: flex; flex-direction: column; gap: 18px; }

.info-row { display: flex; align-items: center; gap: 14px; }
.info-row i {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(124, 92, 255, 0.12);
  color: var(--primary);
  font-size: 1.05rem;
}
.info-row span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-row strong {
  font-size: 0.93rem;
  overflow-wrap: anywhere;
}
.status-open { color: var(--success-text); }

/* ── Skills ──────────────────────────────────────────────── */
.skills-grid {
  display: grid;
  /* Desktop (≥1200px): auto-fit tracks — 5-across on wide desktops, 4+1 below.
     Tablet (641–1199px) = exactly 3 per row, mobile (≤640px) = 1 per row
     — both overridden in the media queries below. */
  grid-template-columns: repeat(auto-fill, minmax(min(212px, 100%), 1fr));
  gap: 22px;
  margin-bottom: 64px;
}
.skill-cat {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--card-solid);
  border: 1px solid var(--card-border);
  transition: var(--transition);
}
.skill-cat:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.skill-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: #fff;
  background: var(--gradient-cta);
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(124, 92, 255, 0.3);
}
.skill-cat h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  margin-bottom: 14px;
}
.skill-cat ul { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-cat li {
  font-size: 0.8rem;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.1);
  color: var(--muted);
  border: 1px solid transparent;
  transition: var(--transition);
}
.skill-cat li:hover {
  color: var(--text);
  border-color: var(--primary);
  background: rgba(124, 92, 255, 0.18);
}

.skill-bars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 48px;
  max-width: 980px;
  margin-inline: auto;
}
.skill-bar .bar-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}
.bar-head .percent { color: var(--muted); font-weight: 500; }
.bar-track {
  height: 9px;
  border-radius: 99px;
  background: rgba(124, 92, 255, 0.12);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: var(--gradient);
}

/* ── Projects ────────────────────────────────────────────── */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover {
  color: var(--text);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.filter-btn.active {
  background: var(--gradient-cta);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(124, 92, 255, 0.3);
}
.filter-btn .f-count {
  margin-left: 7px;
  font-size: 0.72rem;
  opacity: 0.65;
}
.filter-btn.active .f-count { opacity: 0.9; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 26px;
}
.project-card.is-hidden { display: none; }

.thumb-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.project-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-solid); /* solid (patch25) — clouds stay behind, text pops */
  border: 1px solid var(--card-border);
  transition: var(--transition);
}
.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.project-thumb {
  height: 190px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.project-thumb i {
  font-size: 3.4rem;
  color: rgba(255, 255, 255, 0.92);
  z-index: 1;
  transition: var(--transition);
}
.project-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.25), transparent 60%);
}
/* ── in-card demo previews — mini browser mockups (patch32) ── */
.mk {
  position: absolute;
  inset: 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(3, 4, 14, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
  transition: transform 0.45s ease;
}
.project-card:hover .mk { transform: translateY(-4px) scale(1.025); }
.mk-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  background: #f1f3f9;
  border-bottom: 1px solid #e3e7f2;
}
.mk-bar i { width: 5px; height: 5px; border-radius: 50%; background: #d3d8e8; }
.mk-url { flex: 1; height: 9px; border-radius: 99px; background: #fff; border: 1px solid #e3e7f2; margin-left: 4px; }
.mk-body { flex: 1; min-height: 0; padding: 7px 9px; display: flex; flex-direction: column; gap: 5px; }
.mk-body.mk-center { align-items: center; text-align: center; }
.mk-nav { display: flex; align-items: center; gap: 5px; }
.mk-logo {
  width: 14px; height: 14px; border-radius: 5px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid; place-items: center; color: #fff;
}
.mk-logo i { font-size: 7px; color: #fff; }
.mk-logo.mk-big { width: 22px; height: 22px; border-radius: 8px; }
.mk-logo.mk-big i { font-size: 11px; }
.mk-l { width: 14px; height: 4px; border-radius: 2px; background: #dfe4f2; }
.mk-title { height: 8px; width: 70%; border-radius: 3px; background: #c8cfe6; }
.mk-text { height: 4px; border-radius: 2px; background: #e3e7f2; }
.mk-btn { height: 11px; width: 34%; border-radius: 4px; background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.mk-btn.big { width: 55%; height: 13px; }
.mk-btn.w50 { width: 50%; }
.mk-cards { display: flex; gap: 4px; margin-top: auto; }
.mk-cards span { flex: 1; height: 16px; border-radius: 4px; background: #eef1f9; border: 1px solid #e3e7f2; }
.mk-img { flex: 1; min-height: 10px; border-radius: 5px; background: linear-gradient(135deg, #eef1f9, #dfe6f7); }
.mk-row { display: flex; align-items: center; gap: 4px; }
.mk-dots { flex: 1; height: 3px; border-radius: 2px; background: repeating-linear-gradient(90deg, #dfe4f2 0 3px, transparent 3px 6px); }
.mk-price { width: 14px; height: 6px; border-radius: 2px; background: #c8cfe6; }
.mk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; flex: 1; }
.mk-grid span { border-radius: 4px; background: #eef1f9; border: 1px solid #e3e7f2; position: relative; }
.mk-grid span::after { content: ''; position: absolute; left: 3px; right: 3px; bottom: 3px; height: 3px; border-radius: 2px; background: #d5dbeb; }
.mk-chips { display: flex; gap: 4px; }
.mk-chips span { width: 20px; height: 8px; border-radius: 99px; background: #e3e7f2; border: 1px solid #d5dbeb; }
.mk-phone { width: 62%; margin: 2px auto 0; border: 1.5px solid #dfe4f2; border-radius: 8px; padding: 5px; display: flex; flex-direction: column; gap: 4px; flex: 1; min-height: 0; }
.mk-head { display: flex; align-items: center; gap: 4px; }
.mk-ava { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.mk-name { width: 34%; height: 4px; border-radius: 2px; background: #dfe4f2; }
.mk-actions { display: flex; gap: 6px; }
.mk-actions i { width: 9px; height: 3px; border-radius: 2px; background: #dfe4f2; }
.mk-target { width: 42px; height: 42px; border-radius: 50%; border: 1.5px dashed #c9d1e8; display: grid; place-items: center; margin: 2px 0; }
.mk-chart { display: flex; align-items: flex-end; gap: 3px; flex: 1; min-height: 14px; }
.mk-chart span { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, var(--secondary), var(--primary)); opacity: 0.85; }
.mk-swatches { display: flex; gap: 4px; }
.mk-swatches span { width: 11px; height: 11px; border-radius: 50%; }
.mk-swatches span:nth-child(1) { background: #7c5cff; }
.mk-swatches span:nth-child(2) { background: #00d4ff; }
.mk-swatches span:nth-child(3) { background: #ff6584; }
.mk-swatches span:nth-child(4) { background: #ffd43b; }
.mk-empty {
  flex: 1; border: 1.5px dashed #c9d1e8; border-radius: 6px;
  display: grid; place-items: center; color: #b9c1d9; font-size: 14px;
}
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w80 { width: 80%; } .w90 { width: 90%; }
@media (max-width: 640px) {
  .mk { inset: 7px; border-radius: 8px; }
  .mk-url { display: none; }
  .mk-body { padding: 5px 6px; gap: 4px; }
  .mk-cards, .mk-xm { display: none; }
}

.g1 { background: linear-gradient(135deg, #7c5cff, #ff6584); }
.g2 { background: linear-gradient(135deg, #00d4ff, #7c5cff); }
.g3 { background: linear-gradient(135deg, #3776ab, #ffd43b); }
.g4 { background: linear-gradient(135deg, #0468d7, #13b9fd); }
.g5 { background: linear-gradient(135deg, #ff6584, #7c5cff); }

.project-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  flex: 1;
}
.project-body h3 { font-family: var(--font-head); font-size: 1.15rem; }
.project-body p {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.project-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.1);
  color: var(--primary);
}
.project-links {
  display: flex;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-line);
}
.project-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.project-links a:hover { color: var(--primary); transform: translateY(-2px); }

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.contact-info > p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 26px;
}
.info-rows { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 12px; }

.contact-form {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--card-solid);
  border: 1px solid var(--card-border);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.form-group label .form-opt { font-weight: 400; letter-spacing: 0; color: var(--muted); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: var(--input-bg);
  color: var(--text);
  font-size: 0.95rem;
  transition: var(--transition);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); opacity: 0.7; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.15);
}

/* ── solid field backgrounds (patch24) ── */
.form-group input,
.form-group textarea { border-color: rgba(255, 255, 255, 0.12); }
html[data-theme='light'] .form-group input,
html[data-theme='light'] .form-group textarea { border-color: rgba(23, 26, 58, 0.14); }
/* Chrome autofill must not repaint the fields */
.form-group input:-webkit-autofill,
.form-group textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #05060d inset;
  -webkit-text-fill-color: #eef1ff;
  transition: background-color 99999s ease-in-out 0s;
}
html[data-theme='light'] .form-group input:-webkit-autofill,
html[data-theme='light'] .form-group textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
  -webkit-text-fill-color: #14172e;
}

.form-status {
  min-height: 1.4em;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-status:empty { display: none; }
.form-status.success { color: var(--success-text); }
.form-status.error { color: var(--accent); }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  padding: 46px 0;
  border-top: 1px solid var(--border-line);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}
.footer .fa-heart {
  color: var(--accent);
  animation: heartbeat 1.6s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.25); }
}
.footer-note { font-size: 0.8rem; opacity: 0.75; }

/* ── Back to top ─────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: none;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  z-index: 800;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: var(--transition);
  box-shadow: 0 12px 30px rgba(124, 92, 255, 0.4);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { transform: translateY(-4px); }

/* ════════════════════════════════════════════════════════════
   Responsive — fluid from 320px phones to 4K desktops
   ════════════════════════════════════════════════════════════ */

/* ≥ 1600px — large desktops */
@media (min-width: 1600px) {
  .container { width: min(1280px, 86%); }
  .hero-visual { height: 660px; }
}

/* ≤ 1280px — small laptops */
@media (max-width: 1280px) {
  .hero-inner { gap: 32px; }
  .hero-visual { height: 560px; }
  .about-grid { gap: 44px; }
}

/* ≤ 1100px */
@media (max-width: 1100px) {
  .badge-1 { left: 2%; }
  .badge-2 { right: 2%; }
  .badge-3 { right: 2%; }
  .badge-4 { left: 2%; }
  .skill-bars { gap: 20px 36px; }
}

/* ≤ 1199px — tablets & iPad landscape: the hero stacks and centers.
   Guarantees the complete hero text stays inside the viewport at
   768 / 820 / 1024 / 1080 / 1180 / 1194px — zero horizontal overflow.
   (The two-column hero returns at desktop widths ≥ 1200px, unchanged.) */
@media (max-width: 1199px) {
  .section { padding: 86px 0; }
  .contact-grid { gap: 24px; }

  .hero { padding-top: 112px; padding-bottom: 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 4px; }
  .hero-name { font-size: clamp(2.7rem, 6.4vw, 4.6rem); margin-inline: auto; }
  .hero-roles { font-size: clamp(1.2rem, 2.4vw, 1.7rem); }
  .hero-content {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
    padding-inline: 12px;
    text-align: center;
  }
  .hero-greet { justify-content: center; }
  .hero-desc { margin-inline: auto; font-size: 1rem; }
  .hero-cta { justify-content: center; }
  .hero-socials { justify-content: center; }
  .hero-visual {
    height: min(52vw, 500px);           /* fallback without svh support */
    height: min(52vw, 500px, 66svh);    /* caps on short landscape tablets */
    width: 100%;
    max-width: 600px;
    margin: 18px auto 0;
  }
  .scroll-indicator { display: none; }

  /* Skills — exactly 3 equal cards per row; the remaining 2-card
     row is centered (flex-wrap + justify-content: center) */
  .skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .skills-grid > * {
    flex: 0 0 calc((100% - 44px) / 3); /* (100% − 2 × 22px gap) / 3 */
  }
}

/* ≤ 960px */
@media (max-width: 960px) {
  .section { padding: 84px 0; }
}

/* ≤ 900px — portrait tablets & below: single column */
@media (max-width: 900px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 88px;
    left: 4%;
    right: 4%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    border-radius: 20px;
    background: var(--nav-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: var(--transition);
  }
  .nav-menu.open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { text-align: center; padding: 13px 18px; }
  .nav-link.active { color: #fff; }

  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ≤ 768px — large phones */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 34px; }

  .hero-visual { height: min(58vw, 460px); }
  .hero-badge { padding: 12px 15px; }
  .hero-badge i { flex-basis: 34px; height: 34px; font-size: 1rem; border-radius: 10px; }
  .hero-badge strong { font-size: 0.85rem; }
  .hero-badge span { font-size: 0.72rem; }

  .skill-bars { gap: 20px; }
  .project-thumb { height: 170px; }
  .project-thumb i { font-size: 2.8rem; }
  .info-row strong { font-size: 0.88rem; }
}

/* ≤ 640px — phones: bigger, more atmospheric hero — enlarged 3D visual
   with a soft brand aura, promoted badges, larger name
   (desktop ≥1200px and tablet 641–1199px untouched) */
@media (max-width: 640px) {
  .container { width: 90%; }
  .liquid-blob { filter: blur(54px); }

  .hero {
    min-height: auto;          /* hug content — removes 100svh dead space */
    padding-top: 96px;         /* clears the 78px fixed navbar */
    padding-bottom: 58px;      /* patch33: roomier hero on phones */
  }
  .hero-greet { margin-bottom: 8px; }
  .hero-name { margin-bottom: 10px; font-size: clamp(3rem, 8.6vw, 3.8rem); }
  .hero-roles { margin-bottom: 12px; }
  .hero-desc { margin-bottom: 20px; line-height: 1.7; }
  .hero-cta { gap: 12px; margin-bottom: 26px; }
  .hero-socials { gap: 12px; }
  .hero-visual {
    height: min(82vw, 340px);
    margin-top: 10px;
    background: radial-gradient(58% 52% at 50% 46%,
      rgba(124, 92, 255, 0.17), rgba(0, 212, 255, 0.05) 46%, transparent 72%);
  }

  /* Skills — two cards per row on phones (patch31: shorter page) */
  .skills-grid > * { flex: 0 0 calc(50% - 11px); }
  .skills-grid { row-gap: 14px; }
  .skill-cat { padding: 18px 14px; }
  .roles-list { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .roles-list li { padding: 10px 12px; font-size: 0.78rem; border-radius: 10px; }
  .stats-grid { gap: 12px; }

  .project-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-inline: -5%;
    padding-inline: 5%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .project-filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex: 0 0 auto; }

  /* Featured work — two cards per row on phones (patch20) */
  .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .project-thumb { height: 116px; }
  .project-thumb i { font-size: 2rem; }
  .thumb-chip { top: 10px; left: 10px; font-size: 0.58rem; padding: 4px 9px; }
  .project-body { padding: 14px; gap: 8px; }
  .project-body h3 { font-size: 0.92rem; }
  .project-body p { font-size: 0.78rem; line-height: 1.55; }
  .project-tags { gap: 5px; }
  .project-tags span { font-size: 0.62rem; padding: 3px 8px; }
  .project-links { gap: 10px; padding-top: 10px; }
  .project-links a { font-size: 0.75rem; }

  .contact-form { padding: 26px 20px; }
}

/* ≤ 520px — phones */
@media (max-width: 520px) {
  .hero { padding-top: 92px; }
  .hero-name { font-size: clamp(3.3rem, 15.5vw, 4.2rem); } /* patch44: fuller brand presence on phones */
  .hero-roles { font-size: 1.28rem; }
  .hero-desc { font-size: 0.95rem; }
  .hero-visual { height: min(88vw, 340px); } /* patch45: knot is the hero on phones — give it room */
  .badge-1 { top: 0; }
  .badge-2 { bottom: 2%; }
  .badge-3 { top: 0; }
  .badge-4 { bottom: 2%; }

  .btn { width: 100%; justify-content: center; padding: 14px 22px; }
  .hero-cta { flex-direction: column; }

  .stats-grid { gap: 12px; }
  .stat-card { padding: 18px 12px; }
  .stat-num { font-size: 1.55rem; }

  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  .skill-cat { padding: 22px 18px; }
}

/* ≤ 420px — small phones */
@media (max-width: 420px) {
  .logo-text { display: none; }
  .nav-actions { gap: 8px; }
  .hero-visual { height: min(85vw, 320px); } /* patch45: knot is the hero on phones — give it room */
  .section-title { font-size: 1.6rem; }
  .about-text h3 { font-size: 1.25rem; }
  .contact-info h3 { font-size: 1.2rem; }
  .form-group input,
  .form-group textarea { font-size: 16px; } /* prevents iOS zoom-on-focus */
  .project-body { padding: 20px 18px; }
}

/* Short viewports — landscape tablets (Galaxy Tab S7 / iPad landscape)
   and short laptop windows: trim hero paddings and cap the 3D visual by
   viewport height so more of the hero fits above the fold. Placed before
   the ≤500px block below, which stays the tightest for rotated phones. */
@media (min-width: 641px) and (max-height: 800px) {
  .hero { padding-top: 100px; padding-bottom: 48px; }
  .hero-visual { height: min(560px, 68vh); height: min(560px, 68svh); }
}

/* Short landscape screens (e.g. phones rotated) */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding-top: 84px; padding-bottom: 40px; min-height: auto; }
  .hero-visual { height: 200px; }
  .hero-name { font-size: 2.4rem; }
  .scroll-indicator { display: none; }
}

/* ════════════════════════════════════════════════════════════
   Reduced motion
   ════════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════════
   Theme switch animation
   ════════════════════════════════════════════════════════════ */
/* View Transitions API — the new theme is revealed as a circle
   expanding from the toggle button (JS animates the clip-path on
   ::view-transition-new(root)). Default cross-fade is disabled so
   only the expanding circle shows the incoming theme. */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }

/* Fallback for browsers without View Transitions — JS adds this
   class only for the duration of the switch, so every color-capable
   property cross-fades smoothly. */
html.theme-anim,
html.theme-anim *,
html.theme-anim *::before,
html.theme-anim *::after {
  transition:
    background-color 0.55s ease,
    color 0.55s ease,
    border-color 0.55s ease,
    outline-color 0.55s ease,
    box-shadow 0.55s ease,
    fill 0.55s ease,
    stroke 0.55s ease,
    opacity 0.55s ease !important;
}

/* Toggle icon flourish — sun/moon spins in on every switch */
.theme-toggle i { will-change: transform; }
.theme-toggle i.spin {
  animation: theme-icon-spin 0.65s cubic-bezier(0.45, 0, 0.15, 1);
}
@keyframes theme-icon-spin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.3); }
  100% { transform: rotate(360deg) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .orb,
  .liquid-blob,
  #bg-particles { display: none; }
}

/* ═══ index ═══ */

.preloader,
      .cursor-dot,
      .cursor-ring {
        display: none !important;
      }

/* ═══ index ═══ */

/* ═══ Ressaut upgrade layer ═══ */
.bh-dot,.bh-ring{position:fixed;top:0;left:0;pointer-events:none;z-index:10002;border-radius:50%;transform:translate(-50%,-50%);will-change:transform}
.bh-dot{width:7px;height:7px;background:#fff;mix-blend-mode:difference;transition:opacity .3s}
.bh-ring{width:36px;height:36px;border:1.5px solid rgba(124,92,255,.65);display:flex;align-items:center;justify-content:center;overflow:hidden;
  transition:opacity .3s,border-color .3s,background-color .3s}
.bh-ring .bh-label{font-size:11.5px;font-weight:700;letter-spacing:.04em;color:#fff;opacity:0;transition:opacity .18s;white-space:nowrap}
body.bh-cur,body.bh-cur *{cursor:none!important}
body.bh-hover .bh-ring{border-color:var(--secondary);background-color:rgba(0,212,255,.10)}
body.bh-big .bh-ring{background:linear-gradient(135deg,var(--primary),var(--secondary));border-color:transparent}
body.bh-big .bh-ring .bh-label{opacity:1}
body.bh-big .bh-dot{opacity:0}
.bh-ripple{position:fixed;border:2px solid var(--primary);border-radius:50%;pointer-events:none;z-index:10001;transform:translate(-50%,-50%);animation:bhripple .55s ease-out forwards}
@keyframes bhripple{from{width:10px;height:10px;opacity:.65}to{width:66px;height:66px;opacity:0}}
.cursor-dot,.cursor-ring{display:none!important}
@media(hover:none),(pointer:coarse){.bh-dot,.bh-ring{display:none!important}body.bh-cur,body.bh-cur *{cursor:auto!important}}

/* progress bar */
.bh-progress{position:fixed;top:0;left:0;height:3px;width:0%;z-index:10001;
  background:linear-gradient(90deg,var(--primary),var(--secondary));box-shadow:0 0 12px rgba(124,92,255,.6)}

/* grain */
.bh-grain{position:fixed;inset:0;z-index:9998;pointer-events:none;opacity:.05;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E")}

/* marquee */

/* process steps */
.bh-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;position:relative}
.bh-steps::before{content:"";position:absolute;top:34px;left:8%;right:8%;height:1.5px;
  background:linear-gradient(90deg,transparent,rgba(124,92,255,.45),rgba(0,212,255,.45),transparent)}
.bh-step{text-align:center;padding:0 12px}
.bh-step .bh-ball{width:68px;height:68px;margin:0 auto 18px;border-radius:50%;position:relative;background:var(--bg);
  border:1px solid rgba(124,92,255,.4);display:flex;align-items:center;justify-content:center;transition:.35s cubic-bezier(.4,0,.2,1)}
.bh-step .bh-ball i{font-size:22px;color:var(--primary)}
.bh-step:hover .bh-ball{transform:translateY(-6px) scale(1.06);box-shadow:0 14px 34px rgba(124,92,255,.28);background:rgba(124,92,255,.08)}
.bh-step h3{font-size:17px;margin-bottom:8px;font-family:'Space Grotesk','Inter',sans-serif}
.bh-step p{color:var(--muted);font-size:13.8px}

/* pricing */
.bh-prices{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.bh-price{background:var(--card-solid);border:1px solid var(--card-border);border-radius:18px;padding:32px 28px;position:relative;
  display:flex;flex-direction:column;transition:.35s cubic-bezier(.4,0,.2,1)}
.bh-price:hover{transform:translateY(-6px);border-color:rgba(124,92,255,.4);box-shadow:0 24px 50px rgba(35,45,100,.18)}
.bh-price h3{font-size:20px;font-family:'Space Grotesk','Inter',sans-serif;margin-bottom:4px}
.bh-price .bh-desc{color:var(--muted);font-size:14.5px;margin-bottom:16px}
.bh-price .bh-amt{font-family:'Space Grotesk','Inter',sans-serif;font-weight:700;font-size:40px;line-height:1.1;margin-bottom:18px}
.bh-price .bh-amt small{font-size:14px;color:var(--muted);font-weight:600;font-family:'Inter',sans-serif}
.bh-price ul{list-style:none;margin:0 0 26px;flex:1}
.bh-price li{padding:7px 0;color:var(--muted);font-size:14.8px;display:flex;gap:10px;align-items:flex-start}
.bh-price li i{color:var(--success);font-size:13px;margin-top:6px}
.bh-price .btn{width:100%;justify-content:center}
.bh-featured{background:linear-gradient(var(--card-solid),var(--card-solid)) padding-box,linear-gradient(135deg,var(--primary),var(--secondary)) border-box;
  border:2px solid transparent;box-shadow:0 24px 60px rgba(124,92,255,.2)}
.bh-flag{position:absolute;top:-15px;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,var(--primary-strong),#c8381f);
  color:#fff;font-size:13px;font-weight:700;border-radius:99px;padding:5px 18px;white-space:nowrap}
.bh-entry{margin-top:26px;display:flex;justify-content:center}
.bh-entry div{background:rgba(0,212,255,.08);border:1px dashed rgba(0,180,255,.5);border-radius:16px;
  padding:16px 28px;font-size:15px;color:var(--muted);text-align:center;max-width:640px}
.bh-entry b{color:var(--text)}

/* faq */
.bh-faq{max-width:780px;margin:0 auto}
.bh-faq details{background:var(--card-solid);border:1px solid var(--card-border);border-radius:16px;margin-bottom:13px;overflow:hidden;transition:border-color .3s}
.bh-faq details:hover{border-color:rgba(124,92,255,.35)}
.bh-faq details[open]{border-color:rgba(124,92,255,.5)}
.bh-faq summary{cursor:pointer;list-style:none;padding:20px 26px;font-weight:700;font-size:16.5px;display:flex;justify-content:space-between;align-items:center;gap:14px}
.bh-faq summary::-webkit-details-marker{display:none}
.bh-faq summary::after{content:"+";font-size:24px;color:var(--primary);font-weight:600;transition:transform .3s}
.bh-faq details[open] summary::after{transform:rotate(45deg)}
.bh-faq .bh-a{padding:0 26px 22px;color:var(--muted);font-size:15.2px;line-height:1.7}

/* whatsapp float */
.bh-wa{position:fixed;bottom:26px;left:26px;z-index:9001;width:54px;height:54px;border-radius:16px;text-decoration:none;
  background:#128C4A;color:#fff;font-size:24px;display:flex;align-items:center;justify-content:center;
  box-shadow:0 12px 30px rgba(31,184,91,.4);transition:.3s;animation:bhwa 2.6s infinite}
.bh-wa:hover{transform:translateY(-4px) scale(1.05)}
@keyframes bhwa{0%,100%{box-shadow:0 12px 30px rgba(31,184,91,.4),0 0 0 0 rgba(31,184,91,.35)}50%{box-shadow:0 12px 30px rgba(31,184,91,.4),0 0 0 12px rgba(31,184,91,0)}}

@media(max-width:900px){.bh-steps{grid-template-columns:1fr 1fr;gap:30px}.bh-steps::before{display:none}.bh-prices{grid-template-columns:1fr;max-width:520px;margin:0 auto}}
@media(max-width:620px){.bh-steps{grid-template-columns:1fr 1fr;gap:18px}.bh-step .bh-ball{width:52px;height:52px;margin-bottom:12px}.bh-step h3{font-size:15px}.bh-step p{font-size:12.4px;line-height:1.5}.bh-prices{grid-template-columns:1fr 1fr;gap:12px;max-width:none}.bh-featured{grid-column:1/-1;order:1}.bh-price{padding:20px 14px;border-radius:14px}.bh-price h3{font-size:15.5px}.bh-price .bh-desc{font-size:12.3px;margin-bottom:10px}.bh-price .bh-amt{font-size:24px;margin-bottom:12px}.bh-price .bh-amt small{display:block;font-size:10.5px}.bh-price ul{margin-bottom:16px}.bh-price li{padding:5px 0;font-size:12.2px;gap:7px}.bh-price li i{font-size:11px;margin-top:4px}.bh-price .btn{padding:11px 10px;font-size:0.82rem}.bh-flag{font-size:11px;padding:4px 14px;top:-13px}.bh-faq summary{padding:17px 20px;font-size:15.5px}.bh-faq .bh-a{padding:0 20px 18px}}
@media(max-width:480px){.bh-price .btn{width:100%}}

/* ═══ index ═══ */

/* ═══ patch70 (Ressaut fix-pack): sr-only + 44px tap-targets ═══ */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.project-links a{display:inline-flex;align-items:center;gap:6px;min-height:44px;min-width:44px;padding:6px 12px;margin:-6px -4px}
.project-links a i{pointer-events:none}

/* ═══ index ═══ */

/* ═══════════════════════════════════════════════════════════════════
   NEUMORPHISM SKIN LAYER (patch80-neu) — Ressaut portfolio
   Rule: রঙ-গ্রেডিং ১০০% অপরিবর্তিত (সব হেক্স/গ্রেডিয়েন্ট/গ্লো আগের মতোই)।
   শুধু পৃষ্ঠ-চিকিত্সা বদলায়: সারফেস = পেজ-ব্যাকগ্রাউন্ড, ডেপথ = ডুয়াল-শ্যাডো,
   প্রেসড-স্টেট = ইনসেট-শ্যাডো, বর্ডার = ট্রান্সপারেন্ট।
   ═══════════════════════════════════════════════════════════════════ */

/* ── ১. নিউ-টোকেন (থিম-অনুযায়ী; নিরপেক্ষ কালো/সাদা ছায়া = রঙহীন) ── */
:root {
  --neu-surface: var(--bg);
  --neu-lo: rgba(0, 0, 0, 0.65);
  --neu-hi: rgba(255, 255, 255, 0.06);
  --neu-lo-soft: rgba(0, 0, 0, 0.5);
  --neu-hi-soft: rgba(255, 255, 255, 0.04);
}
[data-theme='light'] {
  --neu-lo: rgba(163, 177, 198, 0.62);
  --neu-hi: rgba(255, 255, 255, 0.95);
  --neu-lo-soft: rgba(163, 177, 198, 0.45);
  --neu-hi-soft: rgba(255, 255, 255, 0.75);
}

/* ── ২. কার্ড-পরিবার: সফট-রেইজড প্যানেল ── */
.project-card,
.stat-card,
.info-card,
.contact-info,
.form-status,
.contact-form,
.bh-price {
  background: var(--neu-surface) !important;
  border-color: transparent !important;
  box-shadow:
    10px 10px 22px var(--neu-lo),
    -10px -10px 22px var(--neu-hi) !important;
  transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover,
.stat-card:hover,
.bh-price:hover {
  border-color: transparent !important;
  box-shadow:
    14px 14px 30px var(--neu-lo),
    -14px -14px 30px var(--neu-hi) !important;
}
.info-card:hover,
.contact-form:hover {
  box-shadow:
    10px 10px 22px var(--neu-lo),
    -10px -10px 22px var(--neu-hi) !important;
}

/* ── ৩. বাটন-পরিবার ── */
.btn { border-radius: 999px; }

/* ঘোস্ট/সেকেন্ডারি: ক্লাসিক নিউ-রেইজড */
.btn-outline,
.filter-btn,
.mk-hero-btn-ghost {
  background: var(--neu-surface) !important;
  border-color: transparent !important;
  color: var(--text);
  box-shadow:
    6px 6px 13px var(--neu-lo-soft),
    -6px -6px 13px var(--neu-hi-soft);
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}
.btn-outline:hover,
.filter-btn:hover {
  background: var(--neu-surface) !important;
  border-color: transparent !important;
  box-shadow:
    9px 9px 18px var(--neu-lo-soft),
    -9px -9px 18px var(--neu-hi-soft);
}
.btn-outline:active,
.filter-btn:active {
  box-shadow:
    inset 4px 4px 9px var(--neu-lo-soft),
    inset -4px -4px 9px var(--neu-hi-soft);
  transform: translateY(1px) scale(0.985);
}

/* সিলেক্টেড ফিল্টার = গ্রেডিয়েন্ট (CTA রূপ, AA কনট্রাস্ট) + নিউ-ডেপথ */
.filter-btn.active {
  background: var(--gradient-cta) !important;
  color: #fff;
  border-color: transparent !important;
  box-shadow:
    5px 5px 12px var(--neu-lo-soft),
    -5px -5px 12px var(--neu-hi-soft),
    0 10px 24px rgba(124, 92, 255, 0.32);
}
.filter-btn.active:active {
  box-shadow:
    inset 4px 4px 9px rgba(0, 0, 0, 0.35),
    0 6px 16px rgba(124, 92, 255, 0.28);
}

/* প্রাইমারি CTA: গ্রেডিয়েন্ট-ফিল অক্ষত + চারপাশে সফট-ডেপথ */
.btn-primary {
  border-radius: 999px;
  box-shadow:
    6px 6px 14px var(--neu-lo-soft),
    -6px -6px 14px var(--neu-hi-soft),
    0 14px 34px rgba(124, 92, 255, 0.35);
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary:hover {
  box-shadow:
    9px 9px 20px var(--neu-lo-soft),
    -9px -9px 20px var(--neu-hi-soft),
    0 18px 42px rgba(124, 92, 255, 0.42);
}
.btn-primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow:
    inset 3px 3px 8px rgba(0, 0, 0, 0.3),
    0 8px 20px rgba(124, 92, 255, 0.3);
}

/* থিম-টগল / হ্যামবার্গার: ছোট নিউ-কিউব */
.theme-toggle,
.hamburger {
  background: var(--neu-surface) !important;
  border-color: transparent !important;
  box-shadow:
    5px 5px 11px var(--neu-lo-soft),
    -5px -5px 11px var(--neu-hi-soft);
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}
.theme-toggle:hover,
.hamburger:hover {
  border-color: transparent !important;
  box-shadow:
    7px 7px 15px var(--neu-lo-soft),
    -7px -7px 15px var(--neu-hi-soft);
}
.theme-toggle:active,
.hamburger:active {
  box-shadow:
    inset 4px 4px 9px var(--neu-lo-soft),
    inset -4px -4px 9px var(--neu-hi-soft);
}

/* ── ৪. নেভিগেশন: ফ্লোটিং সফট-বার ── */
.header.scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  box-shadow:
    0 10px 24px var(--neu-lo-soft),
    0 -1px 0 var(--neu-hi-soft);
}
.nav-link {
  transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1), color 0.28s ease, background 0.28s ease;
}
.nav-link:hover {
  background: var(--neu-surface);
  box-shadow:
    4px 4px 9px var(--neu-lo-soft),
    -4px -4px 9px var(--neu-hi-soft);
}
.nav-link.active,
.nav-link[aria-current='page'] {
  color: var(--primary-text);
  background: var(--neu-surface);
  box-shadow:
    inset 3px 3px 7px var(--neu-lo-soft),
    inset -3px -3px 7px var(--neu-hi-soft);
}

/* ── ৫. ইনপুট: প্রেসড-ইন ওয়েল ── */
.form-group input,
.form-group textarea {
  background: var(--neu-surface) !important;
  border-color: transparent !important;
  color: var(--text);
  box-shadow:
    inset 5px 5px 10px var(--neu-lo-soft),
    inset -5px -5px 10px var(--neu-hi-soft);
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); opacity: 0.75; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow:
    inset 5px 5px 10px var(--neu-lo-soft),
    inset -5px -5px 10px var(--neu-hi-soft),
    0 0 0 2.5px rgba(124, 92, 255, 0.32);
}

/* ── ৬. আইকন-টাইল ও সোশ্যাল ── */
.skill-icon {
  border-radius: 17px;
  box-shadow:
    6px 6px 14px var(--neu-lo-soft),
    -6px -6px 14px var(--neu-hi-soft),
    0 10px 24px rgba(124, 92, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.social-link {
  background: var(--neu-surface) !important;
  border-color: transparent !important;
  border-radius: 999px;
  box-shadow:
    5px 5px 11px var(--neu-lo-soft),
    -5px -5px 11px var(--neu-hi-soft);
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}
.social-link:hover {
  border-color: transparent !important;
  box-shadow:
    8px 8px 16px var(--neu-lo-soft),
    -8px -8px 16px var(--neu-hi-soft);
}
.social-link:active {
  box-shadow:
    inset 4px 4px 9px var(--neu-lo-soft),
    inset -4px -4px 9px var(--neu-hi-soft);
  transform: translateY(1px) scale(0.97);
}

/* ── ৭. চিপ/ব্যাজ/পিল ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--neu-surface);
  box-shadow:
    4px 4px 9px var(--neu-lo-soft),
    -4px -4px 9px var(--neu-hi-soft);
}
.hero-badge {
  background: var(--bg) !important;
  border-color: transparent !important;
  border-radius: 18px;
  box-shadow:
    8px 8px 18px var(--neu-lo),
    -8px -8px 18px var(--neu-hi) !important;
}
[data-theme='light'] .hero-badge {
  background: var(--bg) !important;
  border-color: transparent !important;
  box-shadow:
    8px 8px 18px var(--neu-lo),
    -8px -8px 18px var(--neu-hi) !important;
}
/* টিন্টেড ট্যাগ-চিপ: রঙ-টিন্ট অক্ষত, ভেতরে সফট-ইনসেট */
.project-tags span {
  border-radius: 999px;
  border: 1px solid transparent;
  box-shadow:
    inset 2px 2px 5px rgba(0, 0, 0, 0.22),
    inset -2px -2px 5px rgba(255, 255, 255, 0.06);
}
[data-theme='light'] .project-tags span {
  box-shadow:
    inset 2px 2px 5px rgba(163, 177, 198, 0.35),
    inset -2px -2px 5px rgba(255, 255, 255, 0.6);
}
/* ইমেজের ওপর ওভারলে-চিপ: ডার্ক-গ্লাস + সফট-ড্রপ */
.thumb-chip {
  background: rgba(7, 8, 18, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

/* ── ৮. প্রসেস-টাইমলাইন: ইনসেট-বল ── */
.bh-step .bh-ball {
  background: var(--neu-surface) !important;
  border-color: transparent !important;
  box-shadow:
    inset 5px 5px 11px var(--neu-lo-soft),
    inset -5px -5px 11px var(--neu-hi-soft);
}

/* ── ৯. সেকশন-লাইন: রেইজড গ্রেডিয়েন্ট-বার (রঙ অক্ষত) ── */
.section-line {
  box-shadow:
    2px 2px 5px var(--neu-lo-soft),
    -2px -2px 5px var(--neu-hi-soft);
}

/* ── ১০. ফুটার: এমবসড-গ্রুভ ডিভাইডার ── */
.footer {
  border-top: 1px solid var(--neu-hi-soft);
  box-shadow: 0 -1px 0 var(--neu-lo-soft);
}

/* ── ১১. ডিসপ্লে-হেডিং এমবস (খুব সাবটেল 3D) ── */
.section-title,
.hero-name,
.stat-num {
  text-shadow:
    0 1px 1px var(--neu-lo-soft),
    0 -1px 0 var(--neu-hi-soft);
}

/* ── ১২. স্ক্রলবার: সফট ── */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--neu-surface);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow:
    inset 2px 2px 5px var(--neu-lo-soft),
    inset -2px -2px 5px var(--neu-hi-soft);
}

/* ── ১৩. ফোকাস-রিং (প্রাইমারি-রঙ, কীবোর্ড-নেভিগেশন) ── */
.btn:focus-visible,
.filter-btn:focus-visible,
.nav-link:focus-visible,
.social-link:focus-visible,
.theme-toggle:focus-visible,
.hamburger:focus-visible,
.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(124, 92, 255, 0.38),
    4px 4px 9px var(--neu-lo-soft);
}

/* ── ১৪. মাইক্রো-ডেপথ: ব্রাউজার-মকআপ স্কেলিটন ── */
.mk-chips span,
.mk-cards span {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.mk-btn {
  box-shadow: 0 2px 5px rgba(124, 92, 255, 0.35);
}

/* ── ১৫. মোবাইল: ছায়া হালকা-স্কেল ── */
@media (max-width: 640px) {
  .project-card, .stat-card, .info-card, .contact-form, .bh-price {
    box-shadow:
      7px 7px 15px var(--neu-lo),
      -7px -7px 15px var(--neu-hi) !important;
  }
  .btn-outline, .filter-btn, .theme-toggle, .hamburger, .social-link {
    box-shadow:
      4px 4px 9px var(--neu-lo-soft),
      -4px -4px 9px var(--neu-hi-soft);
  }
  .hero-badge {
    box-shadow:
      6px 6px 13px var(--neu-lo),
      -6px -6px 13px var(--neu-hi) !important;
  }
}

/* ── ১৬. রিডিউসড-মোশনে ছায়া-ট্রানজিশন বন্ধ (ডেপথ থাকে) ── */
@media (prefers-reduced-motion: reduce) {
  .project-card, .stat-card, .info-card, .contact-form, .bh-price,
  .btn, .btn-primary, .btn-outline, .filter-btn, .theme-toggle, .hamburger,
  .social-link, .nav-link, .form-group input, .form-group textarea {
    transition: none !important;
  }
}


}
.logo-text {
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.12),
    0 1px 0 #2b2063,
    0 2px 0 #221a4c,
    0 3px 0 #1a1438,
    0 4px 1px rgba(16, 12, 34, 0.9);
}
.logo-text .accent-text {
  text-shadow: none;
  filter:
    drop-shadow(0 1px 0 rgba(43, 32, 99, 0.95))
    drop-shadow(0 2px 0 rgba(32, 24, 72, 0.9))
    drop-shadow(0 3px 1px rgba(22, 17, 46, 0.85));
}
html[data-theme='light'] .logo-text {
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.9),
    0 1px 0 rgba(124, 108, 180, 0.48),
    0 2px 0 rgba(102, 90, 150, 0.42),
    0 3px 0 rgba(84, 74, 124, 0.34),
    0 4px 1px rgba(68, 60, 102, 0.28);
}
html[data-theme='light'] .logo-text .accent-text {
  text-shadow: none;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.85))
    drop-shadow(0 2px 0 rgba(110, 96, 160, 0.46))
    drop-shadow(0 3px 1px rgba(90, 80, 134, 0.38));
}
.logo:hover .logo-mark { filter: drop-shadow(0 6px 16px rgba(124, 92, 255, 0.45)); }
/* ═══════════ agency-v1 (2026-09-16): নেভ-CTA + ফুটার-গ্রিড + সোশ্যাল-লিংক ═══════════ */
.nav-cta{display:inline-flex;align-items:center;gap:.45rem;padding:.5rem 1.05rem;font-size:.84rem;font-weight:600;margin-right:.5rem;white-space:nowrap;text-decoration:none}
.nav-cta-mobile{display:none}
@media(max-width:900px){
  .nav-cta{display:none}
  .nav-cta-mobile{display:block;margin:1rem 0 .4rem}
  .nav-cta-mobile .btn{width:100%;justify-content:center}
}
.hero-socials a,.contact-socials a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;color:inherit;text-decoration:none;transition:transform .2s ease,background .2s ease}
.hero-socials a:hover,.contact-socials a:hover{transform:translateY(-2px);background:rgba(124,92,255,.14)}
.footer-inner{display:grid;grid-template-columns:1.55fr 1fr 1fr 1.25fr;gap:2rem;align-items:start;text-align:left}
.f-tag{margin-top:.9rem;max-width:36ch;color:var(--muted-dim);line-height:1.55}
.f-links{display:flex;flex-direction:column;gap:.55rem}
.f-links h4{margin:0 0 .4rem;font-size:.76rem;letter-spacing:.09em;text-transform:uppercase;color:var(--muted-dim)}
.f-links a{color:var(--muted-dim);transition:color .2s;text-decoration:none}
.f-links a:hover{color:var(--text)}
.f-links a i{width:1.15rem;opacity:.75}
.f-copy{display:flex;flex-wrap:wrap;gap:.4rem 1rem;justify-content:space-between;margin-top:1.8rem;padding-top:1.2rem;border-top:1px solid var(--border-line);color:var(--muted-dim);font-size:.85rem}
.f-copy a{text-decoration:none}
@media(max-width:860px){.footer-inner{grid-template-columns:1fr 1fr}.f-brand{grid-column:1 / -1}}
@media(max-width:560px){.footer-inner{grid-template-columns:1fr}}

/* ═══════════ agency-v2 (2026-09-16): সার্ভিস-কার্ড + AI-ফ্লো + স্ক্রিনশট-থাম্ব + ৪-প্যাকেজ + স্টিকি-CTA ═══════════ */
.skill-sub{margin:-12px 0 14px;font-size:.9rem;line-height:1.5;color:var(--muted)}
.ai-flow{display:flex;align-items:stretch;justify-content:center;flex-wrap:wrap;gap:10px 6px;margin:8px 0 26px}
.ai-step{flex:1 1 130px;max-width:170px;text-align:center;padding:18px 12px;border-radius:var(--radius);background:var(--card-solid);border:1px solid var(--card-border);transition:transform .25s ease,border-color .25s ease}
.ai-step:hover{transform:translateY(-4px);border-color:var(--primary)}
.ai-step i{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;font-size:1.15rem;color:#fff;background:var(--gradient-cta);margin-bottom:10px}
.ai-step strong{display:block;font-size:.98rem;margin-bottom:4px}
.ai-step span{display:block;font-size:.8rem;color:var(--muted);line-height:1.45}
.ai-arrow{align-self:center;color:var(--primary);font-size:1.25rem;font-weight:700;opacity:.65}
.ai-note{max-width:640px;margin:0 auto;text-align:center;color:var(--muted);line-height:1.65}
.thumb-shot{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center}
.project-thumb img.thumb-shot{border-radius:0}
.bh-prices{grid-template-columns:repeat(2,1fr);gap:22px}
@media(max-width:760px){.bh-prices{grid-template-columns:1fr}}
.bh-custom{border:1px dashed var(--card-border)!important}
.rs-sticky-cta{display:none}
@media(max-width:768px){
  .rs-sticky-cta{display:flex;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:900;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));background:color-mix(in srgb,var(--bg) 82%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--border-line)}
  .rs-sticky-cta .btn{flex:1;justify-content:center;margin:0}
  body{padding-bottom:64px}
}





/* ═══════════ hero-name v6 (2026-09-24): featherweight — zero filters, zero idle animation, max contrast ═══════════ */
.hero-name{
  text-shadow:none;
  margin-bottom:26px;
  /* neumorphic pressed box (2026-09-24, user pick: Style B) */
  padding:.40em .62em .48em;
  border-radius:.55em;
  background:linear-gradient(145deg,#05060f,#0a0c1c);
  box-shadow:
    inset 5px 6px 14px rgba(0,0,0,.85),
    inset -4px -4px 10px rgba(46,52,110,.20),
    0 1px 0 rgba(255,255,255,.05);
}
@media (min-width:521px){
  .hero-name{ font-size:clamp(3.8rem,9vw,7.4rem); } /* phones keep patch44 sizing */
}
.hero-name .ltr{
  color:var(--text);
  background-image:none;
  -webkit-background-clip:border-box;background-clip:border-box;
  text-shadow:0 2px 14px rgba(0,0,0,.35);
  animation:none;
  filter:none;
}
.hero-name .ltr.name-accent{
  color:#35d6ff;
  text-shadow:0 0 26px rgba(53,214,255,.40), 0 2px 12px rgba(0,0,0,.30);
}
html[data-theme='light'] .hero-name .ltr{
  color:#171a33;
  text-shadow:none;
}
html[data-theme='light'] .hero-name .ltr.name-accent{
  color:#6d28d9;
  text-shadow:0 0 22px rgba(109,40,217,.22);
}
/* patch34-এর hover pop (scale/rotate — transform, খুব সস্তা) এবং GSAP intro আগের মতোই থাকছে */
html[data-theme='light'] .hero-name{
  background:linear-gradient(145deg,#e4e8f4,#f2f4fc);
  box-shadow:
    inset 6px 7px 14px rgba(106,96,156,.28),
    inset -5px -5px 12px rgba(255,255,255,.92);
}
/* ═══════════ end hero-name v6 ═══════════ */

/* ═══════════════ RS-POLISH v15 (2026-09-24) — style-only layer: no layout/position change ═══════════════ */

/* 0) hero stacking context (watermark-এর জন্য — position অপরিবর্তিত) */
.hero{z-index:0}

/* 1a) বিশাল আউটলাইন RESSAUT ওয়াটারমার্ক (শুধু ডেস্কটপ; মোবাইলে বন্ধ — patch44 স্পিরিট) */
.hero::after{content:'RESSAUT';position:absolute;left:50%;bottom:2%;transform:translateX(-50%);
  font-family:var(--font-head);font-weight:700;font-size:clamp(90px,16.5vw,250px);line-height:1;letter-spacing:.06em;
  color:transparent;-webkit-text-stroke:1px rgba(124,92,255,.09);z-index:-1;pointer-events:none;user-select:none}
@media(max-width:820px){.hero::after{font-size:clamp(56px,13vw,110px);-webkit-text-stroke:1px rgba(124,92,255,.12);bottom:1%}}

/* 1b) নামের (নিউমরফিক) বাক্সের পেছনে মাউস-ফলো নরম গ্লো — বাক্স নড়ে না, আলো নড়ে */
.hero-name{z-index:0}
.hero-name::before{content:'';position:absolute;left:0;top:0;width:480px;height:480px;border-radius:50%;
  z-index:-1;pointer-events:none;margin:-240px 0 0 -240px;
  background:radial-gradient(circle,rgba(124,92,255,.17),transparent 65%);
  opacity:0;transition:opacity .5s;will-change:transform;
  transform:translate3d(var(--gx,50vw),var(--gy,20vh),0)}
.hero:hover .hero-name::before{opacity:1}

/* 1c) প্রাইমারি CTA — লোডে ৩ বার মৃদু গ্লো-নিঃশ্বাস, তারপর সম্পূর্ণ স্থির (featherweight) */
.btn-primary{animation:rs-cta 7s ease-in-out 2}
@keyframes rs-cta{0%,100%{filter:drop-shadow(0 0 0 rgba(124,92,255,0))}50%{filter:drop-shadow(0 8px 24px rgba(124,92,255,.38))}}
@media(max-width:640px){.btn-primary{animation:none}}
@media(prefers-reduced-motion:reduce){.btn-primary,.bh-featured::before{animation:none}}

/* 2) Skills: গ্লাস → নিউমরফিক পরিবার (project/stat কার্ডের সাথে ম্যাচিং) */
.skill-cat{background:var(--neu-surface)!important;border-color:transparent!important;
  box-shadow:10px 10px 22px var(--neu-lo),-10px -10px 22px var(--neu-hi)!important}
.skill-cat:hover{border-color:transparent!important;
  box-shadow:14px 14px 32px var(--neu-lo),-14px -14px 32px var(--neu-hi)!important}
.skills-grid .skill-cat:nth-child(5n+1):hover .skill-icon{box-shadow:0 0 0 3px rgba(124,92,255,.22),0 0 30px rgba(124,92,255,.55)}
.skills-grid .skill-cat:nth-child(5n+2):hover .skill-icon{box-shadow:0 0 0 3px rgba(0,212,255,.22),0 0 30px rgba(0,212,255,.55)}
.skills-grid .skill-cat:nth-child(5n+3):hover .skill-icon{box-shadow:0 0 0 3px rgba(47,214,138,.22),0 0 30px rgba(47,214,138,.55)}
.skills-grid .skill-cat:nth-child(5n+4):hover .skill-icon{box-shadow:0 0 0 3px rgba(255,101,132,.22),0 0 30px rgba(255,101,132,.55)}
.skills-grid .skill-cat:nth-child(5n+5):hover .skill-icon{box-shadow:0 0 0 3px rgba(124,92,255,.22),0 0 30px rgba(124,92,255,.55)}

/* 3) Work কার্ড: মকআপ-থাম্বে শাইন-সুইপ + hover-এ গ্র্যাডিয়েন্ট-রিং */
.mk::after{content:'';position:absolute;inset:0;z-index:3;pointer-events:none;
  background:linear-gradient(115deg,transparent 32%,rgba(255,255,255,.38) 47%,rgba(255,255,255,.10) 53%,transparent 66%);
  transform:translateX(-130%);transition:none}
.project-card:hover .mk::after{transform:translateX(130%);transition:transform .85s ease}
.project-card::after{content:'';position:absolute;inset:0;border-radius:inherit;z-index:2;pointer-events:none;padding:1.5px;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
          mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;
  opacity:0;transition:opacity .4s}
.project-card:hover::after{opacity:1}

/* 4) ফিল্টার পিল: বিশ্রামেও হালকা নিউমরফিক (অ্যাক্টিভ গ্র্যাডিয়েন্ট আগের মতোই) */
.filter-btn{box-shadow:5px 5px 12px var(--neu-lo-soft),-5px -5px 12px var(--neu-hi-soft)}
.filter-btn.active{box-shadow:0 8px 20px rgba(124,92,255,.3)}

/* 5) Featured প্ল্যান: স্থায়ী ধীর গ্লো-নিঃশ্বাস (border-box গ্র্যাডিয়েন্ট আগেই আছে) */
.bh-featured::before{content:'';position:absolute;inset:-2px;border-radius:inherit;pointer-events:none;
  box-shadow:0 0 46px rgba(124,92,255,.32);opacity:0;animation:rs-breath 6.5s ease-in-out infinite}
@keyframes rs-breath{0%,100%{opacity:0}50%{opacity:1}}
@media(max-width:640px){.bh-featured::before{animation:none}}

/* 6) FAQ: hover/open-এ আরামদায়ক টিন্ট */
.bh-faq details{transition:border-color .3s,background .3s}
.bh-faq details:hover{background:rgba(124,92,255,.07)}
.bh-faq details[open]{background:rgba(124,92,255,.09)}

/* 7) ফর্ম ইনপুট: নিউমরফিক inset + ফোকাসে পার্পল রিং (ডেস্কটপ/ট্যাব — মোবাইল patch44 অক্ষত) */
@media(min-width:641px){
.form-group input,.form-group textarea{box-shadow:inset 5px 5px 12px var(--neu-lo-soft),inset -4px -4px 10px var(--neu-hi-soft)}
.form-group input:focus,.form-group textarea:focus{border-color:var(--primary);
  box-shadow:inset 5px 5px 12px var(--neu-lo-soft),inset -4px -4px 10px var(--neu-hi-soft),0 0 0 4px rgba(124,92,255,.16)}
}

/* 8) Nav অ্যাক্টিভ-লিংক গ্র্যাডিয়েন্ট আন্ডারলাইন (লেআউট-সেফ) */
.nav-link{position:relative}
.nav-link::after{content:'';position:absolute;left:14px;right:14px;bottom:2px;height:3px;border-radius:2px;
  background:linear-gradient(90deg,var(--primary),var(--secondary));transform:scaleX(0);transform-origin:center;
  transition:transform .3s ease}
.nav-link.active::after,.nav-link:hover::after{transform:scaleX(1)}

/* 9) Footer গ্র্যাডিয়েন্ট হেয়ারলাইন */
footer{position:relative}
footer::before{content:'';position:absolute;top:0;left:10%;right:10%;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(124,92,255,.65),rgba(0,212,255,.65),transparent)}
/* ═══════════════ /RS-POLISH v15 ═══════════════ */

/* rsmobile — phones skip the 646 KB THREE.js+GSAP bundle (footer.php gates it)
   and get this pure-CSS liquid orb instead. Desktop still loads the WebGL knot. */
.rs-hero-fallback .rs-orb {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(58vw, 240px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 40%),
    radial-gradient(circle at 72% 74%, var(--secondary), rgba(0, 212, 255, 0) 62%),
    radial-gradient(circle at 28% 72%, var(--accent), rgba(255, 101, 132, 0) 60%),
    conic-gradient(from 210deg, var(--primary), var(--secondary), var(--accent), var(--primary));
  box-shadow: 0 30px 80px rgba(124, 92, 255, 0.45), inset 0 0 60px rgba(255, 255, 255, 0.14);
  animation: rsOrb 12s ease-in-out infinite;
}
.rs-hero-fallback .rs-orb::after {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.4), transparent 58%);
  mix-blend-mode: screen;
}
@keyframes rsOrb {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); border-radius: 50% 48% 52% 50% / 50% 52% 48% 50%; }
  50% { transform: translateY(-10px) rotate(6deg) scale(1.03); border-radius: 46% 54% 47% 53% / 53% 47% 54% 46%; }
}
html[data-theme='light'] .rs-hero-fallback .rs-orb {
  box-shadow: 0 24px 60px rgba(124, 92, 255, 0.32), inset 0 0 50px rgba(255, 255, 255, 0.4);
}
@media (prefers-reduced-motion: reduce) {
  .rs-hero-fallback .rs-orb { animation: none; }
}


