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

:root {
  --bg: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent: #4ADE80;
  --font: 'Inter', sans-serif;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: #000000;
  color: var(--text-primary);
  overflow-y: hidden; /* hidden during preloader */
  transition: background-color 1s ease;
}

body.loaded {
  overflow-y: auto;
  background: var(--bg);
}

/* Selection */
::selection {
  background: var(--accent);
  color: var(--bg);
}

::-moz-selection {
  background: var(--accent);
  color: var(--bg);
}

/* Scrollbar — minimal */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) var(--bg);
}

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

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

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

/* ——————————————————————————————————
   NOISE / GRAIN OVERLAY
—————————————————————————————————— */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ——————————————————————————————————
   PRELOADER
—————————————————————————————————— */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.preloader__top,
.preloader__bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--bg);
  will-change: transform;
}

.preloader__top {
  top: 0;
}

.preloader__bottom {
  bottom: 0;
}

.preloader__text {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0;
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.preloader__letter {
  display: inline-block;
  will-change: transform, opacity;
}

.preloader__space {
  width: 0.5em;
}

/* ——————————————————————————————————
   CUSTOM CURSOR
—————————————————————————————————— */
.cursor-outer,
.cursor-inner {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9997;
  border-radius: 50%;
  will-change: transform;
}

.cursor-outer {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: border-color 0.3s, background-color 0.3s;
  mix-blend-mode: difference;
}

.cursor-outer.hovering {
  border-color: var(--accent);
  background: rgba(74, 222, 128, 0.06);
}

.cursor-inner {
  width: 8px;
  height: 8px;
  background: var(--text-primary);
  transform: translate(-50%, -50%);
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-outer,
  .cursor-inner {
    display: none !important;
  }
  *, *::before, *::after {
    cursor: auto !important;
  }
}

/* Hide default cursor on desktop */
@media (hover: hover) and (pointer: fine) {
  *, *::before, *::after {
    cursor: none !important;
  }
}

/* ——————————————————————————————————
   NAVIGATION
—————————————————————————————————— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  will-change: transform;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav.hidden {
  transform: translateY(-100%);
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 0.15em;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  z-index: 101;
}

.nav__logo-bold {
  font-weight: 700;
}

.nav__logo-light {
  font-weight: 300;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  list-style: none;
}

.nav__link {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__link:hover::after {
  width: 100%;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  z-index: 101;
  position: relative;
}

.nav__hamburger-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.3s;
  will-change: transform;
}

.nav__hamburger-line:first-child {
  transform: translateY(-4px);
}

.nav__hamburger-line:last-child {
  transform: translateY(4px);
}

.nav__hamburger.active .nav__hamburger-line:first-child {
  transform: translateY(0) rotate(45deg);
}

.nav__hamburger.active .nav__hamburger-line:last-child {
  transform: translateY(0) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__link {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(30px);
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }
}

/* ——————————————————————————————————
   SECTIONS (PLACEHOLDERS)
—————————————————————————————————— */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.section__label {
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-secondary);
  opacity: 0.4;
}

/* ——————————————————————————————————
   HERO SECTION
—————————————————————————————————— */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(1.5rem, 6vw, 8vw);
  position: relative;
  overflow: hidden;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  width: 100%;
}

/* Eyebrow */
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(2rem, 4vh, 3.5rem);
}

.hero__eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
  transform-origin: left center;
  will-change: transform;
}

.hero__eyebrow-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--text-secondary);
  font-weight: 500;
  will-change: transform, opacity;
}

/* Main heading */
.hero__heading {
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
  will-change: transform;
}

.hero__line {
  display: block;
  overflow: hidden;
  font-size: clamp(3rem, 8vw, 9rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.02em;
  perspective: 600px;
}

.hero__char {
  display: inline-block;
  will-change: transform, opacity;
}

.hero__line--accent .hero__char {
  color: var(--accent);
}

/* Description */
.hero__description {
  max-width: 500px;
  margin-bottom: clamp(2rem, 4vh, 3rem);
  overflow: hidden;
}

.hero__desc-word {
  display: inline-block;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.6;
  will-change: transform, opacity;
  margin-right: 0.3em;
}

/* CTA Buttons */
.hero__ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: clamp(3rem, 6vh, 5rem);
}

