@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Syne:wght@400;600;700;800&family=Space+Mono:wght@400;700&display=swap");

/* ── RESET ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  width: 100%;
  min-height: 100vh;
  overflow-x: clip; /* clip instead of hidden — doesn't create a scroll container */
}
body {
  width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  cursor: none;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  border: none;
  background: none;
  cursor: none;
  font: inherit;
}

/* page container */
#app {
    padding: 2rem;
}


/* ── CSS VARIABLES ── */
:root {
  /* Colours */
  --bg: #17121e;
  --bg-surface: rgba(255, 255, 255, 0.04);
  --bg-card: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);

  --pink: #e87db0;
  --pink-deep: #c4447a;
  --orange: #d4724a;
  --purple: #9b5de5;
  --purple-deep: #6b2fa0;
  --blue: #3AAFCE;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --text-faint: rgba(255, 255, 255, 0.45);

  /* Typography */
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Syne", sans-serif;
  --font-mono: "Space Mono", monospace;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 60px;
  --space-xl: 100px;
  --space-2xl: 140px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Nav height — used for page padding-top */
  --nav-h: 80px;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transition:
    transform 0.15s ease,
    width 0.2s,
    height 0.2s,
    border-color 0.2s;
}

/* ── ANIMATIONS CLASSES ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAVIGATION CLASSES ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  height: var(--nav-h);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.15em;
  color: var(--text);
}
.logo span { color: var(--pink); }

.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  border-bottom-color: var(--pink);
}

.nav-cta { padding: 10px 22px; font-size: 10px; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}

/* Drawer */
.nav-drawer {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 499;
  opacity: 90%;
  backdrop-filter: blur(20px);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transform: translateY(-110%);
  transition: transform 0.3s ease;
}
.nav-drawer.open { transform: translateY(0); }
.nav-drawer ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nav-drawer a {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}
.nav-drawer a:hover { color: var(--text-muted); }

@media (max-width: 900px) {
  .nav { padding: 0 var(--space-md); }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 480px) {
  .nav { padding: 0 var(--space-sm); }
}


/* ── SHARED UTILITY CLASSES ── */
.section {
  width: 100%;
  padding: var(--space-lg);
  padding-top: var(--space-xl);
  position: relative;
  z-index: 10;
}
.dark-section {
  background: linear-gradient(135deg, rgba(196,68,122,0.08) 0%, rgba(155,93,229,0.08) 100%);

}
.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: var(--space-md);
}
.section-label::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--pink);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
}
.section-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 520px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-surface);
  white-space: nowrap;
}
.tag.pink {
  border-color: rgba(232, 125, 176, 0.4);
  color: var(--pink);
  background: rgba(232, 125, 176, 0.08);
}
.tag.orange {
  border-color: rgba(212, 114, 74, 0.4);
  color: var(--orange);
  background: rgba(212, 114, 74, 0.08);
}
.tag.purple {
  border-color: rgba(155, 93, 229, 0.4);
  color: var(--purple);
  background: rgba(155, 93, 229, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hover);
  color: var(--text);
  background: var(--bg-surface);
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.2s;
  cursor: none;
}
.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.btn.primary {
  background: rgba(196, 68, 122, 0.2);
  border-color: rgba(196, 68, 122, 0.5);
}
.btn.primary:hover {
  background: rgba(196, 68, 122, 0.35);
}

/* ── PAGE BACKGROUND LAYERS (shared) ── */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      ellipse at 75% 20%,
      rgba(200, 50, 110, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 20% 80%,
      rgba(100, 30, 140, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 50% 50%,
      rgba(200, 80, 50, 0.08) 0%,
      transparent 60%
    ),
    #17121e;
  pointer-events: none;
}

/* ── FADE IN ANIMATION ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.fade-in {
  opacity: 0;
  animation: fadeIn 0.7s ease forwards;
}
.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}
.delay-5 {
  animation-delay: 0.5s;
}
.delay-6 {
  animation-delay: 0.6s;
}
.delay-7 {
  animation-delay: 0.7s;
}
.delay-8 {
  animation-delay: 0.8s;
}

/* ── RESPONSIVE HELPERS ── */
@media (max-width: 900px) {
  :root {
    --nav-h:     64px;
    --space-xl:  var(--space-lg);   /* 100px → 60px */
    --space-2xl: var(--space-xl);   /* 140px → 100px */
  }
}
@media (max-width: 540px) {
  :root {
    --space-xl:  var(--space-md);   /* 100px → 32px */
    --space-lg:  var(--space-md);   /* 60px  → 32px */
    --space-2xl: var(--space-lg);   /* 140px → 60px */
  }
}


/* ── HOMEPAGE STYLES ── */
/* ──                  ── */
/* ── FEATURED SECTION HEADERS ── */
.featured-section { border-top: 1px solid var(--border); }
.featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}
.view-all-btn { align-self: flex-end; margin-bottom: 8px; }
.ai-highlight-left .view-all-btn {
  align-self: flex-start;
}

/* Home grids show 3 columns */
.design-grid--home { grid-template-columns: repeat(3, 1fr); }
.project-grid--home { grid-template-columns: repeat(3, 1fr); }

