/* About page — cream / green / gold, matches design/about-desktop.png */

.page-about .page-hero-copy h1,
.page-about .page-hero-subtitle {
  white-space: normal;
}

.page-about .page-hero-body {
  max-width: 520px;
}

.page-about .about-handwriting {
  right: 4%;
  top: 38%;
  max-width: 12em;
  line-height: 1.55;
  transform: rotate(-8deg);
}

.about-section {
  position: relative;
  padding-block: 42px;
}

.about-section-head {
  margin-bottom: 22px;
}

.about-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}

.about-heading .home-icon {
  width: 1.55rem;
  height: 1.55rem;
  color: #d08a3a;
}

.about-heading h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1.2;
}

.about-heading > span {
  width: 42px;
  height: 2px;
  background: var(--brand-green);
  flex: 0 0 auto;
}

.about-heading-aside,
.about-heading-link {
  display: grid;
  grid-template-columns: auto auto 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 16px;
}

.about-heading-note {
  margin: 0;
  color: #8a8176;
  font-size: 0.88rem;
  line-height: 1.55;
}

.about-heading-link > a {
  justify-self: end;
  color: var(--brand-green);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.about-heading-link > a:hover,
.about-heading-link > a:focus-visible {
  color: var(--brand-green-deep);
}

.about-lead {
  margin: 12px 0 0;
  color: #8a8176;
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Brand intro */
.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px 48px;
  align-items: center;
}

.about-media {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, #ddd6c8, #b8b0a2);
  aspect-ratio: 712 / 400;
}

.about-media > .home-content-media,
.about-media > .home-media-placeholder {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 22px;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-intro-copy {
  position: relative;
}

.about-intro-copy h3 {
  margin: 0 0 18px;
  color: var(--brand-ink);
  font-family: Times New Roman, "Songti SC", "STSong", serif;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  line-height: 1.25;
  font-weight: inherit;
}

.about-intro-copy p {
  margin: 0 0 1em;
  color: #5f574f;
  font-size: 0.95rem;
  line-height: 1.8;
}

.about-intro-copy p:last-child {
  margin-bottom: 0;
}

/* Accounts */
.about-accounts-head {
  position: relative;
  margin-bottom: 22px;
}

.about-accounts-handwriting {
  position: absolute;
  right: 0;
  top: -8px;
  margin: 0;
  max-width: 11em;
  color: #683a25;
  font-family: "Segoe Print", "Bradley Hand", "KaiTi", cursive;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: right;
  transform: rotate(-6deg);
}

.about-account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: none;
}

.about-account-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  align-items: center;
  gap: 16px 18px;
  padding: 20px 18px;
  background: #fffefb;
  border: 1px solid rgba(108, 74, 35, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(73, 47, 21, 0.05);
  text-align: left;
}

.about-account-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.about-account-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.about-account-logo {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  border-radius: 20px;
  object-fit: contain;
  background: #fff;
}

.about-account-card h3 {
  margin: 0;
  color: var(--brand-ink);
  font-size: 0.98rem;
}

.about-account-handle {
  margin: 0;
  color: #8a8176;
  font-size: 0.8rem;
}

.about-account-cta {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid #c68228;
  border-radius: 999px;
  color: #c68228;
  font-size: 0.8rem;
  font-weight: 700;
  background: transparent;
}

.about-account-cta:hover,
.about-account-cta:focus-visible {
  background: rgba(198, 130, 40, 0.08);
  color: #a5631a;
}

.about-account-cta.is-static {
  opacity: 0.72;
  cursor: default;
}

.about-account-qr {
  width: 148px;
  height: 148px;
  max-width: none;
  margin: 0;
  justify-self: end;
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
}

.about-account-qr.is-placeholder {
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px dashed rgba(108, 74, 35, 0.22);
  background: #f7f1e6;
  color: #9a8d7d;
  font-size: 0.78rem;
}

.about-account-logo.is-empty {
  background: #efe4d3;
}

/* Brand clarify / notice */
.about-clarify {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px 36px;
  align-items: start;
}

.about-clarify-visual {
  position: relative;
  margin: 0;
}

.about-clarify-cat {
  position: relative;
  z-index: 1;
  margin: 0;
}

.about-clarify-cat .home-content-media,
.about-clarify-cat .home-media-placeholder {
  margin: 0;
  min-height: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 18px;
  overflow: hidden;
}

.about-clarify-cat img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: bottom left;
  border-radius: 18px;
}

.about-clarify-notice {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 10px;
  padding: 26px 48px 28px 26px;
  background: #eef6e9;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
}

