/* ===================================================================
   RESET & CUSTOM PROPERTIES
   =================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Background palette */
  --bg-0:   #06060f;
  --bg-1:   #0b0b1a;
  --bg-2:   #101020;
  --bg-card:#131326;

  /* Tech accent — electric blue */
  --tech:       #00c8f8;
  --tech-dim:   rgba(0, 200, 248, 0.10);
  --tech-mid:   rgba(0, 200, 248, 0.20);
  --tech-glow:  rgba(0, 200, 248, 0.35);

  /* Photo accent — warm amber */
  --photo:      #f4a550;
  --photo-dim:  rgba(244, 165, 80, 0.10);
  --photo-mid:  rgba(244, 165, 80, 0.20);
  --photo-glow: rgba(244, 165, 80, 0.35);

  /* Text scale */
  --text-0: #ffffff;
  --text-1: #c8c8e0;
  --text-2: #7878a0;
  --text-3: #3e3e58;

  /* Borders */
  --border:       rgba(255, 255, 255, 0.06);
  --border-mid:   rgba(255, 255, 255, 0.10);
  --border-strong:rgba(255, 255, 255, 0.15);

  /* Shape */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Shadows */
  --shadow:    0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 56px rgba(0,0,0,0.7);

  /* Typography */
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  --serif: 'Playfair Display', Georgia, serif;

  /* Nav height */
  --nav-h: 80px;

  /* Easing */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================================================
   BASE
   =================================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  background-color: var(--bg-0);
  color: var(--text-1);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a    { color: inherit; text-decoration: none; }
img  { max-width: 100%; height: auto; display: block; }
ul   { list-style: none; }
button { font-family: var(--sans); }

/* ===================================================================
   LAYOUT
   =================================================================== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 120px 0; }
.section-dark { background-color: var(--bg-1); }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 72px;
}

/* ===================================================================
   TYPOGRAPHY PRIMITIVES
   =================================================================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--border);
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 18px;
}

.tech-tag  { color: var(--tech); background: var(--tech-dim); border-color: rgba(0,200,248,0.18); }
.photo-tag { color: var(--photo); background: var(--photo-dim); border-color: rgba(244,165,80,0.18); }

.section-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-0);
  margin-bottom: 14px;
}

.photo-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), opacity 0.2s;
  white-space: nowrap;
}

.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-tech {
  background: var(--tech-dim);
  border-color: rgba(0,200,248,0.3);
  color: var(--tech);
}
.btn-tech:hover { box-shadow: 0 8px 28px rgba(0,200,248,0.25); border-color: var(--tech); }

.btn-photo {
  background: var(--photo-dim);
  border-color: rgba(244,165,80,0.3);
  color: var(--photo);
}
.btn-photo:hover { box-shadow: 0 8px 28px rgba(244,165,80,0.25); border-color: var(--photo); }

.btn-ghost {
  background: var(--border);
  border-color: var(--border-mid);
  color: var(--text-2);
}
.btn-ghost:hover { border-color: var(--border-strong); color: var(--text-0); }

.btn-outline {
  background: transparent;
  border-color: var(--border-mid);
  color: var(--text-1);
}
.btn-outline:hover { border-color: var(--border-strong); color: var(--text-0); }

.btn-primary {
  background: linear-gradient(135deg, var(--tech) 0%, #006fcf 100%);
  border-color: transparent;
  color: #fff;
}
.btn-primary:hover { box-shadow: 0 10px 32px rgba(0,200,248,0.35); }

.btn-full { width: 100%; justify-content: center; }

/* ===================================================================
   NAV
   =================================================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s;
}

#navbar.scrolled {
  background: rgba(6, 6, 15, 0.82);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
}

.logo-db {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--tech) 0%, var(--photo) 100%);
  color: #000;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-0);
  letter-spacing: -0.01em;
}

.nav-logo-img {
  height: 45px;
  width: auto;
  display: block;
  vertical-align: middle;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text-0); background: var(--border-mid); }

.nav-cta {
  margin-left: 8px;
  background: var(--tech-mid) !important;
  border: 1px solid rgba(0,200,248,0.25) !important;
  color: var(--tech) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: rgba(0,200,248,0.25) !important;
  box-shadow: 0 0 20px rgba(0,200,248,0.2) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--r-sm);
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-0);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.25s;
}

/* ===================================================================
   HERO
   =================================================================== */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Dual gradient backdrop */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-tech {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at -5% 60%,
    rgba(0, 180, 240, 0.22) 0%, transparent 65%);
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 105% 30%,
    rgba(244, 165, 80, 0.18) 0%, transparent 60%);
}

/* Subtle dot grid */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 720px;
}