/* ── MARQUEE STRIP ── */
.marquee-strip {
  width: 100vw;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: relative;
  z-index: 10;
  background: rgba(255,255,255,0.02);
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
  align-items: center;
  font-size: 18px !important;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.marquee-dot {
  color: var(--pink) !important;
  opacity: 0.5;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── AI HIGHLIGHT SECTION ── */
.ai-highlight-section { border-top: 1px solid var(--border); }
.ai-highlight-inner {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
  flex-wrap: wrap;
}
.ai-highlight-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  flex: 1;
  min-width: 280px;
}
.ai-highlight-right {
  flex: 1.2;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Skill bars */
.ai-usage-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ai-usage-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ai-usage-item__bar {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.ai-usage-item__fill {
  height: 100%;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.4,0,0.2,1);
}
.ai-usage-item__fill.animate { transform: scaleX(1); }
.ai-usage-item__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 180px;
  order: -1;
}
.ai-usage-item__val {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 60px;
  text-align: right;
}
.ai-models-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* ── NUMBERS ── */
.numbers-section { border-top: 1px solid var(--border); }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.about-intro__right .numbers-grid {
  border: none;
}
.number-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--space-lg) var(--space-md);
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  text-align: center;
}
.about-intro__right .number-item {
  padding: var(--space-sm);
  background: none;
}
.number-item:last-child { border-right: none; }
.number-item__num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 80px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text);
}
.number-item__num span {
  font-size: 0.5em;
  color: var(--pink-deep);
  vertical-align: super;
}
.number-item__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── TESTIMONIALS ── */
.testimonials-section { border-top: 1px solid var(--border); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: var(--space-md);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.testimonial-card__quote {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted);
  font-style: italic;
}
.testimonial-card__quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--pink);
  opacity: 0.4;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}
.testimonial-card__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(196,68,122,0.4), rgba(155,93,229,0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text);
  flex-shrink: 0;
}
.testimonial-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.testimonial-card__role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── CTA BAND ── */
.cta-band {
  border-top: 1px solid var(--border);
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}
.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.9;
  letter-spacing: 0.02em;
}
.cta-band__desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 480px;
}
.cta-band__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-sm);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .design-grid--home  { grid-template-columns: repeat(2, 1fr); }
  .project-grid--home { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-usage-item { flex-wrap: wrap; }
  .ai-usage-item__label { order: 0; min-width: 100%; }
}
@media (max-width: 768px) {
  .design-grid--home  { grid-template-columns: 1fr; }
  .project-grid--home { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .ai-highlight-inner { flex-direction: column; }
  .featured-header { flex-direction: column; align-items: flex-start; }
  .view-all-btn { align-self: flex-start; }
  .ai-highlight-right , .ai-highlight-left {width: 100%;}
}
@media (max-width: 540px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-item { padding: var(--space-md) var(--space-sm); }
}

/* ════════════════════════════════════
   CASE STUDY IMAGE SLIDER
════════════════════════════════════ */
.cs-slider {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  align-self: start;
  flex-shrink: 0;
  transition: border-color 0.3s ease;
}
.dev-project:hover .cs-slider,
.design-project:hover .cs-slider { border-color: rgba(232,125,176,0.25); }

/* Track — slides horizontally */
.cs-slider__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.cs-slider__img {
  width: 100%;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  object-position: center top;
  aspect-ratio: 4/3;
  /* Override global img max-width */
  max-width: none;
}

/* Controls bar */
.cs-slider__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
}

/* Prev / Next buttons */
.cs-slider__btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.cs-slider__btn svg { width: 12px; height: 12px; stroke: currentColor; }
.cs-slider__btn:hover {
  background: rgba(232,125,176,0.2);
  border-color: rgba(232,125,176,0.5);
  color: var(--pink);
}
.cs-slider__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Dot indicators */
.cs-slider__dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.cs-slider__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background 0.2s, transform 0.2s;
  cursor: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
}
.cs-slider__dot.active {
  background: var(--pink);
  transform: scale(1.3);
}

/* Single image — hide controls */
.cs-slider--single .cs-slider__controls { display: none; }

/* Responsive */
@media (max-width: 900px) {
  .cs-slider { width: 100%; }
  .cs-slider__img { aspect-ratio: 16/9; }
}
@media (max-width: 540px) {
  .cs-slider { display: none; }
}


/* ── ABOUT STYLES ── */
/* ──                  ── */
/* ── INTRO ── */
.about-intro {
  padding-top: calc(var(--nav-h) + var(--space-lg));
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

/* ── INTRO — fix padding and bio width ── */
.about-intro {
  padding-top: calc(var(--nav-h) + var(--space-lg));
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.about-bio {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 520px;    /* was 40vw — collapses to nothing on mobile */
}
.about-intro__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  flex: 1;
  min-width: 300px;
}
.about-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

/* ── PHOTO FRAME ── */
.about-intro__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}
.about-photo-frame {
  position: relative;
  width: 320px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-photo-frame img {
  border-radius: 1000px;
}
.about-photo {
  width: 280px;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  border-radius: 0 0 200px 200px;
  position: relative;
  z-index: 2;
}
.about-photo-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.about-photo-ring--1 {
  width: 420px;
  height: 420px;
  border: 1px solid rgba(210,80,140,0.35);
  animation: ringSpinA 20s linear infinite;
}
.about-photo-ring--2 {
  width: 350px;
  height: 350px;
  border: 1px dashed rgba(155,93,229,0.25);
  animation: ringSpinA 14s linear infinite reverse;
}
@keyframes ringSpinA {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

/* ── STATS ── */
.about-stats {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}
.about-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.about-stat__num {
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1;
}
.about-stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

/* ── SERVICES ── */
.services-section { border-top: 1px solid var(--border); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--space-md);
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.service-card__num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--pink);
  opacity: 0.5;
  letter-spacing: 0.04em;
  line-height: 1;
}
.service-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.service-card__desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  flex: 1;
}
.service-card__tools { display: flex; gap: 6px; flex-wrap: wrap; }

