/* ============================================================
   jakpristas.cz — personal website
   Design: minimalist modern, tech-focused
   ============================================================ */

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

/* --- CSS Variables --- */
:root {
  --bg:           #ffffff;
  --bg-surface:   #f8fafc;
  --bg-surface-2: #f1f5f9;
  --border:       #e2e8f0;
  --text:         #0f172a;
  --text-muted:   #64748b;
  --text-light:   #94a3b8;
  --primary:      #1d4ed8;
  --primary-hover:#1e40af;
  --primary-light:#eff6ff;
  --accent:       #3b82f6;
  --success:      #16a34a;
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:       0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:    0 16px 48px rgba(0,0,0,.12);
  --nav-h:        68px;
  --transition:   .2s ease;
  --max-w:        1140px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--primary); color: #fff; }

/* --- Utility --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-surface); }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px;
}
.section-label::before {
  content: ''; display: block; width: 20px; height: 2px; background: var(--primary); border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -.03em;
  color: var(--text); margin-bottom: 16px; line-height: 1.15;
}

.section-desc {
  font-size: 1.0625rem; color: var(--text-muted); max-width: 560px; line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm); font-size: .9375rem;
  font-weight: 600; cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: #fff;
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(29,78,216,.3); }

.btn-secondary {
  background: transparent; color: var(--text); border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* --- Tags / Badges --- */
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 99px;
  font-size: .75rem; font-weight: 600; background: var(--primary-light); color: var(--primary);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.nav.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 32px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  font-weight: 700; font-size: 1rem; letter-spacing: -.01em; color: var(--text);
}
.nav-logo img { width: 34px; height: 34px; }
.nav-logo span { font-weight: 700; }

.nav-links {
  display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center;
}
.nav-links a {
  padding: 6px 14px; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500; color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-light); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.lang-switch { display: flex; align-items: center; gap: 4px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  font-size: .78rem; font-weight: 700; cursor: pointer; background: transparent;
  color: var(--text-muted); letter-spacing: .04em;
  transition: all var(--transition); line-height: 1;
}
.lang-btn img {
  width: 20px; height: 15px; flex-shrink: 0;
  border-radius: 2px; object-fit: cover;
  box-shadow: 0 0 0 .5px rgba(0,0,0,.1);
}
.lang-btn:hover  { border-color: var(--primary); color: var(--primary); }
.lang-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.nav-contact-btn {
  padding: 8px 18px; border-radius: var(--radius-sm); background: var(--primary);
  color: #fff; font-size: .875rem; font-weight: 600;
  transition: all var(--transition);
}
.nav-contact-btn:hover { background: var(--primary-hover); transform: translateY(-1px); }

.menu-btn {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; cursor: pointer; background: none; border: none; padding: 4px;
}
.menu-btn span {
  display: block; height: 2px; background: var(--text); border-radius: 2px;
  transition: all .25s ease;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 999; padding: 24px;
  flex-direction: column; gap: 8px; overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 16px; font-size: 1.0625rem; font-weight: 500; color: var(--text);
  border-radius: var(--radius-sm); border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--primary); background: var(--primary-light); }
.mobile-nav .lang-btn { margin-top: 8px; align-self: flex-start; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--nav-h); overflow: hidden; position: relative;
}

/* subtle grid bg */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
  opacity: .4;
}

.hero > .container { position: relative; z-index: 1; }

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 600; color: var(--success);
  background: #f0fdf4; border: 1px solid #bbf7d0;
  padding: 5px 12px; border-radius: 99px; margin-bottom: 24px;
}
.hero-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.85); }
}

.hero-name {
  font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.04em;
  line-height: 1.05; color: var(--text); margin-bottom: 16px;
}
.hero-name span { color: var(--primary); }

.hero-title {
  font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 400; color: var(--text-muted);
  line-height: 1.6; margin-bottom: 28px; max-width: 480px;
}

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.hero-tag {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 99px; border: 1.5px solid var(--border);
  font-size: .8125rem; font-weight: 500; color: var(--text-muted); background: var(--bg-surface);
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero visual */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
}

