/* About page composition, built around the existing Play Guide Australia shell. */
body[data-helper-page] {
  color: #171719;
  background: #f7f7f5;
  font-family: "Inria Serif", Georgia, serif;
}

body[data-helper-page] > header {
  position: relative;
  z-index: 2;
  isolation: isolate;
  background-color: #f7f7f5;
}

body[data-helper-page] > main {
  display: grid;
  gap: 0;
  width: 100%;
  margin: 0 auto;
  background: #f7f7f5;
  color: #171719;
}

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: #171719;
  font-weight: 700;
  letter-spacing: -0.035em;
}

body[data-helper-page] > main p {
  color: #444347;
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

body[data-helper-page] .about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: clamp(48px, 8vw, 132px);
  min-height: 690px;
  padding: 92px clamp(28px, 8vw, 144px) 112px;
  background: #f7f7f5;
}

body[data-helper-page] .about-intro-copy {
  max-width: 700px;
}

body[data-helper-page] .about-eyebrow {
  margin-bottom: 18px;
  color: #525148;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

body[data-helper-page] .about-intro h1 {
  max-width: 720px;
  margin: 0 0 26px;
  font-size: clamp(48px, 5.5vw, 86px);
  line-height: 0.99;
}

body[data-helper-page] .about-lede {
  max-width: 600px;
  margin-bottom: 30px;
  font-size: 19px;
}

body[data-helper-page] .about-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 14px 23px;
  border: 1px solid #171719;
  border-radius: 999px;
  background-color: #c8ff39;
  color: #171719;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

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

body[data-helper-page] .about-button span,
body[data-helper-page] .about-text-link span,
body[data-helper-page] .about-light-link span {
  font-size: 20px;
  line-height: 1;
}

body[data-helper-page] .about-portrait-wrap {
  position: relative;
  display: grid;
  min-height: 470px;
  place-items: center;
  margin: 0;
  isolation: isolate;
}

body[data-helper-page] .about-portrait-wrap::before {
  position: absolute;
  z-index: -2;
  inset: 8% 4% 7%;
  border-radius: 43% 57% 56% 44% / 49% 36% 64% 51%;
  background: #c8ff39;
  content: "";
  transform: rotate(-6deg);
}

body[data-helper-page] .about-portrait-wrap::after {
  position: absolute;
  z-index: -1;
  inset: 12% 10% 12% 2%;
  border: 1px solid #171719;
  border-radius: 50%;
  content: "";
  transform: rotate(13deg);
}

body[data-helper-page] .about-portrait-wrap figcaption {
  position: absolute;
  right: 0;
  bottom: 8%;
  max-width: 190px;
  padding: 13px 16px;
  border: 1px solid #171719;
  border-radius: 3px;
  background: #fff;
  color: #171719;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  transform: rotate(3deg);
}

body[data-helper-page] .about-orbit {
  position: absolute;
  display: block;
  border: 2px solid #171719;
  border-radius: 50%;
}

body[data-helper-page] .about-orbit-one {
  top: 4%;
  right: 15%;
  width: 26px;
  height: 26px;
}

body[data-helper-page] .about-orbit-two {
  bottom: 14%;
  left: 1%;
  width: 13px;
  height: 13px;
  background-color: #f5b7e7;
}

body[data-helper-page] .about-section {
  padding: 110px clamp(28px, 9vw, 160px);
}

body[data-helper-page] .about-section-copy {
  max-width: 690px;
}

body[data-helper-page] .about-section h2 {
  margin: 0 0 22px;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.05;
}

body[data-helper-page] .about-section-copy p:last-child,
body[data-helper-page] .about-intro-copy p:last-of-type {
  margin-bottom: 0;
}

body[data-helper-page] .about-mission {
  display: grid;
  grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(40px, 10vw, 170px);
  align-items: start;
  background-color: #eae9e2;
}

body[data-helper-page] .about-section-label {
  display: flex;
  align-items: center;
  gap: 17px;
}

body[data-helper-page] .about-section-label .about-eyebrow {
  margin: 0;
}

body[data-helper-page] .about-index {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background-color: #171719;
  color: #c8ff39;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

body[data-helper-page] .about-scope {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(44px, 8vw, 130px);
  background: #f7f7f5;
}

body[data-helper-page] .about-image-card {
  position: relative;
  min-height: 440px;
  margin: 0;
  background: #c8ff39;
}

body[data-helper-page] .about-image-card::before,
body[data-helper-page] .about-image-card::after {
  position: absolute;
  display: block;
  content: "";
}

body[data-helper-page] .about-image-card::before {
  inset: 9% 22% 12% 11%;
  border: 1px solid #171719;
  border-radius: 48% 52% 37% 63% / 42% 43% 57% 58%;
  background-color: #f5b7e7;
  transform: rotate(-8deg);
}

body[data-helper-page] .about-image-card::after {
  top: 18%;
  right: 12%;
  width: 92px;
  height: 92px;
  border: 1px solid #171719;
  border-radius: 50%;
  background-color: #f7f7f5;
}

body[data-helper-page] .about-image-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  width: fit-content;
  padding: 10px 14px;
  background-color: #fff;
  color: #171719;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.4;
}

body[data-helper-page] .about-text-link,
body[data-helper-page] .about-light-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 25px;
  color: #171719;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

body[data-helper-page] .about-method {
  background-color: #c8ff39;
}

body[data-helper-page] .about-section-heading {
  max-width: 750px;
  margin: 0 auto 52px;
  text-align: center;
}

body[data-helper-page] .about-section-heading > p:last-child {
  max-width: 570px;
  margin: 0 auto;
}

body[data-helper-page] .about-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1210px;
  margin: 0 auto;
}

