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

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #111; color: #fff; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  --dark:   #111111;
  --dark2:  #1a1a1a;
  --light:  #f4f4f2;
  --light2: #e8e8e6;
  --white:  #ffffff;
  --black:  #111111;
  --muted:  rgba(255,255,255,0.55);
  --muted-dark: rgba(0,0,0,0.45);
  --accent: #ffffff;
  --orange: #f97316;
  --nav-h:  72px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ══════════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════════ */
/* Prevent backdrop-filter from animating in on page load */
html.preload .nav { transition: none !important; }

.nav {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 100; display: flex; align-items: center; gap: 4px;
  padding: 6px; border-radius: 100px; width: max-content;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.nav--light {
  background: rgba(244,244,242,0.82);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border: 1px solid rgba(0,0,0,0.09);
  box-shadow: 0 4px 28px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
}
.nav--dark {
  background: rgba(18,18,18,0.55);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border: 1.5px solid var(--orange);
  box-shadow: 0 4px 28px rgba(0,0,0,0.35), 0 0 0 1px rgba(249,115,22,0.15);
}

.nav__logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-size: 15px; letter-spacing: 1px;
  color: #111; padding: 8px 16px; border-radius: 100px; border: none;
  flex-shrink: 0; transition: background var(--transition);
}
.nav__logo:hover { background: rgba(0,0,0,0.07); }
.nav--dark .nav__logo { color: #fff; }
.nav--dark .nav__logo:hover { background: rgba(255,255,255,0.10); }
.nav__logo--img { padding: 4px 10px; background: none; }
.nav__logo--img img { max-height: 30px; width: auto; display: block; object-fit: contain; }
.nav--dark .nav__logo--img img { filter: brightness(0) invert(1); }

.nav__links {
  display: flex; gap: 2px; list-style: none;
  position: static; left: auto; transform: none;
}
.nav__link {
  display: block; padding: 8px 18px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  color: rgba(0,0,0,0.55); white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav__link:hover { background: rgba(0,0,0,0.07); color: #111; }
.nav__link.active { background: #111; color: #fff; }

.nav--dark .nav__link { color: rgba(255,255,255,0.55); }
.nav--dark .nav__link:hover { background: rgba(255,255,255,0.10); color: #fff; }
.nav--dark .nav__link.active { background: var(--orange); color: #fff; }

.nav__right { display: none; }

/* ══════════════════════════════════════════════════════════════
   HOME — FULLSCREEN SLIDER
══════════════════════════════════════════════════════════════ */
.slider {
  width: 100vw; height: 100vh; position: relative; overflow: hidden;
}
/* BG images — live at slider root, animated independently of slides */
.slide__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: 50% center;
  background-color: #222;
  will-change: background-position, opacity;
  z-index: 0;
}
/* Gradient overlay — sits above all BGs, below all content */
.slide__overlay {
  position: absolute; inset: 0; z-index: 10; pointer-events: none;
  background: linear-gradient(to right, rgba(0,0,0,0.97) 0%, rgba(0,0,0,0.82) 40%, rgba(0,0,0,0.1) 100%);
}
/* Content slides — above overlay */
.slide {
  position: absolute; inset: 0; z-index: 20;
  display: flex; align-items: center; padding: 0 0 0 96px;
  pointer-events: none;
  will-change: transform;
}
.slide.active { pointer-events: auto; }
.slide__content {
  position: relative; width: 100%; max-width: 880px;
}
/* Text animates in when slide enters */
.slide.is-entering .slide__content {
  animation: textSlideIn 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}
@keyframes textSlideIn {
  from { transform: translateY(18px); }
  to   { transform: translateY(0); }
}
.slide__label {
  font-size: 14px; font-weight: 700; letter-spacing: 3px;
  color: var(--orange); margin-bottom: 16px; display: block;
}
.slide__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-size: clamp(72px, 10vw, 130px);
  line-height: 0.9; color: #fff; margin-bottom: 28px;
  text-transform: uppercase;
}
.slide__desc {
  font-size: 18px; line-height: 1.65; color: rgba(255,255,255,0.75);
  margin-bottom: 36px; width: 100%;
}
.slide__cta {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 16px; font-weight: 600; letter-spacing: 0.5px; color: #fff;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  will-change: backdrop-filter;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 100px;
  padding: 15px 32px;
  transition: background var(--transition), border-color var(--transition);
}
.slide__cta:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.55);
  opacity: 1;
}
.slide__cta::after { content: '→'; font-size: 16px; }

/* slider controls */
.slider__controls {
  position: absolute; bottom: 32px; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; padding: 0 96px; gap: 24px;
}
.slider__btn {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%; color: #fff; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.slider__btn:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.slider__track {
  flex: 1; display: flex; align-items: center; gap: 16px;
}
.slider__num { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.85); width: 28px; flex-shrink: 0; }
.slider__progress {
  flex: 1; height: 3px; background: rgba(255,255,255,0.2); position: relative; border-radius: 3px;
}
.slider__bar {
  position: absolute; left: 0; top: 0; height: 100%; border-radius: 3px;
  background: #fff; transition: width 0.5s ease;
}
.slider__total { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.4); width: 28px; flex-shrink: 0; text-align: right; }

