/* =====================================================================
   SHAHBAZ BASHIR — PORTFOLIO DESIGN SYSTEM
   Shared by every page. Mood: dark, cinematic, premium showreel.
   ---------------------------------------------------------------------
   Colors  : charcoal base, vibrant orange + electric blue accents
   Fonts   : Sora (display / headings), Inter (body)
   Motion  : soft blurred drifting glows, fade + slide reveals,
             NO moving lines, scanning bars or sweeping light effects.
   ===================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Base */
  --bg: #0c0d10;
  --bg-2: #111216;
  --bg-3: #16181d;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #f3f4f6;
  --text-soft: #c9cbd2;
  --muted: #8d909b;

  /* Accents */
  --orange: #ff6b1a;
  --orange-2: #ff9440;
  --orange-glow: rgba(255, 107, 26, 0.45);
  --blue: #1f8fff;
  --blue-2: #2fd0ff;
  --blue-glow: rgba(31, 143, 255, 0.45);

  --grad: linear-gradient(120deg, var(--orange) 0%, var(--orange-2) 35%, var(--blue) 75%, var(--blue-2) 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 107, 26, 0.18), rgba(31, 143, 255, 0.18));

  /* Type */
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.18, 1);
  --shadow-card: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

/* =====================================================================
   THEME PRESETS (Applied via data-theme attribute on <html> or <body>)
   ===================================================================== */
/* 1. Charcoal Orange (Default established style) */
[data-theme="charcoal-orange"],
:root:not([data-theme]) {
  --bg: #0c0d10;
  --bg-2: #111216;
  --bg-3: #16181d;
  --orange: #ff6b1a;
  --orange-2: #ff9440;
  --orange-glow: rgba(255, 107, 26, 0.45);
  --blue: #1f8fff;
  --blue-2: #2fd0ff;
  --blue-glow: rgba(31, 143, 255, 0.45);
  --grad: linear-gradient(120deg, var(--orange) 0%, var(--orange-2) 35%, var(--blue) 75%, var(--blue-2) 100%);
}

/* 2. Midnight Blue (Deep sapphire / icy cyan showreel) */
[data-theme="midnight-blue"] {
  --bg: #070b14;
  --bg-2: #0d1322;
  --bg-3: #121c32;
  --orange: #00d2ff;
  --orange-2: #60e1ff;
  --orange-glow: rgba(0, 210, 255, 0.45);
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --blue-glow: rgba(59, 130, 246, 0.45);
  --grad: linear-gradient(120deg, #00d2ff 0%, #38bdf8 35%, #3b82f6 75%, #6366f1 100%);
}

/* 3. Slate Purple (Cyberpunk luxury / violet & neon amethyst) */
[data-theme="slate-purple"] {
  --bg: #0d0a14;
  --bg-2: #141020;
  --bg-3: #1c172d;
  --orange: #a855f7;
  --orange-2: #c084fc;
  --orange-glow: rgba(168, 85, 247, 0.45);
  --blue: #ec4899;
  --blue-2: #f472b6;
  --blue-glow: rgba(236, 72, 153, 0.45);
  --grad: linear-gradient(120deg, #a855f7 0%, #c084fc 35%, #ec4899 75%, #f472b6 100%);
}

/* 4. Emerald Dark (Cyber emerald & gold neon tech) */
[data-theme="emerald-dark"] {
  --bg: #07120e;
  --bg-2: #0c1a14;
  --bg-3: #12241d;
  --orange: #10b981;
  --orange-2: #34d399;
  --orange-glow: rgba(16, 185, 129, 0.45);
  --blue: #14b8a6;
  --blue-2: #2dd4bf;
  --blue-glow: rgba(20, 184, 166, 0.45);
  --grad: linear-gradient(120deg, #10b981 0%, #34d399 35%, #06b6d4 75%, #22d3ee 100%);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--orange); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--orange), var(--blue)); border-radius: 10px; border: 2px solid var(--bg); }

:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

/* Shared stroke icons (used via <svg class="ico"><use href="#id"/></svg>) */
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Revealed wrappers hold cards — keep equal heights inside grids */
.reveal > .card { height: 100%; }

.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;
}

/* ---------- 3. Ambient cinematic background ---------- */
.ambient {
  position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(31, 143, 255, 0.08), transparent 60%),
    radial-gradient(1000px 700px at -10% 30%, rgba(255, 107, 26, 0.07), transparent 60%),
    var(--bg);
}

.ambient .blob {
  position: absolute; border-radius: 50%;
  filter: blur(110px); opacity: 0.5; will-change: transform, opacity;
}
.blob--1 { width: 520px; height: 520px; background: var(--orange); top: -120px; left: -140px; animation: drift-1 28s ease-in-out infinite, pulse 9s ease-in-out infinite; }
.blob--2 { width: 600px; height: 600px; background: var(--blue); top: 20%; right: -200px; animation: drift-2 34s ease-in-out infinite, pulse 11s ease-in-out infinite 2s; }
.blob--3 { width: 420px; height: 420px; background: #ff3d6e; bottom: -160px; left: 25%; opacity: 0.22; animation: drift-3 40s ease-in-out infinite, pulse 13s ease-in-out infinite 4s; }
.blob--4 { width: 380px; height: 380px; background: var(--blue-2); bottom: 10%; left: -120px; opacity: 0.25; animation: drift-2 38s ease-in-out infinite reverse, pulse 10s ease-in-out infinite 1s; }

@keyframes drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(140px, 90px) scale(1.12); }
  66% { transform: translate(60px, 200px) scale(0.92); }
}
@keyframes drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-180px, 120px) scale(1.15); }
}
@keyframes drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-120px, -140px) scale(1.1); }
  75% { transform: translate(160px, -60px) scale(0.95); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.32; }
  50% { opacity: 0.55; }
}

#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* Static film grain + vignette for a cinematic finish (no motion) */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.06; 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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

/* Soft glow that follows the cursor (desktop only) */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.10), rgba(31, 143, 255, 0.06) 40%, transparent 70%);
  filter: blur(20px); opacity: 0; transition: opacity 0.6s var(--ease);
}
body.has-cursor .cursor-glow { opacity: 1; }

