/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --bg:           #080B12;
  --surface:      #0F1520;
  --surface-2:    #121a2b;
  --surface-3:    #172033;

  --gold:         #F5A623;
  --gold-dark:    #d4881a;
  --gold-light:   #ffc55a;
  --cyan:         #00C2FF;
  --cyan-dark:    #0099cc;
  --purple:       #7C3AED;

  --text:         #F0F4FF;
  --text-muted:   #7A8499;
  --text-dim:     #4a556a;

  --border:       #1E2A40;
  --border-light: rgba(255,255,255,0.06);

  --grad-text:    linear-gradient(135deg, #F5A623 0%, #00C2FF 38%, #FF8C00 100%);
  --grad-gold:    linear-gradient(135deg, #F5A623, #FF8C00);
  --grad-surface: linear-gradient(135deg, #0F1520 0%, #172033 100%);

  --shadow-gold:  0 0 60px rgba(245,166,35,0.15);
  --shadow-cyan:  0 0 60px rgba(0,194,255,0.12);
  --glow-gold:    0 0 20px rgba(245,166,35,0.5);

  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    22px;
  --radius-xl:    32px;

  --nav-h:        76px;
  --section-py:   clamp(80px, 10vw, 140px);
  --container-px: clamp(20px, 5vw, 80px);

  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --t:            0.3s var(--ease);
  --t-slow:       0.6s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

@media (hover: none), (pointer: coarse) {
  body, button, a, input, textarea, select, [data-tilt], [role="button"] { cursor: auto !important; }
  .cursor { display: none !important; }
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: none; border: none; background: none; }

a, button, input, textarea, select, [data-tilt], [role="button"] { cursor: none !important; }

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.gradient-text {
  background: var(--grad-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 5s ease infinite;
}

@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.25);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   GALAXY BUTTON (Nav)
   ============================================================ */
.galaxy-button {
  position: relative;
  flex-shrink: 0;
}

.galaxy-button button {
  height: 40px;
  padding: 0 20px;
  background: linear-gradient(145deg, #0e1624, #070a14);
  border: 1px solid #1a2d47;
  border-radius: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #3d7a9a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow:
    -1px -4px 14px #0d1928,
    4px 4px 14px #0d1928,
    inset 4px 4px 8px #060910,
    inset -4px -4px 8px #101a28;
  transition: box-shadow 500ms, color 500ms;
}

.galaxy-button button:hover {
  box-shadow:
    2px 2px 12px #040810,
    2px 2px 12px #1a3a5c,
    0 0 14px rgba(0, 194, 255, 0.15);
  color: #00C2FF;
  transition: box-shadow 500ms, color 500ms;
}

.galaxy-button button:active {
  box-shadow:
    1px 1px 12px #040810,
    -1px -1px 26px #1a3a5c,
    0 0 20px rgba(0, 194, 255, 0.25);
  color: #00C2FF;
  transition: box-shadow 100ms, color 100ms;
}

.galaxy-button .text {
  letter-spacing: 0.02ch;
  position: relative;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: var(--t);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.07);
  opacity: 0;
  transition: var(--t);
}
.btn:hover::after { opacity: 1; }

.btn--primary {
  background: var(--grad-gold);
  color: #0a0609;
  box-shadow: 0 4px 24px rgba(245,166,35,0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,166,35,0.5);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn--nav {
  background: rgba(245,166,35,0.12);
  color: var(--gold);
  border: 1px solid rgba(245,166,35,0.3);
  padding: 9px 20px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}
.btn--nav:hover {
  background: var(--gold);
  color: #0a0609;
  transform: none;
}

.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(0,194,255,0.9) 0%,
    rgba(0,194,255,0.5) 6%,
    rgba(0,194,255,0.15) 18%,
    rgba(245,166,35,0.06) 45%,
    transparent 70%);
  transition: opacity 0.4s, background 0.2s, width 0.2s, height 0.2s;
  mix-blend-mode: screen;
}

.cursor-follower { display: none; }

.cursor--hover {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle,
    rgba(0,194,255,1) 0%,
    rgba(0,194,255,0.9) 4%,
    rgba(0,194,255,0.3) 12%,
    rgba(245,166,35,0.08) 35%,
    transparent 65%) !important;
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__inner {
  text-align: center;
}

.loader__logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  background: var(--grad-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 2s ease infinite;
  display: block;
  margin-bottom: 24px;
}

.loader__bar {
  width: 200px;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  overflow: hidden;
}

.loader__fill {
  height: 100%;
  background: var(--grad-gold);
  animation: loaderFill 1.2s var(--ease) forwards;
  border-radius: 1px;
}

@keyframes loaderFill {
  from { width: 0; }
  to   { width: 100%; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
  border-bottom: 1px solid transparent;
}

.nav.scrolled,
.nav.menu-open {
  background: rgba(8, 11, 18, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav__container {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
}

.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav__logo span { color: var(--gold); }

.nav__logo-img {
  width: 83px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.bar-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
}
.bar-logo__bar {
  display: block;
  height: 4px;
  border-radius: 2px;
}
.bar-logo__bar:nth-child(1) {
  width: 42px;
  margin-left: 3px;
  background: var(--text-muted);
  transition: background 0.3s;
}
.bar-logo__bar:nth-child(2) {
  width: 42px;
  margin-left: -7px;
  background: #0A5A72;
  transition: background 0.3s;
}
.bar-logo__bar:nth-child(3) {
  width: 42px;
  margin-left: 7px;
  background: var(--text-muted);
  transition: background 0.3s;
}

.nav__logo:hover .bar-logo__bar:nth-child(1),
.nav__logo:hover .bar-logo__bar:nth-child(3) {
  background: #F0F4FF;
}

.nav__logo:hover .bar-logo__bar:nth-child(2) {
  background: #00C2FF;
}

.nav__links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--t);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background: var(--cyan);
  transition: width var(--t);
  border-radius: 1px;
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after,
.nav__link.active::after { width: 60%; }
.nav__link.active { color: var(--text); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 1px;
  transition: var(--t);
}
.nav__hamburger:hover span { background: var(--text); }
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(8,11,18,0.98);
  backdrop-filter: blur(24px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.mobile-menu__link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--t);
  padding: 8px 24px;
}
.mobile-menu__link:hover { color: var(--text); }
.mobile-menu__cta { margin-top: 24px; }
.mobile-menu__cta.galaxy-button button { height: 52px; padding: 0 36px; font-size: 1rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,42,64,0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,42,64,0.45) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 100%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orbFloat 8s ease-in-out infinite;
}
.hero__orb--gold {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.18) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}
.hero__orb--cyan {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,194,255,0.14) 0%, transparent 70%);
  top: 20%;
  right: -5%;
  animation-delay: -3s;
}
.hero__orb--purple {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  bottom: 0;
  left: 30%;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 15px) scale(0.97); }
}

