/* About page-specific styles extracted from site-chrome.css. */

.about-page {
  --about-ink: #263f49;
  --about-muted: #4c626c;
  --about-rule: rgb(101 188 235 / 68%);
  min-height: 100vh;
  margin: 0;
  color: var(--about-ink);
  background: var(--site-background);
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

.about-main {
  width: min(100%, 1472px);
  margin: 0 auto;
  padding: clamp(210px, 29vh, 290px) clamp(25px, 5vw, 96px) clamp(88px, 12vw, 180px);
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: start;
  gap: clamp(48px, 6.5vw, 112px);
  width: min(100%, 1280px);
  margin: 0 auto;
}

.about-photo-region,
.about-details {
  min-width: 0;
}

.about-photo-region {
  aspect-ratio: 1871 / 2620;
  max-width: 430px;
  margin: 0;
  border: 2px solid var(--site-blue);
  overflow: hidden;
}

.about-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-details {
  display: grid;
  align-content: start;
  gap: clamp(28px, 3vw, 48px);
}

.about-section-label {
  margin: 0;
  color: var(--site-blue);
  font-family: var(--site-nav-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.about-identity h1 {
  margin: 18px 0 28px;
  color: var(--about-ink);
  font-size: clamp(30px, 2.5vw, 36px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.about-contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px clamp(26px, 4vw, 56px);
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--about-rule);
}

.about-contact-list div {
  min-width: 0;
}

.about-contact-list dt {
  margin-bottom: 7px;
  color: var(--site-blue);
  font-family: var(--site-nav-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.2;
}

.about-contact-list dd {
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.5;
}

.about-contact-list a {
  color: inherit;
  text-decoration: none;
}

.about-contact-list a:hover {
  color: var(--site-blue);
}

.about-information {
  padding-top: clamp(26px, 3vw, 40px);
  border-top: 1px solid var(--about-rule);
}

.about-education-list {
  display: grid;
  gap: 25px;
  margin-top: 18px;
}

.about-education-item h3,
.about-tool-group h3,
.about-work-item h3 {
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 500;
  line-height: 1.35;
}

.about-education-item__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 7px;
  color: var(--about-muted);
  font-size: 14px;
  line-height: 1.5;
}

.about-education-item__meta p {
  margin: 0;
}

.about-education-item__meta time {
  flex: 0 0 auto;
  white-space: nowrap;
}

.about-location {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.about-location p {
  margin: 0;
  color: var(--about-muted);
  font-size: 15px;
  line-height: 1.5;
}

.about-work,
.about-tools {
  width: min(100%, 1280px);
  margin: clamp(55px, 6vw, 90px) auto 0;
}

.about-section-heading {
  margin-bottom: 26px;
}

.about-tools .about-section-heading {
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1.34px solid var(--site-blue);
}

.about-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--about-rule);
}

.about-work-item {
  min-height: 120px;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--about-rule);
}

.about-work-item:nth-child(odd) {
  padding-right: clamp(28px, 5vw, 72px);
}

.about-work-item:nth-child(even) {
  padding-left: clamp(28px, 5vw, 72px);
  border-left: 1px solid var(--about-rule);
}

.about-work-item span {
  display: block;
  margin-bottom: 28px;
  color: var(--site-blue);
  font-family: var(--site-nav-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.about-work-item p {
  margin: 6px 0 0;
  color: var(--about-muted);
  font-size: 14px;
  line-height: 1.5;
}

.about-tools {
  width: min(100%, 1280px);
  margin: clamp(45px, 6vw, 80px) auto 0;
}

.about-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
}

.about-tool-group h3 {
  font-size: 18px;
}

.about-tool-group p {
  margin: 10px 0 0;
  color: var(--about-muted);
  font-size: 14px;
  line-height: 1.75;
}

@media (min-width: 761px) {
  .about-main {
    width: min(100%, 1325px);
    padding-right: clamp(23px, 4.5vw, 86px);
    padding-left: clamp(23px, 4.5vw, 86px);
    padding-top: clamp(190px, 26vh, 260px);
    padding-bottom: clamp(80px, 10.8vw, 162px);
  }

  .about-content,
  .about-work,
  .about-tools {
    width: min(100%, 1152px);
  }

  .about-content {
    grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
    gap: clamp(44px, 5.8vw, 100px);
  }

  .about-photo-region {
    max-width: 390px;
  }

  .about-details {
    gap: clamp(26px, 2.7vw, 42px);
  }

  .about-identity h1 {
    margin: 16px 0 24px;
    font-size: clamp(28px, 2.25vw, 33px);
  }

  .about-contact-list {
    gap: 16px clamp(24px, 3.5vw, 50px);
    padding-top: 16px;
  }

  .about-contact-list dd {
    font-size: clamp(14px, 1.15vw, 16px);
  }

  .about-information {
    padding-top: clamp(24px, 2.7vw, 36px);
  }

  .about-education-list {
    gap: 22px;
    margin-top: 16px;
  }

  .about-education-item h3,
  .about-work-item h3 {
    font-size: clamp(16px, 1.3vw, 18px);
  }

  .about-location p {
    font-size: 14px;
  }

  .about-work,
  .about-tools {
    margin-top: clamp(50px, 5.3vw, 80px);
  }

  .about-section-heading {
    margin-bottom: 23px;
  }

  .about-tools .about-section-heading {
    padding-bottom: 23px;
    margin-bottom: 23px;
  }

  .about-work-item {
    min-height: 108px;
    padding: 14px 0 16px;
  }

  .about-work-item:nth-child(odd) {
    padding-right: clamp(25px, 4.5vw, 65px);
  }

  .about-work-item:nth-child(even) {
    padding-left: clamp(25px, 4.5vw, 65px);
  }

  .about-work-item span {
    margin-bottom: 24px;
  }

  .about-tools-grid {
    gap: clamp(26px, 3.5vw, 58px);
  }

  .about-tool-group h3 {
    font-size: 17px;
  }
}

@media (max-width: 760px) {
  .about-main {
    padding-top: 160px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-photo-region {
    width: min(100%, 460px);
  }

  .about-work,
  .about-tools {
    margin-top: 86px;
  }

  .about-work-grid,
  .about-tools-grid {
    grid-template-columns: 1fr;
  }

  .about-work-item:nth-child(odd),
  .about-work-item:nth-child(even) {
    min-height: auto;
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .about-work-item span {
    margin-bottom: 24px;
  }

  .about-contact-list {
    grid-template-columns: 1fr;
  }
}