/* Label row */
.hero-label {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.label-tech,
.label-photo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.label-tech {
  color: var(--tech);
  background: var(--tech-dim);
  border: 1px solid rgba(0,200,248,0.2);
}

.label-photo {
  color: var(--photo);
  background: var(--photo-dim);
  border: 1px solid rgba(244,165,80,0.2);
}

.label-tech svg,
.label-photo svg { width: 14px; height: 14px; }

.label-dot { color: var(--text-3); font-size: 20px; line-height: 1; }

/* Name */
.hero-name {
  font-size: clamp(52px, 8.5vw, 96px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.name-first {
  display: block;
  background: linear-gradient(100deg, var(--tech) 0%, #a0eaff 55%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.name-last {
  display: block;
  background: linear-gradient(100deg, #ffffff 0%, #ffd09e 55%, var(--photo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Typed tagline */
.hero-tagline {
  font-family: var(--mono);
  font-size: clamp(13px, 1.6vw, 17px);
  color: var(--text-2);
  min-height: 1.5em;
  position: relative;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--tech);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

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

/* Location */
.hero-location {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--text-3);
}

.hero-location svg { width: 15px; height: 15px; stroke: var(--photo); flex-shrink: 0; }

/* CTA buttons */
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
}

/* Floating portrait (right side) */
.hero-portrait-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 92%;
  width: 42%;
  max-width: 520px;
  pointer-events: none;
  z-index: 1;
}

.hero-portrait {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 80px rgba(0,200,248,0.18));
}

.hero-portrait-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 40%;
  background: radial-gradient(ellipse, rgba(244,165,80,0.15) 0%, transparent 70%);
  filter: blur(40px);
}

/* Scroll indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  right: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-scroll-hint span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  writing-mode: vertical-lr;
}

.scroll-bar {
  width: 1px;
  height: 52px;
  overflow: hidden;
  background: var(--border);
  border-radius: 1px;
}

.scroll-bar::after {
  content: '';
  display: block;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, var(--tech), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

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

/* Portrait */
.portrait-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
}

.portrait-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}

.portrait-frame:hover .portrait-img { transform: scale(1.03); }

.portrait-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    transparent 45%,
    rgba(6,6,15,0.55) 100%);
  pointer-events: none;
}

/* Stats below portrait */
.portrait-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 10px;
  text-align: center;
  transition: border-color 0.25s;
}

.stat:hover { border-color: var(--border-strong); }

.stat-num {
  display: block;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--tech), var(--photo));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 3px;
}

/* About content */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.about-lead {
  font-size: 19px;
  color: var(--text-0);
  line-height: 1.55;
  font-weight: 400;
}

.about-body {
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.72;
}

/* Duality cards */
.duality-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.duality-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.duality-card:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
}

.duality-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.duality-icon svg { width: 20px; height: 20px; }

.tech-icon  { background: var(--tech-dim); border: 1px solid rgba(0,200,248,0.2); color: var(--tech); }
.photo-icon { background: var(--photo-dim); border: 1px solid rgba(244,165,80,0.2); color: var(--photo); }

.duality-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.duality-card p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
}

/* ===================================================================
   IT CAREER
   =================================================================== */
.career-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Timeline */
.career-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 44px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding-top: 4px;
}

.timeline-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--bg-1);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.timeline-item.active .timeline-dot {
  border-color: var(--tech);
  background: var(--tech-dim);
  box-shadow: 0 0 0 5px rgba(0,200,248,0.08);
}

.timeline-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, var(--tech-mid), var(--border));
  margin-top: 6px;
  min-height: 40px;
}

.timeline-content { flex: 1; min-width: 0; }

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.timeline-company {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tech);
  background: var(--tech-dim);
  border: 1px solid rgba(0,200,248,0.15);
  padding: 4px 10px;
  border-radius: 6px;
}

.timeline-period {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
}

.timeline-role {
  font-size: 21px;
  font-weight: 700;
  color: var(--text-0);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.timeline-content > p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
}

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

.timeline-tags span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-2);
  background: var(--border);
  border: 1px solid var(--border-mid);
  border-radius: 6px;
  padding: 4px 10px;
}

/* Highlights */
.highlights-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-0);
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}

.competencies {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}

.competency-item { display: flex; flex-direction: column; gap: 7px; }

.comp-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.comp-name  { font-size: 13.5px; font-weight: 500; color: var(--text-1); }
.comp-level { font-family: var(--mono); font-size: 11px; color: var(--tech); letter-spacing: 0.04em; }

.comp-bar {
  height: 3px;
  background: var(--border-mid);
  border-radius: 99px;
  overflow: hidden;
}

.comp-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--tech), rgba(0,200,248,0.4));
  border-radius: 99px;
  transition: width 1.4s var(--ease) 0.1s;
}

.comp-fill.animated { width: var(--w); }