.about-clarify-notice::before,
.about-clarify-notice::after {
  content: "";
  position: absolute;
  z-index: 0;
  background-color: #e4b07a;
  -webkit-mask: url("/ui/paw-print.svg") center / contain no-repeat;
  mask: url("/ui/paw-print.svg") center / contain no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

.about-clarify-notice::before {
  right: 54px;
  bottom: 22px;
  width: 38px;
  height: 38px;
  transform: rotate(-22deg);
}

.about-clarify-notice::after {
  right: 16px;
  bottom: 48px;
  width: 52px;
  height: 52px;
  transform: rotate(14deg);
}

.about-clarify-notice-head {
  display: contents;
}

.about-megaphone {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin-top: 2px;
  flex: 0 0 auto;
  width: 1.85rem;
  height: 1.85rem;
  color: #0b5c47;
  position: relative;
  z-index: 1;
}

.about-megaphone svg {
  width: 100%;
  height: 100%;
  display: block;
}

.about-icon-fill {
  stroke: none;
}

.about-clarify-notice h3 {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 28em;
  color: #0b5c47;
  font-family: Times New Roman, "Songti SC", "STSong", serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}

.about-clarify-notice > p {
  grid-column: 2;
  position: relative;
  z-index: 1;
  margin: 0 0 0.35em;
  max-width: 52em;
  color: #6a736d;
  font-size: 0.88rem;
  line-height: 1.65;
}

.about-clarify-notice > p:last-child {
  margin-bottom: 0;
}

/* Honors */
.about-honor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.about-honor-card {
  margin: 0;
  padding: 14px 12px;
  background: #fffefb;
  border: 1px solid rgba(108, 74, 35, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(73, 47, 21, 0.05);
  overflow: hidden;
}

.about-honor-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.about-honor-card p {
  margin: 10px 0 0;
  color: #3d342c;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Contact */
.about-contact {
  position: relative;
  margin: 0;
  padding: 42px 0 0;
  overflow: hidden;
  min-height: 300px;
}

.about-contact[data-media-state="ready"] {
  background-image: var(--home-background);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 260px;
}

.about-contact[data-media-state="ready"] .home-background-note {
  display: none;
}

.about-contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.7fr);
  gap: 18px 36px;
  align-items: start;
  padding-bottom: 48px;
}

.about-contact-main .about-section-head {
  margin-bottom: 18px;
}

.about-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 128px;
  padding: 18px 16px 16px;
  background: #fffefb;
  border: 1px solid rgba(108, 74, 35, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(73, 47, 21, 0.04);
}

.about-contact-icon {
  width: 1.45rem;
  height: 1.45rem;
  color: #c68228;
}

.about-contact-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.about-contact-card strong {
  color: var(--brand-ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.about-contact-card > span:last-child,
.about-contact-card a {
  color: #675f57;
  font-size: 0.82rem;
  line-height: 1.7;
}

.about-contact-card a {
  display: inline;
}

.about-contact-card a:hover,
.about-contact-card a:focus-visible {
  color: var(--brand-green);
}

.about-contact-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.about-contact-handwriting {
  margin: 0;
  max-width: 11em;
  color: #683a25;
  font-family: "Segoe Print", "Bradley Hand", "KaiTi", cursive;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: right;
  transform: rotate(-6deg);
}

.about-contact .home-background-note {
  position: relative;
  inset: auto;
  width: min(100%, 280px);
  min-height: 120px;
  margin-top: 12px;
  border-radius: 16px;
}

.page-about .site-footer {
  border-top: 1px solid rgba(23, 23, 19, 0.12);
  margin-top: 0;
}

@media (max-width: 1100px) {
  .about-account-grid {
    grid-template-columns: 1fr;
  }

  .about-honor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-heading-aside,
  .about-heading-link {
    grid-template-columns: auto auto 42px 1fr;
  }

  .about-heading-link > a {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .about-accounts-handwriting {
    display: none;
  }
}

@media (max-width: 960px) {
  .about-section {
    padding-block: 32px;
  }

  .about-intro-grid,
  .about-clarify,
  .about-contact-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-account-card {
    grid-template-columns: minmax(0, 1fr) 148px;
  }

  .about-honor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-clarify-notice {
    padding: 20px 20px 24px 16px;
  }

  .about-contact {
    min-height: 0;
    background-size: min(100%, 420px) auto;
  }

  .about-contact-layout {
    padding-bottom: 32px;
  }

  .about-contact-cards {
    grid-template-columns: 1fr;
  }

  .about-contact-aside {
    align-items: flex-start;
  }

  .about-contact-handwriting {
    display: none;
  }
}

@media (max-width: 640px) {
  .about-section {
    padding-block: 28px;
  }

  .about-heading-aside,
  .about-heading-link {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .about-heading > span {
    display: none;
  }

  .about-heading-note,
  .about-lead {
    font-size: 0.86rem;
  }

  .about-account-card {
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 10px 12px;
    padding: 14px 12px;
  }

  .about-account-copy {
    gap: 10px;
  }

  .about-account-logo {
    width: 96px;
    height: 96px;
  }

  .about-account-text {
    gap: 4px;
  }

  .about-account-handle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }

  .about-account-cta {
    min-width: 0;
    padding: 0.4rem 0.8rem;
  }

  .about-account-qr,
  .about-account-qr.is-placeholder {
    width: 120px;
    height: 120px;
    max-width: none;
    justify-self: end;
    object-fit: contain;
  }

  .about-honor-grid {
    grid-template-columns: 1fr;
  }

  .about-contact-card {
    min-height: 0;
  }
}

@media (max-width: 400px) {
  .about-account-card {
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 8px 10px;
    padding: 12px;
  }

  .about-account-qr,
  .about-account-qr.is-placeholder {
    width: 96px;
    height: 96px;
  }

  .about-account-card h3 {
    font-size: 0.92rem;
  }

  .about-account-handle,
  .about-account-cta {
    font-size: 0.75rem;
  }
}
