/* About Us: editorial location story, scoped to avoid changing Warranty or the main site. */
.cp-about-page {
  font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}

.cp-about-page h1,
.cp-about-page h2,
.cp-about-page h3 {
  font-family: "Sora", "Instrument Sans", sans-serif;
}

.cp-about-page .cp-hero h1 {
  letter-spacing: -0.065em;
  line-height: 1.03;
}

.cp-about-page .cp-about-story {
  position: relative;
  overflow: clip;
  background: radial-gradient(ellipse at 100% 15%, rgba(122, 194, 65, 0.08), transparent 52%), #090f0b;
}

.cp-about-page .cp-story {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(45px, 7vw, 92px);
}

.cp-about-page .cp-story-copy {
  width: 100%;
  max-width: 1020px;
}

.cp-about-page .cp-story-copy h2 {
  max-width: 960px;
  margin: 22px 0 34px;
  font-size: clamp(3.25rem, 6.3vw, 6.45rem);
  line-height: 1.04;
  letter-spacing: -0.063em;
  text-wrap: balance;
}

.cp-about-page .cp-story-copy p {
  max-width: 66ch;
  font-size: clamp(1.08rem, 1.35vw, 1.26rem);
  line-height: 1.78;
  color: #c7d5ca;
}

.cp-about-page .cp-story-copy p + p {
  margin-top: 15px;
}

.cp-about-page .cp-story-copy .cp-primary {
  margin-top: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cp-about-page .cp-story-copy .cp-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(166, 238, 82, 0.13);
}

.cp-about-page .cp-story-visual {
  width: 100%;
  margin: 0;
  overflow: visible;
  background: transparent;
}

.cp-about-page .cp-story-artboard {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  width: 100%;
  padding: clamp(34px, 6.5vw, 86px) clamp(18px, 7vw, 100px);
  border: 1px solid rgba(166, 238, 82, 0.24);
  background:
    radial-gradient(ellipse at 49% 45%, rgba(129, 215, 73, 0.13), transparent 59%),
    repeating-linear-gradient(0deg, transparent, transparent 67px, rgba(166, 238, 82, 0.034) 68px),
    linear-gradient(130deg, #172519 0%, #0b120e 46%, #172419 100%);
}

.cp-about-page .cp-story-artboard::before,
.cp-about-page .cp-story-artboard::after {
  content: "";
  position: absolute;
  width: clamp(24px, 5vw, 60px);
  height: clamp(24px, 5vw, 60px);
  border-color: rgba(166, 238, 82, 0.7);
  pointer-events: none;
}

.cp-about-page .cp-story-artboard::before {
  top: clamp(13px, 2vw, 24px);
  left: clamp(13px, 2vw, 24px);
  border-top: 1px solid;
  border-left: 1px solid;
}

.cp-about-page .cp-story-artboard::after {
  right: clamp(13px, 2vw, 24px);
  bottom: clamp(13px, 2vw, 24px);
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.cp-about-page .cp-story-ghost {
  position: absolute;
  z-index: 0;
  top: 22px;
  right: clamp(18px, 4vw, 65px);
  color: rgba(166, 238, 82, 0.35);
  font: 700 clamp(0.65rem, 1vw, 0.78rem)/1.4 "Instrument Sans", sans-serif;
  letter-spacing: 0.2em;
}

.cp-about-page .cp-story-photo {
  position: relative;
  z-index: 1;
  width: min(100%, 710px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 7px solid #172018;
  box-shadow: 0 45px 105px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(177, 225, 145, 0.24);
}

.cp-about-page .cp-story-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.cp-about-page .cp-story-visual figcaption {
  display: block;
  max-width: 100%;
  min-width: 0;
  margin-top: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
  white-space: normal;
  overflow-wrap: anywhere;
  color: #b9c8b8;
}

.cp-about-page .cp-photo-grid figure {
  border: 1px solid rgba(166, 238, 82, 0.17);
}

.cp-about-page .cp-photo-grid img {
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.15, 1);
}

/* Visibility only changes when JavaScript confirms that reveal observation works. */
html.about-motion-enabled .cp-about-page [data-about-reveal] {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.2, 0.7, 0.15, 1);
}

html.about-motion-enabled .cp-about-page [data-about-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .cp-about-page .cp-photo-grid figure:hover img {
    transform: scale(1.035);
  }
}

@media (max-width: 640px) {
  .cp-about-page .cp-story-copy h2 {
    font-size: clamp(2.9rem, 10.9vw, 4.6rem);
    letter-spacing: -0.056em;
    margin-bottom: 24px;
  }

  .cp-about-page .cp-story-copy p {
    font-size: 1.08rem;
    line-height: 1.66;
  }

  .cp-about-page .cp-story-artboard {
    padding: 48px 16px 29px;
  }

  .cp-about-page .cp-story-photo {
    border-width: 4px;
    width: min(100%, 430px);
  }

  .cp-about-page .cp-story-ghost {
    top: 18px;
    left: 18px;
    right: auto;
    font-size: 0.63rem;
  }

  .cp-about-page .cp-story-visual figcaption {
    font-size: 0.68rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.about-motion-enabled .cp-about-page [data-about-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cp-about-page .cp-story-copy .cp-primary,
  .cp-about-page .cp-photo-grid img {
    transition: none;
  }

  .cp-about-page .cp-story-copy .cp-primary:hover,
  .cp-about-page .cp-photo-grid figure:hover img {
    transform: none;
  }
}

@media print {
  html.about-motion-enabled .cp-about-page [data-about-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .cp-about-page .cp-story-photo img {
    transform: translateY(var(--about-photo-offset, 0px)) scale(1.1);
  }
}
