/* —— About Me page —— */
.about-page {
  background: var(--black);
}

.about-page main {
  display: block;
}

/* Reset global paragraph styles inside about page */
.about-page p {
  max-width: none;
  margin: 0;
  padding: 0;
  border-left: 0;
  padding-left: 0;
  text-shadow: none;
  filter: none;
}

.about-page .ab-hero__meta {
  position: static;
  max-width: none;
  margin: clamp(10px, 1.6vw, 20px) 0 0;
  padding: 0;
  border-left: 0;
  text-align: right;
  text-shadow: none;
  filter: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.about-page .ab-prose p {
  position: static;
  max-width: none;
  padding: 0;
  border-left: 0;
  text-align: center;
  text-shadow: none;
  filter: none;
}

/* Nav active underline */
.about-page .nav-desktop a.is-active {
  position: relative;
}

.about-page .nav-desktop a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 88px;
  max-width: 100%;
  height: 2px;
  transform: translateX(-50%);
  background: #d9d9d9;
}

/* —— Hero header —— */
.ab-hero {
  position: relative;
  min-height: clamp(440px, 61vw, 880px);
  overflow: hidden;
  background: var(--black);
}

.ab-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.ab-hero__bg-paint {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100vw;
  max-width: 100vw;
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.95;
  object-fit: contain;
}

.ab-hero__bg-fade {
  position: absolute;
  left: -5%;
  right: -5%;
  pointer-events: none;
  z-index: 5;
}

.ab-hero__bg-fade--top {
  top: 0;
  height: 132px;
  filter: blur(20px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, transparent 100%);
  z-index: 1;
}

.ab-hero__bg-fade--bottom {
  display: none;
}

.ab-hero__bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(120px, 16vw, 200px);
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.92) 25%,
    rgba(0, 0, 0, 0.55) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 5;
}

.ab-hero__top {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 54px);
}

.ab-hero__id {
  position: absolute;
  z-index: 2;
  left: -4%;
  top: clamp(140px, 18vw, 200px);
  width: min(880px, 64vw);
  height: auto;
  object-fit: contain;
  transform: rotate(-3deg);
}

.ab-hero__id--mobile {
  display: none;
}

.ab-hero__titles {
  position: relative;
  z-index: 3;
  margin-top: clamp(80px, 12vw, 180px);
  padding: 0 clamp(20px, 4vw, 60px) clamp(40px, 6vw, 80px);
  text-align: right;
}

.ab-hero__title {
  margin: 0;
  font-family: "Impact Custom", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(60px, 12.4vw, 157px);
  line-height: 0.88;
  text-align: right;
}

.ab-hero__title-accent,
.ab-hero__title-white {
  display: block;
  text-align: right;
}

.ab-hero__title-accent {
  color: var(--cyan);
}

.ab-hero__title-white {
  color: var(--white);
}

.ab-hero__meta {
  margin: clamp(10px, 1.6vw, 20px) 0 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(12px, 2vw, 29px);
  line-height: 1.2;
  color: var(--cyan);
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ab-hero__meta span {
  display: block;
}

.about-page .social-tabs {
  position: fixed;
  z-index: 9999;
  right: 0;
  top: auto;
  bottom: 70px;
}

/* Shared prose */
.ab-prose {
  position: relative;
}

.about-page .ab-prose p {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(11px, 1.4vw, 20px);
  line-height: 1.35;
  color: var(--white);
  margin: 0;
}

.about-page .ab-prose p + p {
  margin-top: clamp(8px, 1vw, 14px);
}

.ab-prose--center {
  max-width: 768px;
  margin: 0 auto;
  padding-left: clamp(14px, 1.8vw, 22px);
}

.ab-prose--center::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--pink);
  border-radius: 2px;
}

.ab-prose--center p {
  text-align: center;
}

/* —— About section —— */
.ab-about {
  position: relative;
  background: var(--black);
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 120px);
}

.ab-about__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ab-about__bg img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100vw;
  max-width: 100vw;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: contain;
  opacity: 0.95;
}

