/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink-100: #eceef2;
  --ink-200: #d5d9e2;
  --ink-300: #b0b7c7;
  --ink-400: #8590a8;
  --ink-500: #67738d;
  --ink-600: #525c74;
  --ink-800: #3a4050;
  --ink-900: #0a0c12;
  --ink-950: #05060a;

  --brand-300: #fdba74;
  --brand-400: #fb923c;
  --brand-500: #f97316;
  --brand-600: #ea580c;
  --brand-700: #c2410c;

  --accent-300: #fcd34d;
  --accent-400: #fbbf24;

  --sidebar-w: 340px;

  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background: var(--ink-950);
  color: var(--ink-100);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
}

::selection { background: rgba(249,115,22,0.3); color: #fff; }

h3 { font-size: 1.25rem; font-weight: 600; color: #fff; }

a { text-decoration: none; color: inherit; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

.relative { position: relative; }
.text-center { text-align: center; }

/* ===== Two-Column Layout ===== */
.layout {
  display: flex;
  align-items: flex-start;
  max-width: 100rem;
  margin: 0 auto;
  position: relative;
}

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  display: none;
  z-index: 30;
  border-right: 1px solid rgba(255,255,255,0.06);
}
@media (min-width: 1024px) {
  .sidebar { display: block; }
}

.sidebar-inner {
  height: 100%;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-800) transparent;
}
.sidebar-inner::-webkit-scrollbar { width: 4px; }
.sidebar-inner::-webkit-scrollbar-track { background: transparent; }
.sidebar-inner::-webkit-scrollbar-thumb { background: var(--ink-800); border-radius: 9999px; }

.sidebar-glow {
  position: absolute;
  top: 0;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(234,88,12,0.12);
  filter: blur(100px);
  pointer-events: none;
}

.main-content {
  flex: 1;
  min-width: 0;
}
@media (min-width: 1024px) {
  .main-content {
    margin-left: var(--sidebar-w);
  }
}

/* ===== Profile Image ===== */
.profile-image-wrap {
  position: relative;
  margin-bottom: 1.5rem;
}

.profile-image-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--brand-500), var(--accent-400), var(--brand-300), var(--brand-600), var(--brand-500));
  opacity: 0.6;
  animation: spinRing 8s linear infinite;
}

@keyframes spinRing {
  to { transform: rotate(360deg); }
}

.profile-image {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--ink-950);
  background: var(--ink-900);
}
.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Profile Info ===== */
.profile-info {
  margin-bottom: 1.5rem;
}
.profile-name {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.25rem;
}
.profile-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-300);
  min-height: 1.25rem;
}

/* ===== Profile Meta ===== */
.profile-meta {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: 100%;
  margin-bottom: 1.5rem;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--ink-300);
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  transition: all 0.3s ease;
}
.meta-item:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: var(--ink-100);
}
.meta-item svg {
  flex-shrink: 0;
  color: var(--brand-400);
}

/* ===== Sidebar Social ===== */
.sidebar-social {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.social-btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--ink-300);
  transition: all 0.3s ease;
}
.social-btn:hover {
  border-color: rgba(251,146,60,0.4);
  background: rgba(249,115,22,0.1);
  color: var(--brand-300);
  transform: translateY(-2px);
}

/* ===== Sidebar CTA ===== */
.sidebar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(249,115,22,0.25);
  transition: all 0.3s ease;
}
.sidebar-cta:hover {
  background: linear-gradient(135deg, var(--brand-400), var(--brand-500));
  box-shadow: 0 10px 20px -3px rgba(251,146,60,0.4);
  transform: translateY(-2px);
}
.sidebar-cta svg { transition: transform 0.3s ease; }
.sidebar-cta:hover svg { transform: translate(2px, -2px); }

/* ===== Sections ===== */
.section {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
  scroll-margin-top: 5rem;
  overflow-x: clip;
}
@media (min-width: 640px) {
  .section { padding-top: 5rem; padding-bottom: 5rem; }
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-top: 0.75rem;
  overflow-wrap: break-word;
}

.section-subtitle {
  max-width: 36rem;
  margin: 1rem auto 0;
  text-align: center;
  color: var(--ink-300);
}

