/* ============================================
   SECTIONS — Spider-Noir Edition
   Black & White · Rain · Film Noir
   ============================================ */

/* ─────────────────────────────────────────────
   SECTION 1: HERO / INTRO
   ───────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: var(--header-h);
  padding-left: clamp(24px, 8vw, 120px);
  padding-right: clamp(24px, 8vw, 120px);
  position: relative;
  z-index: 10;
}

/* Hero Layout Grid */
.hero-layout-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 2;
  /* max-width removed to fit grid cell */
}

/* ─── TERMINAL UI ─── */
.terminal-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
}

.terminal-window {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 420px;
}

.terminal-header {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.terminal-close {
  position: absolute;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: none; /* Only show in modal mode */
}

.terminal-body {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #c9d1d9;
}
.terminal-body::-webkit-scrollbar { width: 6px; }
.terminal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }

.terminal-output {
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.term-line { word-break: break-word; }
.term-line.cmd-echo { color: var(--text-bright); }
.term-line.cmd-error { color: #f85149; }
.term-prompt {
  color: #3fb950;
  margin-right: 8px;
  white-space: nowrap;
}
.term-highlight { color: var(--accent); }
.term-info { color: #58a6ff; }
.term-link { color: #58a6ff; text-decoration: underline; }

.terminal-input-line {
  display: flex;
  align-items: center;
}
.terminal-input {
  background: transparent;
  border: none;
  color: var(--text-bright);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  flex: 1;
  outline: none;
}

.btn-terminal-mobile {
  display: none;
  align-items: center;
  gap: 8px;
}

@media (max-width: 960px) {
  .hero-layout-grid {
    grid-template-columns: 1fr;
  }
  .btn-terminal-mobile {
    display: inline-flex;
  }
  .terminal-wrapper {
    position: fixed;
    inset: 0;
    max-width: none;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .terminal-wrapper.modal-open {
    opacity: 1;
    pointer-events: auto;
  }
  .terminal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .terminal-window {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    transform: translateY(20px);
    transition: transform 0.3s ease;
  }
  .terminal-wrapper.modal-open .terminal-window {
    transform: translateY(0);
  }
  .terminal-close {
    display: block;
  }
}


.hero-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-tag-dot {
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
  animation: pulseDot 2.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 8px rgba(255,255,255,0.4); }
  50%       { box-shadow: 0 0 20px rgba(255,255,255,0.25), 0 0 40px rgba(255,255,255,0.1); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 12rem);
  line-height: 0.86;
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  overflow: hidden;
  /* Subtle text-shadow for depth */
  text-shadow: 0 0 120px rgba(255,255,255,0.06);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .char { display: inline-block; }
.hero-title-name   { color: var(--text-bright); }
/* accent word is now high-contrast white with slight flicker */
.hero-title-accent {
  color: var(--text-bright);
  -webkit-text-stroke: 1px rgba(255,255,255,0.4);
  text-shadow: 0 0 60px rgba(255,255,255,0.12);
}

/* Noir typewriter sub-heading */
.hero-sub {
  margin-top: 32px;
  font-family: var(--font-noir);
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  color: var(--text-mid);
  letter-spacing: 0.06em;
  opacity: 0;
  font-style: italic;
}
.hero-sub .word { display: inline-block; }

.hero-desc {
  margin-top: 18px;
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 500px;
  line-height: 1.85;
  opacity: 0;
}

.hero-actions {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: clamp(24px, 8vw, 120px);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
}
.scroll-hint-text {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.scroll-hint-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.2; transform: scaleY(0.7); }
  50%       { opacity: 0.8; transform: scaleY(1); }
}

/* Hero bg — noir vignette */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 5% 50%, rgba(255,255,255,0.02) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle noir grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 70% 80% at 30% 50%, black 0%, transparent 100%);
}

/* Stats row */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
}
.stat-item {}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text-bright);
  line-height: 1;
}
.stat-num span { color: rgba(255,255,255,0.5); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ─────────────────────────────────────────────
   SECTION BASE — shared noir styling
   ───────────────────────────────────────────── */
.section-header {
  margin-bottom: 72px;
  position: relative;
}
.section-header .label { margin-bottom: 12px; display: block; }
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.section-eyebrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.3), transparent);
  max-width: 100px;
}