/* Achievements */
.achievements {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.achievement {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  transition: border-color 0.25s;
}

.achievement:hover { border-color: var(--border-strong); }

.ach-icon {
  font-size: 18px;
  width: 38px; height: 38px;
  background: var(--tech-dim);
  border: 1px solid rgba(0,200,248,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.achievement h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 2px;
}

.achievement p {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.55;
}

/* ===================================================================
   PHOTOGRAPHY
   =================================================================== */
/* Filter tabs */
.photo-categories {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.photo-cat {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-mid);
  background: transparent;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.photo-cat:hover,
.photo-cat.active {
  background: var(--photo-dim);
  border-color: rgba(244,165,80,0.35);
  color: var(--photo);
}

/* Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}

.photo-card { border-radius: var(--r-lg); overflow: hidden; cursor: pointer; }
.photo-card.large { grid-column: span 2; }
.photo-card.tall  { grid-row: span 2; }
.photo-card.wide  { grid-column: span 2; }

.photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--g);
  position: relative;
  transition: transform 0.45s var(--ease);
}

.photo-card:hover .photo-placeholder { transform: scale(1.04); }

.photo-overlay {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.photo-card:hover .photo-overlay { opacity: 1; }

.photo-cat-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--photo);
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(244,165,80,0.3);
  border-radius: 6px;
  padding: 3px 9px;
  margin-bottom: 6px;
  align-self: flex-start;
}

.photo-overlay h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.photo-overlay p {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}

/* CTA row */
.photo-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 60px;
  padding: 36px 40px;
  background: linear-gradient(120deg, rgba(244,165,80,0.06) 0%, transparent 60%);
  border: 1px solid rgba(244,165,80,0.12);
  border-radius: var(--r-xl);
  flex-wrap: wrap;
}

.photo-cta-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--text-0);
  margin-bottom: 6px;
}

.photo-cta-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ===================================================================
   SKILLS
   =================================================================== */
.skills-split {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 40px;
  align-items: start;
}

.skills-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.tech-header  { color: var(--tech); border-bottom-color: rgba(0,200,248,0.18); }
.photo-header { color: var(--photo); border-bottom-color: rgba(244,165,80,0.18); }
.tech-header svg  { stroke: var(--tech); width: 20px; height: 20px; }
.photo-header svg { stroke: var(--photo); width: 20px; height: 20px; }

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-pill {
  display: inline-block;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  background: var(--tech-dim);
  border: 1px solid rgba(0,200,248,0.14);
  color: var(--tech);
  cursor: default;
  transition: background 0.2s, transform 0.2s;
}

.skill-pill:hover {
  background: var(--tech-mid);
  transform: translateY(-1px);
}

.photo-pill {
  background: var(--photo-dim);
  border-color: rgba(244,165,80,0.14);
  color: var(--photo);
}

.photo-pill:hover { background: var(--photo-mid); }

/* Divider column */
.skills-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  min-height: 200px;
}

.divider-line {
  width: 1px;
  flex: 1;
  background: var(--border-mid);
}

.divider-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
}

.divider-icon svg {
  width: 16px; height: 16px;
  stroke: var(--text-3);
}

/* ===================================================================
   CONTACT
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-intro {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.contact-item:hover {
  background: var(--bg-card);
  border-color: var(--border);
}

.contact-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.contact-item:hover .contact-icon {
  background: var(--tech-dim);
  border-color: rgba(0,200,248,0.2);
}

.contact-icon svg { width: 17px; height: 17px; stroke: var(--tech); }

.contact-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2px;
}

.contact-value {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-0);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-xl);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--border-mid);
  border-radius: var(--r);
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--text-0);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select { cursor: pointer; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--tech);
  box-shadow: 0 0 0 3px rgba(0,200,248,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }

.form-group select option { background: var(--bg-2); }

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 44px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-0);
  letter-spacing: -0.01em;
}

.footer-sub {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 2px;
}

.footer-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.footer-nav a {
  padding: 7px 12px;
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}

.footer-nav a:hover { color: var(--text-0); background: var(--border); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12.5px;
  color: var(--text-3);
}

.footer-social {
  display: flex;
  gap: 6px;
}

.footer-social a {
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  background: var(--border);
  border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  background: var(--tech-dim);
  border-color: rgba(0,200,248,0.2);
  color: var(--tech);
}

.footer-social svg { width: 16px; height: 16px; }

/* ===================================================================
   REVEAL ANIMATIONS
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   RESPONSIVE — Tablet
   =================================================================== */
@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    max-width: 320px;
  }

  .hero-portrait-wrap { display: none; }

  .career-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .skills-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .skills-divider {
    flex-direction: row;
    min-height: auto;
    height: 38px;
  }

  .divider-line { width: auto; height: 1px; flex: 1; }
}

/* ===================================================================
   RESPONSIVE — Mobile
   =================================================================== */
@media (max-width: 680px) {
  .section { padding: 80px 0; }

  .section-header { margin-bottom: 48px; }

  /* Nav mobile */
  .logo-name { display: none; }
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(6, 6, 15, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
    z-index: 8999;
  }

  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 16px; font-size: 15px; }
  .nav-cta { margin-left: 0 !important; margin-top: 8px; }

  /* Hero */
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-scroll-hint { display: none; }

  /* Photo grid */
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .photo-card.large { grid-column: span 2; }
  .photo-card.tall  { grid-row: span 1; }
  .photo-card.wide  { grid-column: span 2; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  .contact-form { padding: 24px; }

  /* Footer */
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-nav { gap: 2px; }

  /* Photo CTA */
  .photo-cta { flex-direction: column; align-items: flex-start; }
}
