/* ═══════════════════════════════════════════════════
   HYPERTECHGAMES STUDIO — Awwwards-Quality Premium UI
   Cinematic Scroll Experience · Light Theme · Comic
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ─── Design Tokens ─── */
:root {
  --white: #FFFFFF;
  --off-white: #FAFBFF;
  --bg-soft: #F7F4FB;
  --bg-warm: #FFF9F2;

  --ink: #1C0A2D;
  --ink-secondary: #4A3A5C;
  --ink-muted: #857498;
  --ink-faint: #C4B9D0;
  --border: #EBE4F2;
  --border-soft: #F4EEF9;

  --pink: #E91E7B;
  --pink-50: #FDF0F6;
  --pink-100: #FAD1E3;
  --pink-600: #D01569;

  --purple: #7C2D92;
  --purple-50: #F5ECF8;
  --purple-100: #E5C5F1;
  --purple-600: #652077;

  --yellow: #FFB800;
  --yellow-50: #FFF9E6;
  --yellow-100: #FFEAB3;
  --yellow-600: #D99B00;

  --deep-purple: #210438;

  --blue: #E91E7B; /* Primary brand accent mapped to Pink */
  --blue-50: #FDF0F6;
  --blue-100: #FAD1E3;
  --blue-600: #D01569;

  --orange: #FFB800;
  --orange-50: #FFF9E6;
  --orange-100: #FFEAB3;
  --orange-600: #D99B00;

  --success: #10B981;
  --error: #EF4444;

  --gradient-main: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  --gradient-brand: linear-gradient(135deg, var(--pink) 0%, var(--purple) 50%, var(--yellow) 100%);
  --gradient-warm: linear-gradient(135deg, var(--yellow) 0%, var(--pink) 100%);
  --gradient-cool: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  --gradient-glow-pink: radial-gradient(circle, rgba(233,30,123,0.15) 0%, transparent 70%);
  --gradient-glow-purple: radial-gradient(circle, rgba(124,45,146,0.15) 0%, transparent 70%);
  --gradient-glow-yellow: radial-gradient(circle, rgba(255,184,0,0.12) 0%, transparent 70%);
  --gradient-glow-blue: radial-gradient(circle, rgba(233,30,123,0.15) 0%, transparent 70%);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --fs-mega: clamp(3rem, 6.5vw, 5.5rem);
  --fs-display: clamp(2.5rem, 5vw, 4.25rem);
  --fs-h1: clamp(2rem, 4vw, 3.25rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.5rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
  --fs-body: 1rem;
  --fs-body-lg: 1.125rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;
  --fs-2xs: 0.6875rem;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(15,15,26,0.03);
  --shadow-sm: 0 2px 8px rgba(15,15,26,0.04);
  --shadow-md: 0 8px 24px rgba(15,15,26,0.06);
  --shadow-lg: 0 16px 48px rgba(15,15,26,0.08);
  --shadow-xl: 0 24px 64px rgba(15,15,26,0.10);
  --shadow-glow-blue: 0 8px 40px rgba(79,123,255,0.18);
  --shadow-glow-purple: 0 8px 40px rgba(123,97,255,0.16);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.45, 0, 0.55, 1);

  --nav-h: 76px;
  --container: 1200px;
  --container-lg: 1360px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--white);
  line-height: var(--lh-normal);
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; border: none; outline: none; background: none; }

/* ─── Utility ─── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.container-lg { max-width: var(--container-lg); margin: 0 auto; padding: 0 2rem; }

/* ─── Gradient Text ─── */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text--warm {
  background: linear-gradient(135deg, #FFB800 0%, #E91E7B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════
   NAVIGATION — HTG Brand Theme
   ═══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: all 0.4s var(--ease);
}

/* Top brand accent bar */
.nav::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-brand);
  z-index: 1002;
}

.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(253, 246, 250, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1.5px solid rgba(28, 10, 45, 0.12);
  transition: all 0.4s var(--ease);
  z-index: 1000;
}

.nav.scrolled::before {
  border-bottom-color: rgba(28, 10, 45, 0.2);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px rgba(28, 10, 45, 0.08);
}

.nav__inner {
  position: relative;
  z-index: 1001;
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 10;
  padding: 4px 0;
}

.htg-logo-icon {
  height: 44px;
  width: auto;
  transition: transform 0.35s var(--ease-spring), filter 0.35s ease;
  filter: drop-shadow(0 2px 8px rgba(233, 30, 123, 0.12));
}

.nav__logo:hover .htg-logo-icon,
.footer__logo:hover .htg-logo-icon {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 4px 16px rgba(233, 30, 123, 0.22));
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Hide mobile-only elements on desktop */
.nav-icon-badge,
.mobile-social-bar { display: none; }

.nav__link {
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: relative;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-spring);
}

.nav__link:hover, .nav__link.active {
  color: var(--pink);
  background: var(--pink-50);
  transform: translateY(-1px);
}

/* Services Header Dropdown Menu */
.nav__dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-chevron {
  transition: transform 0.3s ease;
  margin-left: 4px;
  vertical-align: middle;
}

.nav__dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 580px;
  background: #FFFFFF;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s var(--ease-spring);
  z-index: 1000;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}

.nav__dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  background: #FDF6FA;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: var(--pink-50);
  border-color: var(--pink);
  transform: translateX(3px);
}

.dropdown-icon {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.dropdown-text {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

/* CTA Button in Nav */
.nav__btn {
  padding: 10px 24px;
  background: var(--gradient-brand);
  color: white;
  font-size: var(--fs-xs);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: var(--radius-full);
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.nav__btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 5px 5px 0 var(--ink), 0 8px 24px rgba(233, 30, 123, 0.2);
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px; height: 40px;
  gap: 5px;
  cursor: pointer;
  z-index: 1005;
  padding: 4px;
  background: var(--bg-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 2px 2px 0 var(--ink);
  transition: all 0.3s var(--ease-spring);
}

.nav__burger:hover {
  background: var(--pink-50);
  transform: scale(1.05);
}

.nav__burger span {
  width: 20px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-spring), opacity 0.25s ease, background-color 0.35s ease;
  transform-origin: center;
}

.nav__burger.open {
  background: var(--pink-50);
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.nav__burger.open span {
  background: var(--pink);
}

.nav__burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }


/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  padding-bottom: 2rem;
}

/* Parallax Glow Orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  will-change: transform;
}

.hero__orb--1 {
  width: 700px; height: 700px;
  background: rgba(233,30,123,0.12);
  top: -200px; right: -150px;
}

.hero__orb--2 {
  width: 500px; height: 500px;
  background: rgba(124,45,146,0.10);
  bottom: -100px; left: -200px;
}

.hero__orb--3 {
  width: 350px; height: 350px;
  background: rgba(255,184,0,0.10);
  top: 40%; left: 55%;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 1.5rem 0 2rem;
}

.hero__content {
  max-width: 620px;
  margin-top: 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #FFF0F6 0%, #FFF9E6 100%);
  border: 2.5px solid var(--ink);
  box-shadow: 3.5px 3.5px 0 var(--ink);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 900;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.75rem;
  transition: transform 0.3s var(--ease-spring);
}

.hero__eyebrow:hover {
  transform: translateY(-2px) rotate(-1deg);
}

.hero__eyebrow-dot {
  width: 9px; height: 9px;
  background: var(--pink);
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  animation: eyebrow-pulse 2s ease-in-out infinite;
}

@keyframes eyebrow-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero__title {
  font-size: var(--fs-mega);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.hero-title-highlight {
  background: var(--yellow);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  box-shadow: 3.5px 3.5px 0 var(--ink);
  border-radius: var(--radius-md);
  padding: 2px 14px;
  display: inline-block;
  transform: rotate(-2deg);
  margin: 0 4px;
}

/* ═══════════════════════════════════════
   HANGING POWER BADGES UNDER TITLE
   ═══════════════════════════════════════ */
.hero-hanging-badges-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  vertical-align: middle;
  max-width: 100%;
}