.hero__canvas {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

/* Hero Content */
.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.8; transform: scale(1.1); }
}

/* ── Hero Available Button (rotated badge) ── */
.hero__available-wrap {
  display: flex;
  margin-left: -42px;
  margin-bottom: -15px;
  position: relative;
  top: 48px;
  transform: rotate(-45deg);
  transform-origin: bottom left;
}

/*
=== SAVED: Glowing Available Button (re-use if needed) ===

HTML:
  <button class="glowing-btn" onclick="document.getElementById('contact').scrollIntoView({behavior:'smooth'})">
    <span class="glowing-txt">A<span class="faulty-letter">V</span>AILABLE</span>
  </button>

(CSS classes: .glowing-btn, .glowing-txt, .faulty-letter, @keyframes faulty-flicker, text-flicker, border-flicker)
=== END SAVED ===
*/
.glowing-btn {
  --glow-color: #00C2FF;
  position: relative;
  color: var(--glow-color);
  cursor: pointer;
  padding: 0.24em 0.75em;
  border: 0.11em solid var(--glow-color);
  border-radius: 0.45em;
  background: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.425em;
  box-shadow: inset 0px 0px 0.5em 0px var(--glow-color),
              0px 0px 0.5em 0px var(--glow-color);
  animation: border-flicker 2s linear infinite;
}

.glowing-txt {
  float: left;
  margin-right: -0.8em;
  text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3),
               0 0 0.45em var(--glow-color);
  animation: text-flicker 3s linear infinite;
}

.faulty-letter {
  opacity: 0.5;
  animation: faulty-flicker 2s linear infinite;
}

.glowing-btn::before {
  pointer-events: none;
  content: '';
  position: absolute;
  background: var(--glow-color);
  top: 100%;
  left: 0%;
  width: 100%;
  height: 100%;
  transform: perspective(1.2em) rotateX(45deg) scale(1.4, 0.5);
  filter: blur(0.6em);
  opacity: 0.4;
  transition: transform 0.5s linear;
}

.glowing-btn::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  box-shadow: 0 0 4em 0.6em var(--glow-color), 0 0 1em 0.2em rgba(255,255,255,0.6);
  opacity: 0;
  background: var(--glow-color);
  z-index: -1;
  transition: opacity 0.5s linear;
}

.glowing-btn:hover {
  color: rgba(8, 11, 18, 0.9);
  text-shadow: none;
  animation: none;
}
.glowing-btn:hover .glowing-txt { animation: none; }
.glowing-btn:hover .faulty-letter { animation: none; text-shadow: none; opacity: 1; }
.glowing-btn:hover::before {
  opacity: 1;
  transform: perspective(1.1em) rotateX(45deg) scale(0.8, 0.65);
  transition: transform 0.3s linear;
}
.glowing-btn:hover::after { opacity: 1; }

@keyframes faulty-flicker {
  0%   { opacity: 0.1; }
  2%   { opacity: 0.1; }
  4%   { opacity: 0.5; }
  19%  { opacity: 0.5; }
  21%  { opacity: 0.1; }
  23%  { opacity: 1; }
  80%  { opacity: 0.5; }
  83%  { opacity: 0.4; }
  87%  { opacity: 1; }
}

@keyframes text-flicker {
  0%   { opacity: 0.1; }
  2%   { opacity: 1; }
  8%   { opacity: 0.1; }
  9%   { opacity: 1; }
  12%  { opacity: 0.1; }
  20%  { opacity: 1; }
  25%  { opacity: 0.3; }
  30%  { opacity: 1; }
  70%  { opacity: 0.7; }
  72%  { opacity: 0.2; }
  77%  { opacity: 0.9; }
  100% { opacity: 0.9; }
}

@keyframes border-flicker {
  0%   { opacity: 0.1; }
  2%   { opacity: 1; }
  4%   { opacity: 0.1; }
  8%   { opacity: 1; }
  70%  { opacity: 0.7; }
  100% { opacity: 1; }
}

.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(17px, 2vw, 18px);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 38px;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.hero__stat-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.hero__stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero__stat-num--static {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero__stat-suffix {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}

.hero__stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Mobile skill chips (hidden on desktop) */
.hero__chips {
  display: none;
  position: relative;
  justify-content: center;
  height: 36px;
  margin-top: 80px;
  width: 100%;
}
.hero__chip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(8px);
  opacity: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 21, 32, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  animation: chipCycle 10s infinite;
}
.hero__chip:nth-child(1) { animation-delay:   0s; }
.hero__chip:nth-child(2) { animation-delay:  -7.5s; }
.hero__chip:nth-child(3) { animation-delay:  -5s; }
.hero__chip:nth-child(4) { animation-delay:  -2.5s; }

@keyframes chipCycle {
  0%        { opacity: 0; transform: translate(-50%, -50%) translateY(8px); }
  5%        { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
  20%       { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
  25%, 100% { opacity: 0; transform: translate(-50%, -50%) translateY(-8px); }
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* Hero Visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
}

.hero__card {
  position: relative;
  z-index: 2;
  background: rgba(15, 21, 32, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  width: 280px;
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,0.05);
}

.hero__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #121a2b;
  border: 2px solid #F5A623;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0a0609;
  margin-bottom: 16px;
  box-shadow: var(--glow-gold);
  overflow: hidden;
}

.hero__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.hero__card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero__card-role {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.4;
}

.hero__card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-dim);
}

