/* ============================================
   JESSE YANKEY — PERSONAL SITE
   Design. Code. Create.
   ============================================ */

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

:root {
  --black: #0a0a0a;
  --white: #f5f2ed;
  --cream: #ede8df;
  --amber: #e8a020;
  --amber-dim: #c4881a;
  --amber-glow: rgba(232, 160, 32, 0.15);
  --gray: #5a5a5a;
  --light-gray: #b0a898;
  --card-bg: rgba(255, 255, 255, 0.025);
  --card-border: rgba(255, 255, 255, 0.06);
  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--amber) var(--black);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 3px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  cursor: none;
  overflow-x: hidden;
}

::selection {
  background: var(--amber);
  color: var(--black);
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--transition-smooth), visibility 0.6s;
}
.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.preloader-logo {
  width: 60px;
  height: auto;
  opacity: 0.9;
  animation: preloaderPulse 1.2s ease-in-out infinite;
}
.preloader-bar {
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border-radius: 1px;
}
.preloader-fill {
  width: 0%;
  height: 100%;
  background: var(--amber);
  transition: width 0.3s ease;
}
.preloader-text {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
}

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

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--transition-smooth), height 0.3s var(--transition-smooth),
              background 0.3s, opacity 0.3s;
  mix-blend-mode: difference;
  opacity: 0;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(232, 160, 32, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--transition-smooth), height 0.3s var(--transition-smooth),
              border-color 0.3s, opacity 0.3s;
  opacity: 0;
}
body:hover .cursor,
body:hover .cursor-ring { opacity: 1; }
.cursor.hovering {
  width: 48px; height: 48px;
  background: rgba(232, 160, 32, 0.08);
  mix-blend-mode: normal;
}
.cursor.hovering + .cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--amber);
  opacity: 0.8;
}

/* ============================================
   CANVAS BACKGROUND
   ============================================ */
#gridCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

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

/* ============================================
   NAV
   ============================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 60px;
  transition: padding 0.4s var(--transition-smooth), background 0.4s;
}
nav.scrolled {
  padding: 16px 60px;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.nav-logo-img {
  height: 44px;
  width: auto;
  transition: opacity 0.2s;
}
.nav-logo-img:hover { opacity: 0.8; }
.nav-links {
  display: flex; gap: 40px; list-style: none;
}
.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--amber);
  transition: width 0.3s var(--transition-smooth);
}
.nav-links a:hover { color: var(--amber); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--amber); }
.nav-links a.active::after { width: 100%; }

.nav-status {
  display: flex; align-items: center; gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
}
.status-dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

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

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 8px;
  z-index: 200;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: all 0.3s var(--transition-smooth);
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 40px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu-links {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.mobile-menu-links a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 2px;
  transition: color 0.2s;
  display: block;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s, color 0.2s;
}
.mobile-menu.active .mobile-menu-links a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-links li:nth-child(1) a { transition-delay: 0.1s; }
.mobile-menu-links li:nth-child(2) a { transition-delay: 0.15s; }
.mobile-menu-links li:nth-child(3) a { transition-delay: 0.2s; }
.mobile-menu-links li:nth-child(4) a { transition-delay: 0.25s; }
.mobile-menu-links li:nth-child(5) a { transition-delay: 0.3s; }
.mobile-menu-links a:hover { color: var(--amber); }
.mobile-menu-footer {
  margin-top: auto;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-menu-footer a {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--light-gray);
  text-decoration: none;
  letter-spacing: 1px;
}
.mobile-menu-socials {
  display: flex; gap: 20px;
  margin-top: 16px;
}
.mobile-menu-socials a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
  transition: color 0.2s;
}
.mobile-menu-socials a:hover { color: var(--amber); }

/* ============================================
   HERO
   ============================================ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 40px 80px 250px;
  position: relative;
  z-index: 2;
}
.hero-tag {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}
.hero-tag-line {
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--amber);
}
.hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -1px;
  color: var(--white);
  overflow: hidden;
}
.hero-name-line {
  display: block;
  overflow: hidden;
}
.hero-name-inner {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  animation: heroReveal 0.9s var(--transition-smooth) forwards;
}
.hero-name-line:nth-child(1) .hero-name-inner { animation-delay: 0.7s; }
.hero-name-line:nth-child(2) .hero-name-inner { animation-delay: 0.85s; }
.hero-name-inner.accent { color: var(--amber); }
.hero-name-period { color: var(--white); }

.hero-subtitle {
  margin-top: 32px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--light-gray);
  max-width: 420px;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s forwards;
}
.hero-ctas {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s 1.3s forwards;
}

/* Buttons */
.btn-primary {
  background: var(--amber);
  color: var(--black);
  padding: 16px 32px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s, transform 0.3s var(--transition-smooth), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 160, 32, 0.3);
}

