/* ── RESET & VARIABLES ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #111113;
  --surface: #1a1a1e;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8e8ea;
  --muted: #888894;
  --accent: #ffffff;
  --pill-bg: rgba(255, 255, 255, 0.07);
  --pill-hover: rgba(255, 255, 255, 0.12);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(26, 26, 30, 0.9), rgba(17, 17, 19, 0.9));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  padding: 8px 12px;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 99px;
  transition: all 0.3s ease;
  position: relative;
}

nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 99px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

nav a.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

/* ── THEME TOGGLE ── */
.theme-toggle {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 100;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(30, 30, 34, 0.8);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.theme-toggle:hover {
  background: var(--pill-hover);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── HERO ── */
.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 160px 40px 80px;
}

.avatar-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 32px;
  border: 2px solid var(--border);
  background: var(--surface);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.1s;
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: crisp-edges;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3a3a4a 0%, #2a2a36 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

.hero p {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.35s;
}

/* ── SOCIAL LINKS ── */
.social-links {
  display: flex;
  gap: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.5s;
}

.social-links a {
  color: var(--muted);
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
}

.social-links a:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ── PHOTO STRIP ── */
.photo-strip {
  width: 100%;
  overflow: hidden;
  margin-top: 80px;
  padding: 40px 0;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards 0.7s;
}

.photo-row {
  display: flex;
  gap: 16px;
  padding: 0 40px;
}

.photo-card {
  flex: 1;
  border-radius: 16px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.photo-card .inner {
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  transition: all 0.4s ease;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.photo-card .inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.photo-card:hover .inner {
  transform: scale(1.06);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.25);
}

.photo-card:hover .inner::before {
  opacity: 1;
}

.photo-label {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.photo-card:hover .photo-label {
  color: #ffffff;
  transform: translateY(-2px);
}

/* Photo backgrounds */
.photo-card.p1 .inner { background-image: url('assets/First%20Aid.png'); background-color: #1a3a5c; }
.photo-card.p2 .inner { background-image: url('assets/Manual%20Handling.png'); background-color: #0a0a14; }
.photo-card.p3 .inner { background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=500&q=80'); background-color: #1a2a1a; }
.photo-card.p4 .inner { background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=500&q=80'); background-color: #2a4a6a; }
.photo-card.p5 .inner { background-image: url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=300&q=80'); background-color: #5a2a1a; }

/* ── CONTENT SECTION ── */
.content {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.section-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  border-left: 2px solid #444;
  padding-left: 12px;
}

/* ── ARTICLES ── */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.article-item {
  cursor: pointer;
}

.article-item time {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.article-item h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  transition: color 0.2s;
}

.article-item:hover h3 {
  color: #fff;
}

.article-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── WORK ── */
.work-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.work-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  transition: background 0.2s;
  cursor: pointer;
}

.work-item:hover {
  background: var(--surface);
}

.work-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.work-info {
  flex: 1;
}

.work-info h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.work-info span {
  font-size: 13px;
  color: var(--muted);
}

.work-date {
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── CV LINK ── */
.cv-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  margin-left: 16px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.cv-link:hover {
  color: var(--accent);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── WORK EXPERIENCE SECTION ── */
.work-section {
  background: var(--bg);
  padding: 100px 40px;
  margin-top: 80px;
}

.work-container {
  max-width: 960px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

.section-header p {
  font-size: 16px;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.35s;
}

.work-timeline {
  display: grid;
  gap: 24px;
  margin-bottom: 80px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.4s;
}

.work-card {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(26, 26, 30, 0.5) 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.work-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.work-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(255, 255, 255, 0.15);
}

.work-card:hover::before {
  opacity: 1;
}

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.work-header h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--accent);
  margin: 0;
  letter-spacing: -0.5px;
}

.work-duration {
  font-size: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.work-company {
  font-size: 13px;
  color: #ffffff;
  margin: 0 0 16px 0;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: relative;
  z-index: 1;
}

.work-company::before {
  content: '▸ ';
  margin-right: 6px;
}

.work-description {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  font-weight: 400;
}

.work-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  font-weight: 400;
  white-space: nowrap;
}

.tag:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.work-card:hover .tag {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* ── CV SECTION ── */
.cv-section {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(26, 26, 30, 0.7), rgba(17, 17, 19, 0.7));
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.5s;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cv-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.cv-section:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.2);
}

.cv-section:hover::before {
  opacity: 1;
}

.cv-buttons-container {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.cv-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.cv-download-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  transition: transform 0.3s ease;
}

.cv-download-btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(255, 255, 255, 0.25);
}

.cv-download-btn:hover svg {
  transform: translateY(-2px);
}

.cv-download-btn:active {
  transform: translateY(0);
}

.cv-hint {
  font-size: 13px;
  color: #ffffff;
  margin-top: 16px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* ── FOOTER ── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 40px 30px;
  margin-top: 0;
}

.footer-box {
  background: linear-gradient(135deg, rgba(26, 26, 30, 0.6) 0%, rgba(17, 17, 19, 0.5) 100%);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-section {
  display: flex;
  flex-direction: column;
}



.footer-section h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-section p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 960px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
}

/* ── CONTACT FORM ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.form-group {
  display: flex;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  transition: all 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.submit-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.submit-btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.submit-btn:active {
  transform: translateY(0);
}

.form-message {
  font-size: 12px;
  margin-top: 8px;
  font-weight: 500;
  min-height: 16px;
}

.form-message.success {
  color: #4ade80;
}

.form-message.error {
  color: #f87171;
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  html {
    scroll-padding-top: 100px;
  }

  /* NAV */
  nav {
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    gap: 4px;
    padding: 6px 8px;
  }

  nav a {
    font-size: 12px;
    padding: 6px 12px;
    display: none;
  }

  nav a.active,
  nav a:nth-child(1),
  nav a:nth-child(3) {
    display: inline-block;
  }

  .theme-toggle {
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
  }

  .theme-toggle svg {
    width: 16px;
    height: 16px;
  }

  /* HERO */
  .hero {
    padding: 100px 20px 40px;
    max-width: 100%;
  }

  .avatar-wrap {
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .social-links {
    gap: 16px;
  }

  .social-links svg {
    width: 18px;
    height: 18px;
  }

  /* PHOTO STRIP */
  .photo-strip {
    margin-top: 40px;
    padding: 20px 0;
  }

  .photo-row {
    padding: 0 12px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .photo-card {
    flex: 1;
    min-width: calc(50% - 6px);
  }

  .photo-card .inner {
    height: 180px;
  }

  .photo-label {
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: 0.3px;
  }

  /* WORK SECTION */
  .work-section {
    padding: 60px 20px;
    margin-top: 40px;
  }

  .work-container {
    max-width: 100%;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 8px;
  }

  .section-header p {
    font-size: 14px;
  }

  .work-timeline {
    gap: 16px;
    margin-bottom: 40px;
  }

  .work-card {
    padding: 20px;
    border-radius: 12px;
  }

  .work-header {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
  }

  .work-header h3 {
    font-size: 16px;
  }

  .work-duration {
    align-self: flex-start;
    font-size: 10px;
    padding: 4px 10px;
  }

  .work-company {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .work-description {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .work-tags {
    gap: 8px;
  }

  .tag {
    font-size: 11px;
    padding: 4px 10px;
  }

  /* CV SECTION */
  .cv-section {
    padding: 40px 20px;
    border-radius: 12px;
    margin-top: 0;
  }

  .cv-buttons-container {
    gap: 12px;
    margin-bottom: 16px;
  }

  .cv-download-btn {
    flex-direction: column;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 8px;
  }

  .cv-download-btn svg {
    width: 18px;
    height: 18px;
  }

  .cv-hint {
    font-size: 12px;
    margin-top: 12px;
  }

  /* FOOTER */
  .footer {
    padding: 40px 20px 20px;
  }

  .footer-box {
    padding: 30px;
    margin: 0 auto 24px;
    border-radius: 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-section h4 {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .footer-section p,
  .footer-section ul li a {
    font-size: 12px;
  }

  .footer-section ul li {
    margin-bottom: 6px;
  }

  .footer-bottom {
    padding-top: 16px;
  }

  .footer-bottom p {
    font-size: 11px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 12px;
    padding: 8px 12px;
  }

  .submit-btn {
    font-size: 12px;
    padding: 8px 16px;
  }

  .content {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 48px;
  }
}

/* SMALL DEVICES */
@media (max-width: 480px) {
  html {
    scroll-padding-top: 80px;
  }

  nav {
    gap: 2px;
    padding: 4px 4px;
  }

  nav a {
    font-size: 11px;
    padding: 4px 8px;
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding: 80px 16px 30px;
  }

  .avatar-wrap {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 12px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .social-links {
    gap: 12px;
  }

  .social-links svg {
    width: 16px;
    height: 16px;
  }

  .photo-strip {
    margin-top: 30px;
    padding: 16px 0;
  }

  .photo-row {
    padding: 0 8px;
    gap: 8px;
  }

  .photo-card {
    min-width: calc(50% - 4px);
  }

  .photo-card .inner {
    height: 140px;
  }

  .photo-label {
    font-size: 10px;
    margin-top: 6px;
  }

  .work-section {
    padding: 40px 16px;
    margin-top: 30px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header h2 {
    font-size: clamp(22px, 4vw, 28px);
  }

  .work-card {
    padding: 16px;
  }

  .work-header h3 {
    font-size: 15px;
  }

  .work-company {
    font-size: 11px;
  }

  .work-description {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .cv-section {
    padding: 30px 16px;
  }

  .cv-buttons-container {
    gap: 10px;
    margin-bottom: 14px;
  }

  .cv-download-btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .footer {
    padding: 30px 16px 16px;
  }

  .footer-box {
    padding: 20px;
    margin: 0 auto 16px;
    border-radius: 12px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-section h4 {
    font-size: 12px;
  }

  .footer-section p,
  .footer-section ul li a {
    font-size: 11px;
  }

  .contact-form {
    gap: 10px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 12px;
    padding: 8px 12px;
  }

  .submit-btn {
    font-size: 12px;
    padding: 8px 16px;
    margin-top: 6px;
  }
}