/* ---------- 4. Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--bg); transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.preloader__inner { display: grid; place-items: center; gap: 18px; }
.preloader__logo {
  font-family: var(--font-display); font-weight: 800; font-size: 44px; letter-spacing: -0.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: preload-breathe 1.6s ease-in-out infinite;
}
.preloader__glow {
  position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, var(--orange-glow), rgba(31, 143, 255, 0.25) 50%, transparent 70%);
  filter: blur(40px); animation: preload-breathe 1.6s ease-in-out infinite;
}
.preloader__text { font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); }
@keyframes preload-breathe { 0%, 100% { opacity: 0.55; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.04); } }
body.is-loaded .preloader { opacity: 0; visibility: hidden; }

/* ---------- 5. Typography helpers ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange-2);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 14px var(--orange);
}

.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; z-index: 2; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 6vw, 64px); flex-wrap: wrap; }
.section-head__text { max-width: 640px; }
.section-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-top: 16px; }
.section-sub { margin-top: 18px; color: var(--muted); font-size: 1.06rem; max-width: 560px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-sub { margin-inline: auto; }

/* ---------- 6. Buttons ---------- */
.btn {
  --btn-pad: 16px 28px;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: var(--btn-pad); border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.45s var(--ease), border-color 0.45s var(--ease), color 0.45s var(--ease);
  isolation: isolate; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange) 0%, #ff8a2b 100%);
  box-shadow: 0 10px 30px -10px var(--orange-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: var(--grad); filter: blur(18px); opacity: 0; transition: opacity 0.5s var(--ease);
}
.btn--primary:hover { box-shadow: 0 18px 44px -12px var(--orange-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn--primary:hover::after { opacity: 0.55; }

.btn--ghost {
  color: var(--text); background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong); backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: var(--blue); background: rgba(31, 143, 255, 0.1); box-shadow: 0 12px 34px -14px var(--blue-glow); }

.btn--sm { --btn-pad: 11px 20px; font-size: 14px; }

/* ---------- 7. Header / navigation ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), transform 0.6s var(--ease), border-color 0.5s var(--ease), height 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  height: 70px;
  background: rgba(12, 13, 16, 0.72); backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--border);
}
.header.is-hidden { transform: translateY(-100%); }

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

.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.logo__mark {
  position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 16px; letter-spacing: -0.04em;
  box-shadow: 0 8px 24px -8px var(--orange-glow);
}
.logo__dot { color: var(--orange); }

.nav__links { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); }
.nav__link {
  position: relative; padding: 9px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--text-soft);
  transition: color 0.35s var(--ease), background 0.35s var(--ease);
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__link.is-active { color: #fff; background: linear-gradient(135deg, rgba(255, 107, 26, 0.22), rgba(31, 143, 255, 0.22)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }

.nav__actions { display: flex; align-items: center; gap: 14px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.04); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.45s var(--ease), opacity 0.3s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: center;
  padding: 120px 32px 48px; background: rgba(10, 11, 14, 0.94); backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__links { display: grid; gap: 6px; }
.mobile-menu__links a {
  display: flex; align-items: baseline; gap: 16px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -0.03em; color: var(--text-soft);
  opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s;
}
.mobile-menu__links a span { font-size: 13px; color: var(--orange); font-weight: 600; letter-spacing: 0.1em; }
.mobile-menu__links a:hover, .mobile-menu__links a.is-active { color: #fff; }
.mobile-menu.is-open .mobile-menu__links a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu__foot { margin-top: 48px; color: var(--muted); font-size: 14px; }

/* ---------- 8. Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: clamp(40px, 6vw, 90px); }
.hero__grid > * { min-width: 0; }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); backdrop-filter: blur(10px);
  font-size: 13.5px; color: var(--text-soft);
}
.status-pill__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; }
.status-pill__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; background: rgba(61, 220, 132, 0.35); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.hero__greeting { margin-top: 28px; font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-soft); font-weight: 500; }
.hero__name { margin-top: 8px; font-size: clamp(3rem, 7.4vw, 6.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.98; }
.hero__name .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__name .line > span { display: inline-block; }

.hero__title { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-family: var(--font-display); font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 600; color: var(--text); }
.hero__title .sep { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); }

.hero__tagline { margin-top: 22px; max-width: 560px; font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--muted); }
.hero__tagline strong { color: var(--text-soft); font-weight: 600; }

.rotator { display: inline-grid; vertical-align: bottom; color: var(--orange-2); font-weight: 600; }
.rotator > span { grid-area: 1 / 1; opacity: 0; filter: blur(8px); transform: translateY(10px); transition: opacity 0.7s var(--ease), filter 0.7s var(--ease), transform 0.7s var(--ease); white-space: nowrap; }
.rotator > span.is-active { opacity: 1; filter: blur(0); transform: none; }

.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__tools { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.hero__tools-label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.hero__tools ul { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__tools li { padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--text-soft); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); transition: border-color 0.3s, color 0.3s; }
.hero__tools li:hover { border-color: var(--orange); color: #fff; }

/* Hero entrance (triggered once body.is-loaded) */
.hero [data-hero] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms + 300ms); }
.hero__name .line > span { transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 1ms + 300ms); }
body.is-loaded .hero [data-hero] { opacity: 1; transform: none; }
body.is-loaded .hero__name .line > span { transform: none; }

/* Hero visual / profile photo */
.hero__visual { position: relative; justify-self: center; width: min(100%, 470px); }

.photo-glow {
  position: absolute; inset: 6% -6% -4% -6%; border-radius: 40px; z-index: 0;
  background: radial-gradient(60% 60% at 30% 30%, var(--orange-glow), transparent 70%), radial-gradient(60% 60% at 75% 75%, var(--blue-glow), transparent 70%);
  filter: blur(50px); animation: glow-breathe 7s ease-in-out infinite;
}
@keyframes glow-breathe { 0%, 100% { opacity: 0.65; transform: scale(0.97); } 50% { opacity: 1; transform: scale(1.04); } }