.hero__btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font);
  border-radius: 2px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  will-change: transform, opacity;
}

.hero__btn--primary {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}

.hero__btn--primary:hover {
  background: #3bca6e;
  border-color: #3bca6e;
  transform: scale(1.04);
}

.hero__btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero__btn--secondary:hover {
  background: var(--text-primary);
  color: var(--bg);
  border-color: var(--text-primary);
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: clamp(1.5rem, 3vh, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  will-change: opacity;
}

.hero__scroll-track {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.hero__scroll-dot {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-primary);
  will-change: transform, opacity;
}

.hero__scroll-text {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-secondary);
}

/* Hero responsive */
@media (max-width: 768px) {
  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero__btn {
    width: 100%;
    text-align: center;
  }

  .hero__line {
    letter-spacing: -0.01em;
  }

  .hero__eyebrow {
    margin-bottom: 1.5rem;
  }
}

/* ——————————————————————————————————
   ABOUT SECTION
—————————————————————————————————— */
.about {
  min-height: 100vh;
  padding: clamp(6rem, 12vh, 10rem) clamp(1.5rem, 6vw, 8vw);
  position: relative;
}

.about__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section label */
.about__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(3rem, 6vh, 5rem);
}

.about__label-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
  transform-origin: left center;
}

.about__label-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Two-column layout */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

/* Left column — text */
.about__left {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vh, 3rem);
}

/* Main statement — word reveal */
.about__statement {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.about__word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.05em;
}

.about__word {
  display: inline-block;
  will-change: transform;
}

.about__word--accent {
  color: var(--accent);
}

