/* =========================================================
   Место Магического Мастерства — страница «Обо мне»
   ========================================================= */

.about-page { background: var(--bg); }
.about-page { isolation: isolate; }
.about-page main,
.about-page > .footer { position: relative; z-index: 1; }
.about-starfall {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.about-starfall span {
  position: absolute;
  top: -16vh;
  left: var(--x);
  width: 1px;
  height: var(--len);
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(237, 218, 175, .75), transparent);
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(237, 218, 175, .3));
  transform: rotate(29deg);
  animation: about-starfall var(--dur) linear infinite;
  animation-delay: var(--delay);
}
@keyframes about-starfall {
  0% { opacity: 0; transform: translate3d(0, -8vh, 0) rotate(29deg); }
  8% { opacity: .68; }
  68% { opacity: .35; }
  100% { opacity: 0; transform: translate3d(-72vw, 118vh, 0) rotate(29deg); }
}
@media (prefers-reduced-motion: reduce) {
  .about-starfall { display: none; }
}

/* ---------- Hero ---------- */
.bio-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 168px 0 96px;
  overflow: hidden;
}
.bio-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.bio-hero__glow {
  position: absolute;
  top: 12%;
  right: 2%;
  width: min(680px, 55vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 62, 94, .22), transparent 66%);
  filter: blur(30px);
}
.bio-hero__ring {
  position: absolute;
  top: 50%;
  right: 3%;
  width: min(640px, 55vw);
  aspect-ratio: 1;
  border: 1px solid rgba(216, 183, 124, .12);
  border-radius: 50%;
  transform: translateY(-50%);
}
.bio-hero__ring::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px dashed rgba(216, 183, 124, .08);
  border-radius: 50%;
}
.bio-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}
.bio-hero__copy { max-width: 700px; }
.bio-hero__title {
  margin-top: 24px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(68px, 8.4vw, 126px);
  font-weight: 300;
  line-height: .84;
  letter-spacing: -.04em;
}
.bio-hero__title em { color: var(--gold); font-weight: 300; }
.bio-hero__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 26px;
  color: var(--gold-bright);
  font-size: 9px;
  letter-spacing: .16em;
  line-height: 1.7;
  text-transform: uppercase;
}
.bio-hero__roles span { position: relative; }
.bio-hero__roles span + span::before {
  content: "·";
  position: absolute;
  left: -12px;
  color: var(--gold);
}
.bio-hero__lead {
  max-width: 530px;
  margin-top: 26px;
  color: var(--cream-dim);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.9;
}
.bio-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
.bio-hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 460px);
}
.bio-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 13%, #000 87%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 11%, #000 87%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 13%, #000 87%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 11%, #000 87%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  filter: saturate(.68) brightness(.82) contrast(1.05) sepia(.06);
  transform: scale(1.01);
}
.bio-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 9, 19, .02) 35%, rgba(13, 9, 19, .5) 100%);
}
.bio-hero__visual figcaption {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 7px;
  letter-spacing: .2em;
  text-align: right;
  text-transform: uppercase;
}
.bio-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid var(--line);
}
.bio-stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 22px 26px 0;
  border-left: 1px solid var(--line);
}
.bio-stat:first-child { padding-left: 0; border-left: 0; }
.bio-stat strong {
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 400;
  line-height: 1;
}
.bio-stat span {
  color: var(--muted-2);
  font-size: 8.5px;
  letter-spacing: .11em;
  line-height: 1.5;
  text-transform: uppercase;
}
.about-page .hero__stars span { z-index: 1; }