/* ══════════════════════════════════════════════════════════════
   PORTFOLIO PAGE
══════════════════════════════════════════════════════════════ */
.page-portfolio { background: #eeecea; color: var(--black); }
.page-portfolio .footer { background: #eeecea; border-top-color: rgba(0,0,0,0.06); }

/* Hero */
.portfolio-hero {
  background: linear-gradient(to right, #000 0%, #111 35%, #555 100%);
  color: #fff;
  border-radius: 0 0 48px 48px;
  padding: calc(var(--nav-h) + 80px) 0 80px;
}
.portfolio-hero__inner {
  max-width: 1392px; margin: 0 auto; padding: 0 96px;
}
.portfolio-hero__label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  color: var(--orange); text-transform: uppercase; margin-bottom: 16px;
}
.portfolio-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-size: clamp(48px, 7vw, 96px);
  text-transform: uppercase; line-height: 0.9; margin-bottom: 24px; color: #fff;
}
.portfolio-hero__desc {
  font-size: 15px; color: rgba(255,255,255,0.5); max-width: 520px; line-height: 1.65;
}

/* Filters */
.portfolio-filters {
  max-width: 1392px; margin: 0 auto;
  padding: 32px 96px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.filter-btn {
  padding: 7px 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.4px;
  border: 2px solid rgba(0,0,0,0.12); border-radius: 100px;
  background: #fff; color: rgba(0,0,0,0.45); cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover {
  border-color: var(--cat-color, #111);
  color: var(--cat-color, #111);
  background: #fff;
}
.filter-btn.active {
  background: var(--cat-color, #111);
  border-color: var(--cat-color, #111);
  color: #fff;
}

/* Service banner */
.portfolio-svc-banner {
  max-width: 1392px; margin: 0 auto;
  padding: 0 96px 24px;
}
.svc-banner {
  background: #fff; border-radius: 20px;
  padding: 24px 28px;
  display: flex; align-items: center; gap: 20px;
  border-left: 4px solid var(--svc-color, #111);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.svc-banner__icon { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.svc-banner__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 15px; color: var(--svc-color, #111); margin-bottom: 5px;
}
.svc-banner__desc { font-size: 13px; color: rgba(0,0,0,0.5); line-height: 1.6; }

/* Grid */
.portfolio-grid {
  max-width: 1392px; margin: 0 auto;
  padding: 0 96px 96px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.project-card {
  display: block; cursor: pointer; text-decoration: none;
  border-radius: 20px; overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.22);
}
.project-card__img-wrap {
  position: relative; overflow: hidden; aspect-ratio: 4/3; background: #1a1a1a;
}
.project-card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.4s;
}
.project-card:hover .project-card__img-wrap img { transform: scale(1.06); opacity: 0.8; }
.project-card__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: rgba(255,255,255,0.2);
}
/* Overlay — hidden by default, revealed on hover */
.project-card__overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 200px 28px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.75) 55%, transparent 100%);
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.project-card:hover .project-card__overlay {
  opacity: 1; transform: translateY(0);
}
.project-card__cat {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  color: var(--card-cat-color, var(--orange)); text-transform: uppercase;
}
.project-card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 18px; color: #fff; text-transform: uppercase;
  line-height: 1.2;
}
.portfolio-load-more {
  display: flex; justify-content: center; padding: 0 96px 96px;
}
.btn-outline {
  padding: 14px 40px; border: 1px solid #111; font-size: 13px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: #111; color: #fff; }

/* ══════════════════════════════════════════════════════════════
   PROJECT DETAIL PAGE
══════════════════════════════════════════════════════════════ */
.page-project { background: #eeecea; }
.page-project .footer { background: #eeecea; border-top-color: rgba(0,0,0,0.06); }

/* ── Hero ──────────────────────────────────────────────────── */
.proj-hero {
  position: relative; width: 100%; min-height: 50vh;
  background: #111 center/cover no-repeat fixed;
  display: flex; align-items: flex-end;
}
.proj-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.2) 100%);
}
.proj-hero__content {
  position: relative; z-index: 1;
  max-width: 1392px; width: 100%; margin: 0 auto;
  padding: 0 96px 72px;
  display: flex; flex-direction: column; gap: 14px;
}
.proj-back {
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  color: rgba(255,255,255,0.45); text-transform: uppercase;
  text-decoration: none; margin-bottom: 8px;
  transition: color 0.2s;
}
.proj-back:hover { color: #fff; }
.proj-hero__cat {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase;
}
.proj-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-size: clamp(48px, 6vw, 88px);
  text-transform: uppercase; line-height: 0.95; color: #fff;
}

/* ── Body ──────────────────────────────────────────────────── */
.proj-page { padding-bottom: 96px; }
.proj-inner {
  max-width: 1392px; margin: 0 auto; padding: 0 96px;
}

/* ── Meta card ─────────────────────────────────────────────── */
.proj-meta {
  display: flex; flex-wrap: wrap;
  background: #fff; border-radius: 24px;
  padding: 32px 40px; margin-top: -48px; margin-bottom: 64px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  position: relative; z-index: 2;
}
.proj-meta__item {
  flex: 1; min-width: 120px; padding: 0 36px 0 0;
  border-right: 1px solid rgba(0,0,0,0.07);
  margin-right: 36px;
}
.proj-meta__item:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.proj-meta__label {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(0,0,0,0.35); margin-bottom: 8px;
}
.proj-meta__value { font-size: 15px; font-weight: 600; color: #111; }

/* ── Description ───────────────────────────────────────────── */
.proj-desc {
  font-size: 17px; line-height: 1.8; color: rgba(0,0,0,0.62);
  margin-bottom: 40px;
}
.proj-desc ul { list-style: disc; padding-left: 22px; margin: 8px 0; }
.proj-desc ol { list-style: decimal; padding-left: 22px; margin: 8px 0; }
.proj-desc li { margin: 4px 0; }
.proj-desc p  { margin: 6px 0; }

/* ── Tool hashtags ─────────────────────────────────────────── */
.proj-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 72px; }
.proj-tag {
  padding: 6px 16px; border-radius: 100px;
  border: 2px solid var(--tag-color, #111);
  color: var(--tag-color, #111);
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
}
.proj-tag:hover { background: var(--tag-color, #111); color: #fff; }

/* ── Gallery ───────────────────────────────────────────────── */
.proj-gallery { display: flex; gap: 20px; align-items: flex-start; }
.proj-gallery__col { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.proj-gallery img {
  width: 100%; border-radius: 20px; display: block;
}

/* ── Next project ──────────────────────────────────────────── */
.proj-next {
  display: block; position: relative; width: 100%;
  min-height: 56vh; overflow: hidden; text-decoration: none;
  background: #111 center/cover no-repeat;
}
.proj-next__overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.55);
  transition: background 0.4s;
}
.proj-next:hover .proj-next__overlay { background: rgba(0,0,0,0.4); }
.proj-next__content {
  position: relative; z-index: 1;
  max-width: 1392px; margin: 0 auto;
  padding: 80px 96px;
  display: flex; flex-direction: column; gap: 14px;
}
.proj-next__label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.proj-next__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-size: clamp(36px, 5vw, 72px);
  text-transform: uppercase; color: #fff; line-height: 1;
}
.proj-next__arrow {
  display: inline-block; font-size: 28px; color: rgba(255,255,255,0.7);
  margin-top: 4px; transition: transform 0.3s;
}
.proj-next:hover .proj-next__arrow { transform: translateX(14px); color: #fff; }

/* ── Lightbox ──────────────────────────────────────────────── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 24px; right: 32px;
  font-size: 32px; color: #fff; cursor: pointer; opacity: 0.7;
  transition: opacity var(--transition);
}
.lightbox__close:hover { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   CV PAGE — Modern Redesign
══════════════════════════════════════════════════════════════ */
.page-cv { background: #eeecea; color: #111; }
.page-cv .footer { background: #eeecea; border-top-color: rgba(0,0,0,0.06); }

/* ── Hero ───────────────────────────────────────────────────── */
.cv-hero {
  background: linear-gradient(to right, #000 0%, #111 40%, #383838 100%);
  border-radius: 0 0 48px 48px;
  overflow: hidden;
  padding: calc(var(--nav-h) + 80px) 96px 88px;
}
.cv-hero__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 340px;
  gap: 80px; align-items: center;
}
.cv-hero__eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 20px;
}
.cv-hero__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-size: clamp(44px, 5.5vw, 80px);
  line-height: 0.93; text-transform: uppercase;
  color: #fff; margin-bottom: 20px;
}
.cv-hero__titles {
  font-size: 12px; color: rgba(255,255,255,0.38);
  letter-spacing: 2px; margin-bottom: 32px; text-transform: uppercase;
}
.cv-hero__summary {
  font-size: 15px; line-height: 1.8;
  color: rgba(255,255,255,0.58); max-width: 480px;
}
.cv-hero__photo {
  border-radius: 24px; overflow: hidden;
  aspect-ratio: 3/4; background: #1e1e1e;
  box-shadow: 0 48px 100px rgba(0,0,0,0.6);
}
.cv-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.cv-hero__photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #2a2a2a 0%, #161616 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; color: #333;
}

/* ── Content wrapper ────────────────────────────────────────── */
.cv-content {
  max-width: 1392px; margin: 0 auto;
  padding: 32px 96px 96px;
  display: flex; flex-direction: column; gap: 20px;
}

/* ── Cards ──────────────────────────────────────────────────── */
.cv-card {
  background: #fff; border-radius: 24px; padding: 48px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.cv-card--dark { background: #111; color: #fff; box-shadow: none; }
.cv-card__title {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 36px; display: flex; align-items: center; gap: 16px;
}
.cv-card__title::after { content:''; flex:1; height:1px; background: linear-gradient(to right, rgba(249,115,22,0.4), rgba(0,0,0,0.05)); }
.cv-card--dark .cv-card__title { color: var(--orange); }
.cv-card--dark .cv-card__title::after { background: linear-gradient(to right, rgba(249,115,22,0.55), rgba(255,255,255,0.04)); }

.cv-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cv-card-col {
  background: #fff; border-radius: 24px; padding: 48px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

/* ── Services ───────────────────────────────────────────────── */
.cv-services {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.cv-service {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px; padding: 28px 24px;
  transition: background 0.2s, border-color 0.2s;
}
.cv-service { text-decoration: none; cursor: pointer; }
.cv-service:hover { background: rgba(255,255,255,0.07); border-color: var(--svc-color, #f97316); }
.cv-service:hover .cv-service__title { color: var(--svc-color, #f97316); }
.cv-service__icon { font-size: 28px; margin-bottom: 16px; opacity: 0.55; }
.cv-service__icon img { width: 36px; height: 36px; object-fit: contain; display: block; }
.cv-service__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 14px;
  color: #fff; margin-bottom: 10px;
}
.cv-service__desc { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.65; }

/* ── Education ──────────────────────────────────────────────── */
.cv-edu-item {
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cv-edu-item:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.cv-edu-item__degree {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 16px; margin-bottom: 6px;
}
.cv-edu-item__school { font-size: 13px; color: rgba(0,0,0,0.42); }

/* ── Languages ──────────────────────────────────────────────── */
.cv-lang-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.cv-lang-tag {
  display: inline-flex; padding: 7px 18px;
  background: #f4f4f2; border-radius: 100px;
  font-size: 13px; color: rgba(0,0,0,0.68);
  border: 1px solid rgba(0,0,0,0.07);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cv-lang-tag:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ── Tools ──────────────────────────────────────────────────── */
.cv-tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.cv-tools-group__heading {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(0,0,0,0.28);
  margin-bottom: 14px;
}
.cv-tools-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-tool-tag {
  display: inline-flex; padding: 7px 18px;
  background: #f4f4f2; border-radius: 100px;
  font-size: 13px; color: rgba(0,0,0,0.68);
  border: 1px solid rgba(0,0,0,0.07);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cv-tool-tag:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ── Experience ─────────────────────────────────────────────── */
.cv-experience-list { display: flex; flex-direction: column; }
.cv-exp-item {
  display: flex; gap: 24px;
  padding: 28px 0; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cv-exp-item:first-child { padding-top: 0; }
.cv-exp-item:last-child { border-bottom: none; padding-bottom: 0; }
.cv-exp-logo {
  width: 112px; height: 112px; flex-shrink: 0;
  border-radius: 22px; border: 1px solid rgba(0,0,0,0.08);
  background: #f4f4f2; display: flex; align-items: center; justify-content: center;
  overflow: hidden; align-self: flex-start; margin-top: 3px;
}
.cv-exp-logo img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.cv-exp-logo__placeholder { font-size: 36px; color: rgba(0,0,0,0.13); }
.cv-exp-item__content { flex: 1; min-width: 0; }
.cv-exp-item__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 4px;
}
.cv-exp-item__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 17px; color: #111; line-height: 1.2;
}
.cv-exp-item__dates {
  font-size: 11px; color: rgba(0,0,0,0.38);
  background: #f4f4f2; padding: 4px 14px; border-radius: 100px;
  white-space: nowrap; flex-shrink: 0;
}
.cv-exp-item__company { font-size: 13px; color: rgba(0,0,0,0.42); margin-bottom: 12px; }
.cv-exp-item__bullets { list-style: none; }
.cv-exp-item__bullets li {
  font-size: 14px; line-height: 1.65; color: rgba(0,0,0,0.58);
  padding: 3px 0 3px 20px; position: relative;
}
.cv-exp-item__bullets li::before { content: '—'; position: absolute; left: 0; opacity: 0.28; }

/* Rich-text description (new format) */
.cv-exp-desc { font-size: 14px; line-height: 1.65; color: rgba(0,0,0,0.58); }
.cv-exp-desc p { margin: 4px 0; }
.cv-exp-desc p:first-child { margin-top: 0; }
.cv-exp-desc p:last-child  { margin-bottom: 0; }
.cv-exp-desc ul { list-style: disc; padding-left: 18px; margin: 4px 0; }
.cv-exp-desc ul li { padding: 2px 0; }
.cv-exp-desc ol { list-style: decimal; padding-left: 18px; margin: 4px 0; }
.cv-exp-desc ol li { padding: 2px 0; }
.cv-exp-desc strong, .cv-exp-desc b { font-weight: 600; color: rgba(0,0,0,0.75); }
.cv-exp-desc em, .cv-exp-desc i { font-style: italic; }
.cv-exp-desc u { text-decoration: underline; }
/* Legacy bullets fallback */
.cv-exp-desc__legacy { list-style: disc; padding-left: 18px; margin: 0; }
.cv-exp-desc__legacy li { font-size: 14px; line-height: 1.65; color: rgba(0,0,0,0.58); padding: 2px 0; }

/* ── Volunteer ──────────────────────────────────────────────── */
.cv-vol-list { display: flex; flex-direction: column; }
.cv-vol-item {
  padding: 24px 0; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cv-vol-item:first-child { padding-top: 0; }
.cv-vol-item:last-child { border-bottom: none; padding-bottom: 0; }
.cv-vol-item__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 4px;
}
.cv-vol-item__org {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 16px; color: #111;
}
.cv-vol-item__dates {
  font-size: 11px; color: rgba(0,0,0,0.38);
  background: #f4f4f2; padding: 4px 14px; border-radius: 100px;
  white-space: nowrap; flex-shrink: 0;
}
.cv-vol-item__role { font-size: 13px; color: rgba(0,0,0,0.42); margin-bottom: 10px; }
.cv-vol-item__bullets { list-style: none; }
.cv-vol-item__bullets li {
  font-size: 14px; line-height: 1.65; color: rgba(0,0,0,0.58);
  padding: 3px 0 3px 20px; position: relative;
}
.cv-vol-item__bullets li::before { content: '—'; position: absolute; left: 0; opacity: 0.28; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
  padding: 32px 96px; font-size: 12px; color: rgba(0,0,0,0.35);
  border-top: 1px solid rgba(0,0,0,0.08); background: var(--light);
  display: flex; justify-content: space-between; align-items: center;
}
.footer--dark {
  background: #111; color: rgba(255,255,255,0.3);
  border-top-color: rgba(255,255,255,0.08);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .portfolio-grid { padding-left: 48px; padding-right: 48px; }
  .portfolio-hero__inner { padding-left: 48px; padding-right: 48px; }
  .portfolio-filters { padding-left: 48px; padding-right: 48px; }
  .cv-hero { padding-left: 48px; padding-right: 48px; }
  .cv-content { padding-left: 48px; padding-right: 48px; }
  .proj-hero__content { padding: 0 48px 56px; }
  .proj-inner { padding: 0 48px 80px; }
  .proj-next__content { padding: 0 48px 56px; }
  .footer { padding-left: 48px; padding-right: 48px; }
  .nav { padding: 6px; }
  .slider__controls { padding-left: 48px; padding-right: 48px; }
  .slide { padding-left: 48px; }
}
@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .cv-hero__inner { grid-template-columns: 1fr; }
  .cv-hero__photo { display: none; }
  .cv-services { grid-template-columns: repeat(2, 1fr); }
  .cv-card-row { grid-template-columns: 1fr; }
  .cv-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-meta { flex-direction: column; gap: 20px; }
  .proj-meta__item { border-right: none; margin-right: 0; padding-right: 0; border-bottom: 1px solid rgba(0,0,0,0.08); padding-bottom: 16px; }
  .proj-meta__item:last-child { border-bottom: none; padding-bottom: 0; }
  .proj-hero__title { font-size: clamp(36px, 7vw, 72px); }
  .proj-gallery { flex-direction: column; }
  .cv-exp-item { gap: 16px; }
  .footer { padding-left: 40px; padding-right: 40px; }
}
@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: 1fr; padding: 0 24px 48px; gap: 16px; }
  .portfolio-hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 56px; border-radius: 0 0 32px 32px; }
  .portfolio-hero__inner { padding-left: 24px; padding-right: 24px; }
  .portfolio-filters { padding-left: 24px; padding-right: 24px; padding-bottom: 16px; gap: 8px; }
  .filter-btn { font-size: 12px; padding: 6px 14px; }
  .cv-hero { padding: calc(var(--nav-h) + 48px) 24px 56px; border-radius: 0 0 32px 32px; }
  .cv-hero__inner { gap: 40px; }
  .cv-hero__name { font-size: clamp(32px, 8vw, 56px); }
  .cv-content { padding: 20px 16px 64px; gap: 14px; }
  .cv-card { padding: 32px 24px; border-radius: 20px; }
  .cv-card-col { padding: 32px 24px; border-radius: 20px; }
  .cv-services { grid-template-columns: 1fr; gap: 8px; }
  .cv-tools-grid { grid-template-columns: 1fr; }
  .cv-exp-item { flex-direction: column; gap: 12px; }
  .cv-exp-logo { width: 48px; height: 48px; min-width: 48px; }
  .nav { top: 12px; padding: 5px; }
  .nav__links { gap: 2px; }
  .nav__link { padding: 6px 12px; font-size: 11px; }
  .slider__controls { padding: 0 24px; }
  .slide { padding: 0 0 100px 24px; }
  .slide__title { font-size: clamp(36px, 10vw, 56px); }
  .slide__desc { font-size: 14px; }
  .proj-hero { min-height: 40vh; background-attachment: scroll; }
  .proj-hero__content { padding: 0 24px 48px; }
  .proj-inner { padding: 0 24px 64px; }
  .proj-meta { padding: 24px 20px; border-radius: 16px; margin-top: -32px; }
  .proj-tags { gap: 8px; }
  .proj-next { min-height: 44vh; }
  .proj-next__content { padding: 0 24px 40px; }
  .proj-next__title { font-size: clamp(28px, 7vw, 56px); }
  .proj-desc { font-size: 16px; }
  .proj-gallery { flex-direction: column; }
  .footer { padding: 24px; flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 400px) {
  .nav__link { padding: 6px 10px; font-size: 10px; }
  .slide__title { font-size: clamp(28px, 10vw, 44px); }
  .cv-card { padding: 24px 16px; }
  .cv-card-col { padding: 24px 16px; }
  .proj-inner { padding: 0 16px 48px; }
  .proj-meta { padding: 20px 16px; }
}