/* Description paragraphs */
.about__desc {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about__desc p {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Stats row */
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.about__stat {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
}

.about__stat-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  transform-origin: left center;
}

.about__stat-number {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.about__stat-suffix {
  color: var(--accent);
}

.about__stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

/* Right column — code card */
.about__right {
  position: relative;
  perspective: 1000px;
}

.about__card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  position: relative;
  box-shadow: 0 0 60px rgba(74, 222, 128, 0.06), 0 0 120px rgba(74, 222, 128, 0.03);
}

/* Card top bar */
.about__card-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about__card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.about__card-dot--red { background: #ff5f57; }
.about__card-dot--yellow { background: #febc2e; }
.about__card-dot--green { background: #28c840; }

.about__card-title {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.5px;
}

/* Code block */
.about__code {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.72rem, 0.85vw, 0.85rem);
  line-height: 1.8;
}

.about__code-line {
  display: block;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
}

.code-bracket { color: var(--text-secondary); }
.code-key { color: var(--text-primary); }
.code-string { color: var(--accent); }
.code-line-num {
  display: inline-block;
  width: 2em;
  color: rgba(255, 255, 255, 0.15);
  user-select: none;
}

/* Blinking cursor */
.about__code-cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Floating badges */
.about__badge {
  position: absolute;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  background: rgba(10, 10, 10, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  opacity: 0;
}

.about__badge--1 {
  top: -14px;
  right: -10px;
  animation: floatBadge 3.5s ease-in-out infinite alternate;
}

.about__badge--2 {
  bottom: 20%;
  left: -20px;
  animation: floatBadge 4s ease-in-out infinite alternate;
  animation-delay: -1.2s;
}

.about__badge--3 {
  bottom: -14px;
  right: 15%;
  animation: floatBadge 3s ease-in-out infinite alternate;
  animation-delay: -2.5s;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* About responsive */
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__right {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .about__stats {
    gap: 1rem;
  }

  .about__badge--2 {
    left: auto;
    right: -10px;
    bottom: 30%;
  }
}

/* ——————————————————————————————————
   SERVICES SECTION
—————————————————————————————————— */
.services {
  padding: 150px clamp(1.5rem, 6vw, 8vw) 0;
  position: relative;
}

.services__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section label */
.services__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}

.services__label-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  font-weight: 500;
}

.services__label-line {
  width: 60px;
  height: 1px;
  background: var(--accent);
  transform-origin: left center;
}

/* Section heading */
.services__heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.services__heading-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.services__heading-char {
  display: inline-block;
  will-change: transform;
}

/* Subtext */
.services__subtext {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 550px;
  line-height: 1.6;
  margin-bottom: clamp(3rem, 6vh, 5rem);
}

/* Accordion rows */
.services__list {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services__item {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.services__item-border {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  transform-origin: left center;
}

/* Row header (collapsed) */
.services__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 35px 0;
  position: relative;
  user-select: none;
}

.services__row-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.services__num {
  font-size: 14px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  min-width: 28px;
}

.services__title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--text-primary);
  will-change: transform;
  transition: color 0.3s;
}

/* Hover glow on left */
.services__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.services__item:hover::before {
  opacity: 1;
}

/* Arrow / plus icon */
.services__icon {
  width: 28px;
  height: 28px;
  position: relative;
  flex-shrink: 0;
}

.services__icon-line {
  position: absolute;
  background: var(--text-secondary);
  transition: background 0.3s, transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.services__icon-line--h {
  width: 100%;
  height: 1.5px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.services__icon-line--v {
  width: 1.5px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.services__item:hover .services__icon-line {
  background: var(--text-primary);
}

.services__item.active .services__icon-line--v {
  transform: translateX(-50%) rotate(90deg);
}

/* Expanded content */
.services__content {
  height: 0;
  overflow: hidden;
  will-change: height;
}

.services__content-inner {
  padding: 0 0 35px 58px;
  opacity: 0;
  transform: translateY(10px);
  will-change: transform, opacity;
}

.services__desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 20px;
}

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

.services__tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 16px;
  transition: border-color 0.3s, color 0.3s;
}

.services__tag:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
}

/* ---- Marquee ---- */
.marquee {
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: clamp(4rem, 8vh, 6rem);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__content {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  padding-right: 0;
}

.marquee__item {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  padding: 0 20px;
}

.marquee__dot {
  color: var(--accent);
  font-size: clamp(0.6rem, 1vw, 0.8rem);
  flex-shrink: 0;
  opacity: 0.6;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Services responsive */
@media (max-width: 768px) {
  .services__num {
    display: none;
  }

  .services__row-left {
    gap: 0;
  }

  .services__content-inner {
    padding-left: 0;
  }

  .services__row {
    padding: 25px 0;
  }
}

/* ——————————————————————————————————
   PROJECTS SECTION
—————————————————————————————————— */
.projects {
  padding: 150px clamp(1.5rem, 6vw, 8vw) 0;
  position: relative;
}

.projects__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section label */
.projects__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}

.projects__label-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  font-weight: 500;
}

.projects__label-line {
  width: 60px;
  height: 1px;
  background: var(--accent);
  transform-origin: left center;
}

/* Section heading */
.projects__heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.projects__heading-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.projects__heading-char {
  display: inline-block;
  will-change: transform;
}

.projects__subtext {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 550px;
  line-height: 1.6;
  margin-bottom: clamp(4rem, 8vh, 6rem);
}

/* Project card */
.project-card {
  margin-bottom: 120px;
  position: relative;
}

/* Top row: category + status */
.project-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.project-card__category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 500;
}

.project-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Status badge */
.project-card__status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  border: 1px solid;
}

.project-card__status--live {
  border-color: var(--accent);
  color: var(--accent);
}

.project-card__status--beta {
  border-color: #FBBF24;
  color: #FBBF24;
}

.project-card__status--dev {
  border-color: var(--text-secondary);
  color: var(--text-secondary);
}

.project-card__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

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

/* Title */
.project-card__title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: clamp(1rem, 2vh, 1.5rem);
  transition: text-shadow 0.4s;
}