.photo-frame {
  position: relative; z-index: 1; padding: 2px; border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 60px -10px rgba(255, 107, 26, 0.25), 0 0 80px -20px rgba(31, 143, 255, 0.3);
  transform-style: preserve-3d; opacity: 0;
  transition: transform 0.8s var(--ease), opacity 1.2s var(--ease) 0.3s;
}
/* Gradient border drawn with a mask so only the 2px frame line is visible */
.photo-frame::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: 2; pointer-events: none;
  background: linear-gradient(150deg, rgba(255, 148, 64, 0.95), rgba(255, 255, 255, 0.10) 40%, rgba(255, 255, 255, 0.06) 60%, rgba(47, 208, 255, 0.95));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
body.is-loaded .photo-frame { opacity: 1; }
.photo-frame__inner {
  position: relative; overflow: hidden; border-radius: calc(var(--radius-lg) - 2px); aspect-ratio: 4 / 5; background: var(--bg-3);
  clip-path: inset(100% 0 0 0 round calc(var(--radius-lg) - 2px));
  transition: clip-path 1.6s var(--ease-in-out) 0.45s;
}
.photo-frame__inner img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transform: scale(1.25); filter: saturate(0.9) contrast(1.05); transition: transform 2.2s var(--ease) 0.45s, opacity 1.4s var(--ease) 0.45s; opacity: 0; }
.photo-frame__inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12, 13, 16, 0.65)); pointer-events: none; }
body.is-loaded .photo-frame__inner { clip-path: inset(0 0 0 0 round calc(var(--radius-lg) - 2px)); }
body.is-loaded .photo-frame__inner img { transform: scale(1); opacity: 1; }

.photo-caption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-soft); }
.photo-caption strong { display: block; font-family: var(--font-display); font-size: 16px; color: #fff; }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 18px; background: rgba(20, 22, 28, 0.72); border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
  opacity: 0; transition: opacity 1s var(--ease) 1.6s;
}
body.is-loaded .float-card { opacity: 1; }
.float-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; }
.float-card__icon svg { width: 22px; height: 22px; }
.float-card__icon--orange { background: rgba(255, 107, 26, 0.16); color: var(--orange-2); }
.float-card__icon--blue { background: rgba(31, 143, 255, 0.16); color: var(--blue-2); }
.float-card strong { display: block; font-family: var(--font-display); font-size: 18px; line-height: 1.1; }
.float-card span { font-size: 12.5px; color: var(--muted); }
.float-card--a { top: 10%; left: -14%; animation: float 7s ease-in-out infinite; }
.float-card--b { bottom: 16%; right: -12%; animation: float 8s ease-in-out infinite 1.2s; }
.float-card--c { top: -4%; right: 6%; padding: 10px 14px; animation: float 9s ease-in-out infinite 0.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); z-index: 2; }
.scroll-cue__mouse { width: 24px; height: 38px; border-radius: 14px; border: 1.5px solid var(--border-strong); position: relative; }
.scroll-cue__mouse::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--orange); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ---------- 9. Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(46px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); will-change: opacity, transform; }
.reveal.reveal--left { transform: translateX(-50px); }
.reveal.reveal--right { transform: translateX(50px); }
.reveal.reveal--zoom { transform: scale(0.94); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* ---------- 10. Glass card (shared) ---------- */
.card {
  position: relative; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border); overflow: hidden; isolation: isolate;
}
/* Soft spotlight following the cursor inside cards */
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s var(--ease);
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 107, 26, 0.13), rgba(31, 143, 255, 0.08) 40%, transparent 70%);
}
.card:hover::before { opacity: 1; }

/* ---------- 11. Stats ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 34px 30px; transition: transform 0.6s var(--ease), border-color 0.5s; }
.stat:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.stat__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--border); color: var(--orange-2); margin-bottom: 26px; }
.stat:nth-child(even) .stat__icon { color: var(--blue-2); }
.stat__icon svg { width: 24px; height: 24px; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; }
.stat__num .gradient-text { display: inline-block; }
.stat__label { margin-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.stat__desc { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- 12. Services teaser ---------- */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { padding: 32px 28px 30px; display: flex; flex-direction: column; min-height: 250px; transition: transform 0.6s var(--ease), border-color 0.5s, box-shadow 0.6s var(--ease); }
.service:hover { transform: translateY(-8px); border-color: rgba(255, 148, 64, 0.35); box-shadow: 0 30px 60px -30px rgba(255, 107, 26, 0.35); }
.service:nth-child(even):hover { border-color: rgba(47, 208, 255, 0.35); box-shadow: 0 30px 60px -30px rgba(31, 143, 255, 0.4); }
.service__icon { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; color: var(--orange-2); background: rgba(255, 107, 26, 0.1); border: 1px solid rgba(255, 107, 26, 0.22); transition: transform 0.6s var(--ease), background 0.5s; }
.service:nth-child(even) .service__icon { color: var(--blue-2); background: rgba(31, 143, 255, 0.1); border-color: rgba(31, 143, 255, 0.25); }
.service__icon svg { width: 26px; height: 26px; }
.service:hover .service__icon { transform: translateY(-4px) scale(1.06); }
.service__num { position: absolute; top: 26px; right: 26px; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.18); }
.service h3 { margin-top: 26px; font-size: 1.18rem; letter-spacing: -0.02em; }
.service p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- 13. Featured work ---------- */
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-3); aspect-ratio: 4 / 3.3; transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease), border-color 0.5s; }
.work-item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease), filter 0.8s var(--ease); filter: saturate(0.85) brightness(0.85); }
.work-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 13, 16, 0) 35%, rgba(12, 13, 16, 0.92) 100%); transition: opacity 0.6s var(--ease); }
.work-item:hover { transform: translateY(-10px); border-color: var(--border-strong); box-shadow: 0 40px 70px -35px rgba(0, 0, 0, 0.9), 0 0 50px -20px var(--orange-glow); }
.work-item:nth-child(even):hover { box-shadow: 0 40px 70px -35px rgba(0, 0, 0, 0.9), 0 0 50px -20px var(--blue-glow); }
.work-item:hover img { transform: scale(1.1); filter: saturate(1.05) brightness(1); }

