/* ============================================================
   Pavel Nemchenko — Portfolio CSS
   Aesthetic: Editorial Minimalism · Refined · Intentional
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --black:   #0a0a0a;
  --white:   #f5f4f0;
  --off:     #f0efe9;
  --muted:   #8a8880;
  --accent:  #1a6aff;
  --accent2: #0040cc;
  --surface: #f9f8f4;
  --border:  rgba(0,0,0,0.09);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-head:    'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.14);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}
.label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 1.25rem;
}
.dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(1.3); }
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 100px;
  border: 1.5px solid var(--black);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.btn-primary svg { flex-shrink: 0; transition: transform var(--transition); }
.btn-primary:hover svg { transform: translateX(3px); }

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245,244,240,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  max-width: 1300px;
  margin: 0 auto;
}
.header__logo {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--black);
}
.header__nav ul {
  display: flex;
  gap: 2rem;
}
.header__nav a {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width var(--transition);
}
.header__nav a:hover { color: var(--black); }
.header__nav a:hover::after { width: 100%; }
.header__cta {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 22px;
  border: 1.5px solid var(--black);
  border-radius: 100px;
  transition: background var(--transition), color var(--transition);
}
.header__cta:hover { background: var(--black); color: var(--white); }
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.header__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1.5rem clamp(1.25rem,4vw,3rem) 2rem;
  border-top: 1px solid var(--border);
  background: rgba(245,244,240,0.97);
}
.mobile-nav.open { display: flex; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 1rem; }
.mobile-nav__link {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(1.25rem,5vw,5rem) 5rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.35) 0%,
    rgba(10,10,10,0.10) 40%,
    rgba(10,10,10,0.72) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  gap: 2rem;
}
.hero__tag {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  animation: fadeUp 0.8s ease both 0.2s;
}
.hero__name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  animation: fadeUp 0.8s ease both 0.4s;
}
.hero__name em {
  font-style: italic;
  color: rgba(255,255,255,0.6);
}
.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  animation: fadeUp 0.8s ease both 0.6s;
}
.hero__role {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero__value {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 360px;
}
.br-desk { display: block; }
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.25rem,5vw,5rem);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: fadeUp 0.8s ease both 1s;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  from { top: -100%; }
  to   { top: 200%; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════ */
.marquee {
  background: var(--black);
  padding: 18px 0;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: scroll 28s linear infinite;
}
.marquee__track span {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.marquee__track .sep { color: var(--accent); }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   PROJECTS
═══════════════════════════════════════════ */
.projects {
  padding: 7rem clamp(1.25rem,5vw,5rem);
  max-width: 1300px;
  margin: 0 auto;
}
.projects__header {
  margin-bottom: 3.5rem;
}
.projects__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

/* Card base */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card--featured {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
  flex-direction: column;
}
.card:not(.card--featured):nth-child(2) { grid-column: 8 / 13; }
.card:not(.card--featured):nth-child(3) { grid-column: 8 / 13; }
.card:not(.card--featured):nth-child(4) { grid-column: 1 / 13; flex-direction: row; }
.card--dark { background: var(--black); color: var(--white); }
.card--dark .card__tag,
.card--dark .card__role { color: rgba(255,255,255,0.45); border-color: rgba(255,255,255,0.1); }
.card--dark .card__result-item span { color: rgba(255,255,255,0.5); }
.card--dark .card__link { color: var(--white); border-color: rgba(255,255,255,0.15); }
.card--dark .card__link:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.card__img-wrap {
  position: relative;
  overflow: hidden;
}
.card--featured .card__img-wrap { height: 340px; }
.card:not(.card--featured):not(.card--dark.card):nth-child(2) .card__img-wrap,
.card:not(.card--featured):nth-child(3) .card__img-wrap { height: 180px; }
.card--dark.card:nth-child(4) .card__img-wrap { width: 40%; flex-shrink: 0; height: auto; }

.card__img { transition: transform 0.6s ease; }
.card:hover .card__img { transform: scale(1.04); }
.card__img-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.18) 0%, transparent 60%);
}
.card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
}
.card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.card__tag {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
}
.card__role {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.card__title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}
.card__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}
.card--dark .card__desc { color: rgba(255,255,255,0.55); }
.card__result {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: auto;
}
.card--dark .card__result { border-color: rgba(255,255,255,0.08); }
.card__result-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.card__result-item strong {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.card__result-item span {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  align-self: flex-start;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.card__link:hover {
  border-color: var(--black);
  background: rgba(0,0,0,0.04);
  transform: translateX(2px);
}
.card__link svg { transition: transform var(--transition); }
.card__link:hover svg { transform: translateX(3px); }

/* ═══════════════════════════════════════════
   SKILLS TABLE
═══════════════════════════════════════════ */
.skills {
  background: var(--off);
  padding: 7rem clamp(1.25rem,5vw,5rem);
}
.skills__header { margin-bottom: 3.5rem; }
.skills__table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  max-width: 1200px;
  margin: 0 auto 4rem;
}
.skills__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9rem;
}
.skills__table thead {
  background: var(--black);
  color: var(--white);
}
.skills__table th {
  padding: 14px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.skills__table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  line-height: 1.5;
}
.skills__table tbody tr:last-child td { border-bottom: none; }
.skills__table tbody tr {
  transition: background var(--transition);
}
.skills__table tbody tr:hover { background: var(--off); }
.skills__area {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  color: var(--black);
  min-width: 140px;
}
.skills__bar {
  width: 120px;
  height: 4px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.skills__bar-fill {
  height: 100%;
  width: var(--w, 0%);
  background: var(--accent);
  border-radius: 100px;
  animation: barGrow 1.2s cubic-bezier(0.4,0,0.2,1) both;
  animation-play-state: paused;
}
.skills__bar-fill.animated { animation-play-state: running; }
@keyframes barGrow {
  from { width: 0; }
  to   { width: var(--w, 0%); }
}
.exp-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}
.exp-item {
  background: var(--white);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background var(--transition);
}
.exp-item:hover { background: var(--off); }
.exp-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.exp-label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════
   VIDEO
