/* About page: warm editorial surfaces, confident type and generous pacing. */
body[data-helper-page] {
  --about-ink: #4c0200;
  --about-paper: #fff9f2;
  --about-rose: #f5b9df;
  --about-sky: #afe5f5;
  --about-lemon: #fff963;
  --about-muted: #6c514f;
  background: var(--about-paper);
  color: var(--about-ink);
  font-family: "Special Gothic", Arial, sans-serif;
}

/* Keep the accepted shared header self-contained above this page's content. */
body[data-helper-page] > header[data-homepage-region] {
  position: relative;
  z-index: 1;
  background: #c9cdd4;
}

body[data-helper-page] > header[data-homepage-region] .header-layer {
  background-color: rgb(255 249 242 / 94%);
}

body[data-helper-page] > main {
  position: relative;
  z-index: 0;
  display: grid;
  gap: clamp(4.5rem, 9vw, 9rem);
  width: 100%;
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1.25rem, 7.3vw, 8.75rem) clamp(5rem, 9vw, 9rem);
  background: var(--about-paper);
}

body[data-helper-page] main section {
  width: min(100%, 90rem);
  margin-inline: auto;
}

body[data-helper-page] main h1,
body[data-helper-page] main h2,
body[data-helper-page] main h3,
body[data-helper-page] main p,
body[data-helper-page] main figure {
  margin-top: 0;
}

body[data-helper-page] main h1,
body[data-helper-page] main h2,
body[data-helper-page] main h3 {
  color: var(--about-ink);
  font-weight: 800;
  letter-spacing: -0.045em;
}

body[data-helper-page] main h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 6.5vw, 6.7rem);
  line-height: 0.98;
}

body[data-helper-page] main h2 {
  max-width: 17ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 4.4vw, 4.45rem);
  line-height: 1.02;
}

body[data-helper-page] main h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.1;
}

body[data-helper-page] main p {
  color: var(--about-muted);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.65;
}

