.site-header__item--about {
  border: 0;
  font-family: inherit;
  font-weight: inherit;
  text-transform: inherit;
}

.is-about-open .site-header__item--about { background: #212121; color: #fff; }
.is-about-open body { overflow: hidden; }

.about-overlay {
  position: fixed;
  z-index: 6000;
  inset: 0;
  background: rgba(33, 33, 33, .6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 480ms ease, visibility 480ms;
}

.about-panel {
  position: fixed;
  z-index: 6001;
  top: 20px;
  left: 20px;
  width: min(572px, calc(100vw - 40px));
  height: calc(100dvh - 40px);
  overflow-y: auto;
  border-radius: 24px;
  background: #a1fe9b;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .1);
  color: #101010;
  visibility: hidden;
  transform: translateX(calc(-100% - 40px));
  transition: transform 650ms cubic-bezier(.22, 1, .36, 1), visibility 650ms;
}

.is-about-open .about-overlay { opacity: 1; visibility: visible; pointer-events: auto; }
.is-about-open .about-panel { visibility: visible; transform: translateX(0); }

.about-panel__close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
}
.about-panel__close img { display: block; width: 32px; height: 32px; }

.about-panel__layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 100%;
  padding: 44px 40px 40px;
}

.about-panel__photo {
  position: relative;
  flex: none;
  width: 132px;
  height: 132px;
  overflow: hidden;
  border-radius: 50%;
  animation: about-photo-spin 60s linear infinite;
}
.about-panel__photo:hover { animation-play-state: paused; }

@keyframes about-photo-spin {
  to { transform: rotate(360deg); }
}

.about-panel__photo img {
  position: absolute;
  top: -124.5px;
  left: -111px;
  width: 354px;
  height: auto;
  max-width: none;
}

.about-panel__story {
  width: 100%;
  margin: auto 0 0;
  color: #101010;
  font: 500 19px/30px "ABC Diatype", Arial, sans-serif;
  text-transform: uppercase;
}

.about-panel__inline-term {
  position: relative;
  display: inline-flex;
  align-items: center;
  isolation: isolate;
  height: 1.4em;
  padding: 0 12px 0 4.414px;
  border-radius: 33.103px;
  line-height: 1.4;
  white-space: nowrap;
  vertical-align: baseline;
}

.about-panel__inline-term::before {
  position: absolute;
  z-index: -1;
  inset: -1.5px 0;
  border-radius: inherit;
  background: #fff;
  content: "";
}

.about-panel__bullet {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 23.172px;
  height: 1em;
  margin-right: 5.517px;
}

.about-panel__inline-term--handshake {
  padding-inline: 6.4px;
}

.about-panel__inline-term--handshake .about-panel__bullet {
  width: 19.2px;
  margin-right: 8px;
}

.about-panel__bullet img {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: block;
  transform: translate(-50%, -50%);
}

.about-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.about-panel__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 0;
  border-radius: 30px;
  background: #fff;
  color: #101010;
  font: 500 19px/1.4 "ABC Diatype", Arial, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 220ms ease;
}

.about-panel__action:disabled { opacity: 1; cursor: default; }
.about-panel__action[href^="mailto:"] { background: #000; color: #fff; }
.about-panel__action:not(:disabled):hover { background: var(--accent); }
.about-panel__action:focus-visible { outline: 2px solid #212121; outline-offset: 3px; }

@media (max-width: 620px), (max-height: 700px) {
  .about-panel__layout { padding-right: 20px; padding-left: 20px; }
}

@media (max-width: 620px) {
  .about-panel {
    top: 8px;
    left: 8px;
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    border-radius: 20px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateX(calc(-100% - 16px));
  }

  .about-panel__layout {
    padding: 20px 20px max(20px, env(safe-area-inset-bottom));
  }

  .about-panel__close {
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
  }

  .about-panel__photo { width: 132px; height: 132px; }

  .about-panel__story { font-size: 16px; line-height: 24px; }
  .about-panel__actions { margin-top: 12px; }
  .about-panel__action { min-height: 36px; gap: 8px; font-size: 16px; }
}

@media (max-width: 620px) and (max-height: 700px) {
  .about-panel__layout { padding-top: 20px; }
  .about-panel__story { font-size: 15px; line-height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .about-overlay, .about-panel, .about-panel__action { transition-duration: 1ms; }
  .about-panel__photo { animation: none; }
}