/* ── TIMELINE ── */
.timeline-section { border-top: 1px solid var(--border); }
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-md);
  padding-left: 80px;
  border-left: 1px solid var(--border);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  margin-left: -1px;
}
.timeline-item__year {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 60px;
  padding-top: 4px;
  margin-left: -80px;
  text-align: right;
}
.timeline-item__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--text-muted);
  flex-shrink: 0;
  margin-top: 5px;
  margin-left: -5px;
  transition: background 0.3s;
}
.timeline-item:hover .timeline-item__dot { background: var(--pink); }
.timeline-item--current .timeline-item__dot {
  background: var(--pink);
  box-shadow: 0 0 12px rgba(232,125,176,0.5);
}
.timeline-item__content { display: flex; flex-direction: column; gap: 6px; }
.timeline-item__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.timeline-item__content p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── CONTACT ── */
.contact-section { border-top: 1px solid var(--border); }
.contact-options {
  display: flex;
  gap: 20px;
  margin-top: var(--space-md);
  flex-wrap: wrap;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  flex: 1;
  min-width: 180px;
  transition: border-color 0.3s, transform 0.3s;
  cursor: none;
}
.contact-card:hover {
  border-color: rgba(232,125,176,0.4);
  transform: translateY(-4px);
}
.contact-card__icon {
  font-size: 22px;
  color: var(--pink);
  line-height: 1;
}
.contact-card__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-card__value {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-intro { flex-direction: column-reverse; align-items: center; text-align: center; }
  .about-bio { text-align: left; }
  .about-cta { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 60px; }
}
@media (max-width: 540px) {
  .about-photo-frame { width: 260px; height: 330px; }
  .about-photo { width: 230px; height: 300px; }
  .contact-options { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ── CERTIFICATIONS SECTION ── */
.certs-section { border-top: 1px solid var(--border); }

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: var(--space-md);
}

.cert-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 20px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.cert-card:hover {
  border-color: rgba(232,125,176,0.35);
  transform: translateY(-4px);
}

/* Pink left accent bar */
.cert-card__accent {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--pink), transparent);
  border-radius: 12px 0 0 12px;
}

/* Degree card — slightly elevated style */
.cert-card--degree {
  border-color: rgba(232,125,176,0.25);
  background: rgba(232,125,176,0.05);
}
.cert-card--degree .cert-card__accent {
  background: var(--pink);
}

/* In-progress card */
.cert-card--progress {
  border-style: dashed;
  border-color: rgba(155,93,229,0.3);
  background: rgba(155,93,229,0.04);
}
.cert-card--progress .cert-card__accent {
  background: linear-gradient(to bottom, var(--purple), transparent);
}

/* Badge icon */
.cert-card__badge {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(232,125,176,0.3);
  background: rgba(232,125,176,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--pink);
  flex-shrink: 0;
}
.cert-card--degree .cert-card__badge {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--pink);
}
.cert-card--progress .cert-card__badge {
  border-color: rgba(155,93,229,0.3);
  background: rgba(155,93,229,0.08);
  color: var(--purple);
}
.cert-card__badge svg {
  width: 18px; height: 18px;
}

/* Body text */
.cert-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.cert-card__type {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
}
.cert-card--progress .cert-card__type {
  color: var(--purple);
}
.cert-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.cert-card__school {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.cert-card__date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 2px;
}

/* View credential link */
.cert-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  text-decoration: none;
  transition: gap 0.2s, opacity 0.2s;
  width: fit-content;
}
.cert-card__link svg {
  width: 12px; height: 12px;
  stroke: currentColor; fill: none;
  transition: transform 0.2s;
}
.cert-card__link:hover { gap: 9px; }
.cert-card__link:hover svg { transform: translateX(2px); }

/* In-progress pill */
.cert-card__progress-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  border: 1px solid rgba(155,93,229,0.35);
  background: rgba(155,93,229,0.08);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

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

/* ── ABOUT TWO-COLUMN LAYOUT ── */
.about-two-col {
  display: grid;
  grid-template-columns: 1fr 30vw;
  gap: var(--space-md);
  align-items: start;
}

.about-col-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-col-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  /* Sticky so timeline stays visible while scrolling left column */
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

/* Compact service cards — smaller padding, tighter text */
.services-grid--compact {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0;
  gap: 14px;
}
.service-card--sm {
  padding: var(--space-sm);
  gap: 10px;
}
.service-card--sm .service-card__num {
  font-size: 22px;
}
.service-card--sm .service-card__title {
  font-size: 14px;
}
.service-card--sm .service-card__desc {
  font-size: 12px;
  line-height: 1.65;
}

/* Compact cert cards — 2 col instead of 3 */
.certs-grid--compact {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0;
  gap: 14px;
}
.certs-grid--compact .cert-card {
  padding: 16px 14px 14px;
  gap: 10px;
}
.certs-grid--compact .cert-card__title {
  font-size: 12px;
}
.certs-grid--compact .cert-card__school {
  font-size: 11px;
}

/* Timeline inside right col — remove the old border-left padding */
.about-col-right .timeline {
  padding-left: 70px;
}
.about-col-right .timeline-item__year {
  min-width: 48px;
  margin-left: -70px;
  font-size: 12px;
}

/* Remove the old standalone section borders since they're now inside the grid */
.about-two-col .services-section,
.about-two-col .timeline-section,
.about-two-col .certs-section {
  border-top: none;
  padding: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-two-col { grid-template-columns: 1fr 320px; gap: var(--space-lg); }
  .services-grid--compact { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .about-two-col {
    grid-template-columns: 1fr;
  }
  .about-col-right {
    position: static; /* unstick on mobile */
  }
  .services-grid--compact { grid-template-columns: 1fr; }
  .certs-grid--compact { grid-template-columns: 1fr; }
}


/* ── AI STYLES ── */
/* ──                  ── */

/* Stats row */
.ai-stat-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}
.ai-stat { display: flex; flex-direction: column; gap: 4px; }
.ai-stat__num {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--pink);
  letter-spacing: 0.02em;
}
.ai-stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ai-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* AI thumb placeholder */
.ai-thumb {
  background: linear-gradient(135deg, var(--c1, rgba(155,93,229,0.2)), var(--c2, rgba(196,68,122,0.2)));
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-thumb-icon {
  font-size: 48px;
  opacity: 0.25;
  line-height: 1;
}

/* Tools grid */
.tools-section { border-top: 1px solid var(--border); }
.ai-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.ai-tools-col { display: flex; flex-direction: column; gap: 12px; }
.ai-tools-col__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Approach section */
.ai-approach-section { border-top: 1px solid var(--border); }
.ai-approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--space-md);
}
.ai-approach-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: border-color 0.3s;
}
.ai-approach-card:hover { border-color: var(--border-hover); }
.ai-approach-card__icon {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--pink);
  letter-spacing: 0.04em;
  opacity: 0.7;
}
.ai-approach-card__title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.ai-approach-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .ai-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-approach-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .ai-tools-grid { grid-template-columns: 1fr; }
  .ai-stat-row { gap: var(--space-sm); }
}
/* ════════════════════════════════════
   AI PAGE — STACKED PROJECT LAYOUT
════════════════════════════════════ */