.hero__card-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.5px;
}

.hero__status-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.7);
  animation: pulse-hero 2s ease-out infinite;
}
@keyframes pulse-hero {
  0%   { box-shadow: 0 0 0 0   rgba(0, 194, 255, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(0, 194, 255, 0);  }
  100% { box-shadow: 0 0 0 0   rgba(0, 194, 255, 0);   }
}

/* Floating Tags — Orbit */
.hero__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  z-index: 3;
  pointer-events: none;
}

.hero__tag {
  position: absolute;
  background: rgba(15, 21, 32, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  pointer-events: auto;
  top: 0; left: 0;
  animation: tagOrbit 12s linear infinite;
}

/* Each badge starts 90° apart via negative delay */
.hero__tag--1 { animation-delay:   0s; }
.hero__tag--2 { animation-delay:  -3s; }
.hero__tag--3 { animation-delay:  -6s; }
.hero__tag--4 { animation-delay:  -9s; }

/* Pause at each cardinal point, then snap quickly to the next */
@keyframes tagOrbit {
  0%   { transform: rotate(0deg)   translateY(-215px) rotate(0deg)    translateX(-50%) scale(1);    opacity: 1;   filter: blur(0px)   grayscale(0%);  }
  17%  { transform: rotate(0deg)   translateY(-215px) rotate(0deg)    translateX(-50%) scale(1);    opacity: 1;   filter: blur(0px)   grayscale(0%);
         animation-timing-function: cubic-bezier(0.75, 0, 0.25, 1); }
  25%  { transform: rotate(90deg)  translateY(-215px) rotate(-90deg)  translateX(-50%) scale(0.68); opacity: 0.45; filter: blur(1.2px) grayscale(50%); }
  42%  { transform: rotate(90deg)  translateY(-215px) rotate(-90deg)  translateX(-50%) scale(0.68); opacity: 0.45; filter: blur(1.2px) grayscale(50%);
         animation-timing-function: cubic-bezier(0.75, 0, 0.25, 1); }
  50%  { transform: rotate(180deg) translateY(-215px) rotate(-180deg) translateX(-50%) scale(0.58); opacity: 0.22; filter: blur(2px)   grayscale(72%); }
  67%  { transform: rotate(180deg) translateY(-215px) rotate(-180deg) translateX(-50%) scale(0.58); opacity: 0.22; filter: blur(2px)   grayscale(72%);
         animation-timing-function: cubic-bezier(0.75, 0, 0.25, 1); }
  75%  { transform: rotate(270deg) translateY(-215px) rotate(-270deg) translateX(-50%) scale(0.68); opacity: 0.45; filter: blur(1.2px) grayscale(50%); }
  92%  { transform: rotate(270deg) translateY(-215px) rotate(-270deg) translateX(-50%) scale(0.68); opacity: 0.45; filter: blur(1.2px) grayscale(50%);
         animation-timing-function: cubic-bezier(0.75, 0, 0.25, 1); }
  100% { transform: rotate(360deg) translateY(-215px) rotate(-360deg) translateX(-50%) scale(1);    opacity: 1;   filter: blur(0px)   grayscale(0%);  }
}

@keyframes floatA {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(10px); }
}

/* Ring */
.hero__ring {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(245,166,35,0.12);
  border-radius: 50%;
  z-index: 1;
  animation: ringPulse 4s ease-in-out infinite;
}
.hero__ring::before {
  content: '';
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(0,194,255,0.07);
  border-radius: 50%;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.04); opacity: 1; }
}

/* Scroll Indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  z-index: 1;
  animation: fadeInUp 1s var(--ease) 1.5s both;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50%       { transform: scaleY(0.5); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(15,21,32,0.5);
  overflow: hidden;
  padding: 16px 0;
  position: relative;
}
.trust-bar::before,
.trust-bar::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
}
.trust-bar::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.trust-bar::after  { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.trust-bar__track { overflow: hidden; }

.trust-bar__items {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.trust-bar__item {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0 20px;
  white-space: nowrap;
  transition: color var(--t);
}
.trust-bar__item:hover { color: var(--gold); }

.trust-bar__sep {
  color: var(--gold);
  font-size: 10px;
  opacity: 0.5;
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   BAR REVEAL — Section Title Animation
   ============================================================ */
.bar-reveal {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 20px;
}

.bar-reveal__bars {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: flex-end;
  flex-shrink: 0;
}

.bar-reveal__bar {
  display: block;
  width: 4px;
  border-radius: 2px;
  transform: scaleY(0);
}
.bar-reveal__bar:nth-child(1) {
  background: #F0F4FF;
  transform-origin: top center;
  height: 40px;
  margin-bottom: 4px;
}
.bar-reveal__bar:nth-child(2) {
  background: #00C2FF;
  transform-origin: bottom center;
  height: 40px;
  margin-bottom: -8px;
}
.bar-reveal__bar:nth-child(3) {
  background: #F0F4FF;
  transform-origin: top center;
  height: 40px;
  margin-bottom: 8px;
}

.bar-reveal__text {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-16px);
}

/* Fired by JS when in view */
.bar-reveal.animate .bar-reveal__bar:nth-child(1) {
  animation: barDropIn 0.4s cubic-bezier(0.7,0,0.3,1) 0s both;
}
.bar-reveal.animate .bar-reveal__bar:nth-child(2) {
  animation: barDropIn 0.4s cubic-bezier(0.7,0,0.3,1) 0.35s both;
}
.bar-reveal.animate .bar-reveal__bar:nth-child(3) {
  animation: barDropIn 0.4s cubic-bezier(0.7,0,0.3,1) 0.7s both;
}