.ab-about__inner {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.ab-about__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.ab-about__title {
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-family: "Impact Custom", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(36px, 7vw, 98px);
  line-height: 0.95;
  color: var(--white);
  text-align: center;
}

.ab-about__title em {
  font-style: normal;
  color: var(--pink-bright);
}

.ab-about__cv {
  display: block;
  width: min(1100px, 100%);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* —— Skills section —— */
.ab-skills {
  position: relative;
  background: var(--black);
  overflow: hidden;
  padding: clamp(56px, 7vw, 110px) 0 clamp(72px, 9vw, 130px);
}

.ab-skills__paint {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  width: min(520px, 42vw);
  height: auto;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.95;
}

.ab-skills__inner {
  position: relative;
  z-index: 1;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.ab-skills__art {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  object-fit: contain;
  justify-self: start;
}

.ab-skills__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.ab-skills__title {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  font-family: "Impact Custom", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 6vw, 86px);
  line-height: 0.95;
  color: var(--yellow);
  text-align: center;
}

/* —— Desktop (>1100px) —— */
@media (min-width: 1101px) {
  .ab-hero {
    min-height: 880px;
  }

  .ab-hero__id {
    top: 195px;
    left: -2%;
    width: min(820px, 58vw);
    height: auto;
    transform: rotate(-3deg);
    object-fit: contain;
  }

  .ab-hero__titles {
    position: absolute;
    right: clamp(160px, 16vw, 260px);
    top: clamp(150px, 18vw, 230px);
    margin-top: 0;
    padding: 0;
    max-width: min(440px, 38%);
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .ab-hero__title {
    text-align: right;
    font-size: clamp(72px, 7.5vw, 110px);
    line-height: 0.88;
    align-self: flex-end;
  }

  .ab-hero__title-accent,
  .ab-hero__title-white {
    display: block;
    text-align: right;
  }

  .about-page .ab-hero__meta {
    align-items: flex-end;
    align-self: flex-end;
    text-align: right;
    font-size: clamp(14px, 1.5vw, 22px);
    margin-top: clamp(10px, 1.4vw, 18px);
  }

  .ab-about__bg img {
    top: 68%;
  }

  .ab-about__inner {
    gap: clamp(48px, 6vw, 96px);
  }

  .ab-skills__inner {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
  }

  .ab-skills__copy {
    margin-top: clamp(40px, 5vw, 100px);
  }

  .ab-skills__art {
    max-width: 760px;
  }
}

/* —— Tablet (701px – 1100px) —— */
@media (max-width: 1100px) and (min-width: 701px) {
  .ab-hero {
    min-height: clamp(440px, 65vw, 580px);
  }

  .ab-hero__id {
    width: min(540px, 70vw);
    top: clamp(110px, 16vw, 200px);
    left: 2%;
    transform: rotate(-3deg);
  }

  .ab-hero__titles {
    position: absolute;
    right: clamp(28px, 4vw, 56px);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    margin-top: 0;
    padding: 0;
    max-width: 52%;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .ab-hero__title {
    font-size: clamp(64px, 9vw, 96px);
    line-height: 0.88;
    text-align: right;
  }

  .ab-hero__title-accent,
  .ab-hero__title-white {
    display: block;
    text-align: right;
  }

  .about-page .ab-hero__meta {
    align-items: flex-end;
    text-align: right;
    font-size: clamp(13px, 1.8vw, 18px);
    margin-top: clamp(8px, 1.2vw, 14px);
  }

  .ab-skills {
    padding: clamp(56px, 7vw, 100px) 0 clamp(72px, 9vw, 120px);
  }

  .ab-skills__inner {
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
  }

  .ab-skills__paint {
    right: 0;
    bottom: 0;
    width: min(280px, 28vw);
  }

  .ab-skills__copy {
    margin-top: clamp(40px, 6vw, 80px);
  }

  .ab-skills__title {
    font-size: clamp(40px, 6vw, 60px);
  }
}

/* —— Mobile (≤700px) —— */
@media (max-width: 700px) {
  .ab-hero {
    min-height: 620px;
  }

  .ab-hero__top {
    padding: 8px 20px;
  }

  .about-page .logo {
    width: 58px;
  }

  .ab-hero__bg-paint {
    width: 100vw;
    max-width: 100vw;
    top: 52%;
    transform: translate(-50%, -50%);
  }

  .ab-hero__id {
    display: none;
  }

  .ab-hero__id--mobile {
    display: block;
    position: absolute;
    z-index: 2;
    left: 50%;
    top: auto;
    bottom: clamp(90px, 18vw, 150px);
    width: 86vw;
    max-width: 380px;
    transform: translateX(-50%) rotate(-3deg);
    height: auto;
    object-fit: contain;
  }

  .ab-hero__titles {
    position: absolute;
    left: 50%;
    right: auto;
    top: clamp(72px, 11vw, 100px);
    bottom: auto;
    transform: translateX(-50%);
    margin: 0;
    padding: 0 16px;
    width: 92%;
    max-width: 360px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ab-hero__title {
    font-size: 46px;
    text-align: center;
    line-height: 0.92;
  }

  .ab-hero__title-accent,
  .ab-hero__title-white {
    display: block;
    text-align: center;
  }

  .about-page .ab-hero__meta {
    align-items: center;
    text-align: center;
    margin-top: 8px;
    font-size: 11px;
  }

  .ab-hero__meta {
    font-size: 11px;
    text-align: center;
    align-items: center;
  }

  .ab-hero__meta span {
    text-align: center;
  }

  .about-page .social-tabs {
    position: fixed;
    z-index: 9999;
    right: 0;
    top: auto;
    bottom: 120px;
  }

  .ab-about__bg img {
    top: 70%;
  }

  .ab-about__inner {
    gap: clamp(54px, 14vw, 96px);
  }

  .ab-about__title {
    font-size: 27px;
  }

  .ab-prose--center {
    padding-left: 12px;
    max-width: 320px;
  }

  .ab-prose p {
    font-size: 9px;
    line-height: 1.35;
  }

  .ab-skills {
    padding: clamp(56px, 7vw, 90px) 0 clamp(80px, 12vw, 130px);
  }

  .ab-skills__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-template-columns: 1fr;
    gap: clamp(22px, 5vw, 36px);
  }

  .ab-skills__copy {
    order: 1;
    margin-top: 0;
  }

  .ab-skills__art {
    order: 2;
    width: min(280px, 70vw);
    justify-self: center;
    position: relative;
    z-index: 2;
  }

  .ab-skills__paint {
    display: block;
    position: absolute;
    z-index: 0;
    right: -10%;
    bottom: -4%;
    width: min(380px, 80vw);
  }

  .ab-skills__title {
    font-size: 33px;
  }

  .about-page p::before {
    content: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-img-pop {
    transition: box-shadow 0.2s ease;
  }
  .pp-img-pop:hover,
  .pp-img-pop:active {
    transform: none;
  }
}