.work-item__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.work-item__tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(255, 107, 26, 0.16); color: var(--orange-2); border: 1px solid rgba(255, 107, 26, 0.3); backdrop-filter: blur(6px); }
.work-item:nth-child(even) .work-item__tag { background: rgba(31, 143, 255, 0.16); color: var(--blue-2); border-color: rgba(31, 143, 255, 0.3); }
.work-item__title { margin-top: 12px; font-size: 1.25rem; letter-spacing: -0.02em; }
.work-item__arrow { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--bg); opacity: 0; transform: translateY(12px) scale(0.85); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.work-item__arrow svg { width: 20px; height: 20px; transform: rotate(-45deg); }
.work-item:hover .work-item__arrow { opacity: 1; transform: none; }

.work__more { margin-top: 56px; display: flex; justify-content: center; }

/* ---------- 14. Testimonials ---------- */
.testimonials__wrap { position: relative; max-width: 980px; margin-inline: auto; }
.t-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.t-track { display: flex; transition: transform 0.9s var(--ease); touch-action: pan-y; }
.t-slide { flex: 0 0 100%; padding: 4px; }
.t-card { padding: clamp(32px, 5vw, 60px); border-radius: var(--radius-lg); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; opacity: 0.35; transform: scale(0.96); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.t-slide.is-active .t-card { opacity: 1; transform: none; }
.t-quote-mark { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 16px 40px -14px var(--orange-glow); }
.t-quote-mark svg { width: 28px; height: 28px; color: #fff; }
.t-stars { display: flex; gap: 4px; color: var(--orange-2); }
.t-stars svg { width: 18px; height: 18px; }
.t-text { margin-top: 18px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.5; letter-spacing: -0.015em; color: var(--text); }
.t-author { margin-top: 30px; display: flex; align-items: center; gap: 16px; }
.t-avatar { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--orange), var(--blue)); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06); }
.t-author strong { display: block; font-family: var(--font-display); font-size: 1.02rem; }
.t-author span { font-size: 14px; color: var(--muted); }

.t-controls { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 24px; }
.t-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.03); transition: border-color 0.4s, background 0.4s, transform 0.4s var(--ease); }
.t-btn svg { width: 20px; height: 20px; }
.t-btn:hover { border-color: var(--orange); background: rgba(255, 107, 26, 0.12); transform: scale(1.06); }
.t-dots { display: flex; gap: 10px; }
.t-dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); transition: width 0.5s var(--ease), background 0.5s var(--ease); }
.t-dot.is-active { width: 34px; background: var(--grad); }

/* ---------- 15. Brands marquee ---------- */
.brands { padding: clamp(60px, 8vw, 100px) 0; }
.brands__label { text-align: center; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.brand {
  display: inline-flex; align-items: center; gap: 12px; margin-right: 22px; padding: 18px 30px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border);
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.5);
  transition: color 0.4s, border-color 0.4s, background 0.4s;
}
.brand svg { width: 28px; height: 28px; flex: none; }
.brand:hover { color: #fff; border-color: var(--border-strong); background: rgba(255, 255, 255, 0.05); }
.brand:hover svg { color: var(--orange-2); }
.brand:nth-child(even):hover svg { color: var(--blue-2); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 16. CTA ---------- */
.cta { position: relative; padding: clamp(56px, 8vw, 100px) clamp(28px, 6vw, 80px); border-radius: 40px; overflow: hidden; text-align: center; border: 1px solid var(--border-strong); background: linear-gradient(180deg, rgba(22, 24, 30, 0.85), rgba(14, 15, 19, 0.85)); }
.cta__blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; pointer-events: none; }
.cta__blob--1 { width: 420px; height: 420px; background: var(--orange); top: -200px; left: -100px; animation: drift-1 26s ease-in-out infinite, pulse 8s ease-in-out infinite; }
.cta__blob--2 { width: 460px; height: 460px; background: var(--blue); bottom: -240px; right: -120px; animation: drift-2 30s ease-in-out infinite, pulse 10s ease-in-out infinite 2s; }
.cta__content { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.cta__title { margin-top: 20px; font-size: clamp(2.2rem, 5.4vw, 4.2rem); font-weight: 800; letter-spacing: -0.04em; }
.cta__text { margin: 22px auto 0; max-width: 560px; color: var(--text-soft); font-size: 1.08rem; }
.cta__actions { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- 17. Footer ---------- */
.footer { position: relative; z-index: 2; padding: 90px 0 36px; border-top: 1px solid var(--border); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35)); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
.footer__about { margin-top: 22px; color: var(--muted); font-size: 15px; max-width: 340px; }
.footer h4 { font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); margin-bottom: 22px; font-weight: 600; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { color: var(--muted); font-size: 15px; transition: color 0.3s, transform 0.4s var(--ease); display: inline-flex; }
.footer__links a:hover { color: var(--orange-2); transform: translateX(4px); }
.footer__contact { display: grid; gap: 14px; color: var(--muted); font-size: 15px; }
.footer__contact a:hover { color: var(--text); }
.footer__contact li { display: flex; gap: 12px; align-items: center; }
.footer__contact svg { width: 18px; height: 18px; color: var(--orange-2); flex: none; }

.socials { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.social { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); color: var(--text-soft); transition: transform 0.45s var(--ease), border-color 0.4s, color 0.4s, background 0.4s, box-shadow 0.45s; }
.social svg { width: 18px; height: 18px; }
.social:hover { transform: translateY(-4px); color: #fff; border-color: var(--orange); background: rgba(255, 107, 26, 0.14); box-shadow: 0 12px 26px -12px var(--orange-glow); }
.social:nth-child(even):hover { border-color: var(--blue); background: rgba(31, 143, 255, 0.14); box-shadow: 0 12px 26px -12px var(--blue-glow); }

.footer__bottom { margin-top: 70px; padding-top: 28px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 14px; }
.footer__bottom a:hover { color: var(--text); }

/* Back to top */
.to-top { position: fixed; right: 26px; bottom: 26px; z-index: 80; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: rgba(20, 22, 28, 0.8); border: 1px solid var(--border-strong); backdrop-filter: blur(12px); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s, border-color 0.4s; }
.to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--orange); }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .float-card--a { left: -6%; }
  .float-card--b { right: -6%; }
}