.hanging-badge-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
  flex-shrink: 0;
}

.hanging-badge-tag--1 {
  animation: badge-sway-1 4s ease-in-out infinite alternate;
}

.hanging-badge-tag--2 {
  animation: badge-sway-2 3.6s ease-in-out infinite alternate;
}

.hanging-badge-tag--3 {
  animation: badge-sway-3 4.4s ease-in-out infinite alternate;
}

.hanging-badge-string {
  width: 2px;
  height: 14px;
  background: var(--ink);
  box-shadow: 1px 0 0 rgba(233,30,123,0.3);
}

.hanging-badge-tag--2 .hanging-badge-string {
  height: 14px;
}

.hanging-badge-pin {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  border: 1.8px solid var(--ink);
  box-shadow: 1px 1px 0 var(--ink);
  margin-top: -2px;
  margin-bottom: -3px;
  z-index: 2;
}

.power-badge-card {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 14px 4px 8px;
  border-radius: var(--radius-full);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: clamp(0.95rem, 1.6vw, 1.35rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: all 0.35s var(--ease-spring);
  cursor: default;
}

.power-badge-card--engage {
  background: linear-gradient(135deg, #FFF0F6 0%, #FFE4F0 100%);
  color: var(--pink);
}

.power-badge-card--retain {
  background: linear-gradient(135deg, #F5ECF8 0%, #E9D5F2 100%);
  color: var(--purple);
}

.power-badge-card--convert {
  background: linear-gradient(135deg, #FFF9E6 0%, #FFF0C2 100%);
  color: var(--ink);
}

.power-badge-svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  filter: drop-shadow(0 1.5px 3px rgba(28,10,45,0.12));
  transition: transform 0.35s var(--ease-spring);
}

.hanging-badge-tag:hover {
  transform: translateY(-3px) scale(1.08) rotate(0deg) !important;
}

.hanging-badge-tag:hover .power-badge-card {
  box-shadow: 6px 6px 0 var(--ink);
}

.hanging-badge-tag:hover .power-badge-svg {
  transform: scale(1.18) rotate(8deg);
}

@keyframes badge-sway-1 {
  0% { transform: rotate(-3deg); }
  100% { transform: rotate(3deg); }
}

@keyframes badge-sway-2 {
  0% { transform: rotate(3deg); }
  100% { transform: rotate(-3deg); }
}

@keyframes badge-sway-3 {
  0% { transform: rotate(-2.5deg); }
  100% { transform: rotate(3.5deg); }
}

.hero__desc {
  font-size: var(--fs-body-lg);
  color: var(--ink-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: 2.5rem;
  max-width: 520px;
  font-weight: 500;
}

.hero__buttons { display: flex; gap: 1.25rem; flex-wrap: wrap; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 2.5px dashed rgba(28, 10, 45, 0.15);
  width: 100%;
}

.hero__stat {
  background: var(--white);
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: var(--radius-lg);
  padding: 1rem 1.15rem;
  text-align: center;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}

.hero__stat:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 6px 6px 0 var(--ink);
}

.hero__stat-num {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-num span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__stat-label {
  font-size: var(--fs-2xs);
  color: var(--ink-secondary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Visual Side */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
}

/* ═══════════════════════════════════════
   BUTTONS — Premium with Ripple + Magnetic
   ═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: var(--radius-full);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  white-space: nowrap;
  isolation: isolate;
}

.btn__ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: ripple-expand 0.6s ease-out forwards;
  pointer-events: none;
  z-index: 0;
}

@keyframes ripple-expand {
  to { transform: scale(4); opacity: 0; }
}

.btn > * { position: relative; z-index: 1; }

.btn--primary {
  background: var(--gradient-brand);
  color: white;
  font-weight: 900;
  letter-spacing: 0.8px;
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-spring);
}

.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6.5px 6.5px 0 var(--ink);
  color: white;
}

.btn--ghost {
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn--lg { padding: 18px 42px; font-size: 1.05rem; }

.btn__icon {
  transition: transform 0.3s var(--ease);
  display: flex;
}

.btn:hover .btn__icon { transform: translateX(4px); }

/* Click Press-Down Feedback (Prevents buttons from expanding when clicked) */
.btn:active,
.nav__btn:active,
.btn--view-all:active,
.portfolio-card__btn:active,
.social-circle:active,
.floating-sfx-widget:active {
  transform: scale(0.96) translate(1px, 1px) !important;
  box-shadow: 1.5px 1.5px 0 var(--ink) !important;
  transition: transform 0.1s ease, box-shadow 0.1s ease !important;
}

/* ═══════════════════════════════════════
   SECTION CONNECTOR — Curved SVG Dividers
   ═══════════════════════════════════════ */
.section-connector {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: -2px 0;
  z-index: 5;
}

.section-connector svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ═══════════════════════════════════════
   FLOATING GAMING ELEMENTS
   ═══════════════════════════════════════ */
.floating-objects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floating-obj {
  position: absolute;
  will-change: transform;
  opacity: 0.08;
}

.floating-obj svg {
  width: 100%;
  height: 100%;
}

/* ═══════════════════════════════════════
   ILLUSTRATION PLACEHOLDERS — Premium
   ═══════════════════════════════════════ */
.illust-box {
  width: 100%;
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}

.illust-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, currentColor 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  opacity: 0.05;
}

/* Animated border gradient */
.illust-box::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2.5px;
  background: conic-gradient(from var(--angle, 0deg), transparent 40%, currentColor 50%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.2;
  animation: border-spin 6s linear infinite;
}

@keyframes border-spin {
  to { --angle: 360deg; }
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.illust-box__emoji {
  font-size: 3rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

.illust-box__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  position: relative;
  z-index: 1;
  opacity: 0.65;
}

.illust-box__hint {
  font-size: var(--fs-xs);
  position: relative;
  z-index: 1;
  opacity: 0.4;
  max-width: 260px;
  text-align: center;
  line-height: 1.5;
}

/* Variants */
.illust-box--blue {
  background: linear-gradient(145deg, #F0F4FF 0%, #E6EDFF 100%);
  color: var(--blue);
  border: 2px dashed rgba(79,123,255,0.2);
}

.illust-box--purple {
  background: linear-gradient(145deg, #F3F0FF 0%, #EBE6FF 100%);
  color: var(--purple);
  border: 2px dashed rgba(123,97,255,0.2);
}

.illust-box--orange {
  background: linear-gradient(145deg, #FFF6EB 0%, #FFEDCC 100%);
  color: var(--orange);
  border: 2px dashed rgba(255,138,0,0.2);
}

.illust-box--yellow {
  background: linear-gradient(145deg, #FFFCED 0%, #FFF5CC 100%);
  color: #C9A000;
  border: 2px dashed rgba(255,213,74,0.3);
}

.illust-box--gradient {
  background: linear-gradient(145deg, #F0F4FF 0%, #F3F0FF 40%, #FFF6EB 100%);
  color: var(--blue);
  border: 2px dashed rgba(79,123,255,0.15);
}

/* Comic Vector Illustrations */
.illust-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-2xl);
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink), 0 20px 48px rgba(233,30,123,0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.illust-container:hover {
  transform: translateY(-6px);
  box-shadow: 10px 10px 0 var(--ink), 0 28px 60px rgba(233,30,123,0.18);
}

.illust-container--hero {
  min-height: 440px;
  background: linear-gradient(145deg, #FFF0F6 0%, #F5ECF8 60%, #FFF9E6 100%);
}

.vector-illust {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
}

/* ═══════════════════════════════════════
   PORTFOLIO GAMES SHOWCASE
   ═══════════════════════════════════════ */
.game-thumb-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  position: relative;
  background: var(--ink);
}

.game-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.game-thumb-box:hover .game-thumb-img {
  transform: scale(1.08);
}

.game-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--pink);
  color: white;
  font-size: var(--fs-2xs);
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1.8px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(3deg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.portfolio-view-all {
  text-align: center;
  margin-top: 3rem;
}

.btn--view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--white);
  color: var(--ink);
  font-size: var(--fs-body);
  font-weight: 900;
  border-radius: var(--radius-full);
  border: 2.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn--view-all:hover {
  background: var(--gradient-main);
  color: white;
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 8px 8px 0 var(--ink);
}

.btn--view-all:hover .btn__icon { transform: translateX(4px); }

.portfolio-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  border: 2.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 1.25rem;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.portfolio-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: 10px 10px 0 var(--ink), 0 20px 48px rgba(233,30,123,0.18);
}

.portfolio-card__title {
  font-size: var(--fs-h3);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 4px;
}

.portfolio-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.portfolio-card__tag {
  font-size: var(--fs-2xs);
  font-weight: 800;
  color: var(--purple);
  background: var(--purple-50);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--ink);
  box-shadow: 1.5px 1.5px 0 var(--ink);
}

.portfolio-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 900;
  color: white;
  background: var(--pink);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1.8px solid var(--ink);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  text-decoration: none;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, background 0.25s ease;
}

.portfolio-card__btn:hover {
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--purple);
}

/* ═══════════════════════════════════════
   HERO STUDIO BRAINSTORM STAGE
   ═══════════════════════════════════════ */
.hero-studio-stage {
  width: 100%;
  position: relative;
  border-radius: var(--radius-2xl);
  border: 3.5px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink), 0 24px 64px rgba(233, 30, 123, 0.22);
  overflow: hidden;
  background: white;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s ease;
}

.hero-studio-stage:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: 12px 12px 0 var(--ink), 0 32px 80px rgba(233, 30, 123, 0.28);
}

.hero-studio-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* ═══════════════════════════════════════
   HERO HANGING CARDS (SEPARATE INDEPENDENT LAYER)
   ═══════════════════════════════════════ */
.hero-hanging-layer {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  z-index: 95;
  pointer-events: none;
}

.hanging-card-wrapper {
  position: absolute;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
  pointer-events: auto;
}

/* Positioned cleanly on the right half container area, emerging from top header */
.hanging-card-wrapper--1 {
  left: 56%;
  top: -30px;
  animation: hanging-swing-1 4.2s ease-in-out infinite alternate;
}

.hanging-card-wrapper--2 {
  left: 74%;
  top: -50px;
  animation: hanging-swing-2 3.8s ease-in-out infinite alternate;
}

.hanging-card-wrapper--3 {
  right: 0%;
  top: -20px;
  animation: hanging-swing-3 4.6s ease-in-out infinite alternate;
}

.hanging-string {
  width: 2.5px;
  background: var(--ink);
  box-shadow: 1px 0 0 rgba(233,30,123,0.3);
}

.hanging-card-wrapper--1 .hanging-string { height: 150px; }
.hanging-card-wrapper--2 .hanging-string { height: 180px; }
.hanging-card-wrapper--3 .hanging-string { height: 140px; }

.hanging-pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  box-shadow: 1.5px 1.5px 0 var(--ink);
  margin-top: -3px;
  margin-bottom: -4px;
  z-index: 2;
}

.hero-studio-overlay-card {
  position: relative;
  width: 150px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
  z-index: 10;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}

.hero-studio-overlay-card:hover {
  transform: rotate(0deg) scale(1.1) !important;
  box-shadow: 6px 6px 0 var(--ink);
}

@keyframes hanging-swing-1 {
  0% { transform: rotate(-5deg); }
  100% { transform: rotate(2deg); }
}

@keyframes hanging-swing-2 {
  0% { transform: rotate(4deg); }
  100% { transform: rotate(-3deg); }
}

@keyframes hanging-swing-3 {
  0% { transform: rotate(-2deg); }
  100% { transform: rotate(4deg); }
}

@media (max-width: 992px) {
  .hero-hanging-layer {
    position: relative;
    height: auto;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 1rem 0;
    z-index: 5;
  }

  .hero-hanging-layer .container-lg {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: static !important;
  }

  .hanging-card-wrapper {
    position: static;
    animation: none;
    transform: none;
  }

  .hanging-card-wrapper--1,
  .hanging-card-wrapper--2,
  .hanging-card-wrapper--3 {
    top: auto;
    left: auto;
    right: auto;
    animation: badge-sway-1 4s ease-in-out infinite alternate;
  }

  .hanging-card-wrapper--1 .hanging-string { height: 60px; }
  .hanging-card-wrapper--2 .hanging-string { height: 60px; }
  .hanging-card-wrapper--3 .hanging-string { height: 60px; }

  .hero-studio-overlay-card {
    width: 120px;
  }
}

@keyframes hanging-swing-1 {
  0% { transform: rotate(-4deg); }
  100% { transform: rotate(3deg); }
}

@keyframes hanging-swing-2 {
  0% { transform: rotate(2deg); }
  100% { transform: rotate(-4deg); }
}

@keyframes hanging-swing-3 {
  0% { transform: rotate(4deg); }
  100% { transform: rotate(-2deg); }
}

.hero-game-card-sub1 {
  width: 52%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  border: 2.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  transform: rotate(8deg);
  transition: transform 0.5s var(--ease-spring);
}

.hero-game-card-sub1:hover {
  transform: rotate(12deg) scale(1.06);
}

.hero-game-card-sub2 {
  width: 48%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  border: 2.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
  position: absolute;
  bottom: 25px;
  left: 10px;
  z-index: 3;
  transform: rotate(-10deg);
  transition: transform 0.5s var(--ease-spring);
}

.hero-game-card-sub2:hover {
  transform: rotate(-14deg) scale(1.06);
}
.service-game-card {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink), 0 12px 32px rgba(233, 30, 123, 0.12);
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-game-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.service-game-card:hover .service-game-img {
  transform: scale(1.08);
}

.service-game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,10,45,0.1) 30%, rgba(28, 10, 45, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}

