body[data-page="about"] {
  background: #fff;
  background-attachment: scroll;
  padding-bottom: 0;
  overflow: hidden;
}

body[data-page="about"]::before,
body[data-page="about"]::after {
  display: none;
}

.about-shell main {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.about-shell {
  --about-section-spacing: clamp(1.8rem, 4vw, 3.4rem);
  --about-meta-font-size: clamp(0.8rem, 0.92vw, 0.88rem);
}

.about-side-ellipse {
  position: fixed;
  top: 50%;
  z-index: -1;
  width: clamp(8.5rem, 12vw, 13rem);
  height: auto;
  pointer-events: none;
}

.about-side-ellipse--left {
  left: 0.8rem;
  transform: translate(-50%, -50%) scaleX(-1);
}

.about-side-ellipse--right {
  right: 0.8rem;
  transform: translate(50%, -50%);
}

.about-topline {
  padding: 1rem 1rem 1rem;
  background: transparent;
}

.about-topline > .container,
.about-footerline > .container {
  width: 100%;
  max-width: none;
}

.about-topline-row {
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.6rem, 1.3vw, 1.1rem);
  width: 100%;
}

.about-topline-text,
.about-topline-link,
.about-footerline-text,
.about-footerline-link {
  font-size: var(--about-meta-font-size);
  line-height: 1.24;
}

.about-topline-text,
.about-topline-link,
.about-footerline-text,
.about-footerline-link {
  color: var(--color-text);
  line-height: 1;
  padding: 0;
  text-decoration: none;
  white-space: nowrap;
}

.about-topline-link {
  justify-self: center;
}

.about-topline-row > :first-child,
.about-footerline-row > :first-child {
  justify-self: start;
}

.about-topline-row > :last-child,
.about-footerline-row > :last-child {
  justify-self: end;
}

.about-topline-star {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
  flex: 0 0 auto;
  transform-origin: 50% 50%;
}

