/* ==========================================================================
   ABOUT PAGE - CLEAN PROJECT-LIKE LAYOUT
   ========================================================================== */

html.in-iframe #playButton,
html.in-iframe #bgAudio,
html.in-iframe .audio-visualizer,
html.in-iframe .side-control--audio {
  display: none !important;
}

body {
  min-height: var(--nmz-content-vh, 100vh);
  transition: none;
}

body.loaded {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-loader {
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
  min-height: var(--nmz-content-vh, 100vh);
  background: var(--fg);
  z-index: 9998;
  transition: opacity 0.6s ease;
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.page-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   Scroll Progress Indicator
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--fg);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 200;
  pointer-events: none;
}

.about-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px var(--space) 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-title-placeholder {
  height: 48px;
  margin-bottom: 16px;
}

.about-subtitle {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: transparent;
  transition: color 0.5s ease 0.4s;
}

.about-subtitle.visible,
.about-subtitle.skip-animation {
  color: var(--muted);
}

.about-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space) 0 calc(var(--side-logo-w) + 40px);
  border-top: 1px solid var(--border);
}

.about-column {
  display: block;
}

.about-column--main {
  max-width: 920px;
}

.about-card + .about-card {
  margin-top: 0;
}

.about-card {
  border-bottom: 1px solid var(--border);
}

.about-card-inner {
  padding: 40px 0;
}

.about-kicker {
  margin: 0 0 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-p.about-p--lead {
  font-size: clamp(20px, 2.35vw, 30px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 18px;
}

.about-p {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.72;
  color: var(--muted);
}

.about-p:last-child {
  margin-bottom: 0;
}

.about-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.about-list strong {
  color: var(--fg);
  font-weight: 500;
}

.about-present {
  display: inline-block;
  margin-left: 0.22em;
  padding: 0;
  border: 0;
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--fg);
  opacity: 0.78;
  vertical-align: 0.05em;
}

.about-list a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid rgba(127, 127, 127, 0.35);
}

.about-list a:hover {
  border-bottom-color: currentColor;
}

.about-link-nowrap {
  display: inline-block;
  white-space: nowrap;
}

.about-card-inner--network {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.about-network-col + .about-network-col {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.about-links-social {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.about-links-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.about-link-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--fg) !important;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.about-link-icon img {
  width: 20px;
  height: 20px;
  filter: invert(var(--social-invert));
  transition: filter 0.2s ease;
}

.about-link-icon:hover {
  background: var(--fg);
}

.about-link-icon:hover img {
  filter: invert(calc(1 - var(--social-invert)));
}

.about-sponsor-list {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  margin-top: 30px;
}

.about-sponsor-list li {
  margin: 0;
}

.about-sponsor-logo {
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: 0 !important;
  border-bottom: 0 !important;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.about-sponsor-logo img {
  height: 58px;
  width: auto;
  max-width: 100%;
  display: block;
  filter: grayscale(1) contrast(1.05) invert(var(--social-invert));
  opacity: 0.92;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.about-sponsor-logo:hover {
  opacity: 1;
}

.about-sponsor-logo:hover img {
  opacity: 1;
  filter: grayscale(1) contrast(1.2) invert(var(--social-invert));
}

@media (hover: hover) and (pointer: fine) {
  .about-link-icon:hover {
    transform: translateY(-1px);
  }

  .about-sponsor-logo:hover {
    transform: translateY(-2px);
  }
}

.about-cv-block {
  margin: 0;
  padding: 18px 0 20px;
  border-top: 1px solid var(--border);
}

.about-cv-block:first-of-type {
  border-top: 0;
  padding-top: 8px;
}

.about-cv-title {
  margin: 0 0 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

@media (min-width: 992px) {
  .about-card-inner--network {
    grid-template-columns: 0.85fr 1.45fr 0.85fr 1fr;
    gap: 0;
    align-items: start;
  }

  .about-network-col {
    padding: 0 20px;
    border-right: 1px solid var(--border);
  }

  .about-network-col:first-child {
    padding-left: 0;
  }

  .about-network-col + .about-network-col {
    padding-top: 0;
    border-top: 0;
  }

  .about-network-col:last-child {
    padding-right: 0;
    border-right: 0;
  }
}

@media (max-width: 991px) {
  .about-main {
    padding-left: calc(var(--space) + var(--side-logo-w) + var(--side-logo-right-pad));
    padding-right: var(--space);
    padding-bottom: 80px;
  }

  .about-card-inner {
    padding: 24px 0;
  }

  .about-kicker {
    margin-bottom: 12px;
  }

  .about-p.about-p--lead {
    font-size: clamp(17px, 4.2vw, 22px);
    line-height: 1.4;
    margin-bottom: 16px;
  }

  .about-p {
    font-size: 15px;
    line-height: 1.65;
  }

  .about-list {
    font-size: 12px;
  }

  .about-cv-title {
    font-size: 10px;
  }
}

@media (max-width: 768px) {
  :root {
    --side-logo-top: 0px;
    --side-logo-right-pad: 12px;
  }

  .side-controls {
    top: calc(0px + var(--nmz-safe-top, 0px));
    bottom: auto;
    right: calc(20px + var(--nmz-safe-right, 0px));
    flex-direction: column;
  }

  .page-loader {
    transition: none;
  }

  .about-hero {
    padding: 16px 20px 32px calc(20px + var(--side-logo-w) + var(--side-logo-right-pad));
  }

  .about-subtitle {
    transform: translateX(calc(-0.5 * (var(--side-logo-w) + var(--side-logo-right-pad))));
  }

  .about-title-placeholder {
    height: 28px;
  }

  .about-main {
    padding-bottom: 0;
  }

  .about-link-icon {
    width: 44px;
    height: 44px;
  }

  .about-link-icon img {
    width: 22px;
    height: 22px;
  }
}