.service-game-title {
  color: white;
  font-size: var(--fs-xs);
  font-weight: var(--fw-extrabold);
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-game-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gradient-brand);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════
   PREMIUM GAMING COMPOSITE ILLUSTRATIONS
   ═══════════════════════════════════════ */
.service-art-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink), 0 12px 32px rgba(233, 30, 123, 0.12);
  background: linear-gradient(135deg, #FFF0F6 0%, #F5ECF8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.service-art-box--blue { background: linear-gradient(135deg, #F0F4FF 0%, #F5ECF8 100%); }
.service-art-box--purple { background: linear-gradient(135deg, #F5ECF8 0%, #FFF9E6 100%); }
.service-art-box--orange { background: linear-gradient(135deg, #FFF9E6 0%, #FFF0F6 100%); }
.service-art-box--yellow { background: linear-gradient(135deg, #FFF9E6 0%, #F5ECF8 100%); }
.service-art-box--teal { background: linear-gradient(135deg, #E6FFFA 0%, #FFF0F6 100%); }

.service-art-monitor {
  width: 78%;
  height: 85%;
  background: var(--ink);
  border-radius: var(--radius-md);
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-art-topbar {
  height: 22px;
  background: #2D1445;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 5px;
}

.service-art-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
}

.service-art-screen {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.service-art-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.service-art-box:hover .service-art-screen img {
  transform: scale(1.08);
}

.service-art-float-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--gradient-brand);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  z-index: 10;
}

.service-art-icon-pill {
  position: absolute;
  bottom: 12px; left: 12px;
  background: white;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

/* Comic Decorators on illustrations */
.comic-bubble {
  position: absolute;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 8px 16px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  z-index: 10;
  white-space: nowrap;
}

.comic-bubble::after {
  content: '';
  position: absolute;
  bottom: -9px; left: 20px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 9px solid var(--ink);
}

/* ═══════════════════════════════════════
   SECTIONS — Shared
   ═══════════════════════════════════════ */
.section {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) 0;
  overflow: hidden;
}

.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-extrabold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
}

.section__eyebrow--blue { background: linear-gradient(135deg, #FFF0F6 0%, #F5ECF8 100%); }
.section__eyebrow--purple { background: linear-gradient(135deg, #F5ECF8 0%, #FFF9E6 100%); }
.section__eyebrow--orange { background: linear-gradient(135deg, #FFF9E6 0%, #FFF0F6 100%); }

.section__heading {
  font-size: var(--fs-h1);
  font-weight: 900;
  line-height: var(--lh-tight);
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 1rem;
}

.section__sub {
  font-size: var(--fs-body-lg);
  color: var(--ink-secondary);
  line-height: var(--lh-relaxed);
  max-width: 560px;
}

.section__header { text-align: center; margin-bottom: 4rem; }
.section__header .section__sub { margin: 0 auto; }

/* Ambient Glow */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.6;
}

/* ═══════════════════════════════════════
   SERVICES — Vertical Quest Timeline
   ═══════════════════════════════════════ */

/* Timeline Container */
.tl {
  position: relative;
  padding: 2rem 0 4rem;
}

/* ── Center Trunk ── */
.tl__trunk {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 6px;
  transform: translateX(-50%);
  z-index: 1;
}

/* ── High-Contrast Straight Vertical Timeline (Desktop & Mobile) ── */
.tl {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

/* Node-to-node connecting trunk — spans full timeline width */
.tl__trunk {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  transform: none;
}

.tl__svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

@media (min-width: 1025px) {
  .tl__item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-bottom: 2.25rem;
  }

  .tl__item:last-child { margin-bottom: 0; }

  /* Left item: card | connector + node | empty */
  .tl__item--left .tl__card {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: 470px;
    justify-self: end;
  }

  .tl__item--left .tl__connector {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
  }

  .tl__item--left .tl__node {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    transform: none;
  }

  /* Right item: empty | node + connector | card */
  .tl__item--right .tl__card {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    max-width: 470px;
    justify-self: start;
  }

  .tl__item--right .tl__connector {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .tl__item--right .tl__node {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    transform: none;
  }

  .tl__item--left.is-active .tl__node,
  .tl__item--right.is-active .tl__node {
    transform: scale(1.15) rotate(-2deg);
  }

  .tl__card {
    width: 100%;
    border: 2.5px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    border-radius: var(--radius-xl);
    background: var(--white);
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
  }

  .tl__card:hover {
    transform: translateY(-3px) rotate(-0.5deg);
    box-shadow: 6px 6px 0 var(--ink);
  }

  .tl__card-body {
    padding: 1.1rem 1.25rem 1.25rem;
  }
}

@media (max-width: 1024px) {
  .tl { padding-left: 0; }
  .tl__trunk { left: 22px; }

  .tl__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 54px;
    position: relative;
    margin-bottom: 2rem;
  }

  .tl__item--left .tl__card,
  .tl__item--right .tl__card {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    transform: none;
  }

  .tl__item--left .tl__node,
  .tl__item--right .tl__node {
    grid-column: auto;
    grid-row: auto;
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
  }
}

/* ── Neubrutalist Theme Matching Nodes & Connector Beams ── */
.tl__node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--ink);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 5;
  box-shadow: 3px 3px 0 var(--ink);
  transition: all 0.4s var(--ease-spring);
}

.tl__node-num {
  font-size: var(--fs-2xs);
  font-weight: 900;
  color: var(--ink);
  transition: color 0.3s ease;
}

.tl__node-pulse {
  display: none;
}

/* Active node state matching Neubrutalist Theme */
.tl__item.is-active .tl__node {
  border-color: var(--ink);
  background: var(--pink);
  box-shadow: 4px 4px 0 var(--ink);
  animation: node-soft-glow 2.4s ease-out infinite;
}

.tl__item.is-active .tl__node-num {
  color: white;
}

@keyframes node-soft-glow {
  0% {
    box-shadow: 4px 4px 0 var(--ink), 0 0 0 0 rgba(233, 30, 123, 0.45);
  }
  70% {
    box-shadow: 4px 4px 0 var(--ink), 0 0 0 16px rgba(233, 30, 123, 0);
  }
  100% {
    box-shadow: 4px 4px 0 var(--ink), 0 0 0 0 rgba(233, 30, 123, 0);
  }
}

/* ── Connector Line Coupling ── */
.tl__connector {
  width: 100%;
  height: 4px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
}

.tl__connector-line {
  width: 100%;
  height: 3.5px;
  background: var(--ink);
  position: relative;
  overflow: visible;
}

.tl__connector-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--pink), var(--yellow));
  transform: scaleX(1);
  transition: opacity 0.4s ease;
}

/* Terminal Node Pin Dots for 100% Connected Feel */
.tl__item--left .tl__connector-line::before {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  border: 1.5px solid var(--ink);
  z-index: 4;
}

.tl__item--right .tl__connector-line::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  border: 1.5px solid var(--ink);
  z-index: 4;
}

/* Connector accent colors */
.tl__item[data-accent="purple"] .tl__connector-line::after { background: linear-gradient(90deg, transparent, var(--purple)); }
.tl__item[data-accent="purple"].tl__item--right .tl__connector-line::after { background: linear-gradient(270deg, transparent, var(--purple)); }
.tl__item[data-accent="orange"] .tl__connector-line::after { background: linear-gradient(90deg, transparent, var(--orange)); }
.tl__item[data-accent="orange"].tl__item--right .tl__connector-line::after { background: linear-gradient(270deg, transparent, var(--orange)); }
.tl__item[data-accent="yellow"] .tl__connector-line::after { background: linear-gradient(90deg, transparent, #D4A800); }
.tl__item[data-accent="yellow"].tl__item--right .tl__connector-line::after { background: linear-gradient(270deg, transparent, #D4A800); }

/* ── Timeline Cards ── */
.tl__card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  cursor: default;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s ease;
  will-change: transform;

  /* Hidden until animated */
  opacity: 0;
  transform: translateX(-50px) scale(0.95);
}

.tl__item--right .tl__card {
  transform: translateX(50px) scale(0.95);
}

/* Active card glow */
.tl__item.is-active .tl__card {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.tl__item.is-viewed .tl__card {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Card accent top border */
.tl__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.tl__card--blue::before { background: var(--gradient-main); }
.tl__card--purple::before { background: var(--gradient-cool); }
.tl__card--orange::before { background: var(--gradient-warm); }
.tl__card--yellow::before { background: linear-gradient(135deg, #D4A800, #FFD54A); }
.tl__card--teal::before { background: linear-gradient(135deg, #10B981, #FFB800); }

.tl__item.is-active .tl__card::before { transform: scaleX(1); }

/* Card active glow per accent */
.tl__item[data-accent="blue"].is-active .tl__card {
  box-shadow: 0 20px 60px rgba(79,123,255,0.1), 0 4px 12px rgba(15,15,26,0.03);
  border-color: rgba(79,123,255,0.12);
}

.tl__item[data-accent="purple"].is-active .tl__card {
  box-shadow: 0 20px 60px rgba(123,97,255,0.1), 0 4px 12px rgba(15,15,26,0.03);
  border-color: rgba(123,97,255,0.12);
}

.tl__item[data-accent="orange"].is-active .tl__card {
  box-shadow: 0 20px 60px rgba(255,138,0,0.1), 0 4px 12px rgba(15,15,26,0.03);
  border-color: rgba(255,138,0,0.12);
}

.tl__item[data-accent="yellow"].is-active .tl__card {
  box-shadow: 0 20px 60px rgba(255,213,74,0.12), 0 4px 12px rgba(15,15,26,0.03);
  border-color: rgba(255,213,74,0.2);
}

.tl__item[data-accent="teal"].is-active .tl__card {
  box-shadow: 0 20px 60px rgba(16,185,129,0.12), 0 4px 12px rgba(15,15,26,0.03);
  border-color: rgba(16,185,129,0.2);
}

/* Card hover — lift + tilt handled in JS, these are the shadow/border transitions */
.tl__card:hover {
  border-color: rgba(79,123,255,0.18);
  box-shadow: 0 24px 64px rgba(79,123,255,0.14), 0 8px 16px rgba(15,15,26,0.04);
}

.tl__card-visual { padding: 1.25rem 1.25rem 0; }
.tl__card-visual .illust-box { border-radius: var(--radius-lg); }

.tl__card-body { padding: 1.25rem 1.5rem 1.75rem; }

.tl__card-num {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.tl__card--blue .tl__card-num { color: var(--blue); }
.tl__card--purple .tl__card-num { color: var(--purple); }
.tl__card--orange .tl__card-num { color: var(--orange); }
.tl__card--yellow .tl__card-num { color: #C9A000; }
.tl__card--teal .tl__card-num { color: #10B981; }

.tl__card-title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--ink);
  margin-bottom: 8px;
  line-height: var(--lh-snug);
}

.tl__card-desc {
  font-size: var(--fs-sm);
  color: var(--ink-secondary);
  line-height: var(--lh-normal);
}

.tl__card-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  transition: all 0.35s var(--ease);
}

.tl__card:hover .tl__card-arrow {
  background: var(--blue);
  color: white;
  transform: rotate(-45deg) scale(1.1);
  box-shadow: 0 4px 16px rgba(79,123,255,0.3);
}

/* ── Floating Timeline Decorators ── */
.tl__floater {
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
  opacity: 0.12;
  z-index: 0;
}

.tl__floater--1 { top: 5%; left: 12%; width: 36px; height: 36px; }
.tl__floater--2 { top: 18%; right: 8%; }
.tl__floater--3 { top: 35%; left: 6%; }
.tl__floater--4 { top: 52%; right: 12%; }
.tl__floater--5 { top: 70%; left: 10%; width: 24px; height: 24px; }
.tl__floater--6 { top: 85%; right: 6%; }

/* ── Timeline Responsive ── */
@media (max-width: 1024px) {
  .tl__container { padding-left: 0; position: relative; }

  /* Left trail line on mobile is drawn by the SVG trunk too */
  .tl__trunk {
    left: 0;
    right: 0;
    width: 100%;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }

  .tl__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 54px;
    padding-top: 0;
    position: relative;
    margin-bottom: 2rem;
    width: 100%;
  }

  .tl__item--left .tl__card,
  .tl__item--right .tl__card {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    transform: translateX(0) scale(1);
  }

  /* Left-Aligned Connected Step Node Badge */
  .tl__item--left .tl__node,
  .tl__item--right .tl__node {
    grid-column: auto;
    grid-row: auto;
    position: absolute;
    left: 0;
    top: 16px;
    transform: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--yellow);
    border: 2.5px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    display: grid;
    place-items: center;
    justify-self: auto;
    z-index: 6;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease;
  }

  .tl__node-num {
    font-size: 11px;
    font-weight: 900;
    color: var(--ink);
  }

  .tl__item.is-active .tl__node {
    transform: scale(1.12) rotate(-3deg);
    box-shadow: 4.5px 4.5px 0 var(--ink);
    background: var(--pink);
  }

  .tl__item.is-active .tl__node-num {
    color: white;
  }

  .tl__item--left .tl__connector,
  .tl__item--right .tl__connector,
  .tl__floater { display: none; }

  .tl__card {
    width: 100%;
    border: 2.5px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    border-radius: var(--radius-xl);
    background: var(--white);
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  }

  .tl__card:hover,
  .tl__card:active {
    transform: translateY(-2px);
    box-shadow: 7px 7px 0 var(--ink);
  }

  .tl__card-body {
    padding: 1.25rem 1.25rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .tl__item { padding-left: 48px; margin-bottom: 1.75rem; }
  .tl__item--left .tl__node,
  .tl__item--right .tl__node {
    left: -2px;
    top: 14px;
    width: 38px;
    height: 38px;
  }

  
  .tl__node-num { font-size: 10px; }
  .tl__card-body { padding: 1.1rem 1.1rem 1.35rem; }

  
}


/* ═══════════════════════════════════════
   WHY US — Stats Cards
   ═══════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 2.25rem 1.5rem;
  text-align: center;
  border: 2.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}

.why-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 9px 9px 0 var(--ink), 0 20px 48px rgba(233,30,123,0.16);
}

.why-card__icon {
  width: 68px; height: 68px;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
  padding: 10px;
}

.why-card:hover .why-card__icon {
  transform: scale(1.15) rotate(-6deg);
  box-shadow: 5px 5px 0 var(--ink);
}

.why-card__icon--blue { background: linear-gradient(135deg, #FFF0F6 0%, #F5ECF8 100%); }
.why-card__icon--purple { background: linear-gradient(135deg, #F5ECF8 0%, #FFF9E6 100%); }
.why-card__icon--orange { background: linear-gradient(135deg, #FFF9E6 0%, #FFF0F6 100%); }
.why-card__icon--yellow { background: linear-gradient(135deg, #FFF9E6 0%, #F5ECF8 100%); }

.why-card__value {
  font-size: 2rem;
  font-weight: var(--fw-extrabold);
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.why-card__label {
  font-size: var(--fs-sm);
  color: var(--ink-secondary);
  font-weight: var(--fw-medium);
}

/* ═══════════════════════════════════════
   PROCESS — Horizontal Connected Timeline
   ═══════════════════════════════════════ */
.process-track {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 2rem 0;
}

/* Base track line */
.process-track__line {
  position: absolute;
  top: 50px; left: 48px; right: 48px;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  z-index: 0;
}

/* Animated progress fill */
.process-track__fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 0;
  background: var(--gradient-main);
  border-radius: 2px;
  transition: width 2s var(--ease);
}

.process-track.in-view .process-track__fill { width: 100%; }

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.process-step__node {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  box-shadow: 4px 4px 0 var(--ink);
  transition: all 0.4s var(--ease-spring);
  position: relative;
  padding: 12px;
}

.process-step__node::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.35s ease;
}

.process-step:hover .process-step__node {
  border-color: var(--ink);
  background: var(--pink-50);
  transform: scale(1.18) rotate(-4deg);
  box-shadow: 6px 6px 0 var(--ink), 0 16px 40px rgba(233,30,123,0.2);
}

.process-step:hover .process-step__node::before {
  border-color: rgba(233,30,123,0.18);
}

.process-step__num {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.process-step__name {
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--ink);
}

/* ═══════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════ */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__form-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  border: 2.5px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

.contact__form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--ink);
}

.form-control {
  padding: 13px 18px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--ink);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  width: 100%;
}

.form-control:focus {
  border-color: var(--pink);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}

.form-control::placeholder { color: var(--ink-faint); }

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L7 7L12 2' stroke='%231C0A2D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 9px;
  padding-right: 44px;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

select.form-control:hover,
select.form-control:focus {
  border-color: var(--pink);
  background-color: var(--pink-50);
  box-shadow: 3.5px 3.5px 0 var(--ink);
  outline: none;
}

/* Custom styled option items */
select.form-control option {
  background-color: #FFFFFF;
  color: #1C0A2D;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px;
}

select.form-control option:disabled {
  color: #857498;
  font-weight: 600;
}

/* ── Custom Interactive UI Dropdown Component ── */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  cursor: pointer;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--ink);
  transition: all 0.25s var(--ease-spring);
  user-select: none;
}

.custom-select-box .select-val {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-box.placeholder {
  color: var(--ink-faint);
  font-weight: 600;
}

.custom-select-box:hover,
.custom-select-wrapper.open .custom-select-box {
  border-color: var(--pink);
  background: var(--pink-50);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
}

.custom-select-box .select-arrow {
  width: 12px; height: 8px;
  transition: transform 0.3s var(--ease-spring);
  pointer-events: none;
  flex-shrink: 0;
  margin-left: 6px;
}

.custom-select-wrapper.open .select-arrow {
  transform: rotate(180deg);
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: var(--white);
  border: 2.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink), 0 16px 36px rgba(28, 10, 45, 0.15);
  border-radius: var(--radius-lg);
  z-index: 100;
  max-height: 240px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s var(--ease-spring);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.custom-select-wrapper.open .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Cursor Highlight Option Items */
.custom-select-option {
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border-left: 3.5px solid transparent;
}

.custom-select-option:hover,
.custom-select-option.highlighted {
  background: var(--pink-50);
  color: var(--pink);
  border-left-color: var(--pink);
  padding-left: 18px;
  font-weight: 800;
}

.custom-select-option.selected {
  background: var(--yellow-50);
  color: var(--ink);
  border-left-color: var(--yellow);
  font-weight: 900;
}

.opt-badge {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--pink-50);
  border: 1.5px solid var(--ink);
  box-shadow: 1.5px 1.5px 0 var(--ink);
  font-size: 0.85rem;
  margin-right: 10px;
  flex-shrink: 0;
}

.custom-select-option:hover .opt-badge,
.custom-select-option.highlighted .opt-badge {
  background: var(--yellow);
}

/* ═══════════════════════════════════════
   GLOBAL & MOBILE CUSTOM THEME SCROLLBAR
   ═══════════════════════════════════════ */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
  border-left: 1.5px solid var(--ink);
}

::-webkit-scrollbar-thumb {
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: var(--radius-full);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--yellow);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--pink) var(--bg-soft);
}

@media (max-width: 768px) {
  ::-webkit-scrollbar {
    width: 7px;
    height: 7px;
  }
  ::-webkit-scrollbar-thumb {
    border-width: 1.5px;
  }
  .nav__menu,
  .custom-select-dropdown {
    -webkit-overflow-scrolling: touch;
  }
}

textarea.form-control { resize: vertical; min-height: 130px; }

.contact__sidebar { position: sticky; top: calc(var(--nav-h) + 2rem); }

.contact__info-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }

.contact__info-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.35rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.contact__info-card:hover {
  transform: translateY(-3px) translateX(4px);
  box-shadow: 6px 6px 0 var(--ink);
}

.contact__info-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 8px;
  transition: transform 0.3s var(--ease-spring);
}

.contact__info-card:hover .contact__info-icon {
  transform: scale(1.1) rotate(-4deg);
}

.contact__info-text strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.contact__info-text span {
  font-size: var(--fs-sm);
  color: var(--ink-secondary);
}

/* ═══════════════════════════════════════
   FOOTER — 3D COMIC STUDIO STAGE DESIGN
   ═══════════════════════════════════════ */
.footer {
  background: var(--bg-soft);
  padding: 4rem 0 3rem;
  position: relative;
}

.footer__card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  border: 2.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.footer__accent-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--pink) 0%, var(--purple) 50%, var(--yellow) 100%);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 2.5px dashed rgba(28,10,45,0.12);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.footer-logo-badge {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1.8px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: studio-badge-pop 3.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: transform, box-shadow;
}

