:root {
  --bg: #080808;
  --bg2: #0b080f;
  --card: #100d15;
  --border: rgba(255, 255, 255, 0.07);
  --purple: #b06cff;
  --white: #f2f0eb;
  --muted: #666;
  --muted2: #999;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  max-width: 100%;
  cursor: none;
}

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

::-webkit-scrollbar {
  width: 2px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--purple);
}

/* CURSOR */
#cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--purple);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width .3s, height .3s;
}

#cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(176, 108, 255, .5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .15s, height .15s, border-color .15s;
}

body:has(a:hover) #cursor,
body:has(button:hover) #cursor {
  width: 20px;
  height: 20px;
}

body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 60px;
  height: 60px;
  border-color: var(--purple);
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 10vw;
}

nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8, 8, 8, .95) 0%, transparent 100%);
  pointer-events: none;
}

.nav-logo {
  font-family: 'Bebas Neue';
  font-size: 1.6rem;
  letter-spacing: .1em;
  color: var(--white);
  text-decoration: none;
  position: relative;
}

.nav-logo span {
  color: var(--purple);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  position: relative;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: color .3s;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--purple);
  transition: width .3s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--purple);
  color: var(--bg);
  padding: 9px 22px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  position: relative;
  transition: transform .3s, box-shadow .3s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(176, 108, 255, .4);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 5vw 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue';
  font-size: clamp(140px, 22vw, 320px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(176, 108, 255, .05);
  letter-spacing: .02em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  animation: bgDrift 20s ease-in-out infinite;
}

@keyframes bgDrift {
  0%,100% { transform: translate(-50%, -50%) scale(1) }
  50% { transform: translate(-50%, -52%) scale(1.02) }
}

.hero-photo-wrap {
  position: absolute;
  right: 6vw;
  top: 50%;
  transform: translateY(-50%);
  animation: floatPhoto 1s .5s ease both;
}

@keyframes floatPhoto {
  from { opacity: 0; transform: translateY(-40%) scale(.95) }
  to { opacity: 1; transform: translateY(-50%) scale(1) }
}

.hero-photo {
  width: clamp(260px, 28vw, 420px);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: 200px 200px 40px 40px;
  display: block;
  filter: grayscale(20%) contrast(1.05);
  border: 1px solid var(--border);
}

.hero-photo-fallback {
  width: clamp(260px, 28vw, 420px);
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #1a0d2e, #12091e);
  border-radius: 200px 200px 40px 40px;
  border: 1px solid rgba(176, 108, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue';
  font-size: 5rem;
  color: rgba(176, 108, 255, .15);
}

.hero-photo-badge {
  position: absolute;
  bottom: 30px;
  left: -60px;
  background: var(--purple);
  color: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 20px 60px rgba(176, 108, 255, .35);
  animation: badgePop .6s 1.2s ease both;
  opacity: 0;
}

@keyframes badgePop {
  from { opacity: 0; transform: scale(.8) translateY(10px) }
  to { opacity: 1; transform: scale(1) translateY(0) }
}

.hero-photo-badge strong {
  display: block;
  font-size: 1.2rem;
}

.hero-bottom {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.hero-heading {
  font-family: 'Bebas Neue';
  font-size: clamp(68px, 10vw, 150px);
  line-height: .9;
  letter-spacing: .01em;
  animation: heroIn 1s ease both;
}

.hero-heading .line2 {
  color: transparent;
  -webkit-text-stroke: 1px var(--white);
}

.hero-heading .dot {
  color: var(--purple);
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(60px) }
  to { opacity: 1; transform: translateY(0) }
}

.hero-right {
  max-width: 500px;
  padding-bottom: 12px;
  animation: heroIn 1s .3s ease both;
}

.hero-desc {
  color: var(--muted2);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-tags-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-pill {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(176, 108, 255, .35);
  color: var(--purple);
}

.hero-btns {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-lime {
  background: var(--purple);
  color: #fff;
  padding: 13px 28px;
  border-radius: 100px;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  transition: transform .3s, box-shadow .3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-lime:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(176, 108, 255, .45);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--muted2);
  padding: 13px 28px;
  border-radius: 100px;
  text-decoration: none;
  font-size: .85rem;
  transition: border-color .3s, color .3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: fadeIn 1s 2s ease both;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollDrop 2s infinite;
}

@keyframes scrollDrop {
  0% { transform: scaleY(0); transform-origin: top }
  50% { transform: scaleY(1); transform-origin: top }
  100% { transform: scaleY(0); transform-origin: bottom }
}

@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

/* TICKER */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  white-space: nowrap;
  background: var(--bg2);
}

.ticker-inner {
  display: inline-flex;
  gap: 0;
  animation: tickerScroll 30s linear infinite;
}

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

.ticker-item {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 28px;
}

.ticker-item .sep {
  color: var(--purple);
  margin-left: 28px;
}

/* SECTIONS */
section {
  padding: 100px 10vw;
  position: relative;
}

.sec-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sec-title {
  font-family: 'Bebas Neue';
  font-size: clamp(52px, 6.5vw, 100px);
  line-height: .92;
  letter-spacing: .01em;
  margin-bottom: 32px;
}

.sec-sub {
  color: var(--muted2);
  font-size: .95rem;
  line-height: 1.8;
  max-width: 560px;
}

.divider-line {
  height: 1px;
  background: var(--border);
  margin: 0 10vw;
}

/* REVEAL */
.reveal, .reveal-l, .reveal-r {
  opacity: 0;
  transition: opacity .8s ease, transform .8s ease;
}
.reveal { transform: translateY(30px) }
.reveal-l { transform: translateX(-40px) }
.reveal-r { transform: translateX(40px) }
.reveal.vis, .reveal-l.vis, .reveal-r.vis {
  opacity: 1;
  transform: none;
}

/* ABOUT */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
}