.project-card__title-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.project-card__title-char {
  display: inline-block;
  will-change: transform;
}

/* Description */
.project-card__desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 650px;
  margin-bottom: 20px;
}

/* Tech tags */
.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(2rem, 4vh, 3rem);
}

.project-card__tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 14px;
  transition: border-color 0.3s, color 0.3s;
}

/* Visual / mockup area */
.project-card__visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.project-card__visual-inner {
  position: absolute;
  inset: 0;
  will-change: transform;
}

/* View project link */
.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  float: right;
}

.project-card__link-arrow {
  display: inline-block;
  transition: transform 0.3s;
}

.project-card__link:hover .project-card__link-arrow {
  transform: translateX(8px);
}

.project-card__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--text-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.project-card__link:hover::after {
  transform: scaleX(1);
}

/* Divider between projects */
.project-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 120px;
}

.project-divider__line {
  width: 100px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  transform-origin: center;
}

.project-divider__num {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
  letter-spacing: 2px;
}

/* ---- Mockup Shared ---- */
.mockup {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mockup 1: Dashboard (Scalabl.io) */
.mockup-dashboard {
  padding: 8%;
  gap: 3%;
  display: flex;
  width: 100%;
  height: 100%;
}

.mockup-dash__sidebar {
  width: 16%;
  height: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  padding: 12% 10%;
  gap: 10%;
}

.mockup-dash__sidebar-item {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.mockup-dash__sidebar-item.active {
  background: var(--accent);
  opacity: 0.5;
}

.mockup-dash__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3%;
}

.mockup-dash__header {
  height: 10%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dash__charts {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3%;
}

.mockup-dash__chart {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: flex-end;
  padding: 10%;
  gap: 6%;
}

.mockup-dash__bar {
  flex: 1;
  background: rgba(74, 222, 128, 0.2);
  border-radius: 2px 2px 0 0;
}

/* Mockup 2: Waveform (AI Calling Agent) */
.mockup-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 60%;
  height: 50%;
}

.mockup-wave__bar {
  width: 4px;
  background: #60A5FA;
  border-radius: 2px;
  opacity: 0.5;
  animation: waveBar 1.2s ease-in-out infinite alternate;
}

@keyframes waveBar {
  0% { height: 15%; }
  100% { height: 90%; }
}

/* Mockup 3: Clipboard Cards (CopyGum) */
.mockup-clipboard {
  position: relative;
  width: 45%;
  height: 55%;
}

.mockup-clip__card {
  position: absolute;
  width: 100%;
  height: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-clip__card:nth-child(1) {
  bottom: 0;
  left: 0;
  z-index: 1;
}

.mockup-clip__card:nth-child(2) {
  bottom: 12%;
  left: 5%;
  z-index: 2;
  transform: rotate(-2deg);
}

.mockup-clip__card:nth-child(3) {
  bottom: 24%;
  left: 10%;
  z-index: 3;
  transform: rotate(1deg);
  border-color: rgba(244, 114, 182, 0.2);
}

.mockup-clip__line {
  height: 5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.mockup-clip__line--short {
  width: 60%;
}

.mockup-clip__line--accent {
  background: rgba(244, 114, 182, 0.25);
}

/* Mockup 4: Grid Monitor (AI Screen Monitor) */
.mockup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  width: 70%;
  height: 60%;
}

.mockup-grid__cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.mockup-grid__cell::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  height: 3px;
  border-radius: 2px;
  background: rgba(251, 191, 36, 0.2);
}

.mockup-grid__cell--active {
  border-color: rgba(251, 191, 36, 0.25);
}

.mockup-grid__cell--active::before {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #FBBF24;
  opacity: 0.7;
}

/* Mockup 5: Chat/Terminal (VOID) */
.mockup-terminal {
  width: 60%;
  height: 60%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.mockup-term__bar {
  height: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
}

.mockup-term__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.mockup-term__body {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-term__line {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.mockup-term__line--accent {
  background: rgba(167, 139, 250, 0.25);
}

.mockup-term__line--short {
  width: 40%;
}

.mockup-term__line--med {
  width: 70%;
}

.mockup-term__cursor {
  display: inline-block;
  width: 7px;
  height: 12px;
  background: #A78BFA;
  animation: blink 1s step-end infinite;
  margin-top: 4px;
}

/* Projects responsive */
@media (max-width: 768px) {
  .project-card {
    margin-bottom: 80px;
  }

  .project-card__visual {
    aspect-ratio: 4 / 3;
  }

  .project-card__link {
    float: none;
  }

  .project-card__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .project-divider {
    margin-bottom: 80px;
  }
}

/* ——————————————————————————————————
   TECH STACK SECTION
—————————————————————————————————— */
.techstack {
  padding: 150px clamp(1.5rem, 6vw, 8vw) 0;
  position: relative;
}

.techstack__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Label */
.techstack__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}

.techstack__label-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  font-weight: 500;
}

.techstack__label-line {
  width: 60px;
  height: 1px;
  background: var(--accent);
  transform-origin: left center;
}

/* Heading */
.techstack__heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.techstack__heading-line {
  display: block;
}

.techstack__heading-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.techstack__heading-char {
  display: inline-block;
  will-change: transform;
}

.techstack__heading-char--accent {
  color: var(--accent);
}

.techstack__subtext {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 550px;
  line-height: 1.6;
  margin-bottom: clamp(4rem, 7vh, 5rem);
}

/* 4-column grid */
.techstack__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* Category column */
.techstack__category {
  opacity: 0;
}

.techstack__cat-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.techstack__cat-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
}

/* Tech item */
.techstack__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  transition: padding-left 0.3s;
}