.bar-reveal.animate .bar-reveal__text {
  animation: barTextIn 0.5s cubic-bezier(0.34,1.56,0.64,1) 1.2s both;
}

@keyframes barDropIn {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
@keyframes barTextIn {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: var(--section-py) 0;
}

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

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: var(--t);
  overflow: hidden;
  group: true;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(245,166,35,0.2), transparent 60%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--t);
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  border-color: rgba(245, 166, 35, 0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--shadow-gold);
}

@keyframes cardTilt {
  0%   { transform: perspective(800px) rotateX(0deg) rotateY(0deg) translateY(0); }
  30%  { transform: perspective(800px) rotateX(4deg) rotateY(-6deg) translateY(-6px); }
  60%  { transform: perspective(800px) rotateX(-3deg) rotateY(5deg) translateY(-6px); }
  100% { transform: perspective(800px) rotateX(2deg) rotateY(-3deg) translateY(-4px); }
}
@keyframes cardTiltOut {
  from { transform: perspective(800px) rotateX(2deg) rotateY(-3deg) translateY(-4px); }
  to   { transform: perspective(800px) rotateX(0deg) rotateY(0deg) translateY(0); }
}

.service-card--featured {
  border-color: var(--border);
  background: var(--surface);
}
.service-card--featured .service-card__icon { background: rgba(255,255,255,0.05); }
.service-card--featured .service-card__icon svg { stroke: var(--text-muted); }

.service-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(245,166,35,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: var(--t-slow);
  pointer-events: none;
}
.service-card:hover .service-card__glow { opacity: 1; }

.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--t);
}
.service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-muted);
  transition: var(--t);
}
.service-card:hover .service-card__icon {
  background: rgba(245,166,35,0.1);
  border-color: rgba(245,166,35,0.3);
}
.service-card:hover .service-card__icon svg { stroke: var(--gold); }

.service-card__num {
  position: absolute;
  top: 28px;
  right: 32px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.service-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.service-card__list li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
  opacity: 0.5;
  transition: var(--t);
}
.service-card:hover .service-card__list li::before {
  background: var(--gold);
  opacity: 0.8;
}

.service-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0 10px 0 10px;
  text-decoration: none;
  transition: background 0.6s ease, border-color 0.6s ease, color 0.6s ease, padding 0.6s ease, gap 0.6s ease;
  color: var(--text-muted);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.service-card__arrow-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: max-width 0.6s cubic-bezier(0.4,0,0.2,1),
              opacity 0.5s ease 0.1s,
              transform 0.5s ease 0.1s,
              margin-right 0.6s ease;
  margin-right: 0;
  overflow: hidden;
}
.service-card__arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0609;
  padding: 0 12px 0 14px;
  gap: 8px;
}
.service-card__arrow:hover .service-card__arrow-label {
  max-width: 80px;
  opacity: 1;
  transform: translateX(0);
  margin-right: 2px;
}
.service-card__arrow:hover svg {
  transform: rotate(45deg);
}
.service-card__arrow svg {
  transition: transform var(--t);
  flex-shrink: 0;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding: var(--section-py) 0 calc(var(--section-py) + 210px);
  background: var(--surface);
  border-top: none;
  border-bottom: none;
  position: relative;
}
.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--surface) 100%);
  pointer-events: none;
  z-index: 0;
}
.process::after {
  display: none;
}

.process__content {
  border: none;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--surface);
  padding: 68px calc(var(--container-px) + 60px) 128px;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: calc(-1 * var(--container-px));
  margin-right: calc(-1 * var(--container-px));
  position: relative;
  top: -180px;
  z-index: 1;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
  clip-path: inset(-80px -80px 0 -80px);
  display: block;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.process__content.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.process__content > .bar-reveal {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.process .section-header {
  margin-top: -260px;
  position: relative;
  z-index: 2;
}

.process__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 0px;
}

.process__line {
  position: absolute;
  top: 36px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.process__line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #003a52, #00C2FF, #003a52);
  transition: width 1.5s var(--ease);
}
.process.aos-animate .process__line::after { width: 100%; }

.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.process__step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 28px;
  position: relative;
  transition: var(--t);
  flex-shrink: 0;
}
.process__step:hover .process__step-num {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: var(--glow-gold);
}

.process__step-body { display: flex; flex-direction: column; gap: 0; align-items: center; }

.process__step-icon {
  width: 44px;
  height: 44px;
  background: rgba(245,166,35,0.08);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.process__step-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
}

.process__step-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.process__step-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   WORK
   ============================================================ */
/* ── chart cut at process section bottom ── */
.process__chart-cut {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 800px;
  display: block;
  pointer-events: none;
}
.process__chart-cut--mobile { display: none; }
.process__chart-cut polygon {
  opacity: 0;
  transition: opacity 0.8s ease 0.1s;
}
.process__chart-cut polyline {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  transition: stroke-dashoffset 3s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}
.process__chart-cut.is-visible polygon {
  opacity: 1;
}
.process__chart-cut.is-visible polyline {
  stroke-dashoffset: 0;
}

.work > .container > .bar-reveal {
  margin-left: auto;
  margin-bottom: 48px;
}
.work > .container > .section-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.work {
  padding: 0 0 calc(var(--section-py) + 80px);
  margin-top: -80px;
  overflow: hidden; /* contain infinite slider clones */
  position: relative;
  z-index: 2;
}

.work__slider {
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
}

.work__track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.work__track.is-dragging {
  transition: none;
  cursor: grabbing;
}

.work-slide {
  flex: 0 0 740px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0.4;
  transform: scale(0.93);
  transition: opacity 0.5s, transform 0.5s, box-shadow 0.5s, border-color 0.5s;
}
.work-slide.active {
  opacity: 1;
  transform: scale(1);
  border-color: color-mix(in srgb, var(--card-accent, var(--gold)) 40%, transparent);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

.work-slide__img-wrap {
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: var(--surface-3);
  flex-shrink: 0;
}
.work-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  pointer-events: none;
  transition: transform 0.6s;
}
.work-slide.active .work-slide__img { transform: scale(1.02); }

