.about-page {
  --about-ink: #0f2942;
  --about-body: #3a546d;
  --about-muted: #647f99;
  --about-accent: #0284c7;
  --about-warm: #e59324;
  --about-line: rgb(15 41 66 / 10%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 75% 55% at 88% 0%, rgb(186 230 253 / 46%), transparent 66%),
    radial-gradient(ellipse 52% 46% at 10% 100%, rgb(254 243 199 / 46%), transparent 68%),
    #f6f9fc;
  color: var(--about-ink);
}

.about-main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(32px, 4.8vw, 72px);
  width: min(calc(100% - var(--gutter) * 2), 1440px);
  min-width: 0;
  margin-inline: auto;
  padding-block: clamp(32px, 5vh, 60px);
}
.about-main:focus { outline: none; }

.about-content {
  width: min(100%, 41rem);
}

.about-rule {
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--about-accent), var(--about-warm));
}

.about-content h1 {
  font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: var(--about-ink);
}

.about-intro {
  margin-top: 18px;
  color: var(--about-body);
  font-size: 1rem;
  line-height: 1.78;
  text-wrap: pretty;
}

.contact-email {
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--about-line);
  box-shadow: 0 10px 28px rgb(15 41 66 / 6%);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}

.contact-email h2 {
  margin: 0;
  color: var(--about-accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.contact-email p {
  color: var(--about-body);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-email a {
  color: var(--about-accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgb(2 132 199 / 45%);
  text-underline-offset: 5px;
  transition: color 180ms ease;
}

.contact-email a:hover {
  color: #0369a1;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.qr-card {
  margin: 0;
  padding: 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--about-line);
  box-shadow: 0 12px 30px rgb(15 41 66 / 6%);
  display: flex;
  align-items: center;
  gap: 16px;
}

.qr-card img {
  flex: 0 0 auto;
  width: 108px;
  height: 108px;
  border-radius: 8px;
  border: 1px solid rgb(15 41 66 / 8%);
  background: #ffffff;
}

.qr-card figcaption {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qr-card strong {
  color: var(--about-ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}

.qr-card span {
  color: var(--about-muted);
  font-size: 0.8125rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.about-visual {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  box-shadow: 0 26px 60px rgb(15 41 66 / 13%);
  border: 4px solid #ffffff;
  background: #dcecf8;
}

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

.about-footer {
  width: min(calc(100% - var(--gutter) * 2), 1440px);
  margin-inline: auto;
  padding-block: 18px max(22px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--about-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  color: var(--about-muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.about-footer-icp {
  flex-basis: 100%;
  text-align: center;
}

@media (max-width: 1120px) {
  .about-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 28px 36px;
  }
  .about-content {
    width: 100%;
    max-width: 48rem;
  }
  .about-visual {
    order: -1;
    aspect-ratio: 16 / 8.5;
  }
}

@media (max-width: 680px) {
  .about-content h1 {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }
  .about-intro {
    font-size: 0.95rem;
    line-height: 1.72;
  }
  .qr-grid {
    grid-template-columns: 1fr;
  }
  .qr-card {
    padding: 16px;
  }
  .qr-card img {
    width: 96px;
    height: 96px;
  }
}