.footer-logo-badge::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.85), transparent);
  transform: rotate(25deg);
  animation: studio-sheen 3.2s ease-in-out infinite;
}

@keyframes studio-badge-pop {
  0% {
    transform: rotate(-4deg) translateY(0) scale(1);
    box-shadow: 2px 2px 0 var(--ink);
  }
  25% {
    transform: rotate(3deg) translateY(-3px) scale(1.08);
    box-shadow: 3.5px 3.5px 0 var(--ink), 0 4px 14px rgba(255, 184, 0, 0.5);
  }
  50% {
    transform: rotate(-3deg) translateY(0) scale(0.97);
    box-shadow: 2px 2px 0 var(--ink);
  }
  75% {
    transform: rotate(4deg) translateY(-2px) scale(1.06);
    box-shadow: 3px 3px 0 var(--ink), 0 4px 14px rgba(233, 30, 123, 0.35);
  }
  100% {
    transform: rotate(-4deg) translateY(0) scale(1);
    box-shadow: 2px 2px 0 var(--ink);
  }
}

@keyframes studio-sheen {
  0%, 35% { left: -60%; }
  75%, 100% { left: 150%; }
}

.footer__brand-desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--ink-secondary);
  max-width: 320px;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.footer__social-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.social-pill-icon {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  box-shadow: 1.5px 1.5px 0 var(--ink);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-spring);
}