/* ATFA slide — website bg + floating phone */
.work-slide--atfa {
  position: relative; /* phone anchors to card, overflow:hidden keeps it within card */
}
.work-slide--atfa .work-slide__img-wrap {
  position: center left;
  overflow: hidden;
}
.work-slide--atfa .work-slide__img {
  object-fit: cover;
  object-position: top left;
}
.work-slide--atfa .work-slide__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,11,18,0.55) 0%, rgba(8,11,18,0.15) 55%, transparent 100%);
  z-index: 1;
}
.work-slide--atfa .work-slide__phone {
  position: absolute;
  bottom: 252px;
  right: 86px;
  width: 28%;
  height: auto;
  object-fit: contain;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(-4px 8px 24px rgba(0,0,0,0.7));
  transition: transform 0.6s;
}
.work-slide--atfa.active .work-slide__phone { transform: scale(1.04) translate(-3px, -3px); }

.work-slide--vendfeed {
  position: relative;
}
.work-slide--vendfeed .work-slide__img-wrap {
  position: relative;
  overflow: hidden;
  height: 340px;
  padding: 30px 40px;
}
.work-slide--vendfeed .work-slide__img {
  object-fit: contain;
  object-position: center left;
  width: 100%;
  height: 100%;
}
.work-slide--vendfeed .work-slide__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,11,18,0.55) 0%, rgba(8,11,18,0.15) 55%, transparent 100%);
  z-index: 1;
}
.work-slide--vendfeed .work-slide__phone {
  position: absolute;
  bottom: 252px;
  right: 86px;
  width: 29%;
  height: auto;
  object-fit: contain;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(-4px 8px 24px rgba(0,0,0,0.7));
  transition: transform 0.6s;
}
.work-slide--vendfeed.active .work-slide__phone { transform: scale(1.04) translate(-3px, -3px); }

.work-slide__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.work-slide__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.work-slide__tags span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
}
.work-slide__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.work-slide__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}
.work-slide__metrics {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.work-slide__metric-val {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
}
.work-slide__metric-label {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.work-slide__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  transition: var(--t);
  margin-top: auto;
  width: fit-content;
  pointer-events: none;
}
.work-slide.active .work-slide__link { pointer-events: auto; }
.work-slide__link:hover { gap: 10px; color: var(--gold-light); }

.work__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  position: relative;
  z-index: 3;
}
.work__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--t);
  flex-shrink: 0;
}
.work__btn:hover { border-color: var(--gold); color: var(--gold); }
.work__dots { display: flex; gap: 8px; align-items: center; }
.work__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.3s, border-radius 0.3s, background 0.3s;
}
.work__dot.active { width: 24px; border-radius: 4px; background: var(--gold); }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: var(--section-py) 0 var(--section-py);
  background: var(--surface);
  border-top: none;
  position: relative;
  z-index: 3;
}
.about::after {
  display: none;
}
.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--surface) 100%);
  pointer-events: none;
  z-index: 0;
}
.about__content > .bar-reveal {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

/* right column box */
.about__content {
  border: none;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--surface);
  /* top | right | bottom | left */
  padding: 36px calc(var(--container-px) + 160px) 280px calc(var(--container-px) + 364px + 160px);
  margin-top: 0;
  margin-bottom: -600px;
  margin-left: calc(-1 * var(--container-px) - 364px);
  margin-right: calc(-1 * var(--container-px));
  position: relative;
  top: -380px;
  z-index: 1;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
  clip-path: inset(-80px -80px 0 -80px);
  display: block;
  pointer-events: none; /* invisible overflow must not block elements below */
}
.about__right {
  overflow: visible;
  min-width: 0;
  padding-top: 10px;
}
.about__content > * {
  position: relative;
  z-index: 1;
  pointer-events: auto; /* restore interactivity for all actual children */
}

/* ── body: 2-col grid ── */
.about__body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 84px;
  align-items: start;
  margin-top: 190px;
}
/* ── left: profile card ── */
.about__profile {
  position: relative;
  z-index: 2;
}

.about__title {
  font-size: clamp(26px, 3.5vw, 38px) !important;
  text-align: right;
  margin-top: 16px;
  margin-bottom: 16px !important;
  position: relative;
  z-index: 1;
}

.about__right .section-header {
  position: relative;
  top: -25px;
  z-index: 2;
}



.about__subtitle {
  text-align: right;
}

.about__image-wrap {
  position: relative;
  width: 100%;
  margin-top: 0;
  margin-bottom: 48px;
  top: -140px;
}

.about__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  display: block;
}

.about__image-ring {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: calc(var(--radius-xl) + 6px);
  pointer-events: none;
}

.about__badge {
  position: absolute;
  background: rgba(15,21,32,0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.about__badge svg { color: var(--gold); }
.about__badge--1 { top: 16px; right: -16px; }
.about__badge--2 { bottom: 16px; right: -16px; }

.about__tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: -15px;
  margin-bottom: 31px;
  font-style: italic;
  padding: 0 2px;
  position: relative;
  top: -140px;
}
.about__tagline em {
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}

.about__cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: -140px;
}