@media (max-width: 960px) {
  .nav__links, .nav__actions .btn { display: none; }
  .burger { display: block; }
  .hero { padding-top: calc(var(--header-h) + 30px); }
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .hero__visual { order: -1; width: min(82%, 400px); margin-top: 10px; }
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .scroll-cue { display: none; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 36px, var(--container)); }
  .stats__grid, .services__grid, .work__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .t-card { grid-template-columns: 1fr; }
  .float-card--a { left: -4%; top: 6%; }
  .float-card--b { right: -4%; bottom: 10%; }
  .float-card--c { display: none; }
  .float-card { padding: 10px 12px 10px 10px; }
  .float-card strong { font-size: 15px; }
  .float-card__icon { width: 36px; height: 36px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .rotator > span { white-space: normal; }
  .photo-caption { display: none; }
  .cursor-glow { display: none; }
  .to-top { right: 16px; bottom: 16px; }
}

/* =====================================================================
   INNER PAGES — shared page header
   ===================================================================== */
.page-hero { position: relative; z-index: 2; padding: calc(var(--header-h) + clamp(60px, 9vw, 110px)) 0 clamp(40px, 6vw, 70px); text-align: center; }
.breadcrumb { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); backdrop-filter: blur(10px); }
.breadcrumb a { color: var(--text-soft); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--orange-2); }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.6; }
.breadcrumb [aria-current] { color: var(--orange-2); }
.page-hero__title { margin-top: 26px; font-size: clamp(2.6rem, 6.6vw, 5.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.page-hero__sub { margin: 22px auto 0; max-width: 640px; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); }
.page-hero__meta { margin-top: 40px; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.meta-chip { display: inline-flex; align-items: baseline; gap: 10px; padding: 12px 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); backdrop-filter: blur(10px); font-size: 14px; color: var(--muted); }
.meta-chip strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em; }

/* Page-hero entrance — same timing language as the Home hero */
.page-hero [data-hero] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms + 250ms); }
body.is-loaded .page-hero [data-hero] { opacity: 1; transform: none; filter: blur(0); }

/* =====================================================================
   PORTFOLIO — filter tabs
   ===================================================================== */
