@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ========================================
   VARIABLES & RESET
======================================== */
:root {
  --bg: #080808;
  --surface: #111111;
  --surface-2: #181818;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.15);
  --red: #e63333;
  --red-dim: rgba(230, 51, 51, 0.15);
  --text: #f0f0f0;
  --text-muted: #888888;
  --text-dim: #444444;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

/* ========================================
   CURSOR
======================================== */
.cursor-dot, .cursor-outline {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--red);
}
.cursor-outline {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(230, 51, 51, 0.45);
  transition: transform 0.1s ease-out, opacity 0.3s;
}

/* ========================================
   NAVIGATION
======================================== */
nav {
  position: fixed;
  top: 0; width: 100%;
  z-index: 1000;
  padding: 22px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  transition: padding 0.3s, border-color 0.3s;
}
nav.scrolled {
  padding: 15px 6%;
  border-bottom-color: var(--border);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}
.nav-logo span { color: var(--red); }

.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-contact {
  padding: 9px 22px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.3s;
  background: transparent;
  cursor: pointer;
}
.nav-contact:hover {
  background: var(--red);
  border-color: var(--red);
}

/* ========================================
   BUTTONS
======================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: #cc2929;
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-outline:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ========================================
   SECTION UTILITIES
======================================== */
section { padding: 120px 6%; }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 20px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
}
.section-title em {
  font-style: italic;
  color: var(--text-muted);
}
.section-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 460px;
}
.divider {
  height: 1px;
  background: var(--border);
  margin: 0 6%;
}

/* ========================================
   HOME – HERO
======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 6%;
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -300px; right: -300px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(230,51,51,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--red);
}
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3.2rem, 7.5vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 0.95;
  margin-bottom: 32px;
}
.hero h1 em {
  font-style: italic;
  color: var(--text-muted);
  font-weight: 700;
}
.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.85;
  margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 44px; left: 6%;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.scroll-line {
  width: 36px; height: 1px;
  background: var(--text-dim);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { width: 36px; opacity: 0.5; }
  50% { width: 16px; opacity: 1; }
}

/* HOME – STATS */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  gap: 1px;
  background: var(--border);
  margin-top: 100px;
}
.stat-item {
  background: var(--bg);
  padding: 40px 28px;
  text-align: center;
  transition: background 0.3s;
}
.stat-item:hover { background: var(--surface); }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1px;
}
.stat-num span { color: var(--red); }
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* HOME – PROJECTS PREVIEW */
.home-projects { padding: 120px 6%; }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s;
  cursor: pointer;
  position: relative;
}
.bento-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
}
.bento-card.col-7 { grid-column: span 7; }
.bento-card.col-5 { grid-column: span 5; }
.bento-card.col-4 { grid-column: span 4; }
.bento-card.col-8 { grid-column: span 8; }

.bento-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bento-img-label {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  letter-spacing: -2px;
  user-select: none;
}
.bento-content { padding: 22px 24px 24px; }
.bento-chip {
  font-size: 0.68rem;
  color: var(--red);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.bento-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.bento-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.bento-arrow {
  position: absolute;
  bottom: 22px; right: 22px;
  width: 34px; height: 34px;
  background: var(--surface-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background 0.3s;
}
.bento-card:hover .bento-arrow { background: var(--red); }

/* ========================================
   ABOUT PAGE
======================================== */
.page-hero {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 130px 6% 80px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 6.5vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 0.95;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--text-muted);
}
.page-hero p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-top: 20px;
  line-height: 1.8;
}

.about-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  padding: 100px 6%;
  align-items: start;
}
.about-photo-col { position: sticky; top: 100px; }
.photo-frame {
  aspect-ratio: 3/4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder-icon {
  font-size: 5rem;
  opacity: 0.08;
}
.about-name-card {
  margin-top: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.about-name-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}
.about-name-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-content { display: flex; flex-direction: column; gap: 64px; }
.about-block h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.about-block p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.95;
  margin-bottom: 14px;
}

.hobbies-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.hobby-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.84rem;
  color: var(--text-muted);
  transition: all 0.3s;
}
.hobby-pill:hover {
  border-color: var(--red);
  color: var(--text);
}
.hobby-pill .icon { font-size: 1rem; }

