/* ============================================================
   style.css - Авторская дизайн-система
   Концепция: "Precision" - интеллектуальный, строгий, современный
   ============================================================ */

/* ----------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   ---------------------------------------------------------- */
:root {
  /* Палитра */
  --bg-primary: #f7f8fc;
  --bg-secondary: #eef0f7;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f9fafd;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #475569;

  --accent: #4338ca;
  --accent-soft: #e0e7ff;
  --accent-text: #3730a3;

  --teal: #0f766e;
  --teal-soft: #ccfbf1;
  --teal-text: #115e59;

  --border: #e2e8f0;
  --border-subtle: #f1f5f9;

  /* Тени */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.08);

  /* Типографика */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.25rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 920px;
  --nav-height: 64px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.3s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--accent-text);
}

img {
  max-width: 100%;
  display: block;
}

/* ----------------------------------------------------------
   NAVIGATION
   ---------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

.nav__links {
  list-style: none;
  display: flex;
  gap: var(--space-lg);
}

.nav__links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--duration) var(--ease);
}

.nav__links a:hover {
  color: var(--text-primary);
}

.nav__links a:hover::after {
  width: 100%;
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 0;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.nav__toggle:hover,
.nav__toggle:focus-visible,
.nav__toggle--open {
  background: var(--bg-surface);
  border-color: rgba(67, 56, 202, 0.35);
  outline: none;
}

.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.nav__toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-lg) var(--space-3xl);
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3xl);
}

.hero__content {
  flex: 1;
  max-width: 560px;
}

.hero__greeting {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.hero__name {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.hero__role {
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--teal);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.hero__education {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 620px;
  margin-bottom: var(--space-lg);
}

.hero__education-line {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero__education-profile {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero__tagline {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.hero__contact-panel {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(67, 56, 202, 0.2);
  border-left: 4px solid var(--accent);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  max-width: 520px;
}

.hero__contact-kicker {
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.hero__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__contact {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  column-gap: var(--space-sm);
  min-height: auto;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  color: var(--text-secondary);
}

.hero__contact:hover {
  color: var(--text-primary);
  transform: none;
}

.hero__contact-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0;
}

.hero__contact-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#hero-contact-github-icon svg,
#hero-contact-phone-icon svg,
#hero-contact-location-icon svg {
  transform: translateX(-1px);
}

#hero-contact-telegram-icon svg {
  transform: translateX(-3px);
}

.hero__contact-body {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.hero__contact-label {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.hero__contact-text {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.hero__highlights {
  display: flex;
  gap: var(--space-lg);
}

.hero__highlight {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__highlight-label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.hero__highlight-desc {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  font-weight: 400;
}

/* Photo */
.hero__photo-wrapper {
  flex-shrink: 0;
}

.hero__photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--teal-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__photo-initials {
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

/* ----------------------------------------------------------
   SECTIONS (common)
   ---------------------------------------------------------- */
.section {
  padding: var(--space-4xl) var(--space-lg);
}

.section--alt {
  background: var(--bg-secondary);
}

#projects.section {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-2xl);
}

#skills.section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

#about.section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

#certificates.section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2xl);
  position: relative;
  padding-left: var(--space-lg);
}

.section__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
}

/* ----------------------------------------------------------
   ABOUT
   ---------------------------------------------------------- */
.about__text p {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.about__text p:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   SKILLS
   ---------------------------------------------------------- */
.skills__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.skill-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.skill-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.skill-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
  transform: translateY(-2px);
}

.skill-card__category {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}

.skill-card__techs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.skill-card__tech {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--teal-text);
  background: var(--teal-soft);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.01em;
}

.skill-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   ACHIEVEMENTS
   ---------------------------------------------------------- */
.achievements__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.achievement {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.achievement:first-child {
  padding-top: 0;
}

.achievement:last-child {
  border-bottom: none;
}

.achievement__year {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
  padding-top: 2px;
}

.achievement__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.achievement__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.achievement__desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.achievement__result {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.achievement__result::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   PROJECTS
   ---------------------------------------------------------- */
.projects__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.project {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.project:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}

.project__header {
  margin-bottom: var(--space-lg);
}

.project__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: var(--space-sm);
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--teal-soft);
  color: var(--teal-text);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.4;
}

.project__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}

.project__task {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.project__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.project__detail-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-xs);
}

.project__detail-value {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.project__tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.project__tool {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--accent-text);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 100px;
}