.portfolio { padding-top: 10px; }
.filters-wrap { display: flex; justify-content: center; margin-bottom: clamp(40px, 6vw, 64px); }
.filters { position: relative; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.filter { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--text-soft); transition: color 0.45s var(--ease); }
.filter:hover { color: #fff; }
.filter.is-active { color: #fff; }
.filter__count { display: grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, 0.07); transition: background 0.45s var(--ease); }
.filter.is-active .filter__count { background: rgba(255, 255, 255, 0.22); }
/* Soft glowing pill that glides to the active tab */
.filters__indicator {
  position: absolute; top: 0; left: 0; width: 0; height: 0; z-index: 0; border-radius: 999px; pointer-events: none;
  background: linear-gradient(135deg, var(--orange) 0%, #ff8a2b 45%, var(--blue) 130%);
  box-shadow: 0 10px 30px -10px var(--orange-glow), 0 0 34px -10px var(--blue-glow);
  transition: transform 0.65s var(--ease), width 0.65s var(--ease), height 0.65s var(--ease), opacity 0.4s;
}

/* =====================================================================
   PORTFOLIO — project grid & cards
   ===================================================================== */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-item.is-hidden { display: none; }
.p-item.is-settled { transition: none; } /* after first filter, WAAPI handles motion */

.tag { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(255, 107, 26, 0.14); color: var(--orange-2); border: 1px solid rgba(255, 107, 26, 0.3); }
.tag--blue { background: rgba(31, 143, 255, 0.14); color: var(--blue-2); border-color: rgba(31, 143, 255, 0.3); }

.p-card { display: flex; flex-direction: column; cursor: pointer; outline: none; transition: transform 0.6s var(--ease), border-color 0.5s var(--ease), box-shadow 0.6s var(--ease); }
.p-card:hover, .p-card:focus-visible { transform: translateY(-8px); border-color: rgba(255, 148, 64, 0.38); box-shadow: 0 34px 60px -32px rgba(0, 0, 0, 0.85), 0 0 55px -18px var(--orange-glow); }
.p-item[data-category="marketing"] .p-card:hover, .p-item[data-category="ai"] .p-card:hover,
.p-item[data-category="marketing"] .p-card:focus-visible, .p-item[data-category="ai"] .p-card:focus-visible { border-color: rgba(47, 208, 255, 0.38); box-shadow: 0 34px 60px -32px rgba(0, 0, 0, 0.85), 0 0 55px -18px var(--blue-glow); }

.p-card__thumb { position: relative; margin: 10px 10px 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-3); }
.p-card__thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); filter: saturate(0.88) brightness(0.88); transition: transform 1.2s var(--ease), filter 0.8s var(--ease); }
.p-card__thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(12, 13, 16, 0.15), rgba(12, 13, 16, 0.55)); opacity: 0; transition: opacity 0.6s var(--ease); }
.p-card:hover .p-card__thumb img, .p-card:focus-visible .p-card__thumb img { transform: scale(1.09); filter: saturate(1.05) brightness(1); }
.p-card:hover .p-card__thumb::after, .p-card:focus-visible .p-card__thumb::after { opacity: 1; }
.p-card__view { position: absolute; left: 50%; top: 50%; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: #fff; background: rgba(20, 22, 28, 0.6); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transform: translate(-50%, -40%) scale(0.9); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.p-card__view svg { width: 18px; height: 18px; }
.p-card:hover .p-card__view, .p-card:focus-visible .p-card__view { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.p-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.p-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.p-card__year { font-size: 13px; color: var(--muted); font-family: var(--font-display); font-weight: 500; }
.p-card__title { margin-top: 6px; font-size: 1.22rem; letter-spacing: -0.02em; }
.p-card__desc { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.p-card__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--text-soft); transition: color 0.4s var(--ease); }
.p-card__more svg { width: 16px; height: 16px; transition: transform 0.45s var(--ease); }
.p-card:hover .p-card__more { color: var(--orange-2); }
.p-item[data-category="marketing"] .p-card:hover .p-card__more, .p-item[data-category="ai"] .p-card:hover .p-card__more { color: var(--blue-2); }
.p-card:hover .p-card__more svg { transform: translateX(5px); }

/* =====================================================================
   LIGHTBOX — expanded project view
   ===================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(7, 8, 11, 0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.lightbox__glow { position: absolute; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; filter: blur(120px); opacity: 0.25; pointer-events: none; background: radial-gradient(circle, var(--orange), transparent 60%); animation: pulse 9s ease-in-out infinite; }
.lightbox__glow--b { background: radial-gradient(circle, var(--blue), transparent 60%); transform: translate(30%, 20%); animation-delay: 3s; }

.lightbox__dialog {
  position: relative; z-index: 1; width: min(1180px, 100%); max-height: calc(100vh - 48px); max-height: calc(100svh - 48px);
  display: grid; grid-template-columns: 1.45fr 1fr; border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, rgba(24, 26, 32, 0.97), rgba(15, 16, 20, 0.97));
  border: 1px solid var(--border-strong);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.95), 0 0 90px -40px var(--orange-glow);
  transform: translateY(34px) scale(0.96); filter: blur(10px);
  transition: transform 0.75s var(--ease), filter 0.75s var(--ease);
}
.lightbox.is-open .lightbox__dialog { transform: none; filter: blur(0); }

.lightbox__media { position: relative; background: #0a0b0e; min-height: 460px; overflow: hidden; }
.lightbox__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.45s var(--ease), transform 1s var(--ease), filter 0.45s var(--ease); }
.lightbox__media.is-swapping img { opacity: 0; transform: scale(1.05); filter: blur(8px); }
.lightbox__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 70%, rgba(15, 16, 20, 0.6)); }

.lightbox__info { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 46px) clamp(24px, 3.4vw, 42px); overflow-y: auto; }
.lightbox__info > * { transition: opacity 0.45s var(--ease), transform 0.6s var(--ease), filter 0.45s var(--ease); }
.lightbox__info.is-swapping > * { opacity: 0; transform: translateY(12px); filter: blur(4px); }
.lightbox__title { margin-top: 18px; font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: -0.03em; }
.lightbox__desc { margin-top: 16px; color: var(--text-soft); font-size: 15.5px; line-height: 1.75; }
.lightbox__meta { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.lightbox__meta dt { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.lightbox__meta dd { margin-top: 4px; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.lightbox__tools { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.lightbox__tools span { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; color: var(--text-soft); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); }
.lightbox__nav { margin-top: auto; padding-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lightbox__counter { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--muted); letter-spacing: 0.08em; }
.lightbox__counter b { color: var(--text); }
.lightbox__arrows { display: flex; gap: 10px; }

.lightbox__close { position: absolute; top: 18px; right: 18px; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: rgba(20, 22, 28, 0.7); border: 1px solid var(--border-strong); backdrop-filter: blur(12px); transition: transform 0.45s var(--ease), border-color 0.4s, background 0.4s; }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__close:hover { transform: rotate(90deg); border-color: var(--orange); background: rgba(255, 107, 26, 0.16); }

@media (max-width: 1100px) {
  .p-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .lightbox { padding: 12px; }
  .lightbox__dialog { grid-template-columns: 1fr; overflow-y: auto; max-height: calc(100svh - 24px); border-radius: 22px; }
  .lightbox__media { min-height: 0; aspect-ratio: 4 / 3; }
  .lightbox__media::after { background: linear-gradient(180deg, transparent 70%, rgba(15, 16, 20, 0.7)); }
  .lightbox__info { overflow: visible; }
}
@media (max-width: 640px) {
  .p-grid { grid-template-columns: 1fr; }
  .filters { border-radius: 22px; }
  .filter { padding: 10px 16px; font-size: 13.5px; }
  .lightbox__meta { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   ABOUT PAGE — Specific Styles
   ===================================================================== */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.about-intro__text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-soft);
  margin-top: 24px;
}

.about-intro__text strong {
  color: #fff;
}

.about-intro__meta {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-intro__meta-card {
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}

.about-intro__meta-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.about-intro__meta-card span {
  font-size: 13.5px;
  color: var(--muted);
}

/* Skills Matrix */
.skills-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.skill-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.skill-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  color: var(--orange-2);
}

.skill-card:nth-child(even) .skill-card__icon {
  color: var(--blue-2);
}

.skill-card h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.skill-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.skill-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.skill-card__tags span {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

/* Timeline / Milestones */
.timeline {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--orange) 0%, var(--blue) 100%);
  opacity: 0.25;
}

.timeline-item {
  position: relative;
  padding-left: 72px;
}

.timeline-item__dot {
  position: absolute;
  top: 24px;
  left: 20px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--orange);
  box-shadow: 0 0 16px var(--orange-glow);
}

.timeline-item:nth-child(even) .timeline-item__dot {
  border-color: var(--blue);
  box-shadow: 0 0 16px var(--blue-glow);
}

.timeline-item .card {
  padding: 28px;
}

.timeline-item__year {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-2);
}

.timeline-item:nth-child(even) .timeline-item__year {
  color: var(--blue-2);
}

.timeline-item__title {
  margin-top: 6px;
  font-size: 1.25rem;
}

.timeline-item__sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.timeline-item__desc {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}

/* Approach & Principles */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.principle {
  padding: 34px 28px;
}

.principle__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 20px;
}

.principle h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.principle p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .about-hero-grid { grid-template-columns: 1fr; }
  .skills-matrix { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .about-intro__meta { grid-template-columns: 1fr; }
  .timeline::before { left: 16px; }
  .timeline-item { padding-left: 48px; }
  .timeline-item__dot { left: 8px; }
}

/* =====================================================================
   SERVICES PAGE — Specific Styles
   ===================================================================== */
.agency-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 107, 26, 0.12), rgba(31, 143, 255, 0.12));
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-soft);
  backdrop-filter: blur(12px);
}

.agency-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}

.services-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

#services-grid {
  padding-top: 10px;
  padding-bottom: clamp(30px, 4vw, 50px);
}