/* Section backdrop */
.section-noir-bg {
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(5,5,5,0.75) 15%,
    rgba(5,5,5,0.88) 85%,
    transparent 100%);
}

/* ─────────────────────────────────────────────
   SECTION 2: EXPERIENCE
   ───────────────────────────────────────────── */
#experience {
  min-height: 100vh;
  padding: 120px clamp(24px, 8vw, 120px);
  position: relative;
  z-index: 10;
  background: transparent;
}

.exp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

/* Timeline line — silver */
.exp-grid::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2) 20%, rgba(255,255,255,0.2) 80%, transparent);
}

.exp-item {
  padding: 32px;
  margin-bottom: 48px;
  margin-left: 48px;
  background: rgba(8, 8, 8, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.exp-item:hover {
  background: rgba(18, 18, 18, 0.75);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.03);
}

.exp-dot {
  position: absolute;
  left: -53px; /* Align to the timeline line outside the card */
  top: 40px;
  width: 10px; height: 10px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid var(--bg);
  box-shadow: 0 0 16px rgba(255,255,255,0.5);
}

.exp-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.exp-company {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--text-bright);
  line-height: 1;
  letter-spacing: 0.04em;
}
.exp-period {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.exp-role {
  font-family: var(--font-noir);
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
  font-style: italic;
}
.exp-desc {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 620px;
}
.exp-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.exp-tag {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  color: var(--text-dim);
}

/* ─────────────────────────────────────────────
   SECTION 3: SKILLS
   ───────────────────────────────────────────── */
#skills {
  padding: 60px 0;
  position: relative;
  z-index: 10;
  background: transparent;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(0, 0, 0, 0.4); /* subtle dark band to anchor the text */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.skills-marquee-container {
  width: 100%;
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}
.skills-marquee {
  display: flex;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
  gap: 40px; /* spacing between groups */
}
.marquee-group {
  display: flex;
  gap: 40px;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  text-transform: uppercase;
  color: var(--text-bright);
}
.marquee-group span {
  display: inline-block;
  -webkit-text-stroke: 1px rgba(255,255,255,0.2);
  color: transparent;
  transition: color 0.3s;
}
.marquee-group span:hover {
  color: var(--text-bright);
  -webkit-text-stroke: 0px;
}
.marquee-dot {
  color: var(--accent) !important;
  -webkit-text-stroke: 0px !important;
}

@keyframes scrollMarquee {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────
   SECTION 4: PROJECTS
   ───────────────────────────────────────────── */
#projects {
  min-height: 100vh;
  padding: 120px 0;
  position: relative;
  z-index: 10;
  background: transparent;
}

#projects .container { margin-bottom: 60px; }

.projects-scroll-wrap {
  padding: 0 clamp(24px, 8vw, 120px);
}
.projects-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}
@media (max-width: 1100px) {
  .projects-track {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .projects-track {
    grid-template-columns: 1fr;
  }
}

.project-card {
  width: 100%;
  background: rgba(8, 8, 8, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: none;
}
.project-card:hover {
  background: rgba(18, 18, 18, 0.75);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(255,255,255,0.03);
  transform: translateY(-8px);
}
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* DrawSVG border */
.project-card-border {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  pointer-events: none;
  overflow: visible;
}
.project-border-path {
  stroke: rgba(255,255,255,0.4);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 0.6s ease;
}
.project-card:hover .project-border-path { stroke-dashoffset: 0; }

.project-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  filter: grayscale(1);
}
.project-type {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.project-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-bright);
  margin-bottom: 12px;
  line-height: 1;
}
.project-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
}
.project-tech {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tech-pill {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  color: var(--text-dim);
}
.project-links { display: flex; gap: 12px; }
.project-link {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s;
}
.project-link:hover { color: var(--text-bright); }
.project-stars {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  color: var(--text-dim);
  filter: grayscale(1);
}

/* OSS badge */
.oss-badge {
  position: absolute;
  top: 16px;
  right: 48px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ─────────────────────────────────────────────
   SECTION 4: ARTICLES
   ───────────────────────────────────────────── */
#articles {
  min-height: 80vh;
  padding: 120px clamp(24px, 8vw, 120px);
  position: relative;
  z-index: 10;
  background: transparent;
  display: none; /* Hidden as per request */
}

.articles-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.article-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: start;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  cursor: none;
  opacity: 0;
  transform: translateY(20px);
  text-decoration: none;
  color: inherit;
  transition: background 0.3s;
}
.article-item::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.4);
  transition: width 0.5s ease;
}
.article-item:hover::after { width: 100%; }