.btn-outline {
  border: 1px solid rgba(245, 242, 237, 0.15);
  color: var(--white);
  padding: 16px 32px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 160, 32, 0.1);
}

.hero-right {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 80px 80px 20px;
}
.hero-photo-wrapper {
  width: 75%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  position: relative;
  z-index: 1;
}
/* Offset rounded rectangle behind the photo */
.hero-photo-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--amber);
  border-radius: 12px;
  transform: translate(28px, 28px);
  z-index: 0;
  opacity: 0.25;
  transition: transform 0.5s var(--transition-smooth), opacity 0.5s;
}
.hero-photo-wrapper:hover::before {
  transform: translate(20px, 20px);
  opacity: 0.35;
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%) contrast(1.08);
  border-radius: 12px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroPhotoReveal 1.4s 0.4s var(--transition-smooth) both;
  transition: transform 0.6s var(--transition-smooth), filter 0.6s;
}
.hero-photo-wrapper:hover .hero-photo {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1.1);
}
.hero-photo-overlay {
  position: absolute; inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(10,10,10,0.15) 0%, transparent 50%),
              linear-gradient(to top, rgba(10,10,10,0.25) 0%, transparent 25%);
  pointer-events: none;
  z-index: 2;
}
.hero-number {
  position: absolute; bottom: 60px; right: 60px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 180px;
  color: rgba(232, 160, 32, 0.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.scroll-indicator {
  position: absolute; bottom: 40px; left: 60px;
  display: flex; align-items: center; gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gray);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s 1.8s forwards;
  z-index: 2;
}
.scroll-line {
  width: 40px; height: 1px;
  background: var(--amber);
  animation: expandLine 0.8s 2s both;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-strip {
  background: var(--amber);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.marquee-inner {
  display: inline-block;
  animation: marquee 20s linear infinite;
}
.marquee-inner span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 4px;
  color: var(--black);
  margin: 0 16px;
}
.marquee-inner span.dot {
  font-size: 12px;
  vertical-align: middle;
  margin: 0 8px;
  opacity: 0.4;
}

/* ============================================
   SECTIONS SHARED
   ============================================ */
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--amber);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.section-label::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--amber);
  flex-shrink: 0;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  line-height: 1;
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--light-gray);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* ============================================
   ABOUT
   ============================================ */
#about {
  padding: 120px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.about-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: 1px;
}
.about-heading em { color: var(--amber); font-style: normal; }
.about-text {
  font-size: 18px;
  line-height: 1.9;
  color: var(--light-gray);
  margin-top: 32px;
}
.about-text strong { color: var(--white); font-weight: 500; }
.about-right { padding-top: 20px; }

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 2px;
}
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 32px 28px;
  transition: border-color 0.4s, background 0.4s, transform 0.4s var(--transition-smooth);
}
.stat-card:hover {
  border-color: rgba(232, 160, 32, 0.3);
  background: rgba(232, 160, 32, 0.04);
  transform: translateY(-2px);
}
.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  color: var(--amber);
  line-height: 1;
}
.stat-desc {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gray);
  text-transform: uppercase;
  margin-top: 8px;
}