.about-topline-star.is-spinning {
  animation: aboutToplineStarSpin 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.about-page {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  background: transparent;
  display: grid;
  align-items: center;
}

.about-orbit {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding: var(--about-section-spacing) 0;
  background: transparent;
}

.about-stage {
  position: relative;
  width: min(100% - 2rem, 1100px);
  height: min(100%, 46rem);
  min-height: 36rem;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.about-composition {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-stack {
  position: absolute;
  top: 53%;
  left: 50%;
  z-index: 1;
  width: min(100%, 32rem);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
}

.about-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.about-stack-base {
  z-index: 1;
}

.about-stack-base--left {
  transform: rotate(-15deg);
  transform-origin: center;
}

.about-stack-base--right {
  transform: rotate(15deg);
  transform-origin: center;
}

.about-stack-hello {
  position: absolute;
  top: -5.3rem;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  font-family: "Neue Haas Grotesk Text Family", sans-serif;
  font-size: clamp(3.3rem, 6.6vw, 6rem);
  font-style: normal;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--color-text) 0%, var(--color-accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
  opacity: 0;
  animation: aboutHelloRise 1150ms cubic-bezier(0.22, 1, 0.36, 1) 220ms forwards;
}

.about-stack-photo {
  z-index: 2;
  transform: scale(0.78);
  transform-origin: center;
}

.about-note {
  --about-note-delay: 0ms;
  position: absolute;
  z-index: 2;
  width: min(22rem, 24vw);
  display: grid;
  gap: 0.4rem;
  overflow: visible;
}

.about-note h2,
.about-note p {
  margin: 0;
  font-size: var(--about-meta-font-size);
  line-height: 1.24;
}

.about-note p {
  color: #000;
  font-weight: 400;
  opacity: 0;
  animation: aboutNoteFade 900ms ease calc(var(--about-note-delay) + 460ms) forwards;
}

.about-note h2 {
  color: #000;
  font-weight: 700;
  opacity: 0;
  animation: aboutNoteTitleRise 1150ms cubic-bezier(0.22, 1, 0.36, 1) var(--about-note-delay) forwards;
}

.about-note-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-note-emoji {
  --emoji-x: 0px;
  --emoji-y: 0px;
  --emoji-scale: 0.92;
  position: absolute;
  left: 0;
  top: 0;
  border: 0;
  padding: 0;
  background: transparent;
  line-height: 1;
  cursor: grab;
  pointer-events: auto;
  user-select: none;
  touch-action: none;
  transform: translate(var(--emoji-x), var(--emoji-y)) scale(var(--emoji-scale));
  opacity: 0;
  animation: aboutEmojiPop 620ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.about-note-emoji:active,
.about-note-emoji.is-dragging {
  cursor: grabbing;
}

.about-note-emoji--books {
  --emoji-x: 50.98046875px;
  --emoji-y: -71.9609375px;
  --emoji-scale: 1.18;
  font-size: 2.95rem;
  animation-delay: 180ms;
}

.about-note-emoji--camera {
  --emoji-x: 295.46484375px;
  --emoji-y: -83.9765625px;
  --emoji-scale: 1.18;
  font-size: 3.2rem;
  animation-delay: 260ms;
}

.about-note-emoji--photo {
  --emoji-x: 223.01953125px;
  --emoji-y: 161.1953125px;
  --emoji-scale: 0.88;
  font-size: 1.85rem;
  animation-delay: 320ms;
}

.about-note-emoji--brush {
  --emoji-x: 132px;
  --emoji-y: 176px;
  --emoji-scale: 1.08;
  font-size: 2.95rem;
  animation-delay: 380ms;
}

.about-note-emoji--grad {
  --emoji-x: 142.5546875px;
  --emoji-y: -31.0078125px;
  --emoji-scale: 0.94;
  font-size: 2.25rem;
  animation-delay: 440ms;
}

.about-note-emoji--eye {
  --emoji-x: 185.97265625px;
  --emoji-y: -64.41015625px;
  --emoji-scale: 1.12;
  font-size: 2.95rem;
  animation-delay: 220ms;
}

.about-note-emoji--brain {
  --emoji-x: 123.796875px;
  --emoji-y: 107.41796875px;
  --emoji-scale: 1;
  font-size: 2.45rem;
  animation-delay: 300ms;
}

.about-note-emoji--sparkle {
  --emoji-x: 256.77734375px;
  --emoji-y: 99.484375px;
  --emoji-scale: 1;
  font-size: 2.15rem;
  animation-delay: 380ms;
}

.about-note-emoji--notes {
  --emoji-x: 226.1796875px;
  --emoji-y: -25.00390625px;
  --emoji-scale: 0.98;
  font-size: 2.4rem;
  animation-delay: 220ms;
}

.about-note-emoji--keys {
  --emoji-x: 158.4296875px;
  --emoji-y: 154.140625px;
  --emoji-scale: 0.92;
  font-size: 2rem;
  animation-delay: 380ms;
}

.about-note-emoji--headphones {
  --emoji-x: 270.5625px;
  --emoji-y: 147.9609375px;
  --emoji-scale: 1;
  font-size: 2.8rem;
  animation-delay: 460ms;
}

.about-note-emoji--basketball {
  --emoji-x: 130.984375px;
  --emoji-y: 112.11328125px;
  --emoji-scale: 1.08;
  font-size: 2.8rem;
  animation-delay: 220ms;
}

.about-note-emoji--boxing {
  --emoji-x: 156.46875px;
  --emoji-y: -39.078125px;
  --emoji-scale: 1.04;
  font-size: 2.8rem;
  animation-delay: 300ms;
}

.about-note-emoji--runner {
  --emoji-x: 265.37109375px;
  --emoji-y: 104.390625px;
  --emoji-scale: 0.92;
  font-size: 2rem;
  animation-delay: 380ms;
}

.about-note-index {
  display: inline-block;
  margin-right: 0.35rem;
  color: #000;
  font-weight: 700;
}

.about-note--top-left {
  --about-note-delay: 260ms;
  top: 6%;
  left: -8.5%;
  transform: rotate(-2deg);
}

.about-note--top-right {
  --about-note-delay: 1760ms;
  top: 6%;
  right: -8.5%;
  left: auto;
  transform: rotate(2deg);
}

.about-note--bottom-left {
  --about-note-delay: 3260ms;
  top: auto;
  bottom: 8%;
  left: -8.5%;
  transform: rotate(1.5deg);
}

.about-note--bottom-right {
  --about-note-delay: 4760ms;
  top: auto;
  right: -8.5%;
  left: auto;
  bottom: 8%;
  transform: rotate(-1.5deg);
}

@keyframes aboutToplineStarSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes aboutHelloRise {
  from {
    opacity: 0;
    transform: translate(-50%, 2rem);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes aboutNoteTitleRise {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aboutNoteFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


@keyframes aboutEmojiPop {
  0% {
    opacity: 0;
    transform: translate(var(--emoji-x), calc(var(--emoji-y) + 18px)) scale(calc(var(--emoji-scale) * 0.72));
  }

  62% {
    opacity: 1;
    transform: translate(var(--emoji-x), calc(var(--emoji-y) - 8px)) scale(calc(var(--emoji-scale) * 1.06));
  }

  100% {
    opacity: 1;
    transform: translate(var(--emoji-x), var(--emoji-y)) scale(var(--emoji-scale));
  }
}

.about-footerline {
  margin-top: auto;
  padding: 1rem 1rem 1rem;
  background: transparent;
}

.about-footerline-row {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto auto;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.6rem, 1.3vw, 1.1rem);
  width: 100%;
}

.about-footerline-row > :nth-child(2) {
  justify-self: center;
}

.about-footerline-row > :nth-child(3) {
  justify-self: end;
}

.about-footerline-row > :last-child {
  justify-self: end;
}

@media (max-width: 849px) {
  body[data-page="about"] {
    overflow-y: auto;
  }

  .about-shell main {
    min-height: 100vh;
    height: auto;
  }

  .about-topline,
  .about-footerline {
    padding: 1rem;
  }

  .about-side-ellipse {
    display: none;
  }

  .about-topline-row,
  .about-footerline-row {
    justify-content: space-between;
  }

  .about-topline-row > :first-child,
  .about-topline-row > :last-child,
  .about-footerline-row > :first-child,
  .about-footerline-row > :nth-child(3),
  .about-footerline-star {
    justify-self: start;
  }

  .about-topline-row > :last-child {
    justify-self: end;
  }

  .about-footerline-row > :nth-child(2) {
    justify-self: center;
  }

  .about-footerline-row > :nth-child(3) {
    justify-self: end;
  }

  .about-topline-star {
    width: 0.78rem;
    height: 0.78rem;
  }

  .about-topline-row {
    grid-template-columns: auto auto auto auto auto;
    gap: 0.5rem;
  }

  .about-footerline-row {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
  }

  .about-footerline-row > :nth-child(n + 4) {
    display: none;
  }

  .about-topline-text,
  .about-topline-link,
  .about-footerline-text,
  .about-footerline-link {
    font-size: 0.76rem;
  }

  .about-page {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    padding: 2rem 0;
  }

  .about-orbit {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
  }

  .about-stage {
    width: min(100% - 2rem, 34rem);
    height: auto;
    min-height: auto;
    display: grid;
    gap: 1rem;
    margin: 0 auto;
  }

  .about-composition {
    display: grid;
    gap: 1.15rem;
    margin: 0;
  }

  .about-stack {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 20rem);
    aspect-ratio: 1 / 1;
    margin: 2.8rem auto 1.3rem;
    order: 1;
    transform: none;
  }

  .about-stack-hello {
    top: -2.55rem;
    font-size: clamp(2.75rem, 11.6vw, 4.05rem);
  }

  .about-stack-photo {
    transform: scale(0.86);
  }

  .about-note {
    position: static;
    width: min(100%, 31rem);
    justify-self: center;
    transform: none;
  }

  .about-note--top-left {
    order: 2;
  }

  .about-note--top-right {
    order: 3;
  }

  .about-note--bottom-left {
    order: 4;
  }

  .about-note--bottom-right {
    order: 5;
  }

  .about-note-icons {
    display: none;
  }
}

@media (max-width: 720px) {
  body[data-page="about"] {
    overflow-y: auto;
  }

  .about-shell main {
    min-height: 100vh;
    height: auto;
  }

  .about-topline {
    padding: 1rem;
  }

  .about-side-ellipse {
    display: none;
  }

  .about-topline-row,
  .about-footerline-row {
    justify-content: space-between;
  }

  .about-topline-text,
  .about-topline-link,
  .about-footerline-text,
  .about-footerline-link {
    font-size: 0.72rem;
  }

  .about-topline-row > :first-child,
  .about-topline-row > :last-child,
  .about-footerline-row > :first-child,
  .about-footerline-row > :nth-child(3),
  .about-footerline-star {
    justify-self: start;
  }

  .about-topline-row > :last-child {
    justify-self: end;
  }

  .about-footerline-row > :nth-child(2) {
    justify-self: center;
  }

  .about-footerline-row > :nth-child(3) {
    justify-self: end;
  }

  .about-topline-star {
    width: 0.72rem;
    height: 0.72rem;
  }

  .about-topline-row {
    grid-template-columns: auto auto auto auto auto;
    gap: 0.4rem;
  }

  .about-footerline-row {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.4rem;
  }

  .about-footerline-row > :nth-child(n + 4) {
    display: none;
  }

  .about-page {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    padding: 2rem 0;
  }

  .about-orbit {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
  }

  .about-stage {
    width: min(100% - 2rem, 30rem);
    height: auto;
    min-height: auto;
    display: grid;
    gap: 0.9rem;
    margin: 0 auto;
  }

  .about-composition {
    display: grid;
    gap: 1rem;
    margin: 0;
  }

  .about-stack {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 17.4rem);
    aspect-ratio: 1 / 1;
    margin: 2.4rem auto 1.2rem;
    order: 1;
    transform: none;
  }

  .about-stack-hello {
    top: -2.2rem;
    font-size: clamp(2.35rem, 10.5vw, 3.35rem);
  }

  .about-stack-photo {
    transform: scale(0.86);
  }

  .about-note {
    position: static;
    width: 100%;
    justify-self: center;
  }

  .about-note--top-left {
    order: 2;
  }

  .about-note--top-right {
    order: 3;
  }

  .about-note--bottom-left {
    order: 4;
  }

  .about-note--bottom-right {
    order: 5;
  }

  .about-note-icons {
    display: none;
  }

  .about-footerline {
    padding: 1rem;
  }
}

:root[data-theme="contrast"] body[data-page="about"] {
  background: #050505;
}

:root[data-theme="contrast"] .about-side-ellipse {
  filter: brightness(0) invert(1);
  opacity: 0.2;
}

:root[data-theme="contrast"] .about-topline-star,
:root[data-theme="contrast"] .about-footerline-star {
  filter: brightness(0) invert(1);
}

:root[data-theme="contrast"] .about-stack-base {
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

:root[data-theme="contrast"] .about-note h2,
:root[data-theme="contrast"] .about-note-index {
  color: #f5f5f5;
}

:root[data-theme="contrast"] .about-note p {
  color: #9a9a9a;
}