═══════════════════════════════════════════ */
.video-section {
  padding: 7rem clamp(1.25rem,5vw,5rem);
  max-width: 1300px;
  margin: 0 auto;
}
.video-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}
.video-section__text { display: flex; flex-direction: column; }
.video-section__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 1.25rem;
}
.video-section__player { display: flex; flex-direction: column; gap: 1rem; }
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--black);
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-section__caption {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   FAQ (Bootstrap Accordion overrides)
═══════════════════════════════════════════ */
.faq {
  background: var(--black);
  padding: 7rem clamp(1.25rem,5vw,5rem);
}
.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}
.faq .label { color: rgba(255,255,255,0.35); }
.faq .section-title { color: var(--white); }
.faq .section-title em { color: var(--accent); }
.faq__accordion { display: flex; flex-direction: column; }
.faq__item {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}
.faq__item:last-child { border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
.faq__btn {
  background: transparent !important;
  color: var(--white) !important;
  font-family: var(--font-head) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  padding: 1.5rem 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.faq__btn::after {
  filter: invert(1);
}
.faq__btn:not(.collapsed) { color: var(--accent) !important; }
.faq__body {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 0 0 1.5rem !important;
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact {
  padding: 7rem clamp(1.25rem,5vw,5rem);
  max-width: 1300px;
  margin: 0 auto;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: flex-start;
}
.contact__sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 1.25rem 0 2rem;
}
.contact__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact__link {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}
.contact__link:hover { color: var(--accent); }
.contact__link:last-child { border-bottom: none; }

/* Form */
.contact__form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label, .form-label-main {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,106,255,0.12);
}
.form-group textarea { min-height: 130px; }

/* Radio */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--black);
}
.radio-label input[type="radio"] { display: none; }
.radio-custom {
  width: 18px; height: 18px;
  border: 2px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color var(--transition);
}
.radio-label input:checked + .radio-custom { border-color: var(--accent); }
.radio-label input:checked + .radio-custom::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-custom {
  width: 18px; height: 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: border-color var(--transition), background var(--transition);
}
.checkbox-label input:checked + .checkbox-custom {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 5px; height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.btn-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 16px; }
.form-success {
  display: none;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: #22c55e;
  text-align: center;
  animation: fadeUp 0.4s ease both;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 3rem clamp(1.25rem,5vw,5rem);
  max-width: 1300px;
  margin: 0 auto;
}
.footer__logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}
.footer__copy {
  font-size: 0.82rem;
  line-height: 1.6;
}
.footer__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: rgba(255,255,255,0.25);
  text-align: center;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}
.footer__nav a {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--white); }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem clamp(1.25rem,5vw,5rem);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .card--featured { grid-column: 1 / 7; }
  .card:not(.card--featured):nth-child(2) { grid-column: 7 / 13; }
  .card:not(.card--featured):nth-child(3) { grid-column: 7 / 13; }
  .card:not(.card--featured):nth-child(4) { grid-column: 1 / 13; }
  .faq__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .header__nav, .header__cta { display: none; }
  .header__burger { display: flex; }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .br-desk { display: none; }

  .projects__grid { display: flex; flex-direction: column; }

  .video-section__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
  .skills__table td, .skills__table th { padding: 14px 16px; }
  .exp-row { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer__nav { align-items: flex-start; }
  .footer__tagline { text-align: left; }
  .footer__bar { flex-direction: column; gap: 0.5rem; }

  .card--dark.card:nth-child(4) { flex-direction: column; }
  .card--dark.card:nth-child(4) .card__img-wrap { width: 100%; height: 200px; }
}

@media (max-width: 600px) {
  .hero { padding-bottom: 4rem; }
  .hero__name { font-size: 3.5rem; }
  .projects, .skills, .video-section, .contact { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .faq { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .exp-row { grid-template-columns: 1fr 1fr; }
  .radio-group { flex-direction: column; }
  .skills__bar { width: 80px; }
}