.techstack__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 0.3s;
}

.techstack__item:hover::before {
  width: 2px;
}

.techstack__item:hover {
  padding-left: 12px;
}

.techstack__item-name {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 400;
  transition: color 0.3s;
}

.techstack__item:hover .techstack__item-name {
  color: var(--text-primary);
}

/* Proficiency dots */
.techstack__dots {
  display: flex;
  gap: 5px;
  align-items: center;
}

.techstack__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.techstack__dot--filled {
  background: var(--text-primary);
}

/* Currently Exploring */
.techstack__exploring {
  margin-top: 80px;
}

.techstack__exploring-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
  transform-origin: center;
}

.techstack__exploring-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.techstack__exploring-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  animation: explorePulse 2.5s ease-in-out infinite;
}

.techstack__exploring-item {
  font-size: 15px;
  color: var(--text-primary);
  white-space: nowrap;
  padding: 0 16px;
}

.techstack__exploring-dot {
  color: var(--accent);
  font-size: 8px;
  opacity: 0.6;
}

@keyframes explorePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Responsive */
@media (max-width: 1024px) {
  .techstack__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
  }
}

@media (max-width: 640px) {
  .techstack__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .techstack__exploring-list {
    flex-wrap: wrap;
    gap: 8px 0;
  }
}

/* =============================================
   TIMELINE SECTION
============================================= */
.timeline {
  padding: 150px clamp(1.5rem, 6vw, 8vw) 80px;
  position: relative;
}

.timeline__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Label */
.timeline__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}

.timeline__label-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  font-weight: 500;
}

.timeline__label-line {
  width: 60px;
  height: 1px;
  background: var(--accent);
  transform-origin: left center;
}

/* Heading */
.timeline__heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.timeline__heading-line { display: block; }

.timeline__heading-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.timeline__heading-char {
  display: inline-block;
  will-change: transform;
}

.timeline__heading-char--accent { color: var(--accent); }

.timeline__subtext {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 550px;
  line-height: 1.6;
  margin-bottom: clamp(4rem, 8vh, 6rem);
}

/* Track container */
.timeline__track {
  position: relative;
  padding-bottom: 40px;
}

/* Center vertical lines */
.timeline__line-base,
.timeline__line-progress {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
}