.footer__social-pill:hover {
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--pink-50);
  color: var(--ink);
}

.footer__social-pill:hover .social-pill-icon {
  transform: rotate(-6deg) scale(1.1);
  background: var(--yellow) !important;
}

.footer__col-title {
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.footer__link {
  display: block;
  font-size: var(--fs-sm);
  color: var(--ink-secondary);
  font-weight: 600;
  padding: 5px 0;
  transition: color 0.25s ease, transform 0.25s ease;
  text-decoration: none;
}

.footer__link:hover {
  color: var(--pink);
  transform: translateX(4px);
}

.footer__quick-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink);
}

.footer__info-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFF0F6 0%, #FFF9E6 100%);
  border: 1.5px solid var(--ink);
  box-shadow: 1.5px 1.5px 0 var(--ink);
  display: grid;
  place-items: center;
  font-size: 13px;
  flex-shrink: 0;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: var(--bg-soft);
  border: 1.8px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--ink);
}

.footer__tech-pill {
  font-size: 11px;
  font-weight: 900;
  color: var(--purple);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════
   START PAGE CREATIVITY — LIVE STATUS PILL & FLOATING CHIPS
   ═══════════════════════════════════════ */
.hero-live-pill {
  background: var(--ink);
  color: #10B981;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-left: 8px;
  letter-spacing: 0.5px;
}

.hero-stage-chip {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 900;
  color: var(--ink);
  animation: hero-chip-float 4s ease-in-out infinite alternate;
}

.hero-stage-chip--1 {
  top: 15px; left: -20px;
  transform: rotate(-4deg);
}

.hero-stage-chip--2 {
  bottom: 25px; right: -20px;
  transform: rotate(3deg);
  animation-delay: 1.8s;
}

@keyframes hero-chip-float {
  0% { transform: translateY(0) rotate(-3deg); }
  100% { transform: translateY(-8px) rotate(-1deg); }
}

/* ═══════════════════════════════════════
   END PAGE CREATIVITY — 3D ARCADE CTA BANNER
   ═══════════════════════════════════════ */
.section--cta {
  padding: 4rem 0 2rem;
}

.cta-banner-stage {
  background: linear-gradient(135deg, #FFF0F6 0%, #F5ECF8 40%, #FFF9E6 100%);
  border-radius: var(--radius-2xl);
  border: 3.5px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-floating-prop {
  position: absolute;
  background: var(--yellow);
  color: var(--ink);
  font-size: var(--fs-xs);
  font-weight: 900;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  animation: prop-float 3.5s ease-in-out infinite alternate;
}

.cta-floating-prop--1 {
  top: 25px; left: 35px;
  transform: rotate(-6deg);
}

.cta-floating-prop--2 {
  bottom: 30px; right: 35px;
  background: var(--pink);
  color: white;
  transform: rotate(5deg);
  animation-delay: 1.5s;
}

@keyframes prop-float {
  0% { transform: translateY(0) rotate(-5deg); }
  100% { transform: translateY(-10px) rotate(-2deg); }
}

.cta-content {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-heading {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.15;
  margin: 1rem 0;
}

.hit-game-yellow-frame {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  padding: 4px 22px;
  border-radius: var(--radius-xl);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-2deg);
  margin-top: 8px;
  position: relative;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  animation: hitYellowFloat 3s ease-in-out infinite alternate;
}

.hit-game-yellow-frame:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 7px 7px 0 var(--ink);
  background: #FFCA28;
}

@keyframes hitYellowFloat {
  0% { transform: rotate(-2.5deg) translateY(0); }
  100% { transform: rotate(1.5deg) translateY(-6px); }
}

.cta-sub {
  font-size: var(--fs-body);
  color: var(--ink-secondary);
  font-weight: 500;
  margin-bottom: 2rem;
}

.cta-btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  color: var(--ink);
}

.cta-ticker-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulse-dot 1.5s infinite alternate;
}