body[data-helper-page] main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-helper-page] .about-kicker {
  margin-bottom: 1rem;
  color: var(--about-ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

body[data-helper-page] .about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.82fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  padding: clamp(1rem, 3vw, 3rem) 0 0;
}

body[data-helper-page] .about-intro__copy {
  max-width: 48rem;
}

body[data-helper-page] .about-intro__copy .about-lede {
  max-width: 40rem;
  margin-bottom: 0;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
}

body[data-helper-page] .about-intro__visual {
  position: relative;
  min-height: 27rem;
  aspect-ratio: 0.93;
  padding: 0.85rem;
  border-radius: 48% 48% 2rem 2rem;
  background: var(--about-sky);
}

body[data-helper-page] .about-intro__visual img {
  border-radius: 48% 48% 1.45rem 1.45rem;
}

body[data-helper-page] .about-intro__caption {
  position: absolute;
  right: -1.2rem;
  bottom: 2.1rem;
  max-width: 13rem;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  background: var(--about-lemon);
  color: var(--about-ink);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  transform: rotate(-3deg);
}

body[data-helper-page] .about-scroll {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--about-ink);
  font-size: 1rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

body[data-helper-page] .about-scroll span {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 50%;
  background: var(--about-rose);
  font-size: 1.3rem;
}

body[data-helper-page] .about-scope {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 1rem clamp(2rem, 7vw, 8rem);
  padding: clamp(2rem, 5vw, 5rem);
  border-radius: 2.5rem;
  background: #fff0e7;
}

body[data-helper-page] .about-section-heading {
  align-self: start;
}

body[data-helper-page] .about-scope__body {
  display: grid;
  gap: 2rem;
}

body[data-helper-page] .about-scope__body > p {
  max-width: 44rem;
  margin-bottom: 0;
}

body[data-helper-page] .about-scope__image {
  position: relative;
  height: clamp(15rem, 29vw, 28rem);
  margin-bottom: 0;
  border-radius: 1.5rem;
}

body[data-helper-page] .about-scope__image img {
  border-radius: inherit;
}

body[data-helper-page] .about-scope__image figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: calc(100% - 2rem);
  padding: 0.75rem 1rem;
  border-radius: 0.7rem;
  background: var(--about-paper);
  color: var(--about-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

body[data-helper-page] .about-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.5rem;
}

body[data-helper-page] .about-tags span {
  padding: 0.7rem 1rem;
  border: 1px solid rgb(76 2 0 / 22%);
  border-radius: 999px;
  background: var(--about-paper);
  color: var(--about-ink);
  font-size: 0.93rem;
  font-weight: 700;
}

body[data-helper-page] .about-clarity {
  display: grid;
  grid-template-columns: minmax(18rem, 0.92fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 8rem);
}

body[data-helper-page] .about-clarity__visual {
  height: clamp(24rem, 43vw, 39rem);
  padding: 0.8rem;
  border-radius: 2.4rem 2.4rem 9rem 2.4rem;
  background: var(--about-rose);
}

body[data-helper-page] .about-clarity__visual img {
  border-radius: 1.8rem 1.8rem 8.3rem 1.8rem;
}

body[data-helper-page] .about-clarity__copy > p:last-child {
  margin-bottom: 0;
}

body[data-helper-page] .about-priorities {
  padding: clamp(2.5rem, 6vw, 6rem);
  border-radius: 2.5rem;
  background: var(--about-lemon);
}

body[data-helper-page] .about-section-heading--center {
  max-width: 48rem;
  margin: 0 auto clamp(2rem, 4vw, 4rem);
  text-align: center;
}

body[data-helper-page] .about-section-heading--center h2 {
  margin-inline: auto;
}

body[data-helper-page] .about-section-heading--center p:last-child {
  max-width: 42rem;
  margin: 0 auto;
}

body[data-helper-page] .about-priority-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

body[data-helper-page] .about-priority-card {
  min-height: 15rem;
  padding: 1.5rem;
  border: 1px solid rgb(76 2 0 / 18%);
  border-radius: 1.3rem;
  background: var(--about-paper);
}

body[data-helper-page] .about-priority-card__number {
  display: block;
  margin-bottom: 2.5rem;
  color: #a35b48;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

body[data-helper-page] .about-priority-card p {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.5;
}

body[data-helper-page] .about-method {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1fr);
  gap: clamp(2rem, 9vw, 9rem);
  align-items: start;
}

body[data-helper-page] .about-method__intro p:last-child {
  max-width: 36rem;
}

body[data-helper-page] .about-method__list {
  border-top: 1px solid rgb(76 2 0 / 24%);
}

body[data-helper-page] .about-method__item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: start;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgb(76 2 0 / 24%);
}

body[data-helper-page] .about-method__item p {
  margin: 0;
  color: var(--about-ink);
}

body[data-helper-page] .about-method__mark {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 50%;
  background: var(--about-sky);
  color: var(--about-ink);
  font-size: 0.82rem;
  font-weight: 800;
}

body[data-helper-page] .about-directory {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(2rem, 5vw, 5rem);
  border-radius: 2.5rem;
  background: var(--about-sky);
}

body[data-helper-page] .about-directory__visual {
  position: relative;
  height: clamp(22rem, 39vw, 36rem);
}

body[data-helper-page] .about-directory__visual img {
  border-radius: 50% 50% 1.5rem 1.5rem;
}