.project__result {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.project__result-icon {
  font-size: var(--fs-md);
  flex-shrink: 0;
  line-height: 1.6;
}

.project__result-text {
  min-width: 0;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.project__result-text a {
  color: var(--accent-text);
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.project__result-text a:hover {
  color: var(--accent);
}

/* ----------------------------------------------------------
   CERTIFICATES
   ---------------------------------------------------------- */
.certificates__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.certificate {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
  width: 100%;
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  appearance: none;
}

.certificate:hover,
.certificate:focus-visible {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.certificate:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.certificate__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, #f7f8fb 0%, #eef1f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-sm);
}

.certificate__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.certificate__info {
  padding: var(--space-md);
}

.certificate__title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.certificate__meta {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

.certificates__empty {
  text-align: center;
  font-size: var(--fs-md);
  color: var(--text-tertiary);
  padding: var(--space-3xl) 0;
  font-style: italic;
}

.certificate-modal {
  position: fixed;
  inset: 0;
  background: rgba(12, 17, 29, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease);
}

.certificate-modal--open {
  opacity: 1;
  pointer-events: auto;
}

.certificate-modal__dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 2 * var(--space-lg));
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: auto;
  padding: var(--space-xl);
}

.certificate-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--text-primary);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.certificate-modal__close:hover,
.certificate-modal__close:focus-visible {
  background: rgba(15, 23, 42, 0.14);
  transform: scale(1.05);
  outline: none;
}

.certificate-modal__image-wrap {
  background: linear-gradient(180deg, #f7f8fb 0%, #eef1f7 100%);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.certificate-modal__image {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 220px);
  object-fit: contain;
  margin: 0 auto;
}

.certificate-modal__info {
  padding-top: var(--space-lg);
}

.certificate-modal__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.certificate-modal__meta {
  margin-top: var(--space-xs);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
.footer {
  background: var(--text-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-xl) var(--space-lg);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer__copy {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.3);
}

/* ----------------------------------------------------------
   ANIMATIONS - Hero
   ---------------------------------------------------------- */
.hero__content {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.hero__photo-wrapper {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease) 0.2s, transform 0.8s var(--ease) 0.2s;
}

.hero--visible .hero__content {
  opacity: 1;
  transform: translateX(0);
}

.hero--visible .hero__photo-wrapper {
  opacity: 1;
  transform: scale(1);
}

/* ----------------------------------------------------------
   RESPONSIVE - Tablet (≤ 768px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --fs-4xl: 2.25rem;
    --fs-3xl: 1.875rem;
    --fs-2xl: 1.5rem;
    --fs-xl: 1.25rem;
    --space-4xl: 3.5rem;
  }

  /* Nav mobile */
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: var(--space-lg);
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--duration) var(--ease);
  }

  .nav__links--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links li {
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav__links li:last-child {
    border-bottom: none;
  }

  .nav__links a {
    display: block;
    padding: var(--space-md) 0;
    font-size: var(--fs-base);
  }

  .nav__links a::after {
    display: none;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }

  .hero__inner {
    flex-direction: column-reverse;
    text-align: center;
    gap: var(--space-xl);
  }

  .hero__content {
    max-width: 100%;
    align-items: center;
  }

  .hero__highlights {
    justify-content: center;
  }

  .hero__contacts {
    text-align: left;
  }

  .hero__photo {
    width: 160px;
    height: 160px;
  }

  .hero__tagline {
    font-size: var(--fs-base);
  }

  /* Skills */
  .skills__grid {
    grid-template-columns: 1fr;
  }

  /* Projects */
  .project__details {
    grid-template-columns: 1fr;
  }

  /* Certificates */
  .certificates__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Achievements */
  .achievement {
    grid-template-columns: 60px 1fr;
    gap: var(--space-md);
  }
}

/* ----------------------------------------------------------
   RESPONSIVE - Mobile (≤ 480px)
   ---------------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --fs-4xl: 1.875rem;
    --fs-2xl: 1.375rem;
    --space-4xl: 2.5rem;
    --space-2xl: 2rem;
  }

  .hero {
    padding-top: calc(var(--nav-height) + var(--space-lg));
    padding-bottom: var(--space-xl);
  }

  .hero__inner {
    gap: var(--space-lg);
  }

  .hero__contact-panel {
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
  }

  .hero__highlights {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
  }

  .hero__contacts {
    align-items: stretch;
  }

  .hero__contact {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .hero__contact-body {
    justify-content: flex-start;
  }

  .hero__highlight {
    align-items: center;
    text-align: center;
  }

  .hero__photo {
    width: 130px;
    height: 130px;
  }

  .hero__photo-initials {
    font-size: var(--fs-xl);
  }

  .section__title {
    font-size: var(--fs-xl);
    padding-left: var(--space-md);
    margin-bottom: var(--space-xl);
  }

  .project {
    padding: var(--space-lg);
  }

  .project__title {
    font-size: var(--fs-lg);
  }

  .certificates__grid {
    grid-template-columns: 1fr;
  }

  .certificate__image {
    aspect-ratio: auto;
    height: clamp(220px, 72vw, 320px);
  }

  .achievement {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .achievement__year {
    font-size: var(--fs-xs);
  }

}