/* ── right: content ── */
.about__bio {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.about__bio strong { color: var(--text); font-weight: 600; }
.about__bio em { color: var(--gold); font-style: normal; }

/* stats */
.about__stats-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 100px 0 36px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.about__stats-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.about__stat {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about__stat:last-child { border-right: none; }
.about__stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
  background: var(--grad-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 6s ease infinite;
  line-height: 1;
}
.about__stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* single skills box — bleeds into contact section */
.about__skills-box {
  border: none;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background: var(--bg);
  margin-left: calc(-364px);
  margin-right: 0;
  margin-bottom: calc(-1 * var(--section-py));
  padding: 28px 32px 58px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  box-shadow: 0 -16px 48px rgb(23, 32, 51, 0.3);
  clip-path: inset(-40px -40px 0 -40px);
}

.about__skill-row {
  padding: 24px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
}
.about__skill-row::before,
.about__skill-row::after {
  content: '';
  position: absolute;
  bottom: 100%;
  width: 8px;
  height: 36px;
  pointer-events: none;
  background: var(--surface);
  z-index: -1;
}
.about__skill-row::before { left: 24px; }
.about__skill-row::after  { right: 24px; }
.about__skill-row:nth-child(even) {
  border-right: none;
}


.availability-bridge {
  position: relative;
  z-index: 20;
  margin-top: -40px;
}
.about__availability {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin: 0 140px;
  position: relative;
  z-index: 2;
}
.about__availability::before,
.about__availability::after {
  display: none;
}
.about__ai-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  flex-shrink: 0;
  animation: bounce-arrow 2s ease-in-out infinite;
  transition: color var(--t);
}
.about__ai-arrow:hover { color: var(--gold); }
.about__ai-heading {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}
.ai-shimmer-text {
  color: #F0F4FF;
  font-weight: 700;
}

.about__ai-cta {
  color: var(--text);
  text-decoration: none;
  transition: opacity var(--t);
}
.about__ai-cta:hover {
  opacity: 0.75;
}
.about__avail-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.about__avail-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-avail 2s ease-out infinite;
}
@keyframes pulse-avail {
  0%   { box-shadow: 0 0 0 0   rgba(16, 185, 129, 0.7); }
  70%  { box-shadow: 0 0 0 112px rgba(16, 185, 129, 0);  }
  100% { box-shadow: 0 0 0 0   rgba(16, 185, 129, 0);   }
}
.about__avail-status {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 2px;
}
.about__avail-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.about__avail-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--surface-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--t), background var(--t), color var(--t);
  white-space: nowrap;
  margin-top: 4px;
}
.about__avail-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
  color: var(--text);
}
.about__skill-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color var(--t), box-shadow var(--t);
}
.about__skill-card:hover {
  border-color: rgba(var(--sk-accent-rgb, 255,255,255), 0.25);
  box-shadow: 0 0 28px rgba(0,0,0,0.2);
}
.about__skill-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.about__skill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sk-accent);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--sk-accent);
}
.about__skill-card-head h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text);
  margin: 0;
}

.about__skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.about__skill-tags span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: var(--t);
}
.about__skill-tags span:hover {
  border-color: var(--sk-accent);
  color: var(--sk-accent);
  background: rgba(255,255,255,0.06);
}

/* link buttons */
.about__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: var(--t);
}
.about__link:hover {
  color: var(--text);
  border-color: rgba(245,166,35,0.3);
  background: rgba(245,166,35,0.05);
}

/* ============================================================
   CONTACT
   ============================================================ */

.section-scroll-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  color: var(--text-muted);
  text-decoration: none;
  animation: bounce-arrow 2s ease-in-out infinite;
  transition: color var(--t);
  position: relative;
  z-index: 5;
}
.section-scroll-arrow:hover {
  color: var(--text);
}
@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

.contact {
  padding: calc(var(--section-py) - 40px) 0 var(--section-py);
  position: relative;
  z-index: 5; /* above .about z-index:3 so clicks aren't blocked by about stacking context */
  overflow: hidden;
}

.contact__bg-orb {
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact__info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact__info-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}
.contact__info-card > p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--t);
  background: rgba(255,255,255,0.02);
}
a.contact__detail:hover {
  border-color: rgba(245,166,35,0.3);
  background: rgba(245,166,35,0.04);
}

.contact__detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact__detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
}

.contact__detail-text span {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.contact__detail-text strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.contact__social {
  display: flex;
  gap: 10px;
}
.contact__social a {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
  color: var(--text-muted);
}
.contact__social a svg { width: 18px; height: 18px; }
.contact__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245,166,35,0.08);
}
/* Always interactive – override any inherited pointer-events:none from AOS parent [data-aos] */
.contact__social a,
.form-social-row a,
.footer__social a {
  pointer-events: auto;
}

.form-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  margin-bottom: -3px;
  border-top: 2px solid rgba(255, 255, 255, 0.06);
}
.form-social-label {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}
.form-social-row a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: var(--t);
  text-decoration: none;
}
.form-social-row a svg { width: 16px; height: 16px; flex-shrink: 0; }
.form-social-row a:hover {
  border-color: transparent;
  color: var(--gold);
  background: transparent;
}


/* Form */
.contact__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-size: 15px;
  transition: var(--t);
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(245,166,35,0.5);
  background: rgba(245,166,35,0.03);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.08);
}
.form-group select option { background: var(--surface-2); color: var(--text); }

.form-success {
  font-size: 14px;
  color: #4ade80;
  text-align: center;
  padding: 12px;
  border: 1px solid rgba(74,222,128,0.25);
  border-radius: var(--radius-sm);
  background: rgba(74,222,128,0.05);
  display: none;
}
.form-success.show { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  position: relative;
  z-index: 5; /* above .about z-index:3 */
}