@keyframes pulse-dot {
  0% { opacity: 0.5; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.2); }
}

.btn--secondary {
  background: var(--white);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn--secondary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn--hero-cta {
  padding: 16px 32px;
  font-size: 0.95rem;
  font-weight: 900;
  border-radius: var(--radius-full);
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.btn--hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 var(--ink);
}



/* ═══════════════════════════════════════
   GSAP ANIMATION STATES
   ═══════════════════════════════════════ */
.gsap-reveal {
  opacity: 0;
  transform: translateY(50px);
  will-change: transform, opacity;
}

.gsap-reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  will-change: transform, opacity;
}

.gsap-reveal-right {
  opacity: 0;
  transform: translateX(60px);
  will-change: transform, opacity;
}

.gsap-reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  will-change: transform, opacity;
}

.gsap-blur-in {
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}

/* ═══════════════════════════════════════
   PERFORMANCE HINTS
   ═══════════════════════════════════════ */
.floating-obj,
.hanging-card-wrapper,
.hero__orb {
  will-change: transform;
}

.section {
  contain: layout style;
}

#services,
#portfolio,
#why-us,
#process,
#contact,
#final-cta {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.portfolio-card,
.tl__card {
  will-change: transform;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero__content { max-width: 100%; }
  .hero__desc { margin: 0 auto 2.5rem; max-width: 540px; }
  .hero__buttons { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero-hanging-badges-row { justify-content: center; }

  .services-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact__layout { grid-template-columns: 1fr; }
  .contact__sidebar { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }

  .hero-stage-chip--1 { left: 0; }
  .hero-stage-chip--2 { right: 0; }

  .tl__item--left .tl__card,
  .tl__item--right .tl__card {
    transform: translateX(0) scale(1);
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 62px; }

  .nav__inner {
    padding: 0 1.25rem;
  }

/* Mobile Dropdown styles */
@media (max-width: 991px) {
  .nav__dropdown {
    width: 100%;
  }
  .nav__dropdown-menu {
    position: static;
    transform: none !important;
    width: 100%;
    box-shadow: none;
    border: 1.5px solid var(--purple-light);
    background: #FFFFFF;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 8px;
    max-height: 240px;
    overflow-y: auto;
    margin-top: 6px;
  }
  .nav__dropdown-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .dropdown-item {
    padding: 6px 10px;
  }
  .dropdown-text {
    font-size: 0.72rem;
    white-space: normal;
  }
}

  .nav__logo .htg-logo-icon {
    height: 36px;
  }

  .nav__burger { display: flex; }

  /* ── Sleek Floating Center-Aligned 1/2 Width Menu Card ── */
  .nav__menu {
    position: fixed;
    top: calc(var(--nav-h) + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-140%);
    width: 88%;
    max-width: 320px;
    height: auto;
    max-height: calc(100vh - var(--nav-h) - 24px);
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF5FD 100%);
    flex-direction: column;
    padding: 0.9rem;
    gap: 8px;
    border: 2.5px solid var(--ink);
    box-shadow: 0 16px 40px rgba(28, 10, 45, 0.2), 5px 5px 0 var(--ink);
    border-radius: var(--radius-xl);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    align-items: stretch;
    z-index: 995;
    overflow-y: auto;
  }

  .nav__menu::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.5;
    pointer-events: none;
    border-radius: var(--radius-xl);
  }

  .nav__menu.open {
    transform: translateX(-50%) translateY(0);
  }

  .nav-links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }

  .nav-icon-badge {
    display: inline-grid;
    place-items: center;
    width: 26px; height: 26px;
    border-radius: 6px;
    background: var(--pink-50);
    border: 1.5px solid var(--ink);
    box-shadow: 1.5px 1.5px 0 var(--ink);
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: var(--white);
    border: 2px solid var(--ink);
    box-shadow: 2.5px 2.5px 0 var(--ink);
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s var(--ease-spring);
  }

  .nav__link:hover, .nav__link.active {
    color: var(--ink);
    background: var(--pink-50);
    border-color: var(--ink);
    transform: translate(-1.5px, -1.5px);
    box-shadow: 4px 4px 0 var(--ink);
  }

  .nav__btn {
    width: 100%;
    max-width: 220px;
    margin: 4px auto 0;
    padding: 10px 18px;
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
    justify-content: center;
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    border-radius: var(--radius-full);
  }

  .mobile-social-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 8px;
    margin-top: 4px;
    border-top: 2px dashed var(--border);
  }

  .social-circle {
    width: 34px; height: 34px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--ink);
    box-shadow: 2px 2px 0 var(--ink);
    background: var(--bg-warm);
    display: grid;
    place-items: center;
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s var(--ease-spring);
  }

  .social-circle:hover {
    background: var(--yellow);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--ink);
  }

  /* ── Floating Deco ── */
  .nav-drawer__deco {
    position: absolute;
    pointer-events: none;
    font-weight: 900;
  }

  .nav-drawer__deco--1 { top: 12%; right: 15px; font-size: 16px; color: var(--pink); opacity: 0.4; }
  .nav-drawer__deco--2 { top: 58%; right: 20px; font-size: 14px; color: var(--yellow); opacity: 0.5; }
  .nav-drawer__deco--3 { bottom: 22%; left: 15px; font-size: 12px; color: var(--purple); opacity: 0.4; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .process-track { flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
  .process-track__line { display: none; }
  .process-step { flex: 0 0 calc(33.33% - 1rem); }

  .hero__stats { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer__card { padding: 2rem 1.5rem; }

  .illust-box--hero { min-height: 300px; }

  .hero-hanging-badges-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .power-badge-card {
    font-size: clamp(0.75rem, 3vw, 1rem);
    padding: 4px 10px 4px 6px;
  }

  .hero-stage-chip { font-size: 10px; padding: 6px 10px; }
  .hero-stage-chip--1 { left: 0; top: 8px; }
  .hero-stage-chip--2 { right: 0; bottom: 8px; }

  .cta-floating-prop { display: none; }
  .cta-banner-stage { padding: 3rem 1.5rem; }

  .portfolio-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }

  .service-art-box {
    aspect-ratio: 16 / 10;
    max-height: none;
    padding: 0.75rem;
  }
  .service-art-box svg {
    width: 100%;
    height: 100%;
    max-height: none;
  }
  .contact__info-card { flex-direction: column; text-align: center; }
  .contact__info-icon { margin: 0 auto; }
}

@media (max-width: 480px) {
  .hero__title { letter-spacing: -1px; }
  .hero__buttons { flex-direction: column; width: 100%; }
  .hero__buttons .btn { width: 100%; }
  .hero__stats { grid-template-columns: 1fr; gap: 1rem; }

  .contact__form-card { padding: 1.5rem; }
  .process-step { flex: 0 0 calc(50% - 1rem); }
  .why-grid { grid-template-columns: 1fr; }

  .footer__card { padding: 1.5rem 1rem; }
  .footer__top { gap: 1.5rem; }

  .cta-btn-group { flex-direction: column; }
  .cta-btn-group .btn { width: 100%; justify-content: center; }

  .hero-hanging-badges-row { gap: 6px; }
  .power-badge-card { font-size: 0.7rem; padding: 3px 8px 3px 5px; }
  .power-badge-svg { width: 20px; height: 20px; }

  .portfolio-grid { grid-template-columns: 1fr; }

  .section__heading { letter-spacing: -1px; }
  .container-lg { padding: 0 1rem; }
  .container { padding: 0 1rem; }

  .hero-stage-chip { display: none; }
  .process-step__node { width: 56px; height: 56px; padding: 10px; }
  .cta-heading { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .cta-sub { font-size: var(--fs-sm); }
  .cta-ticker-badge { font-size: 10px; padding: 6px 12px; flex-wrap: wrap; justify-content: center; text-align: center; }
}

/* Nav overlay for mobile */
.nav__overlay {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(28, 10, 45, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav__overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ═══════════════════════════════════════
   INTERACTIVE GAMING BURST FX & WIDGET
   ═══════════════════════════════════════ */
.click-burst-badge {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-50%, -50%) scale(0);
  opacity: 1;
  will-change: transform, opacity;
}

.floating-sfx-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: var(--radius-full);
  font-size: var(--fs-2xs);
  font-weight: 900;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  user-select: none;
}

.floating-sfx-widget:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--pink-50);
}

.sfx-dot-live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulse-dot 1.5s infinite alternate;
}

@media (max-width: 768px) {
  .floating-sfx-widget {
    bottom: 16px;
    right: 16px;
    padding: 6px 12px;
    font-size: 10px;
  }
}

/* ── Standalone Blog Cards ── */
.blog-card {
  background: #ffffff;
  border-radius: 18px;
  border: 2px solid #1C0A2D;
  box-shadow: 4px 4px 0 #1C0A2D;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 1 !important;
  transform: none !important;
}

.blog-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 8px 8px 0 #1C0A2D;
}

.blog-card--blue { border-top: 6px solid #3B82F6; }
.blog-card--purple { border-top: 6px solid #7C2D92; }
.blog-card--orange { border-top: 6px solid #F97316; }
.blog-card--teal { border-top: 6px solid #10B981; }
.blog-card--yellow { border-top: 6px solid #D97706; }