.edu-block {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 32px 28px;
  margin-top: 2px;
  border-left: 3px solid var(--amber);
  transition: border-color 0.3s;
}
.edu-school {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.edu-degree { font-size: 15px; font-weight: 500; color: var(--white); }
.edu-years { font-size: 13px; color: var(--gray); margin-top: 4px; }
.edu-honors {
  margin-top: 12px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.badge {
  background: rgba(232, 160, 32, 0.1);
  border: 1px solid rgba(232, 160, 32, 0.2);
  color: var(--amber);
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  transition: background 0.3s;
}
.badge:hover { background: rgba(232, 160, 32, 0.18); }

/* ============================================
   SKILLS
   ============================================ */
#skills {
  padding: 80px 60px 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}
.skills-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 60px;
}
.skills-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.skill-category {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 40px 36px;
  transition: background 0.4s, transform 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.skill-category::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber-dim));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--transition-smooth);
}
.skill-category:hover::before { transform: scaleX(1); }
.skill-category:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
}
.skill-cat-icon-wrap {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: rgba(232, 160, 32, 0.08);
  border-radius: 12px;
}
.skill-cat-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--white);
}
.skill-list {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.skill-tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--light-gray);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  transition: all 0.3s;
}
.skill-tag:hover {
  color: var(--amber);
  border-color: rgba(232, 160, 32, 0.4);
  background: rgba(232, 160, 32, 0.06);
}

/* ============================================
   SERVICES
   ============================================ */
#services {
  padding: 80px 0 120px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.services-header {
  padding: 0 60px;
  margin-bottom: 60px;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.services-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 5vw, 72px);
}
.services-row {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.service-item {
  flex: 1;
  padding: 48px 44px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  transition: background 0.4s;
  cursor: default;
  overflow: hidden;
}
.service-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--transition-smooth);
}
.service-item:last-child { border-right: none; }
.service-item:hover { background: rgba(232, 160, 32, 0.03); }
.service-item:hover::after { transform: scaleX(1); }
.service-num {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--amber);
  margin-bottom: 28px;
}
.service-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.service-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--light-gray);
}
.service-tags {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.service-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--gray);
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 8px;
  transition: all 0.3s;
}
.service-item:hover .service-tag {
  border-color: rgba(232, 160, 32, 0.2);
  color: var(--light-gray);
}

/* ============================================
   EXPERIENCE
   ============================================ */
#experience {
  padding: 80px 60px 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-top: 60px;
}

.timeline { position: relative; }

.exp-item {
  display: flex; gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: padding-left 0.4s var(--transition-smooth);
}
.exp-item:hover { padding-left: 12px; }
.exp-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 16px rgba(232, 160, 32, 0.5);
  transition: transform 0.3s;
}
.exp-item:hover .exp-dot { transform: scale(1.3); }
.exp-role { font-weight: 500; font-size: 15px; }
.exp-company { color: var(--amber); font-size: 13px; margin-top: 3px; }
.exp-meta {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--gray);
  margin-top: 6px;
  text-transform: uppercase;
}

.cert-item {
  padding: 24px 28px;
  border: 1px solid var(--card-border);
  margin-bottom: 2px;
  display: flex; align-items: center; gap: 20px;
  transition: all 0.4s var(--transition-smooth);
}
.cert-item:hover {
  border-color: rgba(232, 160, 32, 0.3);
  background: rgba(232, 160, 32, 0.03);
  transform: translateX(6px);
}
.cert-icon { flex-shrink: 0; display: flex; }
.cert-name { font-size: 14px; font-weight: 500; }
.cert-issuer {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 3px;
}
.cert-status {
  margin-left: auto;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid;
  flex-shrink: 0;
  white-space: nowrap;
}
.cert-status.done { color: var(--amber); border-color: rgba(232, 160, 32, 0.3); }
.cert-status.progress { color: var(--gray); border-color: rgba(255, 255, 255, 0.1); }

/* ============================================
   PORTFOLIO CTA
   ============================================ */
