:root {
  --clr-neutral-100: #fff;
  --clr-neutral-600: #aaaaaa;
  --clr-neutral-900: #000;
  --clr-neutral-900-40: rgb(0 0 0 / 0.4);
  --clr-accent-400: #12dd00;
  --clr-accent-500: #dd9200;
  --ff-primary: "Quicksand", sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semi-bold: 600;
  --border-radius-900: 100vw;
  --border-radius-400: 12px;
  --border-radius-100: 8px;
  --fs-body-m: 16px;
  --fs-body-s: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-primary);
  background-color: var(--clr-neutral-900);
  color: var(--clr-neutral-100);
  font-size: var(--fs-body-m);
  font-weight: var(--fw-regular);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.container {
  padding-inline: 1.5rem;
  max-width: 1280px;
  margin-inline: auto;
}

/* ── BUTTONS ── */
.btn {
  cursor: pointer;
  display: inline-block;
  padding: 8px 32px;
  font-size: var(--fs-body-m);
  font-family: var(--ff-primary);
  border-radius: var(--border-radius-900);
  border: 0;
  background-color: transparent;
  text-decoration: none;
}
.btn--primary {
  background-color: var(--clr-neutral-100);
  color: var(--clr-neutral-900);
  font-weight: var(--fw-semi-bold);
  transition: transform .25s ease-in-out;
}
.btn--primary:hover { transform: translateY(-5px); }
.btn--secondary {
  border: 1px solid var(--clr-neutral-100);
  background-color: transparent;
  color: var(--clr-neutral-100);
  transition: background-color .25s ease-in-out, color .25s ease-in-out;
}
.btn--secondary:hover { background-color: var(--clr-neutral-100); color: var(--clr-neutral-900); }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  padding-block: 1.5rem;
  background-color: var(--clr-neutral-900-40);
  -webkit-backdrop-filter: blur(32px);
  backdrop-filter: blur(32px);
}
.nav__container { display: flex; justify-content: space-between; align-items: center; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; }
.nav__list { display: flex; gap: 32px; list-style: none; }
.nav__list-item a {
  display: inline-block;
  text-decoration: none;
  color: var(--clr-neutral-600);
  font-weight: var(--fw-medium);
  font-size: var(--fs-body-s);
  transition: transform .15s ease-in-out, color .15s ease-in-out;
  cursor: pointer;
}
.nav__list-item a:hover { transform: translateY(-3px); color: var(--clr-neutral-100); }
.nav__list-item a.active { color: var(--clr-neutral-100); border-bottom: 2px solid #fff; padding-bottom: 2px; }

.nav__availability-status { position: relative; }
.nav__availability-status--toggle {
  cursor: pointer; display: flex; gap: 6px; align-items: center;
  padding: 4px 16px; border-radius: var(--border-radius-900);
  border: 1px solid var(--clr-neutral-100); background: transparent;
  color: var(--clr-neutral-100); font-family: var(--ff-primary);
}
.color--available { color: var(--clr-accent-400); }
.font-weight--medium { font-weight: var(--fw-medium); }
.body-s { font-size: var(--fs-body-s); }
.body-m { font-size: var(--fs-body-m); }
.nav__availability-status--message {
  pointer-events: none; position: absolute; white-space: nowrap;
  top: calc(100% + 24px); right: 0;
  background-color: var(--clr-neutral-900); padding: 1.5rem;
  border-radius: 0 0 var(--border-radius-400) var(--border-radius-400);
  transition: opacity .15s ease-in-out; opacity: 0;
  border: 1px solid #222; border-top: none;
}
.nav__availability-status--message.is-open { pointer-events: all; opacity: 1; }
.nav__availability-status__title { margin-bottom: 16px; color: var(--clr-neutral-600); font-size: var(--fs-body-s); }

/* ── PAGE: ACCUEIL ── */
.hero {
  display: flex;
  align-items: center;
  height: calc(100vh - 70px);
  gap: 48px;
}
.hero__photo-wrap { flex: 0 0 48%; display: flex; align-items: center; justify-content: center; }
.hero__photo {
  width: min(430px, 46vh); height: min(430px, 46vh);
  border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 2px solid #333; display: block; flex-shrink: 0;
}
.hero__content {
  flex: 0 0 calc(52% - 48px); min-width: 0;
  overflow-y: auto;
  max-height: calc(100vh - 130px);
  padding-right: 6px;
}
.hero__head { text-align: left; font-weight: var(--fw-light); line-height: 1; margin-bottom: 12px; }
.hero__head h1, .about-title { display: inline; font-size: 54px; font-weight: var(--fw-light); }
.hero__text { text-align: left; font-weight: var(--fw-light); margin: 0 0 12px; font-size: 16px; line-height: 1.65; }
.hero__text h2 { margin: 20px 0; font-size: 30px; font-weight: var(--fw-light); }

/* ── PAGE: COMPÉTENCES ── */
.page-header { padding-block: 60px 40px; border-bottom: 1px solid #222; margin-bottom: 50px; }
.page-header h1 { font-size: clamp(28px, 4vw, 48px); font-weight: var(--fw-light); margin-bottom: 10px; }
.page-header p { font-size: var(--fs-body-m); color: #aaaaaa; font-weight: var(--fw-light); }

.skill-section { margin-bottom: 50px; }
.skill-section__title {
  font-size: 20px; font-weight: var(--fw-semi-bold);
  margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid #222;
}
.skill-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.skill-card {
  background: #131313; border: 1px solid #222;
  border-radius: var(--border-radius-400); padding: 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.skill-card:hover { border-color: #444; transform: translateY(-4px); }
.skill-card__icon {
  font-size: 20px; padding: 4px 10px;
  border: 1px solid white; border-radius: 50%;
  display: inline-block; margin-bottom: 16px;
}
.skill-card__name { font-size: 15px; font-weight: var(--fw-semi-bold); margin-bottom: 8px; }
.skill-card__desc { font-size: 13px; color: #ffffff; line-height: 1.6; }
.skill-card__level {
  display: inline-block; margin-top: 14px; font-size: 12px;
  padding: 3px 12px; border-radius: var(--border-radius-900);
  border: 1px solid #333; color: #aaaaaa; font-weight: var(--fw-medium);
}
.skill-card__level.bon { border-color: rgba(18,221,0,0.3); color: var(--clr-accent-400); }
.skill-card__level.intermediaire { border-color: rgba(221,146,0,0.3); color: var(--clr-accent-500); }

/* ── PAGE: PROJETS ── */
.project-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 10px;
}
.project-card {
  display: flex; flex-direction: column;
  border-radius: var(--border-radius-400);
  background: #131313; border: 1px solid #222;
  overflow: hidden; min-height: 380px;
  transition: border-color .2s ease, transform .2s ease;
}
.project-card:hover { border-color: #444; transform: translateY(-4px); }
.project-card__img {
  width: 100%; height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.project-card__body { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.project-card__body h3 { font-size: 1.3rem; font-weight: var(--fw-semi-bold); margin-bottom: 1rem; }
.project-card__body p { color: #ffffff; font-size: 0.95rem; flex-grow: 1; margin-bottom: 1.2rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1rem; }
.project-tag {
  font-size: 12px; padding: 3px 12px;
  border-radius: var(--border-radius-900);
  border: 1px solid #333; color: #aaaaaa; font-weight: var(--fw-medium);
}

/* ── PAGE: PARCOURS ── */
.parcours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 10px;
}
.parcours-card {
  background: #131313; border: 1px solid #222;
  border-radius: var(--border-radius-400); padding: 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.parcours-card:hover { border-color: #444; transform: translateY(-4px); }
.parcours-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.parcours-card__icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: #222; border: 1px solid #333;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.parcours-card__org { font-size: 15px; font-weight: var(--fw-semi-bold); }
.parcours-card__period { font-size: 12px; color: var(--clr-accent-500); font-weight: var(--fw-medium); margin-top: 2px; }
.parcours-card__title { font-size: 13px; color: #aaaaaa; margin-bottom: 10px; font-weight: var(--fw-medium); }
.parcours-card__desc { font-size: 13px; color: #ffffff; line-height: 1.7; }
.parcours-card__badge {
  display: inline-block; margin-top: 14px; font-size: 12px;
  padding: 3px 12px; border-radius: var(--border-radius-900);
  border: 1px solid #333; color: #aaaaaa;
}
.parcours-card__badge.formation { border-color: rgba(0,179,255,0.3); color: #00b3ff; }
.parcours-card__badge.alternance { border-color: rgba(18,221,0,0.3); color: var(--clr-accent-400); }
.parcours-card__badge.certification { border-color: rgba(221,146,0,0.3); color: var(--clr-accent-500); }

/* ── PAGE: CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 10px;
}
.contact-card {
  background: #131313; border: 1px solid #222;
  border-radius: var(--border-radius-400); padding: 32px;
}
.contact-card h2 { font-size: 22px; font-weight: var(--fw-semi-bold); margin-bottom: 20px; }
.contact-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid #222;
  text-decoration: none; color: inherit;
  transition: color .15s ease;
}
.contact-item:last-child { border-bottom: none; }
.contact-item:hover { color: #ccc; }
.contact-item i { font-size: 20px; width: 24px; text-align: center; color: #aaaaaa; }
.contact-item__label { font-size: 13px; color: #aaaaaa; }
.contact-item__value { font-size: 15px; font-weight: var(--fw-medium); }

/* ── FOOTER ── */
footer { border-top: 1px solid #222; padding-block: 60px; }
footer .upper-footer { display: flex; justify-content: space-between; margin-bottom: 40px; }
footer .upper-footer .description { width: 30%; }
footer .upper-footer .description p { font-size: 15px; color: rgb(187,187,187); line-height: 1.7; }
footer .upper-footer .description .socials ul { display: flex; list-style: none; gap: 18px; margin-top: 40px; }
footer .upper-footer .description .socials ul li a {
  color: #fff; font-size: 20px; text-decoration: none;
  transition: transform .15s ease, color .15s ease; display: inline-block;
}
footer .upper-footer .description .socials ul li a:hover { transform: translateY(-4px); color: var(--clr-accent-400); }
footer .upper-footer .links { grid-template-columns: repeat(3,1fr); display: grid; gap: 40px; }
footer .upper-footer .links .link h4 { margin-bottom: 20px; font-size: 16px; font-weight: var(--fw-semi-bold); }
footer .upper-footer .links .link ul { list-style: none; }
footer .upper-footer .links .link ul li { margin-bottom: 8px; }
footer .upper-footer .links .link ul li a {
  font-size: 15px; text-decoration: none; color: rgb(187,187,187);
  transition: color .15s ease; cursor: pointer;
}
footer .upper-footer .links .link ul li a:hover { color: #fff; }
footer .copyright { display: flex; justify-content: space-between; border-top: 1px solid #222; padding-top: 24px; }
footer .copyright p { font-size: 14px; color: #aaaaaa; }

/* ── PAGE: CV ── */
.cv-page-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-block: 60px 40px; margin-bottom: 56px;
}
.cv-page-header h1 { font-size: clamp(28px, 4vw, 48px); font-weight: var(--fw-light); }

.cv-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 72px;
  align-items: start;
  padding-bottom: 80px;
}

/* sidebar */
.cv-sidebar { position: sticky; top: 90px; }
.cv-sidebar__section { margin-bottom: 36px; }
.cv-sidebar__section:last-child { margin-bottom: 0; }
.cv-sidebar__title {
  font-size: 18px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: #fff;
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid #2a2a2a;
}

.cv-contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.cv-contact-list li a,
.cv-contact-list li span {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: #aaaaaa; text-decoration: none;
  transition: color .15s ease;
}
.cv-contact-list li a:hover { color: #fff; }
.cv-contact-list li i { font-size: 15px; color: #888; width: 16px; flex-shrink: 0; }

.cv-skill-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cv-skill-list li {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; color: #bbb;
}
.cv-skill-list li .cv-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.cv-dot.bon { background: var(--clr-accent-400); box-shadow: 0 0 6px rgba(18,221,0,0.4); }
.cv-dot.inter { background: var(--clr-accent-500); box-shadow: 0 0 6px rgba(221,146,0,0.4); }

.cv-cert-block {
  background: #0d0d0d; border: 1px solid rgba(221,146,0,0.2);
  border-radius: var(--border-radius-100); padding: 14px;
}
.cv-cert-block__name { font-size: 14px; font-weight: var(--fw-semi-bold); margin-bottom: 4px; }
.cv-cert-block__issuer { font-size: 13px; color: #999; margin-bottom: 6px; }
.cv-cert-block__date { font-size: 13px; color: var(--clr-accent-500); }

/* main */
.cv-main { padding-top: 0; }
.cv-main__section { margin-bottom: 48px; }
.cv-main__section:last-child { margin-bottom: 0; }
.cv-main__title {
  font-size: 18px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: #fff;
  margin-bottom: 28px; padding-bottom: 10px; border-bottom: 1px solid #2a2a2a;
}

.cv-profil {
  font-size: 15px; color: #aaaaaa; line-height: 1.85;
  font-weight: var(--fw-light);
}

.cv-entry { display: flex; gap: 24px; margin-bottom: 48px; align-items: flex-start; }
.cv-entry:last-child { margin-bottom: 0; }
.cv-entry__date {
  flex: 0 0 110px; font-size: 13px; color: var(--clr-accent-500);
  font-weight: var(--fw-medium); padding-top: 4px; line-height: 1.5;
}
.cv-entry__content { flex: 1; min-width: 0; }
.cv-entry__org { font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #fff; margin-bottom: 10px; padding-bottom: 12px; border-bottom: 1px solid #2a2a2a; }
.cv-entry__role { font-size: 14px; color: #fff; margin-bottom: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.cv-entry__desc { font-size: 14px; color: #ffffff; line-height: 2; }
.cv-entry__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.cv-entry__tag {
  font-size: 12px; padding: 4px 12px;
  border-radius: var(--border-radius-900);
  border: 1px solid #2a2a2a; color: #999;
}
.cv-pipeline-svg {
  display: block; margin: 20px 0 10px;
  width: 100%; max-width: 380px; height: auto;
}
.cv-entry__detail {
  font-size: 14px; color: #aaaaaa; line-height: 2; margin-top: 16px;
}
.cv-timeline { position: relative; }
.cv-timeline::before {
  content: ''; position: absolute;
  left: 110px; top: 6px; bottom: 6px;
  width: 1px; background: #2a2a2a;
}
.cv-timeline .cv-entry__date { position: relative; }
.cv-tl-dot {
  position: absolute; right: -5px; top: 2px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff; border: 2px solid #0a0a0a;
}

@media (max-width: 860px) {
  .cv-layout { grid-template-columns: 1fr; gap: 48px; }
  .cv-sidebar { position: static; }
  .cv-main { padding-top: 0; }
  .cv-page-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ── PAGE: PROJETS CATÉGORIES ── */
.projets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.projet-cat {
  text-decoration: none; color: inherit;
  border: 1px solid #222; border-radius: 12px;
  padding: 28px; background: #0a0a0a;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  transition: border-color .2s ease, transform .2s ease;
}
.projet-cat:hover { border-color: #444; transform: translateY(-4px); }
.projet-cat__icon { flex: 1; display: flex; align-items: center; justify-content: center; padding: 16px 0; }
.projet-cat__icon img { max-height: 120px; width: auto; }
.projet-cat__icon i { font-size: 64px; color: #fff; }
.projet-cat__label { font-size: 15px; font-weight: 700; color: #fff; }

@media (max-width: 600px) {
  .projets-grid { grid-template-columns: 1fr; gap: 16px; }
  .projet-cat { flex-direction: row; padding: 20px; text-align: left; gap: 20px; }
  .projet-cat__icon { flex: 0 0 auto; padding: 0; }
  .projet-cat__icon img { max-height: 52px; }
  .projet-cat__icon i { font-size: 40px; }
  .projet-cat__label { font-size: 15px; }
}

/* ── FRISE + BULLES ── */
.frise-bulles { position: relative; margin-bottom: 80px; }
.frise-bulles__line {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: #2a2a2a; transform: translateX(-50%);
}
.frise-row {
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  align-items: center;
  margin-bottom: 24px;
}
.frise-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2px solid #0a0a0a;
  justify-self: center; z-index: 1;
}
.frise-empty { /* spacer vide */ }
.bulle {
  display: block; text-decoration: none; color: inherit;
  background: #0d0d0d; border: 1px solid #222;
  border-radius: 14px; padding: 14px 16px;
  max-width: 90%; text-align: center;
  position: relative; z-index: 1;
  transition: border-color .2s ease, transform .2s ease;
}
.bulle .project-tags { justify-content: center; }
.bulle:hover { border-color: #444; transform: translateY(-2px); }
.bulle--right { justify-self: end; text-align: right; }
.bulle--left  { justify-self: start; text-align: left; }
.bulle__name { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 6px; text-align: center; }
.bulle__desc { font-size: 12px; color: #ffffff; line-height: 1.65; margin-bottom: 10px; text-align: center; }
.frise-bulles--left .frise-bulles__line { left: 10px; transform: none; }
.frise-bulles--left .frise-row { grid-template-columns: 20px 1fr; }
.frise-bulles--left .frise-empty { display: none; }
.frise-bulles--left .bulle { grid-column: 2; justify-self: stretch; text-align: left; max-width: 100%; }
.frise-bulles--left .bulle .project-tags { justify-content: flex-start !important; }
.frise-bulles--left .bulle__name,
.frise-bulles--left .bulle__desc { text-align: left; }

@media (max-width: 640px) {
  .frise-bulles__line { left: 6px; transform: none; }
  .frise-row { grid-template-columns: 20px 1fr; }
  .frise-dot { justify-self: center; margin-top: 4px; align-self: start; }
  .frise-empty { display: none; }
  .bulle--right, .bulle--left {
    grid-column: 2; justify-self: stretch; text-align: left; max-width: 100%;
  }
  .bulle--right .project-tags { justify-content: flex-start !important; }
}

/* ── HERO GLASS ── */
.hero-glass {
  position: relative;
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
#glass-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.hero-glass__content {
  position: relative;
  z-index: 1;
  padding-left: 7vw;
  max-width: 58%;
  text-align: left;
}
.hero-glass__kicker {
  font-size: 14px;
  font-weight: var(--fw-semi-bold);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #9a9a9a;
  margin-bottom: 26px;
}
.hero-glass__title {
  font-size: clamp(44px, 7.2vw, 116px);
  line-height: 1.04;
  font-weight: var(--fw-bold, 700);
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-glass__cta {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 48px;
}
.glass-btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: var(--fw-semi-bold);
  padding: 14px 38px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1), background-color .25s, color .25s, border-color .25s;
}
.glass-btn--solid { background: #fff; color: #000; }
.glass-btn--solid:hover { transform: translateY(-3px); }
.glass-btn--ghost { border: 1px solid #555; color: #fff; }
.glass-btn--ghost:hover { border-color: #fff; transform: translateY(-3px); }
@media (max-width: 900px) {
  .hero-glass { justify-content: center; }
  .hero-glass__content { max-width: 100%; padding: 0 24px; text-align: center; }
  .hero-glass__cta { justify-content: center; }
}

.page { position: relative; z-index: 1; }

/* ── ANIMATIONS ── */

.anim { opacity: 0; translate: 0 26px; transition: opacity .6s ease, translate .6s ease; }
.anim.visible { opacity: 1; translate: 0 0; }

@keyframes pageIn {
  from { opacity: 0; translate: 0 14px; }
  to   { opacity: 1; translate: 0 0; }
}
.page { animation: pageIn .45s ease both; }

.hero__typing { font-size: 17px; min-height: 1.7em; margin-bottom: 14px; color: #ddd; }
.hero__typing .typed-text { color: var(--clr-accent-400); font-weight: var(--fw-medium); }
.typing-cursor { display: inline-block; color: #fff; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .anim { opacity: 1; translate: none; transition: none; }
  .page { animation: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .nav__toggle { display: block; }
  .nav__list {
    position: absolute; top: 0; left: 0; width: 100%;
    padding: 120px 24px 60px; background-color: var(--clr-neutral-900);
    z-index: -1; flex-direction: column;
    transition: transform .25s ease-in-out; transform: translateY(-100%);
  }
  .nav__list[aria-expanded="true"] { transform: translateY(0); }
}
@media (max-width: 768px) {
  .hero { flex-direction: column; height: calc(100vh - 70px); padding-block: 20px; gap: 24px; overflow-y: auto; }
  .hero__photo-wrap { flex: none; width: 100%; }
  .hero__photo { width: min(180px, 25vh); height: min(180px, 25vh); }
  .hero__content { flex: none; width: 100%; }
  .hero__head { text-align: center; }
  .hero__text { text-align: center; }
  .hero__head h1, .about-title { font-size: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  footer .upper-footer { flex-direction: column; gap: 40px; }
  footer .upper-footer .description { width: 100%; }
  footer .upper-footer .description .socials ul { margin-top: 20px; }
  footer .copyright { flex-direction: column; gap: 8px; }
}