.article-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  transition: color 0.3s;
}
.article-item:hover .article-num { color: rgba(255,255,255,0.4); }

.article-body {}
.article-pub {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  color: var(--text);
  line-height: 1;
  margin-bottom: 10px;
  transition: color 0.3s;
}
.article-item:hover .article-title { color: var(--text-bright); }
.article-excerpt {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 580px;
}
.article-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}
.article-date {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.article-read {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.article-arrow {
  font-size: 1.1rem;
  color: var(--text-dim);
  transition: transform 0.3s, color 0.3s;
}
.article-item:hover .article-arrow { transform: translate(4px, -4px); color: var(--text-bright); }

/* ─────────────────────────────────────────────
   SECTION 5: CONTACT
   ───────────────────────────────────────────── */
#contact {
  min-height: 100vh;
  padding: 100px clamp(24px, 6vw, 100px);
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}

/* Two-column: [ASCII] [right-stack] */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 960px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .ascii-wrap {
    max-height: 420px;
  }
}

/* ─── ASCII ART PORTRAIT ─── */
.ascii-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(3,2,1,0.7);
  cursor: crosshair;
  /* subtle inner glow */
  box-shadow: inset 0 0 60px rgba(64, 4, 6, 0.15);
}
.ascii-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.ascii-overlay-label {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(200,170,110,0.45);
  pointer-events: none;
  white-space: nowrap;
  background: rgba(3,2,1,0.6);
  padding: 4px 12px;
  border-radius: 2px;
}

/* ─── RIGHT COLUMN ─── */
.contact-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.contact-top {
  flex: 0 0 auto;
}

/* ─── FORM ROW: Name + Email side by side ─── */
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .contact-form-row { grid-template-columns: 1fr; }
}



.contact-big-text {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.88;
  color: var(--text-bright);
  margin: 12px 0 20px;
  text-transform: uppercase;
}
.contact-big-text em { color: rgba(255,255,255,0.45); font-style: normal; }
.contact-tagline {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 20px;
  font-style: italic;
  font-family: var(--font-noir);
}

/* Social links */
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(10px);
}
.social-link:hover {
  color: var(--text-bright);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}

/* Resume button */
.resume-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 18px 40px;
  background: transparent;
  color: var(--text-bright);
  text-decoration: none;
  overflow: hidden;
  opacity: 0;
  cursor: none;
}
.resume-btn-border { position: absolute; inset: 0; pointer-events: none; }
.resume-btn-fill {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
}
.resume-btn:hover .resume-btn-fill { transform: scaleX(1); }
.resume-btn:hover { color: #000; }
.resume-btn span { position: relative; z-index: 1; }

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(20px);
}
.form-label {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.form-input,
.form-textarea {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 2px;
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  cursor: none;
}
.form-textarea {
  resize: none;
  height: 80px;
}
.form-input:focus,
.form-textarea:focus {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-submit {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 40px;
  background: rgba(255,255,255,0.9);
  color: #000;
  border: none;
  border-radius: 2px;
  cursor: none;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(10px);
  position: relative;
  overflow: hidden;
}
.form-submit:hover {
  background: #fff;
  box-shadow: 0 0 30px rgba(255,255,255,0.2);
}

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
footer {
  padding: 40px clamp(24px, 8vw, 120px);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
  background: rgba(5,5,5,0.97);
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.footer-copy span { color: rgba(255,255,255,0.35); }
.footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.footer-dot {
  width: 5px; height: 5px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  animation: pulseDot 2.5s ease-in-out infinite;
}