.ai-project {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  border-bottom: 1px solid var(--border);
  padding: var(--space-md);
  transition: background 0.3s ease;
}
.ai-project:first-of-type { border-top: 1px solid var(--border); }
.ai-project:hover { background: rgba(255,255,255,0.02); }

.ai-project__top {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
}

.ai-project__meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: var(--space-md);
  padding-top: 4px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.ai-project__num {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--pink);
  opacity: 0.25;
  letter-spacing: 0.04em;
}
.ai-project__tags-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.ai-project__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: var(--space-sm);
}

.ai-project__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 var(--space-lg);
  min-width: 0;
}
.ai-project__category {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
}
.ai-project__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--text);
}
.ai-project__overview {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.ai-project__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ai-project__detail-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ai-project__detail-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.ai-project__detail-block p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.ai-project__slider {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
  max-width: 800px;
  margin: auto;
}
.ai-project__slider .cs-slider__img {
  aspect-ratio: 16/9;
  object-fit: contain;
  object-position: center top;
}

@media (max-width: 1100px) {
  .ai-project__top { grid-template-columns: 180px 1fr; }
}
@media (max-width: 900px) {
  .ai-project__top {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .ai-project__meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: var(--space-sm);
    gap: 12px;
  }
  .ai-project__num { font-size: 32px; }
  .ai-project__tags-list { flex-direction: row; flex-wrap: wrap; }
  .ai-project__links {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 0;
    padding-top: 0;
  }
  .ai-project__body { padding: 0; }
  .ai-project__slider .cs-slider__img { aspect-ratio: 4/3; }
}
@media (max-width: 540px) {
  .ai-project__slider { display: none; }
}

/* ── DESIGNS STYLES ── */
/* ──                  ── */

.hover-tip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  width: fit-content;
}
.hover-tip svg {
  width: 12px; height: 12px;
  stroke: var(--pink); fill: none; stroke-width: 1.5;
}

/* Placeholder tint when no image loaded */
.design-card:not(:has(img[src])) .design-card__snapshot,
.design-card img[src=""] {
  background: linear-gradient(135deg, rgba(200,50,110,0.2), rgba(100,30,140,0.2));
}

/* Tools section */
.tools-section { border-top: 1px solid var(--border); }
.tools-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.tool-category { display: flex; flex-direction: column; gap: 12px; }
.tool-category__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}


/* ── DEVELOPMENT STYLES ── */
/* ──                  ── */
.page-hero {
  padding-top: calc(var(--nav-h) + var(--space-lg));
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.page-hero__inner { max-width: 700px; }

.tools-section { border-top: 1px solid var(--border); }
.tools-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.tool-category { display: flex; flex-direction: column; gap: 12px; }
.tool-category__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}




/* ── HERO STYLES ── */
/* ──                  ── */
/* ── RESET ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Syne", sans-serif;
  color: #fff;
  cursor: none;
  background: #17121e;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── CURSOR ── */
.cursor {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.15s ease;
}

/* ── BACKGROUND ──
   PERF FIX: Static background colour — no background animation.
   Animating `background` triggers full repaints every frame.
   Colour variation comes from the orbs only.
── */
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #17121e;
}

/* Pseudo-elements hold static gradients — no colour keyframes */
.hero-bg::before,
.hero-bg::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  /* PERF FIX: blur reduced from 100px → 50px.
     Large blur on large fixed elements is the #1 GPU killer.
     50px still looks soft but costs a fraction of the repaint. */
  filter: blur(50px);
  /* PERF FIX: will-change promotes to its own GPU layer so
     transform animations don't repaint the rest of the page */
  will-change: transform;
}
.hero-bg::before {
  width: 700px;
  height: 700px;
  /* PERF FIX: static background — no orbColourA keyframes */
  background: radial-gradient(circle, rgba(200, 50, 110, 0.4) 0%, transparent 70%);
  top: -140px;
  right: -120px;
  /* Only drift — no colour animation */
  animation: orbDriftA 14s ease-in-out infinite alternate;
}
.hero-bg::after {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(100, 30, 140, 0.4) 0%, transparent 70%);
  bottom: -140px;
  left: -100px;
  animation: orbDriftB 18s ease-in-out infinite alternate;
}

/* PERF FIX: orbs use opacity animation instead of background animation.
   opacity is GPU-composited and costs almost nothing.
   Background/gradient animation forces CPU repaints every frame. */
.orb {
  position: fixed;
  border-radius: 50%;
  /* PERF FIX: blur reduced from 80px → 45px */
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
  /* PERF FIX: contain prevents orb repaints from affecting
     the rest of the layout */
  contain: layout style;
}
.orb-1 {
  width: 500px;
  height: 500px;
  top: 40%;
  left: 15%;
  /* Static pink — opacity pulses instead of colour change */
  background: radial-gradient(circle, rgba(190, 50, 100, 0.28) 0%, transparent 70%);
  animation: orbDriftC 18s ease-in-out infinite alternate,
             orbPulse   16s ease-in-out infinite alternate;
}
.orb-2 {
  width: 400px;
  height: 400px;
  top: 5%;
  left: 38%;
  background: radial-gradient(circle, rgba(110, 35, 150, 0.28) 0%, transparent 70%);
  animation: orbDriftD 12s ease-in-out infinite alternate,
             orbPulse   14s ease-in-out 2s infinite alternate;
}
.orb-3 {
  width: 360px;
  height: 360px;
  bottom: 5%;
  right: 20%;
  background: radial-gradient(circle, rgba(200, 60, 90, 0.25) 0%, transparent 70%);
  animation: orbDriftE 15s ease-in-out infinite alternate,
             orbPulse   18s ease-in-out 4s infinite alternate;
}