.hero-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-lg); max-width: 340px; width: 100%;
}
.hero-card-avatar {
  width: 80px; height: 80px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-light), #dbeafe);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 2rem;
}
.hero-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 4px; }
.hero-card p { font-size: .875rem; color: var(--text-muted); margin-bottom: 20px; }
.hero-card-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; padding-top: 20px;
  border-top: 1px solid var(--border);
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.hero-stat span { font-size: .7rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }

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

.about-photo-wrap {
  position: sticky; top: calc(var(--nav-h) + 24px);
}

.about-photo {
  aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: var(--text-light); margin-bottom: 20px;
  position: relative;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: .875rem; text-align: center; padding: 24px;
}
.about-photo-placeholder svg { opacity: .4; }

.about-quick { display: flex; flex-direction: column; gap: 10px; }
.about-quick-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .875rem; color: var(--text-muted);
}
.about-quick-item svg { color: var(--primary); flex-shrink: 0; }

/* About content */
.about-bio {
  font-size: 1.0625rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 32px;
}
.about-bio p + p { margin-top: 14px; }

.about-section-title {
  font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.about-section-title::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* Skills */
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
.skill-item { }
.skill-header { display: flex; justify-content: space-between; font-size: .8125rem; font-weight: 500; margin-bottom: 6px; }
.skill-header span:last-child { color: var(--text-muted); }
.skill-bar { height: 5px; background: var(--bg-surface-2); border-radius: 99px; overflow: hidden; }
.skill-fill {
  height: 100%; background: var(--primary); border-radius: 99px;
  width: 0; transition: width 1s ease;
}
.skill-fill.animated { width: var(--w); }

/* Experience timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid; grid-template-columns: auto 1fr; gap: 0 20px;
  padding-bottom: 32px; position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-line {
  display: flex; flex-direction: column; align-items: center;
}
.timeline-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--primary);
  border: 2px solid var(--bg); box-shadow: 0 0 0 2px var(--primary); flex-shrink: 0; margin-top: 4px;
}
.timeline-connector {
  flex: 1; width: 2px; background: var(--border); margin-top: 4px; margin-bottom: -4px;
}
.timeline-item:last-child .timeline-connector { display: none; }
.timeline-content { padding-bottom: 4px; }
.timeline-period {
  font-size: .75rem; font-weight: 600; color: var(--primary);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px;
}
.timeline-role { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.timeline-company { font-size: .875rem; color: var(--text-muted); margin-bottom: 8px; }
.timeline-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

.about-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 24px; }
.portfolio-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 6px 16px; border-radius: 99px; font-size: .8125rem; font-weight: 600;
  border: 1.5px solid var(--border); background: transparent; cursor: pointer;
  color: var(--text-muted); transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--primary); color: var(--primary); background: var(--primary-light);
}

/* ── CAROUSEL ── */
.carousel-outer {
  position: relative;
}
.carousel-wrapper {
  overflow: hidden;
  container-type: inline-size;
}
.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}
/* Mobil: 1 karta = plná šířka kontejneru */
.carousel-track .project-card,
.carousel-track .blog-card {
  flex-shrink: 0;
  width: 100cqi;
}
/* Desktop: 3 karty vedle sebe */
@container (min-width: 700px) {
  .carousel-track .project-card,
  .carousel-track .blog-card {
    width: calc((100cqi - 48px) / 3);
  }
}
.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 2px solid var(--border);
  color: var(--text); font-size: 1.2rem;
  cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
  transition: all .2s;
}
.carousel-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.carousel-btn:disabled { opacity: .3; cursor: not-allowed; }
.carousel-btn:disabled:hover { background: #fff; border-color: var(--border); color: var(--text); }
.carousel-btn.prev { left: -22px; }
.carousel-btn.next { right: -22px; }
.carousel-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 24px;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer;
  transition: background .2s, transform .2s;
}
.carousel-dot.active { background: var(--primary); transform: scale(1.3); }
.carousel-dots:has(.carousel-dot:only-child) { display: none; }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.project-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--bg); transition: all .25s ease; display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c7d7fd; }