/* CV download card */
.cv-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  flex-wrap: wrap;
}
.cv-card-icon {
  width: 52px; height: 52px;
  background: var(--red-dim);
  border: 1px solid rgba(230,51,51,0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.cv-card-text h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}
.cv-card-text p { font-size: 0.82rem; color: var(--text-muted); margin-top: 3px; }
.cv-card-actions { display: flex; gap: 10px; margin-left: auto; flex-wrap: wrap; }

/* ========================================
   SKILLS SECTION
======================================== */
.skills-section {
  padding: 100px 6%;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 56px;
}
.skills-col h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.skill-row { margin-bottom: 22px; }
.skill-row-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.88rem;
}
.skill-level-label { font-size: 0.75rem; color: var(--text-dim); }
.skill-bar {
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), #ff6b6b);
  border-radius: 2px;
  width: 0;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.soft-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.soft-pill {
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ========================================
   PROJECTS PAGE
======================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
  padding: 100px 6%;
}
.project-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s;
}
.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
}
.project-card.featured {
  grid-column: span 2;
}
.project-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.project-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.4s, transform 0.4s;
}
.project-card:hover .project-thumb img {
  opacity: 0.9;
  transform: scale(1.04);
}
.thumb-label {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  letter-spacing: -2px;
  user-select: none;
}
.project-body { padding: 28px; }
.project-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.chip {
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-dim);
}
.chip.highlight {
  border-color: rgba(230,51,51,0.3);
  color: rgba(230, 51, 51, 0.75);
}
.project-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.project-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.read-more {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: color 0.3s;
}
.project-card:hover .read-more { color: var(--red); }

/* ========================================
   PROJECT DETAIL PAGE
======================================== */
.detail-hero {
  padding: 150px 6% 80px;
  border-bottom: 1px solid var(--border);
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  transition: color 0.3s;
}
.back-btn:hover { color: var(--text); }
.detail-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.0;
  margin-bottom: 28px;
}
.detail-meta {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.meta-block label {
  display: block;
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.meta-block span { font-size: 0.9rem; color: var(--text-muted); }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  padding: 80px 6%;
  align-items: start;
}
.detail-main h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
  margin-top: 52px;
}
.detail-main h2:first-child { margin-top: 0; }
.detail-main p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.95;
  margin-bottom: 14px;
}
.detail-main ul {
  padding-left: 18px;
  color: var(--text-muted);
  line-height: 2.1;
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.visual-block {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px 0;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.visual-block-icon { font-size: 2rem; opacity: 0.2; }

.detail-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.sidebar-widget h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 6px 13px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.pill.hard {
  border-color: rgba(230,51,51,0.25);
  color: rgba(230, 51, 51, 0.75);
}

/* ========================================
   CV PAGE
======================================== */
.cv-page { padding: 130px 6% 100px; }
.cv-page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}
.cv-page-top h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
}
.cv-page-actions { display: flex; gap: 10px; }
.cv-document {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  padding: 64px;
}

/* CV Document Styles */
.cv-header-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}
.cv-name-block h1 {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
}
.cv-name-block h1 span { color: var(--red); }
.cv-name-block .cv-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 10px;
}
.cv-contact-block {
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 2;
}
.cv-contact-block a { color: var(--text-muted); transition: color 0.3s; }
.cv-contact-block a:hover { color: var(--red); }

.cv-section { margin-bottom: 44px; }
.cv-section-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--red);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.cv-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 32px;
  align-items: start;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.cv-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.cv-item h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.cv-item .cv-org { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 6px; }
.cv-item .cv-detail { font-size: 0.82rem; color: var(--text-dim); line-height: 1.65; }
.cv-date {
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
  padding-top: 3px;
  text-align: right;
}
.cv-skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cv-skill-entry { display: flex; flex-direction: column; gap: 6px; }
.cv-skill-entry-name { font-size: 0.84rem; }
.cv-mini-bar { height: 2px; background: var(--border); border-radius: 1px; }
.cv-mini-fill { height: 100%; background: var(--red); border-radius: 1px; }

/* ========================================
   FOOTER
======================================== */
footer {
  padding: 36px 6%;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer p { font-size: 0.82rem; color: var(--text-dim); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.82rem; color: var(--text-dim); transition: color 0.3s; }
.footer-links a:hover { color: var(--text); }

/* ========================================
   SCROLL REVEAL
======================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-photo-col { position: static; max-width: 280px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .bento-card { grid-column: span 12 !important; }
  .project-card.featured { grid-column: span 1; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: 1fr; gap: 40px; }
  .cv-document { padding: 36px; }
  .cv-skills-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  nav { padding: 15px 5%; }
  .nav-links, .nav-contact { display: none; }
  section { padding: 80px 5%; }
  .page-hero { padding: 110px 5% 60px; }
  .about-layout { padding: 60px 5%; }
  .projects-grid { padding: 60px 5%; grid-template-columns: 1fr; }
  .detail-hero { padding: 110px 5% 60px; }
  .detail-layout { padding: 60px 5%; }
  .cv-page { padding: 100px 5% 60px; }
  .cv-document { padding: 24px; }
  .cv-header-block { flex-direction: column; }
  .cv-contact-block { text-align: left; }
  .cv-item { grid-template-columns: 1fr; }
  .cv-date { text-align: left; }
  .cv-skills-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .home-projects { padding: 80px 5%; }
  .hero { padding: 0 5%; padding-top: 80px; }
  footer { padding: 28px 5%; }
  .divider { margin: 0 5%; }
}