/* Single shared pulse — just opacity, fully composited */
@keyframes orbPulse {
  from { opacity: 0.7; }
  to   { opacity: 1; }
}

/* colour-shift: keep it but reduce to opacity-only animation */
.colour-shift {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  /* PERF FIX: static gradient, just fades in/out via opacity */
  background: radial-gradient(ellipse at 65% 40%, rgba(200, 60, 100, 0.12) 0%, transparent 70%);
  animation: colourShiftFade 20s ease-in-out infinite alternate;
}
@keyframes colourShiftFade {
  from { opacity: 0.5; }
  to   { opacity: 1; }
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
}

@keyframes orbDriftA {
  from { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50%  { transform: translate(-60px, 80px) scale(1.1); opacity: 0.7; }
  to   { transform: translate(-30px, 100px) scale(1.05); opacity: 0.6; }
}
@keyframes orbDriftB {
  from { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50%  { transform: translate(70px, -50px) scale(1.15); opacity: 0.45; }
  to   { transform: translate(80px, -30px) scale(1.1); opacity: 0.5; }
}
@keyframes orbDriftC {
  from { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(80px, -60px) scale(1.2); }
  to   { transform: translate(-40px, 80px) scale(0.9); }
}
@keyframes orbDriftD {
  from { transform: translate(0, 0); opacity: 0.45; }
  50%  { transform: translate(-70px, 50px); opacity: 0.65; }
  to   { transform: translate(60px, -40px); opacity: 0.35; }
}
@keyframes orbDriftE {
  from { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-50px, -70px) scale(1.1); }
  to   { transform: translate(60px, 40px) scale(0.95); }
}
@keyframes hueShift {
  0%   { filter: hue-rotate(0deg); }
  50%  { filter: hue-rotate(40deg); }
  100% { filter: hue-rotate(0deg); }
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 60px;
  animation: fadeDown 0.8s ease both;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: none; }
}
.logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  letter-spacing: 0.15em;
}
.logo span { color: rgb(250, 97, 173); }

.nav-links {
  display: flex;
  flex-direction: row;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 26px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: border-color 0.25s, background 0.25s;
}
.nav-cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ── HERO ── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 120px 60px 60px;
  z-index: 10;
  width: 100%;
}

.hero {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

/* ── LEFT COLUMN ── */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex: 1;
  max-width: 560px;
}

.issue-num {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  /* always visible — no opacity animation that could clash */
  opacity: 0;
  animation: fadeUp 0.5s 0.2s ease forwards;
}

/* ── H1 TYPEWRITER ── */
h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(58px, 7.5vw, 112px);
  color: #fff;
  line-height: 0.95;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  /* Fixed height = 3 text lines + sub-line gap + sub-line height.
     This never changes regardless of typing progress so nothing shifts. */
}

.heading-wrapper {
  display: flex;
  gap: 12px;
}

/* Each typed line reserves its full height immediately */
.line {
  display: block;
  height: 1em;
  line-height: 0.95;
  overflow: visible;
  white-space: nowrap;
}
/* Last line holds inline cursor — flex keeps cursor on same baseline */
.line--last {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  height: 1em;
  overflow: visible;
}

/* Blinking pipe cursor shown during typing */
.cursor-blink {
  display: inline-block;
  font-weight: 300;
  color: rgb(250, 97, 173);
  animation: blink 0.75s step-end infinite;
  font-size: 0.9em;
  line-height: 1;
  vertical-align: baseline;
}
.cursor-blink.hidden { display: none; }

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

/* Sub-line: always in the DOM taking up space, just invisible until done.
   This is the key fix — it holds its space even before it fades in. */
.sub {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: clamp(11px, 1.3vw, 17px);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 18px;
  /* visibility:hidden keeps space reserved; opacity transition fades it in */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.8s ease, visibility 0s 0s;
}
.sub.visible {
  visibility: visible;
  opacity: 1;
}

.hero-desc {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s ease both;
}

/* ── BOTTOM LINKS ── */
.bottom-links {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s ease both;
  flex-wrap: wrap;
  row-gap: 20px;
}
.b-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.b-link:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
.b-label {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.b-title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}
.b-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.b-cta {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  color: var(--pink-deep);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.b-cta:hover {
  letter-spacing: 0.2em;
}

/* ── RIGHT COLUMN ── */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 10;
}

/* ── HALO STAGE ── */
.halo-stage {
  position: relative;       /* needed so absolute children center correctly */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 660px;
  height: 660px;
  flex-shrink: 0;
  opacity: 0;
  animation: risePhoto 1.1s 0.5s ease both;
}

/* Pulsing glow — centered via inset:0 + margin:auto, no positioning needed */
.halo-glow {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 40, 110, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 8;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1);    opacity: 0.7; }
  50%       { transform: scale(1.15); opacity: 1;   }
}

/* All rings centered via translate(-50%, -50%) from top/left 50% */
.halo {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
  /* transform-origin defaults to element center which is correct here */
}