body[data-helper-page] .about-info-card {
  min-height: 244px;
  padding: 28px 30px;
  border: 1px solid #171719;
  background-color: #f7f7f5;
}

body[data-helper-page] .about-card-mark {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 33px;
  place-items: center;
  border-radius: 50%;
  background-color: #f5b7e7;
  color: #171719;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

body[data-helper-page] .about-info-card h3 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.15;
}

body[data-helper-page] .about-info-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

body[data-helper-page] .about-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(48px, 9vw, 145px);
  background: #f7f7f5;
}

body[data-helper-page] .about-editorial-art {
  position: relative;
  min-height: 390px;
  background-color: #f5b7e7;
}

body[data-helper-page] .about-editorial-art::before {
  position: absolute;
  top: 12%;
  left: 15%;
  width: min(55%, 300px);
  aspect-ratio: 1;
  border: 1px solid #171719;
  border-radius: 44% 56% 60% 40% / 50% 43% 57% 50%;
  background-color: #c8ff39;
  content: "";
  transform: rotate(12deg);
}

body[data-helper-page] .about-editorial-art::after {
  position: absolute;
  top: 23%;
  right: 16%;
  width: 80px;
  height: 80px;
  border: 1px solid #171719;
  border-radius: 50%;
  background-color: #f7f7f5;
  content: "";
}

body[data-helper-page] .about-art-note {
  position: absolute;
  right: -22px;
  bottom: 28px;
  padding: 17px 20px;
  background-color: #c8ff39;
  color: #171719;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  transform: rotate(-4deg);
}

body[data-helper-page] .about-transparency {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.55fr);
  gap: clamp(35px, 8vw, 125px);
  align-items: center;
  background-color: #eae9e2;
}

body[data-helper-page] .about-transparency-panel {
  padding: clamp(35px, 6vw, 78px);
  background-color: #171719;
  color: #f7f7f5;
}

body[data-helper-page] .about-transparency-panel .about-eyebrow,
body[data-helper-page] .about-transparency-panel h2,
body[data-helper-page] .about-transparency-panel p {
  color: #f7f7f5;
}

body[data-helper-page] .about-transparency-panel h2 {
  max-width: 670px;
}

body[data-helper-page] .about-light-link {
  color: #c8ff39;
}

body[data-helper-page] .about-aside-note {
  max-width: 300px;
}

body[data-helper-page] .about-aside-note p {
  margin: 18px 0 0;
  color: #171719;
  font-size: 15px;
}

body[data-helper-page] .about-note-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background-color: #c8ff39;
  color: #171719;
  font-size: 22px;
}

body[data-helper-page] .about-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 88px;
  padding-bottom: 92px;
  background-color: #f5b7e7;
}

body[data-helper-page] .about-next-copy {
  max-width: 700px;
}

body[data-helper-page] .about-next h2 {
  margin-bottom: 15px;
}

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

body[data-helper-page] .about-button-dark {
  flex: 0 0 auto;
  background-color: #171719;
  color: #f7f7f5;
}

body[data-helper-page] .about-button-dark:hover {
  background-color: #323236;
}

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

@media (max-width: 900px) {
  body[data-helper-page] .about-intro {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    gap: 34px;
    min-height: 590px;
    padding: 74px 34px 86px;
  }

  body[data-helper-page] .about-portrait-wrap {
    min-height: 390px;
  }

  body[data-helper-page] .about-section {
    padding: 82px 42px;
  }

  body[data-helper-page] .about-scope,
  body[data-helper-page] .about-editorial {
    gap: 42px;
  }

  body[data-helper-page] .about-image-card {
    min-height: 340px;
    height: 340px;
  }

  body[data-helper-page] .about-editorial-art {
    min-height: 320px;
    height: 320px;
  }
}

@media (max-width: 620px) {
  body[data-helper-page] > main p {
    font-size: 16px;
  }

  body[data-helper-page] .about-intro {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: 0;
    padding: 62px 22px 72px;
  }

  body[data-helper-page] .about-intro h1 {
    font-size: clamp(43px, 12vw, 62px);
  }

  body[data-helper-page] .about-lede {
    font-size: 17px;
  }

  body[data-helper-page] .about-portrait-wrap {
    width: min(100%, 430px);
    min-height: 380px;
    margin-inline: auto;
  }

  body[data-helper-page] .about-section {
    padding: 66px 22px;
  }

  body[data-helper-page] .about-mission,
  body[data-helper-page] .about-scope,
  body[data-helper-page] .about-editorial,
  body[data-helper-page] .about-transparency {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  body[data-helper-page] .about-mission {
    gap: 28px;
  }

  body[data-helper-page] .about-section h2 {
    font-size: clamp(34px, 9vw, 46px);
  }

  body[data-helper-page] .about-image-card {
    min-height: 280px;
    height: 280px;
  }

  body[data-helper-page] .about-section-heading {
    margin-bottom: 34px;
    text-align: left;
  }

  body[data-helper-page] .about-section-heading > p:last-child {
    margin-inline: 0;
  }

  body[data-helper-page] .about-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body[data-helper-page] .about-info-card {
    min-height: 0;
    padding: 22px;
  }

  body[data-helper-page] .about-card-mark {
    margin-bottom: 20px;
  }

  body[data-helper-page] .about-editorial-art {
    min-height: 260px;
    height: 260px;
  }

  body[data-helper-page] .about-art-note {
    right: 10px;
    bottom: 12px;
    font-size: 15px;
  }

  body[data-helper-page] .about-transparency-panel {
    padding: 28px 24px;
  }

  body[data-helper-page] .about-next {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
}

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