.timeline__line-base {
  background: rgba(255, 255, 255, 0.07);
}

.timeline__line-progress {
  background: var(--accent);
  transform-origin: top center;
  scaleY: 0;
  z-index: 1;
}

/* Entry row */
.timeline__entry {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding: 0 0 80px;
}

.timeline__entry:last-child {
  padding-bottom: 0;
}

/* Left / right halves */
.timeline__entry-left,
.timeline__entry-right {
  width: 50%;
  position: relative;
}

/* Even entries (0,2,4 → card on right) */
.timeline__entry--right .timeline__entry-left { /* empty spacer */ }
.timeline__entry--right .timeline__entry-right { padding-left: 60px; }

/* Odd entries (1,3,5 → card on left) */
.timeline__entry--left .timeline__entry-left {
  padding-right: 60px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.timeline__entry--left .timeline__entry-right { /* empty spacer */ }

/* Center dot */
.timeline__dot-wrap {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: var(--bg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s, background 0.4s;
}

.timeline__dot.active {
  border-color: var(--accent);
  background: var(--accent);
}

.timeline__dot-inner {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bg);
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline__dot.active .timeline__dot-inner {
  transform: scale(1);
}

/* Pulse ring */
.timeline__dot-pulse {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  pointer-events: none;
}

/* Connector horizontal line */
.timeline__connector {
  position: absolute;
  top: 13px;
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline__entry--right .timeline__connector {
  left: -40px;
  transform-origin: right center;
}

.timeline__entry--left .timeline__connector {
  right: -40px;
  transform-origin: left center;
}

/* Card content */
.timeline__card {
  position: relative;
  padding: 30px 0;
}

.timeline__year {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: -10px;
  position: relative;
  z-index: 0;
}

.timeline__tag {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.timeline__title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.timeline__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
  max-width: 420px;
}

/* Right-aligned cards need left-aligned text max-width */
.timeline__entry--left .timeline__desc {
  margin-left: auto;
}

/* Special "present" entry */
.timeline__entry--present .timeline__card {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
}

.timeline__entry--present.timeline__entry--left .timeline__card {
  border-left: none;
  border-right: 2px solid var(--accent);
  padding-left: 0;
  padding-right: 24px;
}

.timeline__entry--present .timeline__tag {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(74, 222, 128, 0.15);
}

/* ---- Timeline Responsive ---- */
@media (max-width: 768px) {
  .timeline__line-base,
  .timeline__line-progress {
    left: 16px;
  }

  .timeline__entry {
    flex-direction: row;
    padding-bottom: 50px;
  }

  .timeline__entry-left {
    display: none !important;
  }

  .timeline__entry--left .timeline__entry-right,
  .timeline__entry--right .timeline__entry-right {
    width: 100%;
    padding-left: 50px;
    text-align: left;
  }

  .timeline__entry--left .timeline__entry-left {
    display: none !important;
  }

  .timeline__entry--left .timeline__entry-right {
    display: block !important;
  }

  .timeline__dot-wrap {
    left: 16px;
  }

  .timeline__connector {
    display: none;
  }

  .timeline__entry--present .timeline__card,
  .timeline__entry--present.timeline__entry--left .timeline__card {
    border-left: 2px solid var(--accent);
    border-right: none;
    padding-left: 24px;
    padding-right: 0;
  }

  .timeline__entry--left .timeline__desc {
    margin-left: 0;
  }

  .timeline__year {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
}

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

/* Top divider */
.contact-divider {
  padding: 60px clamp(1.5rem, 6vw, 8vw);
  text-align: center;
}

.contact-divider__text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.contact-divider__dot {
  color: var(--accent);
  margin: 0 12px;
  font-size: 8px;
  vertical-align: middle;
}

.contact-divider__line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  transform-origin: center;
}

/* Main contact area */
.contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px clamp(1.5rem, 6vw, 8vw) 100px;
  text-align: center;
  position: relative;
}

.contact__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  width: 100%;
}

/* Section label with side lines */
.contact__label {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.contact__label-line {
  width: 50px;
  height: 1px;
  background: var(--accent);
  transform-origin: center;
}

.contact__label-line--l { transform-origin: right center; }
.contact__label-line--r { transform-origin: left center; }

.contact__label-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}

/* Big heading */
.contact__heading {
  margin-bottom: 0;
  line-height: 0.95;
  text-align: center;
}

.contact__heading-line {
  display: block;
  font-size: clamp(3rem, 9vw, 10rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  overflow: hidden;
  perspective: 600px;
}

.contact__heading-char {
  display: inline-block;
  will-change: transform;
}

/* Stroke / outlined text for INTELLIGENT */
.contact__heading-line--stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text-primary);
  transition: color 0.5s, -webkit-text-stroke-color 0.5s;
}

