:root {
  --about-blue: #0b67df;
  --about-blue-dark: #083e93;
  --about-ink: #13213a;
  --about-muted: #64748b;
  --about-line: #dce9f7;
  --about-yellow: #ffe31a;
}

html {
  background: #f7fbff;
}

.about-body {
  color: var(--about-ink);
  background: #f7fbff;
}

.about-page {
  width: 100%;
  max-width: none;
  overflow: visible;
  background: transparent;
}

.about-main {
  padding: 48px 20px 80px;
}

.about-profile {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
  gap: 44px;
  margin: 0 auto;
  padding: 48px;
  border: 1px solid var(--about-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(24, 64, 112, 0.09);
}

.about-portrait {
  position: static;
  margin: 0;
}

.about-portrait img {
  width: 100%;
  height: auto;
  border: 8px solid #fff;
  border-radius: 34px;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 0 0 1px var(--about-line), 0 18px 38px rgba(18, 60, 110, 0.14);
}

.about-content {
  min-width: 0;
}

.about-header {
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--about-line);
}

.about-header h1 {
  margin: 0 0 28px;
  padding: 4px 0 14px 18px;
  border-bottom: 3px solid var(--about-blue);
  border-left: 6px solid var(--about-blue);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.35;
}

.about-name {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.35;
}

.about-role {
  margin: 0;
  color: var(--about-blue-dark);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
}

.about-story p {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.95;
}

.about-story a {
  color: var(--about-blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.about-story a:hover,
.about-story a:focus-visible {
  color: var(--about-blue);
}

.about-principle {
  margin-top: 30px !important;
  padding: 22px 24px;
  border-left: 5px solid var(--about-yellow);
  border-radius: 0 14px 14px 0;
  background: #fffbea;
}

.about-principle strong {
  font-weight: 900;
}

.about-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.about-social {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--about-line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.about-social:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(24, 64, 112, 0.12);
}

.about-social:focus-visible {
  outline: 3px solid rgba(11, 103, 223, 0.28);
  outline-offset: 3px;
}

.about-social-x {
  color: #fff;
  border-color: #111;
  background: #111;
}

.about-social-mark {
  font-size: 17px;
  line-height: 1;
}

.about-social-youtube {
  color: #b42318;
  border-color: #f3c4bf;
  background: #fff;
}

.about-social-youtube svg {
  width: 20px;
  height: 20px;
  color: #ff0000;
}

.about-signature {
  margin: 34px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--about-line);
  color: var(--about-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

@media (max-width: 760px) {
  .about-main {
    padding: 24px 14px 56px;
  }

  .about-profile {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px 26px 36px;
    border-radius: 20px;
  }

  .about-portrait {
    position: static;
    width: min(44vw, 160px);
    margin: 0 auto;
  }

  .about-header {
    text-align: center;
  }

  .about-header h1 {
    padding-left: 14px;
    border-bottom-width: 2px;
    border-left-width: 5px;
    font-size: 27px;
    text-align: left;
  }

  .about-name {
    font-size: 29px;
  }

  .about-socials {
    flex-direction: column;
  }

  .about-social {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .about-main {
    padding: 16px 0 48px;
  }

  .about-profile {
    padding: 28px 18px 32px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .about-header h1 {
    font-size: 24px;
  }

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

  .about-principle {
    padding: 18px;
  }
}
