.about-page-main {
  min-width: 0;
  padding-top: 108px;
  background: #fff;
}

.about-content {
  max-width: 1512px;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) clamp(20px, 6vw, 104px) clamp(64px, 7vw, 112px);
  color: #17231b;
  font-family: Manrope, Arial, sans-serif;
}

.about-title,
.about-content p,
.about-button span {
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}

.about-hero-copy {
  min-width: 0;
}

.about-title {
  margin: 0;
  color: #147024;
  font-size: clamp(40px, 6.3vw, 88px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.about-intro {
  margin: 28px 0 0;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.about-hero-note {
  max-width: 560px;
  margin: 24px 0 0;
  color: #526656;
  font-size: 18px;
  line-height: 1.75;
}

.about-main-image {
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #f5f7f3;
}

.about-main-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-story {
  max-width: 900px;
  margin: 32px auto 0;
}

.about-story p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.about-story p + p {
  margin-top: 16px;
}

.about-certificates {
  margin-top: clamp(48px, 6vw, 88px);
}

.about-certificate-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.about-certificate-trigger {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 16px;
  cursor: zoom-in;
  border: 1px solid #e0e7df;
  border-radius: 20px;
  color: #147024;
  background: #fff;
  text-decoration: none;
}

.about-certificate-trigger img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1680 / 2375;
  object-fit: contain;
  background: #fff;
}

.about-catalog-action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.about-button {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  border: 1px solid #147024;
  border-radius: 12px;
  color: #fff;
  background: #147024;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

.about-button .arrow-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.about-button:hover {
  background: #105d1e;
}

.about-button:focus-visible,
.about-certificate-trigger:focus-visible {
  outline: 3px solid #147024;
  outline-offset: 5px;
}

@media (max-width: 1000px) {
  .about-certificate-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .about-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-main-image {
    width: 100%;
    max-width: 520px;
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .about-page-main {
    padding-top: 130px;
  }

  .about-content {
    padding: 32px 20px 64px;
  }

  .about-certificate-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .about-intro {
    margin-top: 24px;
    font-size: 22px;
  }

  .about-hero-note {
    font-size: 17px;
  }

  .about-story {
    margin-top: 24px;
  }
}

.about-certificate-dialog {
  box-sizing: border-box;
  outline: none;
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right))
    max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  border: 0;
  background: transparent;
  overflow: hidden;
  cursor: zoom-out;
}

.about-certificate-dialog[open] {
  display: grid;
  place-items: center;
  animation: about-certificate-open 260ms ease-out both;
}

.about-certificate-dialog::backdrop {
  background: rgb(12 24 16 / 82%);
  animation: about-certificate-backdrop 260ms ease-out both;
}

.about-certificate-full {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  object-fit: contain;
}

.about-certificate-dialog[data-phase='closing'] {
  animation: about-certificate-close 180ms ease-in both;
}

.about-certificate-dialog[data-phase='closing']::backdrop {
  animation: about-certificate-backdrop 180ms ease-in reverse both;
}

.about-certificate-hint {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@keyframes about-certificate-open {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes about-certificate-close {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.98);
  }
}

@keyframes about-certificate-backdrop {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-certificate-dialog[open],
  .about-certificate-dialog::backdrop,
  .about-certificate-dialog[data-phase='closing'],
  .about-certificate-dialog[data-phase='closing']::backdrop {
    animation: none;
  }
}