.footer__top {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer__brand {
  flex: 1;
  min-width: 200px;
}
.footer__brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.6;
  max-width: 240px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.footer__nav-row {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.footer__nav a {
  font-size: 14px;
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  transition: var(--t);
}
.footer__nav a:hover { color: var(--text); background: var(--border-light); }

.footer__social {
  display: flex;
  gap: 10px;
}

/* Smaller bar-logo in footer */
.footer__bar-logo .bar-logo__bar { width: 38px; height: 3.5px; }
.nav__logo .footer__wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: rgba(255,255,255,0.55);
  margin-left: 12px;
}
.nav__logo .footer__wordmark .footer__wordmark--accent { color: #156f8b; }
.nav__logo.footer__logo:hover .bar-logo__bar:nth-child(1),
.nav__logo.footer__logo:hover .bar-logo__bar:nth-child(3) { background: #ffffff; box-shadow: 0 0 8px rgba(255,255,255,0.5); }
.nav__logo.footer__logo:hover .bar-logo__bar:nth-child(2) { background: #5DDFFF; box-shadow: 0 0 8px rgba(0,194,255,0.6); }
.footer__social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
  color: var(--text-muted);
}
.footer__social a svg { width: 20px; height: 20px; }
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.footer__bottom p {
  font-size: 13px;
  color: var(--text-dim);
}

/* Honeypot — visually hidden but reachable by bots */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.footer__back-top {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--t);
}
.footer__back-top:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0609;
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr 360px;
    gap: 40px;
  }
  .about__container {
    grid-template-columns: 320px 1fr;
    gap: 50px;
  }
  .process__timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .process__line { display: none; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .btn--nav { display: none; }
  .nav__container .galaxy-button { display: none; }
  .nav__hamburger { display: flex; }
  .bar-logo__bar { width: 32px !important; height: 3px !important; }
  .bar-logo { gap: 3px; }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
    padding-top: 40px;
  }
  .hero__content { align-items: center; text-align: center; }
  .hero__available-wrap { transform: none; margin-left: 0; margin-bottom: 38px; top: 0; }
  .hero__stat { align-items: center; }
  .hero__subtitle { margin: 0 auto 38px; }
  .hero__ctas { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__chips { display: flex; }
  .hero__visual { height: 420px; margin-top: -90px; }
  .hero__tag--1 { left: 0; }
  .hero__tag--2 { right: 0; }
  .hero__tag--3 { left: 0; }
  .hero__tag--4 { right: 0; }

  .services__grid { grid-template-columns: 1fr; }
  .services { padding-bottom: calc(var(--section-py) + 80px); }
  .work-slide { flex: 0 0 520px; }

  .about__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about__left {
    display: flex;
    justify-content: center;
  }

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

  .footer__top { gap: 32px; }
  .footer__nav { flex-direction: column; }
}

@media (max-width: 768px) {
  :root { --section-py: 70px; }

  .section-header { margin-bottom: 48px; }
  .bar-reveal { margin-left: auto; margin-right: auto; }
  .bar-reveal__bar { width: 3px !important; }
  .bar-reveal__bar:nth-child(1),
  .bar-reveal__bar:nth-child(2),
  .bar-reveal__bar:nth-child(3) { height: 32px !important; }
  .bar-reveal__text { font-size: 18px !important; }

  .hero__title { font-size: clamp(36px, 9vw, 52px); }
  .hero__tag { display: none; }
  .hero__orbit { display: none; }
  .hero__ring { width: 260px; height: 260px; }

  .process__timeline { grid-template-columns: 1fr; }
  .process__chart-cut--desktop { display: none; }
  .process__chart-cut--mobile  { display: block; }
  .process .section-header { margin-bottom: 70px; }
  .process__content {
    margin-left: 0;
    margin-right: 0;
    padding: 40px 24px 220px;
    border-radius: var(--radius);
  }
  .process__step { flex-direction: row; align-items: flex-start; gap: 20px; text-align: center; }
  .process__step-num { flex-shrink: 0; width: 60px; height: 60px; font-size: 16px; margin-bottom: 0; }
  .process__step-body { flex: 1; align-items: flex-start; text-align: left; }
  .process .section-header { margin-top: -380px; }
  .process__line { display: none; }
  .process__timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 30px;
    bottom: -80px;
    width: 1px;
    transform: none;
    background: linear-gradient(180deg, #003a52, #00C2FF, #080B12);
    z-index: 0;
  }
  .work-slide { flex: 0 0 calc(100vw - 40px); }
  .work-slide__img-wrap { height: 56vw; }
  .work-slide--atfa .work-slide__phone { bottom: auto; top: 10px; right: 16px; width: 32%; }
  .work-slide--vendfeed .work-slide__phone { bottom: auto; top: 38px; right: 16px; width: 30%; }
  .work-slide--vendfeed .work-slide__img-wrap { height: 56vw; padding: 0; }

  .work > .container > .bar-reveal { margin-left: auto; margin-right: 0; margin-bottom: 20px; }
  .work > .container > .section-header { margin-bottom: 72px; margin-top: 25px; }
  .work { padding-bottom: 80px; }

  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }

  .work-card--wide { grid-column: span 1; }

  /* About section — reset desktop positioning, centre everything */
  .about__content {
    margin: 0;
    padding: 40px 24px 0;
    top: 0;
    display: block;
    text-align: center;
    background: var(--surface);
    box-shadow: none;
    border-radius: var(--radius) var(--radius) 0 0;
    clip-path: none;
    pointer-events: auto;
  }
  .about__content > .bar-reveal,
  .about__content > * { position: static !important; }
  .about__title { text-align: center !important; margin-top: 16px; }
  .about__subtitle { text-align: center; }
  .about__body { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; display: flex; flex-direction: column; }
  .about__right  { display: contents; }
  .about__content      { order: 1; }
  .about__bio          { order: 2; }
  .about__profile      { order: 3; }
  .about__stats-row    { order: 4; }
  .about__skills-box   { order: 5; }
}

/* ============================================================
   AOS OVERRIDES
   ============================================================ */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ============================================================
   AI CHAT WIDGET
   ============================================================ */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  pointer-events: none; /* panel is 360px wide in layout even when hidden — this stops the invisible area blocking footer clicks */
}