.about-text p {
  color: var(--muted2);
  font-size: .95rem;
  line-height: 1.8;
}

.about-text strong { color: var(--white); font-weight: 600; }
.about-text em { color: var(--purple); font-style: normal; }

.about-nums {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.about-num-item {
  flex: 1;
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.about-num-item:last-child { border-right: none; }

.num-big {
  font-family: 'Bebas Neue';
  font-size: 3rem;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 6px;
}

.num-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.tools-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

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

.skill-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(176, 108, 255, .08);
  border: 1px solid rgba(176, 108, 255, .2);
  color: var(--purple);
  transition: background .3s, border-color .3s;
}

.skill-tag:hover {
  background: rgba(176, 108, 255, .15);
  border-color: rgba(176, 108, 255, .4);
}

.tools-section { margin-top: 8px; }

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tool-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted2);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color .3s, color .3s;
}

.tool-item:hover {
  border-color: rgba(176, 108, 255, .3);
  color: var(--white);
}

.tool-item i { color: var(--purple); font-size: .85rem; }

/* EDUCATION */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 10px;
}

.edu-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 28px;
  transition: border-color .3s, transform .3s;
}

.edu-card:hover {
  border-color: rgba(176, 108, 255, .25);
  transform: translateY(-4px);
}

.edu-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.edu-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(176, 108, 255, .1);
  border: 1px solid rgba(176, 108, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 1rem;
}

.edu-year-badge {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--purple);
  background: rgba(176, 108, 255, .08);
  border: 1px solid rgba(176, 108, 255, .2);
  padding: 4px 12px;
  border-radius: 100px;
}

.edu-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.4;
}

.edu-card p {
  font-size: .85rem;
  color: var(--muted2);
  line-height: 1.7;
}

/* EXPERIENCE */
#experience .exp-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}

.exp-left p {
  color: var(--muted2);
  font-size: .95rem;
  line-height: 1.8;
  margin-top: 10px;
}

.exp-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.exp-items::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--border);
}

.exp-card {
  display: flex;
  gap: 28px;
  padding-bottom: 40px;
  position: relative;
}

.exp-card:last-child { padding-bottom: 0; }

.exp-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--purple);
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 16px rgba(176, 108, 255, .3);
}

.exp-content { flex: 1; }

.exp-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.exp-date {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--purple);
}

.exp-type {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(176, 108, 255, .08);
  border: 1px solid rgba(176, 108, 255, .2);
  color: var(--purple);
  padding: 3px 10px;
  border-radius: 100px;
}

.exp-role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.exp-company {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: .04em;
}

.exp-desc {
  font-size: .88rem;
  color: var(--muted2);
  line-height: 1.75;
}

/* WORK */
.work-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.work-header-right {
  max-width: 340px;
  color: var(--muted2);
  font-size: .95rem;
  line-height: 1.8;
  margin-top: 56px;
}

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

.proj-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
  display: flex;
  flex-direction: column;
}

.proj-card:hover {
  border-color: rgba(176, 108, 255, .25);
  transform: translateY(-6px);
}

.proj-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a0d2e 0%, #0d0818 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.proj-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.proj-card:hover .proj-thumb-img {
  transform: scale(1.05);
}

.proj-thumb-iframe {
  position: relative;
}

.proj-thumb-iframe iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
  transform: scale(1);
}

.iframe-overlay {
  position: absolute;
  inset: 0;
}

