/* ============================================================
   PARTH JAIRAM — PORTFOLIO
   Dark · Editorial · Motion-driven
   Inspired by: ITomPoland/portfolio-itom
   ============================================================ */

:root {
  --bg: #0A0A0A;
  --bg-2: #0f0f10;
  --panel: #141416;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --text: #f4f4f5;
  --muted: #8a8a90;
  --muted-2: #5a5a60;
  --accent: #39FF14;
  --accent-soft: rgba(57, 255, 20, 0.15);
  --accent-dim: rgba(57, 255, 20, 0.35);
  --red: #ff3b3b;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', cursive;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.77, 0, 0.175, 1);

  --pad-x: clamp(20px, 5vw, 80px);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}

/* INTERACTIVE BG CANVAS (site-wide) */
.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.75) 75%, rgba(10,10,10,0.92) 100%);
}
#smooth-wrapper { position: relative; z-index: 2; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: none; }
img { display: block; max-width: 100%; }

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

/* SCROLLBAR (fallback when ScrollSmoother not active) */
::-webkit-scrollbar { width: 0; height: 0; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cursor-ring.is-hover {
  width: 70px; height: 70px;
  border-color: var(--accent);
}
@media (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  z-index: 100;
}
.scroll-progress__fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-dim);
}

/* ============================================================
   SIDE NAV
   ============================================================ */
.side-nav {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 90;
}
.side-nav__item {
  position: relative;
  width: 10px; height: 10px;
  display: flex; align-items: center; justify-content: center;
}
.side-nav__item span {
  width: 6px; height: 6px;
  background: var(--muted-2);
  border-radius: 50%;
  transition: all 0.3s var(--ease);
}
.side-nav__item.active span {
  width: 10px; height: 10px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-dim);
}
.side-nav__item::before {
  content: attr(data-label);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  white-space: nowrap;
}
.side-nav__item:hover::before,
.side-nav__item.active::before { opacity: 1; color: var(--accent); }
@media (max-width: 900px) { .side-nav { display: none; } }

/* ============================================================
   TOP NAV
   ============================================================ */
.top-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  padding: 24px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 95;
  mix-blend-mode: difference;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.logo__mark {
  width: 28px; height: 28px;
  border: 1px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 11px;
}
.top-nav__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
}
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  pointer-events: none;
}
.preloader__content {
  position: absolute;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.preloader__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.35;
  pointer-events: none;
}
.preloader__inner {
  position: relative;
  width: min(600px, 80vw);
  text-align: center;
  z-index: 2;
}
/* Slice panels that animate over the content on exit */
.preloader__slices {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 3;
  pointer-events: none;
}
.preloader__slice {
  flex: 1;
  height: 100%;
  background: var(--bg);
  transform-origin: top center;
  will-change: transform;
  opacity: 0; /* hidden until the exit animation swaps content→slices */
  border-right: 1px solid rgba(255,255,255,0.02);
}
.preloader__slice:last-child { border-right: 0; }
.preloader__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 18px;
}
.preloader__title {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.preloader__bar {
  width: 100%;
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.preloader__bar-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-dim);
}
.preloader__meta {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.02);
}
.hero__tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.hero__title {
  font-size: clamp(48px, 11vw, 190px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 28px;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .hero__title { font-size: clamp(40px, 15vw, 90px); white-space: normal; }
}
.hero__subtitle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.2vw, 15px);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text);
  margin-bottom: 28px;
}
.hero__role { color: var(--text); }
.hero__slash { color: var(--accent); }
.hero__desc {
  max-width: 620px;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 40px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn svg { width: 14px; height: 14px; }
.btn--primary {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}
.btn--primary:hover {
  box-shadow: 0 0 30px var(--accent-dim);
  transform: translateY(-2px);
}
.btn--ghost {
  border: 1px solid var(--line-2);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* HERO SCROLL INDICATOR */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s infinite var(--ease);
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* HERO CORNERS */
.hero__corner {
  position: absolute;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.hero__corner--tl { top: 100px; left: var(--pad-x); }
.hero__corner--tr { top: 100px; right: var(--pad-x); }
.hero__corner--bl { bottom: 40px; left: var(--pad-x); }
.hero__corner--br { bottom: 40px; right: var(--pad-x); }

@media (max-width: 900px) {
  .hero__corner--tl, .hero__corner--tr { top: 80px; font-size: 9px; }
  .hero__corner--bl, .hero__corner--br { display: none; }
  .hero__scroll { display: none; }
}

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */
.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 var(--pad-x);
  margin-bottom: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
}
.section-head__num { color: var(--accent); }
.section-head__label { color: var(--text); }
.section-head__line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.accent { color: var(--accent); }
.handwritten { font-family: var(--font-hand); font-weight: 700; font-style: italic; }
.muted { color: var(--muted); font-weight: 400; }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 90px 0;
  position: relative;
}
.about__body {
  padding: 0 var(--pad-x);
  max-width: 1100px;
}
.about__title {
  font-size: clamp(36px, 5.2vw, 82px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 28px;
  max-width: 14ch;
}
.about__para {
  font-size: clamp(16px, 1.25vw, 20px);
  color: var(--muted);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 50px;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 30px 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.stat__link {
  color: var(--accent);
  border-bottom: 1px dotted var(--accent-dim);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.stat__link:hover { color: #fff; border-bottom-color: #fff; }
.stat__num {
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  text-shadow: 0 0 30px var(--accent-soft);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .about { padding: 70px 0; }
  .about__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 500px) {
  .about__stats { grid-template-columns: 1fr; }
}

/* ============================================================
   EXPERIENCE — KEYFRAME / SCROLL PATH (PINNED)
   ============================================================ */
.experience {
  padding: 80px 0 60px;
  position: relative;
}
.exp-pin {
  position: relative;
  height: 100vh;
  padding: 0 var(--pad-x);
  overflow: hidden;
}
.exp-pin__counter {
  position: absolute;
  top: 40px;
  right: var(--pad-x);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  z-index: 10;
  display: flex;
  gap: 6px;
}
.exp-pin__counter #expCurrent { color: var(--accent); }
.exp-pin__divider { color: var(--muted-2); }
.exp-pin__progress {
  position: absolute;
  top: 50%;
  right: var(--pad-x);
  transform: translateY(-50%);
  width: 2px;
  height: 180px;
  background: var(--line);
  z-index: 10;
}
.exp-pin__progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-dim);
}

.exp-list {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 80px;
}
.exp {
  position: absolute;
  inset: 80px 0 0 0;
  display: grid;
  grid-template-columns: 0.7fr 2fr;
  gap: 60px;
  align-items: start;
  will-change: transform, opacity;
  padding-right: 80px;
}
.exp:last-child { border: 0; }

.exp__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.exp__num { color: var(--accent); font-size: 14px; }
.exp__date { color: var(--muted); }

.exp__role {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.05;
  transition: color 0.4s var(--ease);
}
.exp__company {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin-bottom: 28px;
  text-shadow: 0 0 24px var(--accent-soft);
  position: relative;
  padding-left: 14px;
}
.exp__company::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 4px; height: 70%;
  background: var(--accent);
  transform: translateY(-50%);
  box-shadow: 0 0 10px var(--accent-dim);
}
.exp__company .muted {
  font-family: var(--font-mono);
  font-size: 0.6em;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 500;
}
.exp__bullets {
  list-style: none;
  margin-bottom: 24px;
}
.exp__bullets li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.exp__bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 10px; height: 1px;
  background: var(--accent);
}
.exp__bullets strong { color: var(--text); font-weight: 600; }
.exp__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.exp__tags span {
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.exp:hover .exp__tags span {
  border-color: var(--accent-dim);
  color: var(--text);
}

/* FLOATING IMAGE PREVIEW */
.exp-preview {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 80;
  will-change: transform;
}
.exp-preview__inner {
  width: 380px;
  height: 480px;
  transform: translate(-50%, -50%);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-2);
  will-change: transform, opacity;
}
.exp-preview img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.1);
}
.exp-preview__inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.6) 100%);
}