/* FAB */
.chat-widget__fab {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  pointer-events: auto; /* restore — FAB must always be clickable */
  background: var(--grad-gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080B12;
  box-shadow: 0 4px 24px rgba(245,166,35,0.45);
  transition: width 0.3s var(--ease-spring), height 0.3s var(--ease-spring), transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease);
  flex-shrink: 0;
}
.chat-widget__fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 36px rgba(245,166,35,0.6);
}
.chat-widget--open .chat-widget__fab {
  width: 38px;
  height: 38px;
  box-shadow: 0 2px 12px rgba(245,166,35,0.3);
}
.chat-widget--open .chat-widget__fab:hover {
  transform: scale(1.08);
}
.chat-widget__fab-icon {
  position: absolute;
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease-spring);
}
.chat-widget__fab-icon--close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}
.chat-widget__fab-icon--chat {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.chat-widget--open .chat-widget__fab-icon--chat {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}
.chat-widget--open .chat-widget__fab-icon--close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Panel */
.chat-widget__panel {
  width: 360px;
  max-height: 540px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 16px 64px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.04);
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease-spring), opacity 0.25s var(--ease);
  transform-origin: bottom right;
}
.chat-widget--open .chat-widget__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* Header */
.chat-widget__header {
  padding: 14px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-widget__header-info { display: flex; align-items: center; gap: 10px; }
.chat-widget__logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 4px 2px;
}
.chat-widget__logo-bar {
  display: block;
  height: 3.5px;
  border-radius: 2px;
}
.chat-widget__logo-bar:nth-child(1) { width: 30px; margin-left: 3px;  background: #F0F4FF; }
.chat-widget__logo-bar:nth-child(2) { width: 30px; margin-left: -5px; background: #00C2FF; }
.chat-widget__logo-bar:nth-child(3) { width: 30px; margin-left: 5px;  background: #F0F4FF; }
.chat-widget__name { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.2; }
.chat-widget__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: color var(--t), background var(--t);
}
.chat-widget__close:hover { color: var(--text); background: rgba(255,255,255,0.06); }

/* Messages */
.chat-widget__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.chat-widget__messages::-webkit-scrollbar { width: 4px; }
.chat-widget__messages::-webkit-scrollbar-track { background: transparent; }
.chat-widget__messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.55;
  animation: chatMsgIn 0.25s var(--ease-spring) both;
}
.chat-msg--ai {
  background: var(--surface-3);
  color: var(--text);
  border-radius: 4px 14px 14px 14px;
  align-self: flex-start;
  border: 1px solid var(--border);
}
.chat-msg--user {
  background: var(--grad-gold);
  color: #080B12;
  border-radius: 14px 14px 4px 14px;
  align-self: flex-end;
  font-weight: 500;
}
.chat-msg--typing {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 4px 14px 14px 14px;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 16px;
}
.chat-msg--typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingBounce 1.2s infinite;
}
.chat-msg--typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-msg--typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30%            { transform: translateY(-5px); opacity: 1; }
}
@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Input form */
.chat-widget__form {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  background: var(--surface);
}
.chat-widget__input {
  flex: 1;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color var(--t);
}
.chat-widget__input::placeholder { color: var(--text-dim); }
.chat-widget__input:focus { border-color: rgba(245,166,35,0.5); }
.chat-widget__send {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--grad-gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080B12;
  flex-shrink: 0;
  transition: opacity var(--t), transform 0.15s var(--ease);
}
.chat-widget__send:hover:not(:disabled) { opacity: 0.9; transform: scale(1.06); }
.chat-widget__send:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }

/* Mobile */
@media (max-width: 480px) {
  .chat-widget { bottom: 16px; right: 16px; }
  .chat-widget__panel { width: calc(100vw - 32px); max-height: 65vh; }
}

/* ============================================================
   ABOUT BAR-REVEAL — nuclear mobile centre fix (last rule wins)
   ============================================================ */
@media (max-width: 768px) {
  .about__content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 20px 24px 24px !important;
    background: var(--surface) !important;
    border-radius: var(--radius) var(--radius) 0 0 !important;
    box-shadow: none !important;
    margin: -50px 0 0 !important;
    top: 0 !important;
    clip-path: none !important;
  }
  .about__content > * {
    position: static !important;
  }
  .about__content > .bar-reveal { margin-bottom: -50px !important; }
  .about__title { margin-top: 80px !important; }
  .about__body { gap: 16px !important; align-items: stretch !important; }

  /* Reset desktop negative positioning on profile card */
  .about__image-wrap { top: 0 !important; margin-bottom: 31px !important; }
  .about__tagline { top: 0 !important; margin-top: 0 !important; margin-bottom: 31px !important; text-align: center !important; }
  .about__cta-row { margin-top: 0 !important; align-items: stretch !important; }
  .about__link { display: flex !important; justify-content: center !important; width: 100% !important; box-sizing: border-box !important; }
  .about__stat { align-items: center !important; text-align: center !important; }
  .about__stats-row { margin: 0 !important; }

  /* Skills — single column, reset desktop negative margins */
  .about__skills-box {
    grid-template-columns: 1fr !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: calc(-1 * var(--section-py)) !important;
    padding-bottom: calc(var(--section-py) + 28px) !important;
    clip-path: none !important;
    border-radius: var(--radius) var(--radius) 0 0 !important;
  }

  /* AI availability box — remove huge side margins */
  .about__availability {
    margin: 0 var(--container-px) !important;
    padding: 24px 2px 18px !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  /* Hero card — center avatar */
  .hero__avatar { margin-left: auto !important; margin-right: auto !important; }
  .hero__card-location { justify-content: center !important; }
  .hero__card-status { justify-content: center !important; }

  /* Footer — center brand */
  .footer__brand { text-align: center !important; }
  .footer__brand p { max-width: 100% !important; margin-left: auto !important; margin-right: auto !important; }
  .footer__logo { justify-content: center !important; }

  /* Footer — reorder: brand → social → nav links */
  .footer__top { flex-direction: column !important; align-items: center !important; gap: 24px !important; }
  .footer__brand { order: 1 !important; width: 100% !important; }
  .footer__nav { display: contents !important; }
  .footer__social { order: 2 !important; justify-content: center !important; }
  .footer__nav-row { order: 3 !important; justify-content: center !important; flex-wrap: wrap !important; }

  /* Contact — reset AOS translate, full-width boxes */
  .contact__grid { width: 100% !important; grid-template-columns: 1fr !important; }
  .contact__info,
  .contact__form { width: 100% !important; transform: none !important; }

  /* Contact section — push title down, match bar-reveal → header gap to other sections */
  .contact > .container > .bar-reveal { margin-top: 40px !important; margin-bottom: 24px !important; }
  .contact > .container > .section-header { margin-bottom: 40px !important; }
}