/* Outer ring — pink */
.halo-1 {
  width: 660px;
  height: 660px;
  translate: -330px -330px;   /* centering without touching transform so spin works cleanly */
  border: 1.5px solid rgba(210, 80, 140, 0.5);
  box-shadow:
    0 0 50px rgba(210, 80, 140, 0.25),
    inset 0 0 50px rgba(210, 80, 140, 0.08);
  z-index: 12;
  animation: haloSpin1 22s linear infinite;
}
/* Middle ring — purple */
.halo-2 {
  width: 540px;
  height: 540px;
  translate: -270px -270px;
  border: 1px solid var(--purple-deep);
  box-shadow: 0 0 35px rgba(140, 60, 180, 0.2);
  z-index: 12;
  animation: haloSpin2 15s linear infinite;
}
/* Inner dashed ring */
.halo-3 {
  display: none;
  width: 420px;
  height: 420px;
  translate: -210px -210px;
  border: 0.15px solid var(--pink);
  box-shadow: 0 0 35px rgba(140, 60, 180, 0.2);
  z-index: 12;
  animation: haloSpin1 9s linear infinite;
}

/* Separate spin keyframes so reverse works properly */
@keyframes haloSpin1 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes haloSpin2 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* ── ORBITING DOTS — SVG overlay, dots use animateMotion on a circle path ── */
.halo-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -330px -330px;
  width: 660px;
  height: 660px;
  z-index: 13;
  pointer-events: none;
  overflow: visible;
}

/* Dot glow */
.orbit-dot-pink {
  filter: drop-shadow(0 0 6px rgba(212, 96, 138, 0.9)) drop-shadow(0 0 12px rgba(212, 96, 138, 0.6));
}
.orbit-dot-purple {
  filter: drop-shadow(0 0 6px rgba(160, 80, 220, 0.9)) drop-shadow(0 0 12px rgba(160, 80, 220, 0.6));
}

/* ── AVATAR IMAGE ── */
.avatar-wrap {
  z-index: 15;
  width: 360px;
  height: 520px;
  overflow: hidden;
  border-radius: 0 0 280px 280px;
  animation: avatarFloat 6s ease-in-out infinite;
  /* no position needed — sits naturally in flex center of stage */
}
.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
@keyframes avatarFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes risePhoto {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .halo-stage { width: 540px; height: 540px; }
  .halo-1 { width: 540px; height: 540px; translate: -270px -270px; }
  .halo-2 { width: 430px; height: 430px; translate: -215px -215px; }
  .halo-3 { width: 330px; height: 330px; translate: -165px -165px; }
  .halo-svg { width: 540px; height: 540px; translate: -270px -270px; }
  .avatar-wrap { width: 300px; height: 440px; }
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: center;
    padding: 100px 24px 60px;
    gap: 60px;
  }
  .hero-left {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
  .hero-desc { text-align: center; }
  .bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  .b-link {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
    align-items: center;
    text-align: center;
    min-width: 120px;
  }
  .halo-stage { width: 380px; height: 380px; }
  .halo-1 { width: 380px; height: 380px; translate: -190px -190px; }
  .halo-2 { width: 300px; height: 300px; translate: -150px -150px; }
  .halo-3 { width: 230px; height: 230px; translate: -115px -115px; }
  .halo-svg { width: 380px; height: 380px; translate: -190px -190px; }
  .avatar-wrap { width: 220px; height: 320px; border-radius: 0 0 180px 180px; }
  nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .halo-glow { display: none; }
  .footer .nav-links {
    display: flex;
  }
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .hero { padding: 90px 16px 40px; }
  .halo-stage { width: 300px; height: 300px; }
  .halo-1 { width: 300px; height: 300px; translate: -150px -150px; }
  .halo-2 { width: 240px; height: 240px; translate: -120px -120px; }
  .halo-3 { width: 185px; height: 185px; translate: -92px -92px; }
  .halo-svg { width: 300px; height: 300px; translate: -150px -150px; }
  .avatar-wrap { width: 180px; height: 260px; border-radius: 0 0 140px 140px; }
}

/* ════════════════════════════════════
   DEVELOPMENT PAGE — CASE STUDY LIST
════════════════════════════════════ */
.designs-section,
.dev-projects-section,
.about-two-col  { 
  border-top: 1px solid var(--border); 
}

/* ── Each project row ── */
.dev-project {
  display: grid;
  grid-template-columns: 200px 1fr 280px;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg) 0;
  transition: background 0.3s ease;
  padding: var(--space-md);
}
.dev-project:first-of-type { border-top: 1px solid var(--border); }
.dev-project:hover { background: rgba(255,255,255,0.02); }

/* ── Left meta column ── */
.dev-project__meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: var(--space-md);
  padding-top: 4px;
  border-right: 1px solid var(--border);
}
.dev-project__num {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--pink);
  opacity: 0.25;
  letter-spacing: 0.04em;
}
.dev-project__tags {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.ai-project__tags {
  flex-direction: column;
}
.dev-project__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: var(--space-sm);
}
.dev-project__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}
.dev-project__link svg {
  width: 12px; height: 12px;
  stroke: currentColor; fill: none; stroke-width: 1.5;
  transition: transform 0.2s;
}
.dev-project__link:hover {
  color: var(--pink);
  gap: 9px;
}
.dev-project__link:hover svg { transform: translateX(2px); }

