/* ==========================================================================
   PURE NEUBRUTALISM DESIGN SYSTEM — MAXIMAL UPGRADE
   ========================================================================== */

/* --- TOKENS & RESET --- */
:root {
  /* Core Palette */
  --c-white: #F7F7F6;
  --c-black: #1A1D20;
  --c-yellow: #E9C46A;
  --c-red: #E76F51;
  --c-blue: #2A9D8F;
  
  /* Typography */
  --font-display: 'Anton', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Structure */
  --border: 2px solid var(--c-black);
  --shadow: 4px 4px 0px var(--c-black);
  --shadow-sm: 2px 2px 0px var(--c-black);
  --transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  --space-unit: 0.5rem; /* 8px base */

  /* Easing */
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--c-white);
  color: var(--c-black);
  font-family: var(--font-mono);
  line-height: 1.65;
  overflow-x: hidden;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
  width: 20px;
}
::-webkit-scrollbar-track {
  background: var(--c-white);
  border-left: var(--border);
}
::-webkit-scrollbar-thumb {
  background: var(--c-red);
  border: var(--border);
  border-right: none;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--c-yellow);
}

/* --- FLUID TYPOGRAPHY SCALE --- */
.font-display { font-family: var(--font-display); letter-spacing: 0.05em; }
.font-mono { font-family: var(--font-mono); }
.font-bold { font-weight: 800; }
.text-xs { font-size: clamp(0.65rem, 0.6rem + 0.25vw, 0.75rem); }
.text-sm { font-size: clamp(0.75rem, 0.7rem + 0.3vw, 0.875rem); }
.text-lg { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); }
.text-xl { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem); }
.text-2xl { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
.text-3xl { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }
.text-4xl { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); }
.text-6xl { font-size: clamp(2.5rem, 2rem + 2.5vw, 3.75rem); line-height: 1; }
.text-7xl { font-size: clamp(3rem, 2.5rem + 3vw, 4.5rem); line-height: 1; }
.text-8xl { font-size: clamp(3.5rem, 2.5rem + 4vw, 6rem); line-height: 1; }
.uppercase { text-transform: uppercase; }

/* Prose width cap for readability */
.prose-cap {
  max-width: 65ch;
}

/* Text Stroke Effect */
.text-stroke {
  /* Clean — no stroke */
}

/* --- COLOR UTILITIES --- */
.bg-white { background-color: var(--c-white); }
.bg-black { background-color: var(--c-black); }
.bg-yellow { background-color: var(--c-yellow); }
.bg-red { background-color: var(--c-red); }
.bg-blue { background-color: var(--c-blue); }

.text-white { color: var(--c-white); }
.text-black { color: var(--c-black); }
.text-yellow { color: var(--c-yellow); }
.text-red { color: var(--c-red); }
.text-blue { color: var(--c-blue); }

.hover-bg-blue:hover { background-color: var(--c-blue); color: var(--c-white); }
.hover-bg-yellow:hover { background-color: var(--c-yellow); color: var(--c-black); }
.hover-text-red:hover { color: var(--c-red); }
.hover-text-yellow:hover { color: var(--c-yellow); }

/* --- STRUCTURAL UTILITIES --- */
.brutal-border { border: var(--border); }
.brutal-border-t { border-top: var(--border); }
.brutal-border-b { border-bottom: var(--border); }
.brutal-border-l { border-left: var(--border); }
.brutal-border-r { border-right: var(--border); }
.brutal-border-y { border-top: var(--border); border-bottom: var(--border); }
.border-3 { border-width: 3px; }
.border-black { border-color: var(--c-black); }
.border-white { border-color: var(--c-white); }
.border-b-3 { border-bottom: 3px solid var(--c-black); }
.border-r-3 { border-right: 3px solid var(--c-black); }

.brutal-shadow { box-shadow: var(--shadow); }
.shadow-offset { box-shadow: var(--shadow); }
.shadow-none { box-shadow: none !important; }

/* Layout */
.grid-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.main-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

/* 8px-based spacing scale */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.ml-4 { margin-left: 1rem; }

.pt-16 { padding-top: 4rem; }
.pb-16 { padding-bottom: 4rem; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1rem; }

/* Display */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.block { display: block; }
.inline-block { display: inline-block; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-max { width: max-content; }
.min-w-32 { min-width: 8rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.relative { position: relative; }
.absolute { position: absolute; }
.bottom-4 { bottom: 1rem; }
.right-4 { right: 1rem; }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }
.col-span-2 { grid-column: span 2; }
.cursor-pointer { cursor: pointer; }

/* --- COMPONENTS --- */

/* Buttons & Links */
.brutal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  min-height: 44px; /* Touch target minimum */
  min-width: 44px;
  border: var(--border);
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Click-ripple effect on buttons */
.brutal-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.brutal-link {
  text-decoration: none;
  color: inherit;
}

.hover-push {
  transition: transform 0.2s var(--ease-out-expo), box-shadow 0.2s var(--ease-out-expo);
}
.hover-push:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--c-black);
}
.hover-push:active {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px var(--c-black);
}