/* ---------- Story ---------- */
.bio-story { border-top: 1px solid var(--line-soft); }
.bio-story__grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(50px, 9vw, 130px);
}
.bio-story__aside { position: sticky; top: 132px; }
.bio-story__aside .section-title {
  margin-top: 20px;
  font-size: clamp(42px, 4.7vw, 64px);
}
.bio-story__aside p:last-child {
  max-width: 320px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.9;
}
.bio-story__body { max-width: 720px; }
.bio-story__body > p {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 2;
}
.bio-story__body > p + p { margin-top: 22px; }
.bio-story__body > p:first-child {
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(25px, 2.8vw, 34px);
  font-weight: 300;
  line-height: 1.42;
}
.bio-story__body strong { color: var(--cream-dim); font-weight: 500; }
.bio-quote {
  margin-top: 38px;
  padding: 26px 0 24px 28px;
  border-left: 1px solid var(--gold);
}
.bio-quote p {
  color: var(--cream-dim);
  font-family: var(--serif);
  font-size: clamp(23px, 2.4vw, 30px);
  font-weight: 300;
  line-height: 1.42;
}
.bio-quote cite {
  display: block;
  margin-top: 13px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 7.5px;
  font-style: normal;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.story-heading {
  margin: 54px 0 24px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 43px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.015em;
}
.story-heading::before {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  margin-bottom: 17px;
  background: var(--gold-line);
}
.story-photo {
  position: relative;
  margin: 44px 0 48px;
}
.story-photo__media {
  position: relative;
  overflow: hidden;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 90%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.story-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(.66) brightness(.82) contrast(1.05) sepia(.05);
}
.photo-effects {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}
.photo-effects::before {
  content: "";
  position: absolute;
  inset: -6%;
  background-image:
    radial-gradient(circle at 18% 24%, rgba(237, 218, 175, .8) 0 1px, transparent 1.4px),
    radial-gradient(circle at 68% 16%, rgba(216, 183, 124, .7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 42% 72%, rgba(237, 218, 175, .65) 0 1px, transparent 1.4px),
    radial-gradient(circle at 84% 62%, rgba(216, 183, 124, .6) 0 1px, transparent 1.4px);
  background-size: 78px 66px, 110px 92px, 132px 108px, 96px 82px;
  background-position: 6px 10px, 32px 18px, 52px 40px, 18px 70px;
  background-repeat: repeat;
  opacity: .34;
  animation: photo-twinkle 8s ease-in-out infinite alternate;
}
.photo-effects::after {
  content: "";
  position: absolute;
  top: -14%;
  left: -22%;
  width: 82px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(237, 218, 175, .85));
  box-shadow: 0 0 5px rgba(237, 218, 175, .35);
  opacity: 0;
  transform: rotate(27deg);
  transform-origin: left center;
  animation: photo-shoot 11s ease-in infinite;
  animation-delay: var(--photo-shoot-delay, 3s);
}
.photo-effects--hero::after { --photo-shoot-delay: 4s; }
.story-photo:nth-of-type(2n) .photo-effects::after { animation-delay: 7s; }
.story-photo:nth-of-type(3n) .photo-effects::after { animation-delay: 2.2s; }
.story-photo--portrait .photo-effects::before { opacity: .28; }
.photo-effects--storm::before {
  inset: 0;
  background: radial-gradient(ellipse at 60% 20%, rgba(246, 236, 208, .42), transparent 58%);
  opacity: 0;
  transform: none;
  animation: photo-flash 9s ease-in infinite;
  animation-delay: 2.6s;
}
.photo-effects--storm::after { display: none; }
.photo-effects--fog::before,
.photo-effects--fog::after { display: none; }
.photo-bolt {
  position: absolute;
  top: 1%;
  left: 54%;
  width: auto;
  height: 72%;
  max-height: 260px;
  color: rgba(238, 220, 175, .92);
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(255, 245, 220, .85)) drop-shadow(0 0 16px rgba(237, 218, 175, .45));
  animation: photo-bolt 9s ease-in infinite;
  animation-delay: 2.6s;
  pointer-events: none;
}
.story-photo--wide img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 54%;
}
.story-photo--portrait {
  width: 64%;
  margin-right: auto;
  margin-left: auto;
}
.story-photo--portrait img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.story-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 7.5px;
  letter-spacing: .14em;
  line-height: 1.6;
  text-transform: uppercase;
}
.story-photo figcaption span:last-child { color: var(--gold); text-align: right; }
.bio-story__body > .story-final {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 31px);
  line-height: 1.42;
}
.bio-story__body > .story-male {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 1px solid var(--gold);
  background: rgba(216, 183, 124, .04);
  color: var(--cream-dim);
  font-size: 13px;
  font-style: italic;
  line-height: 1.9;
}

/* ---------- Expertise ---------- */
.bio-expertise {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
}
.bio-expertise__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 46px;
  border-top: 1px solid var(--line);
}
.bio-expertise__card {
  position: relative;
  min-height: 250px;
  padding: 30px 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bio-expertise__card:nth-child(2n) { border-right: 0; }
.bio-expertise__num {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: .14em;
}
.bio-expertise__card h3 {
  margin-top: 30px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(29px, 3vw, 38px);
  font-weight: 300;
  line-height: 1.1;
}
.bio-expertise__card p {
  max-width: 430px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.85;
}
.bio-expertise__tag {
  display: block;
  margin-top: 24px;
  color: rgba(216, 183, 124, .75);
  font-size: 7px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* ---------- Gallery ---------- */
.bio-gallery__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 18px;
  margin-top: 48px;
}
.bio-gallery figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.bio-gallery figure:nth-child(2) { margin-top: 56px; }
.bio-gallery figure:nth-child(3) { grid-column: 1 / -1; width: 52%; justify-self: end; margin-top: 18px; }
.bio-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.66) brightness(.8) contrast(1.04) sepia(.06);
  transition: filter .7s var(--ease), transform 1.1s var(--ease);
}
.bio-gallery figure:hover img { filter: saturate(.82) brightness(.9) contrast(1.03); transform: scale(1.02); }
.bio-gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13, 9, 19, .7) 100%);
  pointer-events: none;
}
.bio-gallery figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  color: var(--cream-dim);
  font-size: 7.5px;
  letter-spacing: .15em;
  line-height: 1.6;
  text-transform: uppercase;
}