/* ── Centre body column ── */
.dev-project__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 var(--space-lg);
}
.dev-project__category {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
}
.dev-project__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--text);
}
.dev-project__overview {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.dev-project__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dev-project__detail-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dev-project__detail-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dev-project__detail-block p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── Right thumb column ── */
.dev-project__thumb {
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border: 1px solid var(--border);
  transition: border-color 0.3s ease;
  flex-shrink: 0;
}
.dev-project:hover .dev-project__thumb { border-color: rgba(232,125,176,0.25); }
.dev-project__thumb-label {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.12);
}

  .mobile {
    display: none !important;
  }
  .desktop {
    display: flex !important;
  }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .dev-project { grid-template-columns: 180px 1fr 220px; }
}
@media (max-width: 900px) {
  .dev-project {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .dev-project__meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: var(--space-sm);
    gap: 12px;
  }
  .design-project__link,
  .design-card__cs-btn {
    width: max-content;
  }
  .design-project__tags,
  .dev-project__tags {
    flex-wrap: wrap;
  }
  .dev-project__num { font-size: 32px; }
  .dev-project__tags { flex-direction: row; }
  .dev-project__links { flex-direction: row; margin-top: 0; padding-top: 0; }
  .dev-project__body { padding: 0; }
  .dev-project__thumb { min-height: 160px; }
  .design-project {
    padding: 0;
  }
  .mobile {
    display: flex !important;
  }
  .desktop {
    display: none !important;
  }
  #app {
    padding: 0;
  }

  .design-project__tags,
  .design-project__links,
  .design-project__body,
  .design-project__category,
  .design-project__title,
  .design-project__overview,
  .design-project__details,
  .design-project__detail-block,
  .design-project__thumb,
  .dev-project__title, 
  .dev-project__meta,
  .dev-project__category,
  .dev-project__body,
  .dev-project__tags,
  .dev-project__overview,
  .dev-project__details,
  .dev-project__detail-block,
  .dev-project__testimonial,
  .dev-project__thumb {
    width: fit-content;
  }
}

/* ── Dev project testimonial ── */
.dev-project__testimonial {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(232,125,176,0.2);
  border-left: 3px solid var(--pink);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(232,125,176,0.04);
  margin-top: 4px;
}
.dev-project__testimonial-quote {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  font-style: italic;
}
.dev-project__testimonial-quote em {
  color: var(--text);
  font-style: normal;
  font-weight: 700;
}
.dev-project__testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 10px;
  border-top: 1px solid rgba(232,125,176,0.15);
}
.dev-project__testimonial-name {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.dev-project__testimonial-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Dev project list */
.dev-project__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
  list-style: none;
  margin-top: 8px;
}
.dev-project__list li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.dev-project__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 1px;
  background: var(--text);
}


/* ── CARD STYLES ── */
/* ──                  ── */

/* ── DESIGN CARD STYLES ── */
/* ════════════════════════════════════
   DESIGN CARDS
════════════════════════════════════ */
.design-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:var(--space-lg); }
.design-grid--home { grid-template-columns:repeat(3,1fr); }

.design-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  height: stretch;
  cursor: none;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

/* Image wrapper — the only part with hover reveal */
.design-card__img-wrap {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  flex-shrink: 0;
}
.design-card__snapshot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* Project number top-left */
.design-card__num {
  position: absolute; top: 10px; left: 12px; z-index: 4;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.14em; color: rgba(255,255,255,0.3);
}

/* Always-visible text body */
.design-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 10px;
  background: var(--bg-card);
  height: stretch;
}
.design-card__cat {
  font-family: var(--font-mono); font-size: 8px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--pink);
}
.design-card__title {
  font-family: var(--font-display);
  font-size: 20px; letter-spacing: 0.04em; line-height: 1.1;
  color: var(--text);
}
.design-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* Footer with always-visible button */
.design-card__footer {
  padding: 10px 16px 14px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}
.design-card__cs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff;
  background: rgba(232,125,176,0.12);
  border: 1px solid rgba(232,125,176,0.4);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.2s ease, gap 0.2s ease;
}
.design-card__cs-btn:hover { background: rgba(232,125,176,0.25); gap: 11px; }
.design-card__cs-btn svg {
  width: 11px; height: 11px;
  stroke: var(--pink); fill: none; stroke-width: 2;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.design-card__cs-btn:hover svg { transform: translateX(2px); }

/* Responsive */
@media (max-width: 1024px) {
  .design-grid, .design-grid--home { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .design-grid, .design-grid--home { grid-template-columns: 1fr; }
}


/* ── Project CARD STYLES ── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--space-lg);
}

/* ── PROJECT CARD ── */
.project-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: none;
}
.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(196,68,122,0.08);
}

.project-card__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.3s ease;
  background: var(--text);
  padding: 24px;
  object-fit: contain;
}
.project-card:hover .project-card__thumb { opacity: 0.85; }

/* Thumb placeholder when no image */
.project-card__thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.project-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  flex: 1;
}
.project-card__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
}
.project-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.03em;
  line-height: 1;
}
.project-card__desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  flex: 1;
}
.project-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  gap: 12px;
}
.project-card__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.project-card__link:hover { color: var(--pink); }
.project-card__link svg {
  width: 10px; height: 10px;
  stroke: currentColor; fill: none; stroke-width: 2;
}

/* ── SKILLS STRIP ── */
.skills-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-md);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .project-grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════
   DESIGN PAGE — CASE STUDY LIST
════════════════════════════════════ */
.design-projects-section { border-top: 1px solid var(--border); }

.design-project {
  display: grid;
  grid-template-columns: 200px 1fr 260px;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: var(--space-md);
  transition: background 0.3s ease;
}
.design-project:first-of-type { border-top: 1px solid var(--border); }
.design-project:hover { background: rgba(255,255,255,0.02); }