/* Cards & Containers */
.brutal-card {
  border: var(--border);
  box-shadow: var(--shadow);
}

/* --- SCROLL-REVEAL ANIMATIONS --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

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

/* Chips & Tags */
.brutal-chip {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: var(--border);
  font-family: var(--font-mono);
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.brutal-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: var(--border);
  font-family: var(--font-mono);
  font-weight: 800;
  text-transform: uppercase;
}

.brutal-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border: var(--border);
  background-color: var(--c-yellow);
  color: var(--c-black);
  font-family: var(--font-mono);
  font-weight: 800;
  text-transform: uppercase;
}

/* Inputs */
.brutal-input {
  width: 100%;
  padding: 1rem;
  border: var(--border);
  background: var(--c-white);
  font-family: var(--font-mono);
  font-size: 1rem;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
}
.brutal-input:focus {
  border-color: var(--c-red);
  box-shadow: var(--shadow);
  transform: translate(-2px, -2px);
}

/* --- SCROLL PROGRESS --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background-color: var(--c-red);
  width: 0%;
  z-index: 10000;
  transition: none;
}

/* --- SPECIFIC SECTIONS --- */

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--c-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.4s var(--ease-out-expo),
              background-color 0.4s var(--ease-out-expo), 
              backdrop-filter 0.4s var(--ease-out-expo),
              padding 0.4s var(--ease-out-expo),
              border-color 0.4s var(--ease-out-expo);
  border-bottom: var(--border);
}

.navbar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-height: 44px;
  min-width: 44px;
}

.logo {
  font-family: var(--font-display);
  font-size: 2rem;
  text-decoration: none;
  color: var(--c-black);
  border: var(--border);
  padding: 0.5rem 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.logo:hover {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px var(--c-black);
}
.nav-links {
  display: flex;
  gap: 2rem;
}

/* Nav link animated underline */
.nav-link {
  font-family: var(--font-mono);
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-black);
  padding-bottom: 0.25rem;
  transition: color 0.3s var(--ease-out-expo);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--c-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out-expo);
}
.nav-link:hover {
  color: var(--c-red);
}
.nav-link:hover::after {
  transform: scaleX(1);
}

/* Marquee */
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  padding: 1rem 0;
}
.marquee-content {
  display: inline-block;
  font-size: 2.5rem;
  animation: scrollMarquee 20s linear infinite;
}
.marquee:hover .marquee-content {
  animation-play-state: paused;
}
@keyframes scrollMarquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

/* Scan-line texture on hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(26, 29, 32, 0.03) 2px,
    rgba(26, 29, 32, 0.03) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* Hero canvas sits behind content */
#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero .grid-container {
  position: relative;
  z-index: 2;
}
.hero .marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  max-width: 100vw;
}

.hero-title {
  font-size: clamp(2.5rem, 10vw, 8rem);
  line-height: 0.9;
  margin-bottom: 1rem;
  /* Text-clipped animated gradient */
  background: linear-gradient(
    135deg,
    var(--c-black) 0%,
    var(--c-red) 25%,
    var(--c-black) 50%,
    var(--c-blue) 75%,
    var(--c-black) 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 8s ease infinite;
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: var(--c-black);
    animation: none;
  }
}

.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Typewriter effect — JS handles text insertion, CSS only handles cursor */
.typewriter {
  border-right: 3px solid var(--c-red);
  animation: typewriter-cursor 0.7s step-end infinite;
  min-height: 1.65em;
}
.typewriter.done {
  border-right: none;
  animation: none;
}
@keyframes typewriter-cursor {
  50% { border-color: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .typewriter {
    border-right: none;
    animation: none;
  }
}

/* Project cards hover effects */
.project-card {
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 8px 0px var(--c-black);
}
.project-card:hover .project-arrow {
  transform: translate(3px, -3px);
}
.project-arrow {
  transition: transform 0.3s var(--ease-out-expo);
  display: inline-block;
}

/* Case study expansion */
.project-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo), opacity 0.4s var(--ease-out-expo);
  opacity: 0;
}
.project-card.expanded .project-details {
  max-height: 800px;
  opacity: 1;
}
.project-expand-btn {
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--c-blue);
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}
.project-expand-btn:hover {
  color: var(--c-red);
}