.contact__heading-line--stroke .contact__heading-char {
  transition: color 0.4s, -webkit-text-stroke-color 0.4s;
}

.contact__heading-line--stroke.filled .contact__heading-char {
  color: var(--accent);
  -webkit-text-stroke-color: var(--accent);
}

/* Shimmer overlay */
.contact__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  transform: translateX(-100%);
  pointer-events: none;
}

/* Description */
.contact__desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 550px;
  text-align: center;
  line-height: 1.7;
  margin-top: 40px;
}

/* Email CTA */
.contact__email {
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--text-primary);
  font-weight: 500;
  margin-top: 50px;
  position: relative;
  display: inline-block;
  transition: color 0.3s;
}

.contact__email::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.contact__email:hover {
  color: var(--accent);
}

.contact__email:hover::after {
  transform: scaleX(1);
}

/* Social links */
.contact__socials {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact__social {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-secondary);
  padding: 6px 16px;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}

.contact__social:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

.contact__social-dot {
  color: var(--accent);
  font-size: 8px;
  opacity: 0.5;
}

/* Availability badge */
.contact__avail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.08);
}

.contact__avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: availPulse 2s ease-in-out infinite;
}

@keyframes availPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

/* =============================================
   FOOTER
============================================= */
.footer {
  padding: 40px clamp(1.5rem, 6vw, 8vw);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__left,
.footer__center,
.footer__right {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.footer__center {
  color: rgba(255, 255, 255, 0.25);
  font-size: 11px;
}

.footer__right {
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}

.footer__right:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Nav active link */
.nav__link.active {
  color: var(--accent);
}

.nav__link.active::after {
  width: 100%;
  background: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
  .contact__heading-line {
    font-size: clamp(2.5rem, 12vw, 5rem);
  }

  .contact__heading-line--stroke {
    -webkit-text-stroke-width: 1px;
  }

  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 30px clamp(1.5rem, 6vw, 8vw);
  }
}

/* =============================================
   WEBSITES SECTION
============================================= */

.websites {
  padding: clamp(100px, 15vh, 160px) clamp(1.5rem, 6vw, 8vw);
  position: relative;
}

.websites__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.websites__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.websites__label-text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.websites__label-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.websites__heading {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
}

.websites__subtext {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 600px;
}

.websites__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.websites__card {
  display: block;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, transform 0.3s;
}

.websites__card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.websites__card-image {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(74,222,128,0.05) 0%, transparent 60%), #111;
  overflow: hidden;
}

.websites__card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.websites__card-icon {
  font-size: 48px;
}

.websites__card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.websites__card-content {
  padding: 24px;
}

.websites__card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.websites__card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.websites__card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.websites__card-tag {
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.websites__card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.websites__view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s;
}

.websites__view-all:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .websites__grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   ACCESSIBILITY
============================================= */

/* Skip to content link */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  z-index: 100000;
  transform: translateY(-100%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Focus visible states */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .marquee__track {
    animation: none !important;
  }
}

/* Contrast bump for secondary text — AA compliance */
/* #a0a0a0 on #0a0a0a = 7.0:1 ratio — passes AA & AAA */