/* ── Left meta column ── */
.design-project__meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: var(--space-md);
  padding-top: 4px;
  border-right: 1px solid var(--border);
}
.design-project__num {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--pink);
  opacity: 0.25;
  letter-spacing: 0.04em;
}
.design-project__tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.design-project__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: var(--space-sm);
}
.design-project__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
  width: fit-content;
}
.design-project__link svg {
  width: 11px; height: 11px;
  stroke: currentColor; fill: none; stroke-width: 1.5;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.design-project__link:hover { color: var(--text); border-color: var(--border-hover); gap: 10px; }
.design-project__link:hover svg { transform: translateX(2px); }

/* Figma link — pink primary style */
.design-project__link--primary {
  color: var(--pink);
  border-color: rgba(232,125,176,0.4);
  background: rgba(232,125,176,0.08);
}
.design-project__link--primary:hover {
  color: var(--pink);
  background: rgba(232,125,176,0.18);
  border-color: rgba(232,125,176,0.6);
}

/* ── Centre body column ── */
.design-project__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 var(--space-lg);
}
.design-project__category {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
}
.design-project__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--text);
}
.design-project__overview {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.design-project__details { display: flex; flex-direction: column; gap: 16px; }
.design-project__detail-block { display: flex; flex-direction: column; gap: 5px; }
.design-project__detail-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.design-project__detail-block p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── Right thumb column ── */
.design-project__thumb {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: none;
  flex-shrink: 0;
  transition: border-color 0.3s ease;
  align-self: start;
}
.design-project:hover .design-project__thumb { border-color: rgba(232,125,176,0.25); }
.design-project__thumb-img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}
.design-project__thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,8,18,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* ── Lightbox ── */
.design-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.design-lightbox.open {
  opacity: 1;
  visibility: visible;
}
.design-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,8,18,0.92);
  backdrop-filter: blur(8px);
}
.design-lightbox__inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  scrollbar-width: thin;
  scrollbar-color: rgba(232,125,176,0.3) transparent;
}
.design-lightbox__img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}
.design-lightbox__close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(10,8,18,0.8);
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}
.design-lightbox__close:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .design-project { grid-template-columns: 180px 1fr 200px; }
}
@media (max-width: 900px) {
  .design-project {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .design-project__meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: var(--space-sm);
    gap: 12px;
  }
  .design-project__num { font-size: 32px; }
  .design-project__tags { flex-direction: row; }
  .design-project__links { flex-wrap: wrap; margin-top: 0; padding-top: 0; }
  .design-project__body { padding: 0; }
  .dev-project__thumb,
  .design-project__thumb { width: 100%;max-width: 450px; margin: auto; }
}


/* ── MODAL STYLES ── */
/* ──                  ── */

/* ══════════════════════════════════
   HIRE ME MODAL
══════════════════════════════════ */

/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 8, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Modal box */
.modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  background: #1e1828;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(232,125,176,0.1);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  scrollbar-width: thin;
  scrollbar-color: rgba(232,125,176,0.3) transparent;
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

/* Pink top accent */
.modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--pink), rgba(232,125,176,0.4));
  border-radius: 12px 12px 0 0;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.5);
  cursor: none;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.modal-close svg { width: 14px; height: 14px; }
.modal-close:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Header */
.modal-header { margin-bottom: 28px; }
.modal-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.modal-label::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--pink);
}
.modal-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 12px;
}
.modal-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Form layout */
.hire-form { display: flex; flex-direction: column; gap: 20px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.required { color: var(--pink); }

.form-input {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-input::placeholder { color: rgba(255,255,255,0.2); }
.form-input:focus {
  border-color: rgba(232,125,176,0.5);
  background: rgba(232,125,176,0.05);
  box-shadow: 0 0 0 3px rgba(232,125,176,0.08);
}
.form-input.error { border-color: rgba(255,100,100,0.6); }

.form-select {
  cursor: none;
  color: rgba(255,255,255,0.7);
}
.form-select option {
  background: #1e1828;
  color: #fff;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.form-error {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,100,100,0.8);
  min-height: 12px;
}

/* Checkbox grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  cursor: none;
  transition: border-color 0.2s, background 0.2s;
}
.checkbox-item:hover {
  border-color: rgba(232,125,176,0.3);
  background: rgba(232,125,176,0.04);
}
.checkbox-item input[type="checkbox"] {
  width: 14px; height: 14px;
  accent-color: var(--pink);
  flex-shrink: 0;
  cursor: none;
}
.checkbox-item input[type="checkbox"]:checked + .checkbox-label {
  color: var(--pink);
}
.checkbox-label {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  line-height: 1.3;
}

/* Submit button */
.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background: rgba(196,68,122,0.2);
  border: 1px solid rgba(200,80,130,0.5);
  border-radius: 40px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  margin-top: 4px;
  width: 100%;
}
.form-submit:hover {
  background: rgba(196,68,122,0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196,68,122,0.25);
}
.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.form-submit .submit-icon {
  width: 14px; height: 14px;
  stroke: currentColor;
  transition: transform 0.2s;
}
.form-submit:hover .submit-icon { transform: translateX(3px); }

/* Loading spinner */
.submit-spinner {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.form-submit.loading .submit-spinner { display: block; }
.form-submit.loading .submit-icon,
.form-submit.loading .submit-text { opacity: 0.4; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Success state */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 20px 0;
}
.form-success.visible { display: flex; }
.hire-form.hidden { display: none; }

.success-icon svg { width: 56px; height: 56px; }
.success-title {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.04em;
  color: #fff;
}
.success-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 320px;
}

/* Responsive */
@media (max-width: 600px) {
  .modal { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr 1fr; }
  .modal-title { font-size: 36px; }
}
@media (max-width: 400px) {
  .checkbox-grid { grid-template-columns: 1fr; }
}

.desktop {
  @media (min-width: 00px) {

  }
}

/* ── FOOTER STYLES ── */
/* ──                  ── */
.footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border);
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  background: rgba(23,18,30,0.6);
  backdrop-filter: blur(20px);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}
.footer-left { display: flex; flex-direction: column; gap: 16px; }
.footer-left .logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.15em;
}
.footer-left .logo span { color: var(--pink); }
.footer-tagline {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 48px;
}
.footer .nav-links {
  flex-direction: column;
  gap: 6px;
}
.footer-col {
  display: flex;
  flex-direction: column;
}
.footer-col svg path {
  transition: fill 0.2s ease;
}
.footer-col svg {
  max-height: 28px;
}
.footer-col svg:hover path {
  fill: var(--text-muted);
}
.footer-col .socials {
  display: inline-block;
  margin: 12px 24px;
}
.footer-col-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 640px) {
  .footer { padding: var(--space-md) var(--space-sm); }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: var(--space-md); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}