/* ---------- Certificates ---------- */
.bio-certificates {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
}
.certificates__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.certificate {
  display: flex;
  flex-direction: column;
  min-width: 0;
  cursor: default;
}
.certificate__paper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  user-select: none;
  isolation: isolate;
}
.certificate__paper::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 2;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(184, 143, 78, .75) 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 18%, rgba(216, 183, 124, .7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 44% 76%, rgba(184, 143, 78, .65) 0 1px, transparent 1.5px),
    radial-gradient(circle at 86% 64%, rgba(216, 183, 124, .7) 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 10% 86%, rgba(184, 143, 78, .6) 0 1px, transparent 1.4px);
  background-size: 68px 58px, 92px 78px, 110px 96px, 76px 64px, 128px 112px;
  background-position: 4px 6px, 26px 14px, 48px 32px, 12px 58px, 62px 8px;
  background-repeat: repeat;
  opacity: .55;
  animation: cert-twinkle 7s ease-in-out infinite alternate;
}
.certificate__paper::after {
  content: "";
  position: absolute;
  top: -12%;
  left: -26%;
  z-index: 3;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(193, 151, 86, .95));
  box-shadow: 0 0 5px rgba(193, 151, 86, .45);
  opacity: 0;
  transform: rotate(32deg);
  transform-origin: left center;
  pointer-events: none;
  animation: cert-shoot 9s ease-in infinite;
  animation-delay: var(--shoot-delay, 1.8s);
}
.certificate:nth-child(2) { --shoot-delay: 1.4s; }
.certificate:nth-child(3) { --shoot-delay: 3.2s; }
.certificate:nth-child(4) { --shoot-delay: 5.1s; }
.certificate:nth-child(5) { --shoot-delay: 7s; }
.certificate:nth-child(6) { --shoot-delay: 2.3s; }
.certificate:nth-child(7) { --shoot-delay: 4.4s; }
.certificate:nth-child(8) { --shoot-delay: 6.2s; }
.certificate:nth-child(9) { --shoot-delay: 8s; }
.certificate:nth-child(10) { --shoot-delay: 0.6s; }
.certificate:nth-child(11) { --shoot-delay: 2.6s; }
.certificate:nth-child(12) { --shoot-delay: 4.7s; }
.certificate:nth-child(13) { --shoot-delay: 6.4s; }
.certificate:nth-child(14) { --shoot-delay: 8.1s; }
.certificate:nth-child(15) { --shoot-delay: 1.1s; }
.certificate:nth-child(2n) .certificate__paper::before { animation-delay: -2.2s; }
.certificate:nth-child(3n) .certificate__paper::before { animation-delay: -4.1s; }
.certificate img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: saturate(.82) brightness(.94) contrast(1.03) sepia(.08);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 90%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.certificate figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 9px;
  color: var(--muted-2);
  font-size: 7.5px;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}
.certificate figcaption span:last-child { color: rgba(216, 183, 124, .78); }

/* ---------- Values ---------- */
.bio-values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 42px;
  margin-top: 46px;
}
.bio-value {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.bio-value__num {
  padding-top: 4px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: .1em;
}
.bio-value h3 {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}
.bio-value p {
  max-width: 420px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.85;
}

/* ---------- CTA ---------- */
.bio-cta {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(800px 500px at 50% 0%, rgba(95, 55, 102, .2), transparent 65%),
    var(--bg-soft);
  text-align: center;
}
.bio-cta .section-title { margin-top: 20px; }
.bio-cta > .container > p:not(.eyebrow) {
  max-width: 540px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
}
.bio-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.bio-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
}
.bio-socials__label {
  color: var(--gold);
  font-size: 8px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.bio-socials__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 17px;
}
.bio-socials__links a {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(216, 183, 124, .25);
  transition: color .3s, border-color .3s;
}
.bio-socials__links a:hover { color: var(--gold-bright); border-color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .bio-hero { padding-top: 140px; }
  .bio-hero__title { font-size: clamp(60px, 9vw, 96px); }
  .bio-hero__grid { gap: 40px; }
  .bio-hero__visual { width: min(100%, 400px); }
  .bio-stat { padding-inline: 18px; }
  .bio-story__grid { gap: 55px; }
}