#standards {
  padding-top: clamp(40px, 5vw, 60px);
  padding-bottom: clamp(50px, 7vw, 80px);
}

.service-card {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s var(--ease), border-color 0.5s var(--ease), box-shadow 0.6s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 148, 64, 0.4);
  box-shadow: 0 32px 64px -28px rgba(0, 0, 0, 0.85), 0 0 55px -20px var(--orange-glow);
}

.service-card:nth-child(even):hover {
  border-color: rgba(47, 208, 255, 0.4);
  box-shadow: 0 32px 64px -28px rgba(0, 0, 0, 0.85), 0 0 55px -20px var(--blue-glow);
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.25);
  color: var(--orange-2);
  transition: transform 0.6s var(--ease);
}

.service-card:nth-child(even) .service-card__icon {
  background: rgba(31, 143, 255, 0.1);
  border-color: rgba(31, 143, 255, 0.25);
  color: var(--blue-2);
}

.service-card:hover .service-card__icon {
  transform: scale(1.08) translateY(-3px);
}

.service-card__badge {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
}

.service-card h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-card__features {
  display: grid;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.service-card__feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-soft);
}

.service-card__feature-item svg {
  width: 15px;
  height: 15px;
  color: var(--orange-2);
  flex: none;
}

.service-card:nth-child(even) .service-card__feature-item svg {
  color: var(--blue-2);
}

.service-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.service-card__price-wrap {
  display: flex;
  flex-direction: column;
}

.service-card__price-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.service-card__price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  transition: all 0.4s var(--ease);
}

.service-card:hover .service-card__cta {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 10px 24px -10px var(--orange-glow);
}

.service-card:nth-child(even):hover .service-card__cta {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 10px 24px -10px var(--blue-glow);
}

/* Service Guarantee Banner */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.guarantee-card {
  padding: 26px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guarantee-card svg {
  width: 32px;
  height: 32px;
  color: var(--orange-2);
  margin-bottom: 14px;
}

.guarantee-card:nth-child(even) svg {
  color: var(--blue-2);
}

.guarantee-card strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.guarantee-card span {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .services-catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .services-catalog-grid { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .service-card__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .service-card__cta { width: 100%; justify-content: center; }
}

/* =====================================================================
   AWARDS & ACHIEVEMENTS PAGE — Specific Styles
   ===================================================================== */
.achieve-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.achieve-summary-card {
  padding: 24px 22px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.achieve-summary-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.achieve-summary-card span {
  font-size: 13.5px;
  color: var(--muted);
}

/* Certifications Showcase Grid */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cert-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s var(--ease), border-color 0.5s var(--ease), box-shadow 0.6s var(--ease);
}

.cert-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 148, 64, 0.4);
  box-shadow: 0 32px 64px -28px rgba(0, 0, 0, 0.85), 0 0 55px -20px var(--orange-glow);
}

.cert-card:nth-child(even):hover {
  border-color: rgba(47, 208, 255, 0.4);
  box-shadow: 0 32px 64px -28px rgba(0, 0, 0, 0.85), 0 0 55px -20px var(--blue-glow);
}

.cert-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.cert-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  color: var(--orange-2);
}

.cert-card:nth-child(even) .cert-card__icon {
  color: var(--blue-2);
}

.cert-card__badge {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-soft);
}

.cert-card__badge--learning {
  background: rgba(255, 107, 26, 0.15);
  border-color: rgba(255, 107, 26, 0.35);
  color: var(--orange-2);
}

.cert-card h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.cert-card__issuer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--orange-2);
  font-weight: 600;
  margin-bottom: 14px;
}

.cert-card:nth-child(even) .cert-card__issuer {
  color: var(--blue-2);
}

.cert-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.cert-card__footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

.cert-card__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3ddc84;
  font-weight: 600;
}

.cert-card__status--in-progress {
  color: var(--orange-2);
}

/* Built Web Apps Showcase Grid */
.apps-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.app-achieve-card {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s var(--ease), border-color 0.5s var(--ease), box-shadow 0.6s var(--ease);
}

.app-achieve-card:hover {
  transform: translateY(-8px);
  border-color: rgba(47, 208, 255, 0.4);
  box-shadow: 0 32px 64px -28px rgba(0, 0, 0, 0.85), 0 0 55px -20px var(--blue-glow);
}

.app-achieve-card:nth-child(even):hover {
  border-color: rgba(255, 148, 64, 0.4);
  box-shadow: 0 32px 64px -28px rgba(0, 0, 0, 0.85), 0 0 55px -20px var(--orange-glow);
}

.app-achieve-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.app-achieve-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(31, 143, 255, 0.1);
  border: 1px solid rgba(31, 143, 255, 0.25);
  color: var(--blue-2);
  transition: transform 0.6s var(--ease);
}

.app-achieve-card:nth-child(even) .app-achieve-card__icon {
  background: rgba(255, 107, 26, 0.1);
  border-color: rgba(255, 107, 26, 0.25);
  color: var(--orange-2);
}

.app-achieve-card:hover .app-achieve-card__icon {
  transform: scale(1.08) translateY(-3px);
}

.app-achieve-card__meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-soft);
}

.app-achieve-card h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.app-achieve-card__creator {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-2);
  margin-bottom: 14px;
}

.app-achieve-card:nth-child(even) .app-achieve-card__creator {
  color: var(--orange-2);
}

.app-achieve-card__tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}

.app-achieve-card__impact {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.app-achieve-card__footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.app-achieve-card__year {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.app-achieve-card__badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #3ddc84;
}

.app-achieve-card__badge-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 10px #3ddc84;
}

@media (max-width: 960px) {
  .certifications-grid { grid-template-columns: 1fr; }
  .apps-showcase-grid { grid-template-columns: 1fr; }
  .achieve-summary-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   CONTACT PAGE — Specific Styles & Animated Glowing Form
   ===================================================================== */
.contact-hero {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 30px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

/* Contact Info Sidebar / Left Column */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-card {
  padding: clamp(28px, 4vw, 36px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(25, 27, 34, 0.7), rgba(15, 17, 22, 0.7));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.contact-info-card:hover {
  border-color: rgba(31, 143, 255, 0.35);
  transform: translateY(-3px);
}

.contact-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  opacity: 0.8;
}

.contact-info-card h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.contact-info-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.contact-quick-list {
  display: grid;
  gap: 16px;
}

.contact-quick-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: all 0.35s var(--ease);
}

.contact-quick-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--orange);
  transform: translateX(4px);
  box-shadow: 0 8px 24px -10px var(--orange-glow);
}