/* ===== Text Gradients ===== */
.text-gradient {
  background: linear-gradient(to right, #fff, #fff, var(--ink-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.text-gradient-brand {
  background: linear-gradient(to right, var(--brand-300), var(--accent-400), var(--brand-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== Section Label ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-300);
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  background: var(--brand-500);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(249,115,22,0.25);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: var(--brand-400);
  box-shadow: 0 10px 15px -3px rgba(251,146,60,0.4);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-100);
  transition: all 0.3s ease;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ===== Backgrounds ===== */
.grid-bg {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.dot-bg {
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 22px 22px;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
}
.ambient-bg::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: min(900px, 90vw);
  height: 600px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(194,65,12,0.1);
  filter: blur(140px);
}
.ambient-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(217,119,6,0.05);
  filter: blur(120px);
}

.section-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
}

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Fade Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.fade-in { animation: fadeIn 0.8s ease-out forwards; }
.fade-up { animation: fadeUp 0.7s ease-out forwards; }
.fade-up-delay { opacity: 0; animation: fadeUp 0.7s ease-out 0.12s forwards; }
.fade-up-delay-2 { opacity: 0; animation: fadeUp 0.7s ease-out 0.22s forwards; }

/* ===== Mobile Navbar ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.5s ease;
}
@media (min-width: 1024px) {
  #header { display: none; }
}
#header.scrolled {
  background: rgba(5,6,10,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
#header.scrolled .header-glow { opacity: 1; }
.header-glow-1 {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(700px, 90vw);
  height: 160px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(234,88,12,0.2);
  filter: blur(80px);
}
.header-glow-2 {
  position: absolute;
  right: 25%;
  top: 0;
  width: 224px;
  height: 112px;
  border-radius: 50%;
  background: rgba(245,158,11,0.1);
  filter: blur(70px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  position: relative;
}

.logo { display: flex; align-items: center; gap: 0.625rem; flex: 1; }
.logo-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, var(--brand-500), var(--brand-700));
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(249,115,22,0.3);
}
.logo-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-link {
  position: relative;
  border-radius: 0.5rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(to right, var(--brand-400), var(--accent-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link.active { color: #fff; }
.nav-link.active::after { transform: scaleX(1); }

.nav-cta { display: none; }
@media (min-width: 768px) {
  .nav-cta { display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; flex: 1; }
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--ink-200);
  cursor: pointer;
}
@media (min-width: 768px) {
  .menu-toggle { display: none; }
}

.scroll-progress {
  height: 1px;
  width: 100%;
  background: transparent;
}
.scroll-progress-bar {
  height: 1px;
  transform-origin: left;
  background: linear-gradient(to right, var(--brand-400), var(--accent-400), var(--brand-500));
  width: 0;
  transition: width 0.15s ease;
}

.mobile-menu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.3s ease;
}
@media (min-width: 768px) {
  .mobile-menu { display: none; }
}
.mobile-menu.open {
  max-height: 24rem;
  opacity: 1;
}
.mobile-link {
  display: block;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  transition: all 0.2s ease;
}
.mobile-link:hover {
  background: rgba(255,255,255,0.05);
}
.mobile-cta {
  margin-top: 0.5rem;
  width: 100%;
}
.mobile-menu-inner {
  padding: 0.75rem 0 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(5,6,10,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .mobile-menu-inner { padding-left: 2rem; padding-right: 2rem; }
}

/* ===== Desktop Sidebar Nav (inline) ===== */
@media (min-width: 1024px) {
  .nav-links, .nav-cta, .menu-toggle, .mobile-menu { display: none !important; }
  .nav-bar { justify-content: center; }
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 12rem;
  padding-bottom: 4rem;
}
@media (min-width: 640px) {
  .hero-section { padding-top: 12rem; padding-bottom: 5rem; }
}
@media (min-width: 1024px) {
  .hero-section { padding-top: 5rem; }
}
.hero-glow-1 {
  position: absolute;
  top: -8rem;
  left: 10%;
  width: min(620px, 70vw);
  height: 400px;
  border-radius: 50%;
  background: rgba(234,88,12,0.18);
  filter: blur(120px);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  top: 3rem;
  right: 0;
  width: 256px;
  height: 256px;
  border-radius: 50%;
  background: rgba(245,158,11,0.1);
  filter: blur(100px);
  pointer-events: none;
}
.hero-content {
  max-width: 42rem;
}
.hero-content h2 {
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-top: 1.25rem;
  overflow-wrap: break-word;
}
.hero-desc {
  max-width: 36rem;
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-300);
}