/* Timeline progress line */
.timeline-col {
  position: relative;
}
.timeline-col::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background-color: rgba(26, 29, 32, 0.1);
}
.timeline-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background-color: var(--c-red);
  transition: height 0.3s linear;
}
.timeline-node {
  position: relative;
  padding-left: 2rem;
}
.timeline-node::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 1.5rem;
  width: 13px;
  height: 13px;
  border: var(--border);
  background-color: var(--c-white);
  transition: background-color 0.3s var(--ease-out-expo), border-color 0.3s var(--ease-out-expo);
}
.timeline-node.active::before {
  background-color: var(--c-red);
  border-color: var(--c-red);
}

/* About parallax wrapper */
.about-visual {
  will-change: transform;
}

/* Skeleton shimmer */
.skeleton {
  background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Image fade-in on load */
img.lazy-loaded {
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}
img.lazy-loaded.loaded {
  opacity: 1;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 29, 32, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out-expo);
  cursor: zoom-out;
}
.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border: var(--border);
  box-shadow: 8px 8px 0px var(--c-red);
  transform: scale(0.9);
  transition: transform 0.3s var(--ease-out-expo);
}
.lightbox-overlay.active img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--c-white);
  background: none;
  border: var(--border);
  border-color: var(--c-white);
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.lightbox-close:hover {
  background-color: var(--c-red);
}

/* Cert carousel on mobile */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  justify-items: center;
}

/* Custom cursor (desktop only) */
.custom-cursor {
  position: fixed;
  width: 24px;
  height: 24px;
  border: 2px solid var(--c-red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: width 0.2s var(--ease-out-expo),
              height 0.2s var(--ease-out-expo),
              border-color 0.2s var(--ease-out-expo),
              background-color 0.2s var(--ease-out-expo),
              opacity 0.2s var(--ease-out-expo);
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  opacity: 0;
}
.custom-cursor.visible {
  opacity: 1;
}
.custom-cursor.hovering {
  width: 48px;
  height: 48px;
  border-color: var(--c-yellow);
  background-color: rgba(233, 196, 106, 0.15);
}

/* Crosshair lines */
.custom-cursor::before,
.custom-cursor::after {
  content: '';
  position: absolute;
  background-color: var(--c-red);
  transition: background-color 0.2s var(--ease-out-expo);
}
.custom-cursor::before {
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.custom-cursor::after {
  width: 100%;
  height: 1px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.custom-cursor.hovering::before,
.custom-cursor.hovering::after {
  background-color: var(--c-yellow);
}

/* Contact form states */
.form-status {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-status.active {
  display: block;
}
.form-status .checkmark {
  width: 60px;
  height: 60px;
  border: 3px solid var(--c-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  animation: checkmark-pop 0.4s var(--ease-out-expo);
}
@keyframes checkmark-pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.form-status .checkmark::after {
  content: '✓';
  font-size: 2rem;
  color: var(--c-blue);
  font-weight: 800;
}

/* Loading spinner */
.btn-loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}
.btn-loading::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  top: 50%;
  left: 50%;
  margin-top: -12px;
  margin-left: -12px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--c-white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Visual Frames */
.hover-straight {
  transition: transform 0.2s var(--ease-out-expo);
}
.hover-straight:hover {
  transform: rotate(0deg) scale(1.05);
  z-index: 10;
}

/* Grayscale Hover for Project Images */
.grayscale-hover {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}
.hover-push:hover .grayscale-hover,
.project-card:hover .grayscale-hover {
  filter: grayscale(0%);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
  .hero-content {
    grid-row: 1;
  }
  .hero-visual {
    grid-row: 2;
    margin-top: 2rem;
    max-width: 500px;
  }
  .about-content {
    grid-column: span 1;
  }
  .col-span-2 {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .grid-container {
    padding: 0 1rem;
  }
  .grid-2x2 {
    grid-template-columns: 1fr;
  }
  .grid-auto {
    grid-template-columns: 1fr;
  }
  
  /* Mobile Navigation */
  .navbar {
    flex-wrap: wrap;
    padding: 1rem;
  }
  .navbar-header {
    width: 100%;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 1rem;
    border-top: var(--border);
    padding-top: 0.5rem;
  }
  .nav-links.nav-open {
    display: flex;
  }
  .nav-link {
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  .nav-link:last-child {
    border-bottom: none;
  }
  
  /* Hero & Stats Stacking */
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .hero-meta .brutal-chip {
    margin-top: 0;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .hero-actions .brutal-btn {
    margin-left: 0;
    width: 100%;
  }
  
  /* Cert carousel on mobile */
  .cert-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  .cert-grid > * {
    scroll-snap-align: start;
    min-width: 200px;
    flex-shrink: 0;
  }
  
  /* No custom cursor on mobile */
  .custom-cursor {
    display: none !important;
  }
}

/* Hide custom cursor on touch devices */
@media (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}