@media (max-width: 820px) {
  .bio-hero { min-height: 0; padding: 126px 0 80px; }
  .bio-hero__grid { grid-template-columns: 1fr; }
  .bio-hero__copy { max-width: 640px; }
  .bio-hero__visual { justify-self: start; width: min(100%, 430px); margin-top: 10px; }
  .bio-hero__title { font-size: clamp(58px, 12vw, 86px); }
  .bio-stats { grid-template-columns: 1fr 1fr; margin-top: 50px; }
  .bio-stat { padding: 18px 18px 0; }
  .bio-stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .bio-stat:nth-child(n + 3) { margin-top: 18px; }
  .bio-story__grid { grid-template-columns: 1fr; gap: 40px; }
  .bio-story__aside { position: static; }
  .bio-story__aside p:last-child { max-width: 520px; }
  .story-photo--portrait { width: 78%; }
  .bio-expertise__grid { grid-template-columns: 1fr; }
  .bio-expertise__card { border-right: 0; min-height: 0; }
  .bio-gallery__grid { grid-template-columns: 1fr 1fr; }
  .bio-gallery figure:nth-child(2) { margin-top: 36px; }
  .bio-gallery figure:nth-child(3) { width: 100%; margin-top: 0; }
  .certificates__grid { grid-template-columns: repeat(4, 1fr); }
  .bio-values__grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .bio-hero { padding: 112px 0 66px; }
  .bio-hero__title { font-size: clamp(48px, 14vw, 72px); }
  .bio-hero__roles { margin-top: 20px; font-size: 8px; gap: 8px 16px; }
  .bio-hero__lead { margin-top: 20px; font-size: 13px; }
  .bio-hero__actions { margin-top: 26px; }
  .bio-hero__actions .btn { width: 100%; }
  .bio-stats { margin-top: 42px; }
  .bio-stat strong { font-size: 23px; }
  .bio-stat span { font-size: 7px; }
  .bio-story__body > p { font-size: 14px; }
  .bio-quote { padding-left: 20px; }
  .story-heading { margin: 40px 0 18px; }
  .story-photo { margin: 32px 0 36px; }
  .story-photo--portrait { width: 100%; }
  .story-photo figcaption { font-size: 7px; }
  .bio-gallery__grid { grid-template-columns: 1fr; }
  .bio-gallery figure:nth-child(2) { margin-top: 0; }
  .bio-gallery figure:nth-child(3) { width: 100%; }
  .bio-gallery figure { aspect-ratio: 4 / 5; }
  .certificates__grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .certificate figcaption { font-size: 7px; }
  .bio-cta { padding: 86px 0; }
}

@media (max-width: 430px) {
  .bio-hero__title { font-size: 47px; }
  .bio-hero__roles span + span::before { display: none; }
  .bio-stats { grid-template-columns: 1fr; }
  .bio-stat { padding-left: 0; border-left: 0; }
  .bio-stat:nth-child(n + 2) { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
  .bio-stat:nth-child(n + 3) { margin-top: 0; }
}

@keyframes cert-twinkle {
  0% { opacity: .38; transform: translateY(0); }
  100% { opacity: .68; transform: translateY(-2px); }
}

@keyframes cert-shoot {
  0%, 76% { opacity: 0; transform: translate3d(0, 0, 0) rotate(32deg); }
  78% { opacity: .9; }
  90% { opacity: 0; transform: translate3d(310%, 230%, 0) rotate(32deg); }
  100% { opacity: 0; transform: translate3d(310%, 230%, 0) rotate(32deg); }
}

@keyframes photo-twinkle {
  0% { opacity: .22; transform: translateY(0); }
  100% { opacity: .44; transform: translateY(-2px); }
}

@keyframes photo-shoot {
  0%, 80% { opacity: 0; transform: translate3d(0, 0, 0) rotate(27deg); }
  82% { opacity: .8; }
  92% { opacity: 0; transform: translate3d(420%, 230%, 0) rotate(27deg); }
  100% { opacity: 0; transform: translate3d(420%, 230%, 0) rotate(27deg); }
}

@keyframes photo-bolt {
  0%, 74%, 100% { opacity: 0; }
  76% { opacity: .9; }
  78% { opacity: .15; }
  80% { opacity: .8; }
  84% { opacity: 0; }
}

@keyframes photo-flash {
  0%, 74%, 100% { opacity: 0; }
  76% { opacity: .3; }
  78% { opacity: .04; }
  80% { opacity: .22; }
  84% { opacity: 0; }
}