/* ===== Mobile Profile Image (in hero) ===== */
.hero-profile-mobile {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}
@media (min-width: 1024px) {
  .hero-profile-mobile { display: none; }
}
.hero-profile-img {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--ink-950);
  background: var(--ink-900);
}
.hero-profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1023px) {
  .hero-content {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 640px) {
  .hero-desc { font-size: 1.125rem; }
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
@media (max-width: 1023px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
}
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}

.cursor {
  display: inline-block;
  margin-left: 0.125rem;
  width: 2px;
  height: 1em;
  transform: translateY(0.1em);
  background: var(--accent-400);
  vertical-align: middle;
  animation: blink 1.1s step-end infinite;
}

/* ===== Skills Grid ===== */
.skills-grid {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid > .service-card:last-child { grid-column: 1 / -1; }
}
.service-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-width: 0;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  padding: 1.5rem;
  transition: all 0.7s ease;
}
@media (min-width: 640px) {
  .service-card { padding: 1.75rem; }
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.3);
}
.service-glow {
  position: absolute;
  top: -2.5rem;
  right: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.6;
  transition: opacity 0.5s ease;
}
.service-card:hover .service-glow { opacity: 1; }
.service-inner { position: relative; }
.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.service-category {
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-300);
}
.service-arrow {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--ink-300);
  transition: all 0.3s ease;
}
.service-card:hover .service-arrow {
  border-color: rgba(251,146,60,0.4);
  background: rgba(249,115,22,0.1);
  color: var(--brand-300);
}
.service-card:hover .service-arrow svg {
  transform: translate(2px, -2px);
}
.service-arrow svg { transition: transform 0.3s ease; }
.service-inner h3 { margin-top: 1.25rem; overflow-wrap: break-word; }
.service-inner p {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--ink-300);
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.tag {
  border-radius: 0.375rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  padding: 0.25rem 0.625rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-300);
}
.service-metric {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-400);
}

/* ===== Timeline ===== */
.timeline {
  max-width: 48rem;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.timeline-item {
  position: relative;
  padding-left: 3rem;
}
@media (min-width: 640px) {
  .timeline-item { padding-left: 4rem; }
}
.timeline-node {
  position: absolute;
  left: 0;
  top: 0.25rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--ink-900);
  color: var(--brand-300);
  box-shadow: 0 10px 15px -3px rgba(194,65,12,0.4);
}
.timeline-node::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}
.timeline-connector {
  position: absolute;
  left: 18px;
  top: 3rem;
  height: calc(100% - 4rem);
  width: 1px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.15), transparent);
}
.timeline-card {
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  padding: 1.5rem;
  transition: all 0.5s ease;
  overflow-wrap: break-word;
}
@media (min-width: 640px) {
  .timeline-card { padding: 1.75rem; }
}
.timeline-card:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.3);
}
.timeline-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .timeline-head {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.25rem 1rem;
  }
}
.timeline-company {
  margin-top: 0.125rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-300);
}
.timeline-meta {
  text-align: left;
  font-size: 0.75rem;
  color: var(--ink-400);
}
@media (min-width: 640px) {
  .timeline-meta { text-align: right; }
}
.timeline-period {
  font-family: var(--font-mono);
  color: var(--ink-300);
}
.timeline-location {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  margin-top: 0.125rem;
}
@media (min-width: 640px) {
  .timeline-location { justify-content: flex-end; }
}
.timeline-desc {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--ink-300);
}
.timeline-highlights {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.timeline-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--ink-300);
}
.timeline-highlights svg {
  margin-top: 0.125rem;
  flex-shrink: 0;
  color: var(--accent-400);
}