@media (max-width: 900px) {
  .experience { padding: 60px 0 40px; }
  .exp-pin { height: auto; overflow: visible; }
  .exp-list { padding-top: 0; }
  .exp {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0;
    border-top: 1px solid var(--line);
  }
  .exp-pin__counter, .exp-pin__progress { display: none; }
  .exp-preview { display: none; }
}

/* ============================================================
   SKILLS
   ============================================================ */
.skills {
  padding: 90px 0;
  position: relative;
}
.skills__title {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  padding: 0 var(--pad-x);
  margin-bottom: 50px;
  max-width: 900px;
}
.skills__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 0 var(--pad-x);
}
.skill-col__label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.skill-col__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-col__tags span {
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 12px;
  color: var(--muted);
  transition: all 0.3s var(--ease);
  cursor: none;
}
.skill-col__tags span:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
@media (max-width: 1100px) { .skills__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .skills { padding: 60px 0; } .skills__grid { grid-template-columns: 1fr; gap: 30px; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 90px 0 40px;
  position: relative;
  text-align: center;
}
.contact__title {
  font-size: clamp(40px, 7vw, 120px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  padding: 0 var(--pad-x);
  margin-bottom: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 500;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 10px;
  transition: all 0.4s var(--ease);
  margin-bottom: 50px;
}
.contact__email svg { width: 20px; height: 20px; transition: transform 0.4s var(--ease); }
.contact__email:hover { color: var(--accent); border-bottom-color: var(--accent); }
.contact__email:hover svg { transform: rotate(-45deg) translate(4px, 4px); }
.contact__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-top: 60px;
  margin-bottom: 60px;
}
.contact__links a { transition: color 0.3s var(--ease); }
.contact__links a:hover { color: var(--accent); }

.footer {
  padding: 30px var(--pad-x);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}
@media (max-width: 700px) {
  .contact { padding: 60px 0 40px; }
  .contact__links { gap: 20px; flex-direction: column; }
  .footer { flex-direction: column; gap: 10px; text-align: center; }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact__form {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  text-align: left;
}
.contact__form-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
}
.contact__form-num { color: var(--accent); }
.contact__form-label { color: var(--text); }
.contact__form-line { flex: 1; height: 1px; background: var(--line); }
.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.contact__field { display: flex; flex-direction: column; margin-bottom: 18px; }
.contact__form-row .contact__field { margin-bottom: 0; }
.contact__field label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact__field input,
.contact__field textarea {
  width: 100%;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: none;
}
.contact__field textarea { min-height: 110px; line-height: 1.5; }
.contact__field input::placeholder,
.contact__field textarea::placeholder { color: var(--muted-2); }
.contact__field input:focus,
.contact__field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  background: rgba(57,255,20,0.04);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact__form-submit {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
}
.contact__form-status {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-align: center;
  min-height: 16px;
}
.contact__form-status.is-success { color: var(--accent); }
.contact__form-status.is-error { color: var(--red); }
@media (max-width: 600px) {
  .contact__form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   SPLIT TEXT SUPPORT
   ============================================================ */
.split-line { overflow: hidden; display: block; }
.split-char, .split-word { display: inline-block; will-change: transform, opacity; }