#portfolio {
  margin: 0 60px 120px;
  background: var(--amber);
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
#portfolio::before {
  content: 'PORTFOLIO';
  position: absolute;
  right: -20px; bottom: -40px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 200px;
  color: rgba(0, 0, 0, 0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.portfolio-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.5);
  margin-bottom: 16px;
}
.portfolio-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--black);
  line-height: 1;
}
.portfolio-sub {
  font-size: 14px;
  color: rgba(10, 10, 10, 0.6);
  margin-top: 12px;
  max-width: 400px;
  line-height: 1.7;
}
.btn-black {
  background: var(--black);
  color: var(--white);
  padding: 18px 44px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.btn-black:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* ============================================
   CONTACT
   ============================================ */
#contact {
  padding: 80px 60px 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.contact-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.95;
  margin-top: 24px;
}
.contact-heading span { color: var(--amber); }
.contact-sub {
  font-size: 15px;
  line-height: 1.8;
  color: var(--light-gray);
  margin-top: 20px;
  max-width: 380px;
}
.contact-links-inline {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-chip {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--light-gray);
  border: 1px solid var(--card-border);
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s var(--transition-smooth);
}
.contact-chip svg {
  transition: transform 0.3s var(--transition-smooth);
}
.contact-chip:hover {
  color: var(--amber);
  border-color: var(--amber);
  background: rgba(232, 160, 32, 0.06);
  transform: translateY(-2px);
}
.contact-chip:hover svg {
  transform: translate(2px, -2px);
}

.form-field { margin-bottom: 2px; }
.form-field input, .form-field textarea {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 18px 20px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  resize: none;
}
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--amber);
  background: rgba(232, 160, 32, 0.03);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--gray); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.form-submit {
  margin-top: 2px;
  width: 100%;
  background: var(--amber);
  color: var(--black);
  border: none;
  padding: 18px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: none;
  transition: background 0.3s, transform 0.3s var(--transition-smooth), box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.form-submit:hover {
  background: var(--amber-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 160, 32, 0.3);
}
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  gap: 16px;
}
.form-success.show { display: flex; }
.form-success p {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--light-gray);
  letter-spacing: 1px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.footer-left { display: flex; align-items: center; }
.footer-logo-img {
  height: 22px;
  width: auto;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.footer-logo-img:hover { opacity: 1; }
.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--gray);
  text-transform: uppercase;
}
.footer-right { display: flex; align-items: center; }
.back-to-top {
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s var(--transition-smooth);
}
.back-to-top:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-3px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes expandLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroPhotoReveal {
  from { opacity: 0; transform: scale(1.2); }
  to { opacity: 1; transform: scale(1.05); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .experience-grid { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 900px) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none !important; }

  nav { padding: 20px 28px; }
  nav.scrolled { padding: 14px 28px; }
  .nav-links { display: none; }
  .nav-status { display: none; }
  .nav-toggle { display: flex; }

  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 120px 28px 60px; }
  .hero-right { display: none; }
  .hero-name { font-size: clamp(60px, 15vw, 100px); }
  .hero-number { font-size: 100px; bottom: 30px; right: 30px; }
  .scroll-indicator { left: 28px; bottom: 24px; }

  #about { grid-template-columns: 1fr; gap: 40px; padding: 80px 28px; }
  #skills { padding: 80px 28px; }
  .skills-grid { grid-template-columns: 1fr; }
  .services-header { padding: 0 28px; }
  .services-row { flex-direction: column; }
  .service-item { padding: 36px 28px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .service-item:last-child { border-bottom: none; }
  #experience { padding: 80px 28px; }
  .experience-grid { grid-template-columns: 1fr; gap: 40px; }
  #portfolio { margin: 0 28px 80px; padding: 48px 28px; grid-template-columns: 1fr; }
  #contact { grid-template-columns: 1fr; gap: 40px; padding: 80px 28px; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 28px; flex-direction: column; gap: 16px; text-align: center; }
  .back-to-top { margin-top: 8px; }

  .form-submit,
  .btn-primary, .btn-outline, .btn-black,
  .contact-link, .service-item,
  .stat-card, .skill-category, .cert-item, .exp-item { cursor: auto; }
}

@media (max-width: 480px) {
  .hero-name { font-size: clamp(48px, 14vw, 72px); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .stat-grid { grid-template-columns: 1fr; }
  .about-heading { font-size: clamp(40px, 10vw, 56px); }
  .mobile-menu-links a { font-size: 40px; }
}