/* ===== Testimonials ===== */
.testimonials-grid {
  max-width: 56rem;
  margin: 3rem auto 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  padding: 1.5rem;
  transition: all 0.7s ease;
}
@media (min-width: 640px) {
  .testimonial-card { padding: 1.75rem; }
}
.testimonial-card:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  transform: translateY(-3px);
}
.testimonial-card blockquote {
  margin-top: 1rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--ink-200);
  overflow-wrap: break-word;
}
.testimonial-card figcaption {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}
.testimonial-title {
  font-size: 0.75rem;
  color: var(--ink-400);
}

/* ===== Competencies Chips ===== */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 56rem;
  margin: 3rem auto 0;
}
@media (min-width: 640px) {
  .chips { gap: 1rem; }
}
.chip {
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-200);
  transition: all 0.5s ease;
}
.chip:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(251,146,60,0.4);
  background: rgba(249,115,22,0.1);
  color: #fff;
  box-shadow: 0 8px 16px -4px rgba(249,115,22,0.2);
}

/* ===== Hobbies ===== */
.hobbies-section { overflow: hidden; }
.hobbies-grid {
  max-width: 64rem;
  margin: 3.5rem auto 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .hobbies-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .hobbies-grid { grid-template-columns: repeat(4, 1fr); }
}
.hobby-card {
  position: relative;
  min-width: 0;
  transition: all 0.5s ease;
}
.hobby-card .hobby-inner {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  padding: 1.5rem;
  transition: all 0.5s ease;
}
.hobby-card:hover .hobby-inner {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
}
.hobby-glow {
  position: absolute;
  top: -2rem;
  right: 0;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hobby-card:hover .hobby-glow { opacity: 1; }
.hobby-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--accent-300, #fcd34d);
  margin-bottom: 1rem;
  transition: all 0.5s ease;
}
.hobby-card:hover .hobby-icon {
  transform: scale(1.1) rotate(-5deg);
  border-color: rgba(251,191,36,0.4);
  color: var(--accent-400);
}
.hobby-card h3 { position: relative; font-size: 1.125rem; }
.hobby-card p {
  position: relative;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--ink-300);
}

/* ===== Contact ===== */
.contact-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  padding: 2rem;
}
@media (min-width: 640px) {
  .contact-card { padding: 3rem; }
}
.contact-glow-1 {
  position: absolute;
  top: -5rem;
  left: 0;
  width: 288px;
  height: 288px;
  border-radius: 50%;
  background: rgba(234,88,12,0.2);
  filter: blur(100px);
  pointer-events: none;
}
.contact-glow-2 {
  position: absolute;
  bottom: -6rem;
  right: 0;
  width: 288px;
  height: 288px;
  border-radius: 50%;
  background: rgba(245,158,11,0.15);
  filter: blur(100px);
  pointer-events: none;
}
.contact-dot-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
}
.contact-inner {
  max-width: 42rem;
  margin: 0 auto;
}
.contact-desc {
  max-width: 28rem;
  margin: 1.25rem auto 0;
  text-align: center;
  color: var(--ink-300);
}
.contact-form {
  max-width: 42rem;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-row { grid-template-columns: repeat(2, 1fr); }
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-200);
}
.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #fff;
  outline: none;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink-500);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(251,146,60,0.5);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.form-submit-btn {
  align-self: stretch;
  margin-top: 0.5rem;
  cursor: pointer;
  border: none;
}
@media (min-width: 640px) {
  .form-submit-btn { align-self: flex-start; }
}
.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.form-status {
  font-size: 0.875rem;
  line-height: 1.5;
  min-height: 1.25rem;
  white-space: pre-line;
}
.form-status:empty { display: none; }
.form-success {
  color: var(--brand-400);
  display: flex;
  align-items: flex-start;
}
.form-error {
  color: #f87171;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; }
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--ink-500);
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--ink-300);
  transition: all 0.3s ease;
}
.back-to-top:hover {
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.back-to-top svg {
  transition: transform 0.3s ease;
}
.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-950); }
::-webkit-scrollbar-thumb {
  background: var(--ink-800);
  border-radius: 9999px;
  border: 2px solid var(--ink-950);
}
::-webkit-scrollbar-thumb:hover { background: var(--ink-600); }