.proj-body {
  padding: 24px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.proj-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.proj-tag {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
  background: rgba(176, 108, 255, .08);
  border: 1px solid rgba(176, 108, 255, .2);
  color: var(--purple);
}

.proj-tag.blue {
  background: rgba(99, 179, 237, .08);
  border-color: rgba(99, 179, 237, .2);
  color: #63b3ed;
}

.proj-tag.orange {
  background: rgba(251, 146, 60, .08);
  border-color: rgba(251, 146, 60, .2);
  color: #fb923c;
}

.proj-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

.proj-body p {
  font-size: .83rem;
  color: var(--muted2);
  line-height: 1.7;
}

.proj-note {
  font-size: .76rem !important;
  color: var(--muted) !important;
  font-style: italic;
}

.proj-link {
  margin-top: auto;
  color: var(--purple);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .3s;
}

.proj-link:hover { gap: 10px; }

/* SERVICES */
.services-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}

.services-left p {
  color: var(--muted2);
  font-size: .95rem;
  line-height: 1.8;
  margin-top: 10px;
}

.services-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-row {
  display: grid;
  grid-template-columns: 56px 1fr 50px;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}

.service-row:last-child { border-bottom: none; }

.service-num {
  font-family: 'Bebas Neue';
  font-size: 2rem;
  color: rgba(176, 108, 255, .3);
  line-height: 1;
  padding-top: 4px;
}

.service-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.service-info p {
  font-size: .85rem;
  color: var(--muted2);
  line-height: 1.7;
}

.service-icon2 {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(176, 108, 255, .08);
  border: 1px solid rgba(176, 108, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: .95rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* CONTACT */
#contact {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(176, 108, 255, .06) 0%, transparent 65%);
  pointer-events: none;
}

.contact-top {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
}

.contact-big {
  font-family: 'Bebas Neue';
  font-size: clamp(60px, 9vw, 130px);
  line-height: .9;
  letter-spacing: .02em;
  margin-bottom: 20px;
}

.contact-big .outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .15);
}

.contact-big .lime {
  color: var(--purple);
}

.contact-sub {
  color: var(--muted2);
  font-size: 1rem;
  max-width: 420px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.contact-email-link {
  font-family: 'DM Serif Display';
  font-size: 1.4rem;
  font-style: italic;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  padding-bottom: 4px;
  transition: color .3s, border-color .3s;
}

.contact-email-link:hover {
  color: var(--purple);
  border-color: var(--purple);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 20px;
  text-decoration: none;
  color: var(--white);
  transition: border-color .3s, transform .3s, background .3s;
}

.c-link:hover {
  border-color: rgba(176, 108, 255, .35);
  transform: translateX(6px);
  background: #130d1e;
}

.c-link-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(176, 108, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: .9rem;
  flex-shrink: 0;
}

.c-link-info .label {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.c-link-info .val {
  font-size: .88rem;
  font-weight: 500;
  margin-top: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cf-field label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cf-field input,
.cf-field textarea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .3s;
  width: 100%;
}

.cf-field input:focus,
.cf-field textarea:focus {
  border-color: rgba(176, 108, 255, .45);
}

.cf-field textarea {
  resize: vertical;
  min-height: 120px;
}

.cf-submit {
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 15px 36px;
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  cursor: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  transition: transform .3s, box-shadow .3s;
}

.cf-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(176, 108, 255, .4);
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.foot-logo {
  font-family: 'Bebas Neue';
  font-size: 1.4rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: .08em;
}

.foot-logo span { color: var(--purple); }

.foot-copy {
  color: var(--muted);
  font-size: .78rem;
}

.foot-socials { display: flex; gap: 14px; }

.foot-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: .88rem;
  transition: border-color .3s, color .3s, background .3s;
}

.foot-socials a:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: rgba(176, 108, 255, .08);
}

/* RESPONSIVE */
@media(max-width:1100px) {
  .about-layout { grid-template-columns: 1fr; gap: 50px; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  #experience .exp-layout, .services-layout { grid-template-columns: 1fr; gap: 40px; }
  .exp-left, .services-left { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 600;
  position: relative;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .35s, opacity .35s, width .35s;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  right: 5vw;
  z-index: 490;
  background: rgba(10, 8, 15, .97);
  border: 1px solid rgba(176, 108, 255, .12);
  border-radius: 14px;
  padding: 8px 0;
  min-width: 200px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .7);
  backdrop-filter: blur(16px);
  transform: translateY(-8px) scale(.97);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), opacity .3s ease;
}

.mobile-menu.open {
  display: block;
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  display: block;
  padding: 12px 22px;
  color: var(--muted);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s, background .2s;
}

.mobile-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, .04);
}

.mobile-cv {
  margin-top: 6px;
  border-top: 1px solid rgba(176, 108, 255, .12);
  color: var(--purple) !important;
  font-weight: 600;
}

.mobile-cv:hover {
  background: rgba(176, 108, 255, .08) !important;
}

@media(max-width:768px) {
  .nav-burger { display: flex; }
  .mobile-menu { display: block; }
  .hero-photo-wrap { top: 20%; }
  .nav-links, .nav-cta { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .about-num-item { padding: 22px 10px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .cf-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
  .tools-grid { grid-template-columns: 1fr; }
  .work-header { flex-direction: column; }
}