.project-thumb {
  aspect-ratio: 16/9; background: linear-gradient(135deg, #dbeafe, #eff6ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; border-bottom: 1px solid var(--border); overflow: hidden;
  position: relative;
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-thumb-icon { font-size: 3rem; opacity: .5; }

.project-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.project-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.3; }
.project-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }
.project-features {
  list-style: none; padding: 0; margin: 10px 0 0;
  display: flex; flex-direction: column; gap: 5px; flex: 1;
}
.project-features li {
  font-size: .78rem; color: var(--text-muted); line-height: 1.5;
  padding: 5px 10px; background: var(--bg); border-radius: 6px;
  border-left: 3px solid var(--primary);
}
.project-features li strong { color: var(--text); }
.project-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
}
.project-link {
  font-size: .8125rem; font-weight: 600; color: var(--primary);
  display: flex; align-items: center; gap: 4px;
}
.project-link:hover { text-decoration: underline; }
.project-link svg { transition: transform var(--transition); }
.project-link:hover svg { transform: translate(2px, -2px); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.blog-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--bg); transition: all .25s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c7d7fd; }

.blog-thumb {
  aspect-ratio: 16/9; background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; border-bottom: 1px solid var(--border);
}

.blog-body { padding: 20px; }
.blog-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.blog-date { font-size: .75rem; color: var(--text-light); }
.blog-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-light); }
.blog-cat { font-size: .75rem; font-weight: 600; color: var(--primary); }
.blog-title { font-size: .9375rem; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.blog-excerpt { font-size: .8125rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.blog-read-more { font-size: .8125rem; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 4px; }
.blog-read-more:hover { text-decoration: underline; }

.blog-cta { text-align: center; margin-top: 48px; }

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

.contact-info-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.contact-info-desc { font-size: .9375rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }

.contact-methods { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-method {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg-surface); transition: border-color var(--transition);
}
.contact-method:hover { border-color: #c7d7fd; }
.contact-method-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  color: var(--primary); flex-shrink: 0;
}
.contact-method-label { font-size: .75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.contact-method-value { font-size: .9375rem; font-weight: 500; color: var(--text); }

.contact-social { display: flex; gap: 10px; }
.social-link {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--transition);
}
.social-link:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* Form */
.contact-form-wrap {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .8125rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--bg-surface);
  font-size: .9375rem; font-family: inherit; color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary); background: var(--bg);
  box-shadow: 0 0 0 3px rgba(29,78,216,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit { width: 100%; padding: 13px; font-size: 1rem; font-weight: 600; }
.form-note { font-size: .8rem; color: var(--text-muted); text-align: center; margin-top: 10px; }

.form-success {
  display: none; padding: 14px; border-radius: var(--radius-sm);
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d;
  font-size: .9rem; font-weight: 500; text-align: center; margin-top: 12px;
}
.form-success.visible { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--text); color: #e2e8f0;
  padding: 48px 0 28px;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 24px;
}
.footer-brand { }
.footer-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-weight: 700; font-size: 1rem; color: #fff;
}
.footer-logo img { width: 32px; height: 32px; filter: brightness(0) invert(1); opacity: .9; }
.footer-desc { font-size: .875rem; color: #94a3b8; line-height: 1.7; max-width: 280px; }

.footer-col h4 { font-size: .8125rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: .875rem; color: #94a3b8; transition: color var(--transition); }
.footer-col ul a:hover { color: #fff; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8125rem; color: #64748b; gap: 16px; flex-wrap: wrap;
}
.footer-bottom a { color: #64748b; }
.footer-bottom a:hover { color: #94a3b8; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrap { position: static; display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
  .about-photo { aspect-ratio: 1; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-title { margin: 0 auto 28px; }
  .hero-tags { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-links, .nav-contact-btn { display: none; }
  .menu-btn { display: flex; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .carousel-btn.prev { left: 8px; }
  .carousel-btn.next { right: 8px; }
  .skills-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .portfolio-header { flex-direction: column; align-items: flex-start; }
  .about-photo-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .contact-form-wrap { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