body[data-helper-page] .about-directory__note {
  position: absolute;
  left: 1rem;
  bottom: -1.1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: var(--about-paper);
  color: var(--about-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

body[data-helper-page] .about-directory__note span:first-child {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--about-rose);
}

body[data-helper-page] .about-directory__copy p:not(.about-kicker) {
  color: var(--about-ink);
}

body[data-helper-page] .about-button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0.75rem;
  padding: 0.85rem 1.3rem;
  border: 2px solid var(--about-ink);
  border-radius: 999px;
  background-color: var(--about-rose);
  color: var(--about-ink);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

body[data-helper-page] .about-button:hover,
body[data-helper-page] .about-button:focus-visible {
  background-color: #f0a6d0;
  transform: translateY(-2px);
}

body[data-helper-page] .about-button:focus-visible,
body[data-helper-page] .about-scroll:focus-visible,
body[data-helper-page] .about-text-link:focus-visible {
  outline: 3px solid #075c72;
  outline-offset: 4px;
}

body[data-helper-page] .about-limits {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 8vw, 8rem);
  padding: clamp(2.5rem, 5vw, 5rem) 0 0;
  border-top: 2px solid var(--about-ink);
}

body[data-helper-page] .about-limits__heading {
  align-self: start;
}

body[data-helper-page] .about-limits__content p:first-child {
  color: var(--about-ink);
  font-weight: 700;
}

body[data-helper-page] .about-limits__content p:last-of-type {
  margin-bottom: 1.5rem;
}

body[data-helper-page] .about-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--about-ink);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.24em;
}

@media (max-width: 900px) {
  body[data-helper-page] > header[data-homepage-region] .header-layer {
    background-color: #fff9f2;
  }

  body[data-helper-page] > main {
    gap: 5rem;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
  }

  body[data-helper-page] .about-intro {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.75fr);
    gap: 2rem;
  }

  body[data-helper-page] .about-intro__visual {
    min-height: 22rem;
  }

  body[data-helper-page] .about-priority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body[data-helper-page] > main {
    gap: 4rem;
    padding: 3rem 1.15rem 5rem;
  }

  body[data-helper-page] main h1 {
    max-width: 11ch;
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  body[data-helper-page] main h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  body[data-helper-page] main p {
    font-size: 1rem;
    line-height: 1.6;
  }

  body[data-helper-page] .about-intro,
  body[data-helper-page] .about-scope,
  body[data-helper-page] .about-clarity,
  body[data-helper-page] .about-method,
  body[data-helper-page] .about-directory,
  body[data-helper-page] .about-limits {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-helper-page] .about-intro {
    gap: 1.7rem;
    padding-top: 0;
  }

  body[data-helper-page] .about-intro__visual {
    width: min(100%, 25rem);
    min-height: 0;
    aspect-ratio: 1 / 1.03;
    justify-self: center;
  }

  body[data-helper-page] .about-intro__caption {
    right: -0.35rem;
    bottom: 1.2rem;
  }

  body[data-helper-page] .about-scroll {
    grid-column: 1;
  }

  body[data-helper-page] .about-scope,
  body[data-helper-page] .about-priorities,
  body[data-helper-page] .about-directory {
    padding: 1.5rem;
    border-radius: 1.5rem;
  }

  body[data-helper-page] .about-scope {
    gap: 1.5rem;
  }

  body[data-helper-page] .about-tags {
    grid-column: 1;
  }

  body[data-helper-page] .about-clarity__visual {
    height: 21rem;
    border-radius: 1.6rem 1.6rem 6rem 1.6rem;
  }

  body[data-helper-page] .about-clarity__visual img {
    border-radius: 1.1rem 1.1rem 5.3rem 1.1rem;
  }

  body[data-helper-page] .about-priority-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-helper-page] .about-priority-card {
    min-height: 0;
  }

  body[data-helper-page] .about-priority-card__number {
    margin-bottom: 1.4rem;
  }

  body[data-helper-page] .about-directory__visual {
    height: 21rem;
  }

  body[data-helper-page] .about-limits {
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-helper-page] .about-button {
    transition: none;
  }
}

/* Keep the intro image inside the content bounds at tablet widths. */
@media (min-width: 641px) and (max-width: 900px) {
  body[data-helper-page] .about-intro {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-helper-page] .about-intro__visual {
    width: min(100%, 25rem);
    min-height: 0;
    justify-self: center;
  }

  body[data-helper-page] .about-intro__caption {
    right: -0.35rem;
  }
}