.contact-quick-item--blue:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px -10px var(--blue-glow);
}

.contact-quick-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(255, 107, 26, 0.12);
  color: var(--orange-2);
  border: 1px solid rgba(255, 107, 26, 0.25);
  transition: transform 0.35s var(--ease);
}

.contact-quick-item--blue .contact-quick-icon {
  background: rgba(31, 143, 255, 0.12);
  color: var(--blue-2);
  border-color: rgba(31, 143, 255, 0.25);
}

.contact-quick-item:hover .contact-quick-icon {
  transform: scale(1.08);
}

.contact-quick-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-quick-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-quick-val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Websites Showcase inside Contact */
.contact-websites-card {
  padding: clamp(24px, 3.5vw, 32px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(22, 24, 30, 0.7), rgba(14, 16, 20, 0.7));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.contact-websites-card h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-websites-grid {
  display: grid;
  gap: 10px;
}

.contact-web-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.contact-web-link svg {
  width: 14px;
  height: 14px;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.3s;
}

.contact-web-link:hover {
  background: rgba(31, 143, 255, 0.08);
  border-color: rgba(31, 143, 255, 0.3);
  color: #fff;
  transform: translateX(4px);
}

.contact-web-link:hover svg {
  color: var(--blue-2);
  transform: translate(2px, -2px);
}

/* Social Hub in Contact */
.contact-social-card {
  padding: clamp(24px, 3.5vw, 32px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(22, 24, 30, 0.7), rgba(14, 16, 20, 0.7));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.contact-social-card h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.contact-social-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.contact-social-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.35s var(--ease);
}

.contact-social-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.contact-social-btn:hover {
  color: #fff;
  transform: translateY(-2px);
}

.contact-social-btn--yt:hover {
  border-color: #ff3333;
  background: rgba(255, 51, 51, 0.12);
  box-shadow: 0 8px 20px -8px rgba(255, 51, 51, 0.4);
}

.contact-social-btn--ig:hover {
  border-color: #e1306c;
  background: rgba(225, 48, 108, 0.12);
  box-shadow: 0 8px 20px -8px rgba(225, 48, 108, 0.4);
}

.contact-social-btn--in:hover {
  border-color: #0077b5;
  background: rgba(0, 119, 181, 0.12);
  box-shadow: 0 8px 20px -8px rgba(0, 119, 181, 0.4);
}

.contact-social-btn--fb:hover {
  border-color: #1877f2;
  background: rgba(24, 119, 242, 0.12);
  box-shadow: 0 8px 20px -8px rgba(24, 119, 242, 0.4);
}

/* Contact Form Container / Right Column */
.contact-form-wrap {
  padding: clamp(32px, 5vw, 52px);
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(23, 26, 33, 0.85), rgba(15, 17, 22, 0.9));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.65);
  position: relative;
  overflow: hidden;
}

.contact-form-wrap::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orange-glow), transparent 70%);
  opacity: 0.35;
  filter: blur(60px);
  pointer-events: none;
}

.contact-form-wrap::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow), transparent 70%);
  opacity: 0.35;
  filter: blur(60px);
  pointer-events: none;
}

.contact-form-header {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.contact-form-lead {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.25);
  color: var(--orange-2);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-form-lead svg {
  width: 16px;
  height: 16px;
}

.contact-form-header h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.contact-form-header p {
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.65;
}

/* Form Grid & Input Fields */
.contact-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.form-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-label span.req {
  color: var(--orange-2);
}

.form-label span.opt {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
  text-transform: none;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 18px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
  transition: color 0.35s var(--ease), transform 0.35s var(--ease);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 16px 20px 16px 48px;
  border-radius: 16px;
  background: rgba(14, 16, 20, 0.85);
  border: 1px solid var(--border);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), transform 0.3s var(--ease);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Subtle Animated Focus States with soft glow */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: rgba(18, 21, 28, 0.95);
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.18), 0 8px 24px -6px rgba(255, 107, 26, 0.25);
  transform: translateY(-1px);
}

.form-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--orange-2);
  transform: scale(1.1);
}

/* Secondary focus variant for select & budget */
.form-group--blue .form-input:focus,
.form-group--blue .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 143, 255, 0.18), 0 8px 24px -6px rgba(31, 143, 255, 0.25);
}

.form-group--blue .input-wrapper:focus-within .input-icon {
  color: var(--blue-2);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a92a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-select option {
  background: #14161c;
  color: #fff;
  padding: 10px;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  padding-top: 16px;
  line-height: 1.6;
}

.form-textarea-wrapper .input-icon {
  top: 18px;
}

.form-submit-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #e55306);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 36px -10px var(--orange-glow);
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), filter 0.4s;
}

.form-submit-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 45px -8px var(--orange-glow);
  filter: brightness(1.08);
}

.form-submit-btn:active {
  transform: translateY(0) scale(0.99);
}

.form-submit-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}

.form-submit-btn:hover svg {
  transform: translateX(4px);
}

.form-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.form-guarantee svg {
  width: 16px;
  height: 16px;
  color: #3ddc84;
}

/* Success notification message */
.form-status {
  display: none;
  padding: 16px 20px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.5;
  animation: fadeIn 0.4s var(--ease);
}

.form-status--success {
  background: rgba(61, 220, 132, 0.12);
  border: 1px solid rgba(61, 220, 132, 0.3);
  color: #79f2af;
}

.form-status--success svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Responsive queries for Contact page */
@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    order: -1;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-submit-btn {
    width: 100%;
  }
  .form-submit-row {
    flex-direction: column;
    align-items: stretch;
  }
  .form-guarantee {
    justify-content: center;
  }
}

/* ---------- 19. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
