/**
 * About page only. Loaded when vp_is_about_page().
 * Scope: .about-*  (Kadence title hide is page-local because this file is about-only.)
 */

.vp-cms-page .entry-hero,
.vp-cms-page .entry-header,
.vp-cms-page .entry-hero-container {
  display: none !important;
}

.about-page {
  --about-ink: #222;
  --about-muted: #555;
  --about-eyebrow: #666;
  --about-line: #e5e7eb;
  --about-retail: #f5f6f8;
  --about-radius: 12px;
  --about-space: 56px;
  --about-brand: var(--vp-btn, #f04f36);
  --about-brand-hover: var(--vp-btn-hover, #f2614a);
  --about-max: 1200px;
  color: var(--about-ink);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
}

@media (min-width: 1024px) {
  .about-page {
    --about-space: 96px;
  }
}

.about-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.about-wrap {
  width: min(100% - 2rem, var(--about-max));
  margin-inline: auto;
}

.about-page h1,
.about-page h2,
.about-page h3 {
  color: var(--about-ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.entry-content .about-page h1,
.about-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  white-space: normal;
  max-width: 18ch;
}

.about-page h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}

.about-page h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.about-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--about-eyebrow);
}

.about-lede,
.about-copy,
.about-page p {
  max-width: 70ch;
}

.about-copy {
  margin: 0 0 1.75rem;
  color: var(--about-muted);
}

.entry-content .about-page a,
.about-page a {
  color: inherit;
  font-size: max(0.875rem, 14px);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.entry-content .about-page a:hover,
.about-page a:hover {
  color: var(--about-brand);
}

.about-page a:focus-visible,
.about-btn:focus-visible {
  outline: 2px solid var(--about-brand);
  outline-offset: 3px;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  background: var(--about-brand);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.2;
}

.entry-content .about-page .about-btn,
.about-page .about-btn {
  color: #fff;
  text-decoration: none;
}

.about-btn:hover,
.entry-content .about-page .about-btn:hover {
  background: var(--about-brand-hover);
  color: #fff;
}

.about-btn--ghost {
  background: transparent;
  border: 1px solid #fff;
}

.entry-content .about-page .about-btn--ghost,
.about-page .about-btn--ghost {
  color: #fff;
}

.about-btn--ghost:hover,
.entry-content .about-page .about-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.about-btn--light {
  background: #fff;
}

.entry-content .about-page .about-btn--light,
.about-page .about-btn--light {
  color: var(--about-ink);
}

.about-btn--light:hover,
.entry-content .about-page .about-btn--light:hover {
  background: #f3f4f6;
  color: var(--about-ink);
}

/* Hero */
.about-hero {
  position: relative;
  min-height: min(52svh, 28rem);
  display: flex;
  align-items: center;
  color: #fff;
  background: #0b0b0c;
}

.about-hero__media,
.about-hero__shade {
  position: absolute;
  inset: 0;
}

.about-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% center;
  display: block;
}

.about-hero__shade {
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 0.88) 0%, rgba(11, 11, 12, 0.55) 48%, rgba(11, 11, 12, 0.2) 80%),
    linear-gradient(0deg, rgba(11, 11, 12, 0.7), transparent 55%);
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0;
}

.about-hero h1,
.about-hero .about-eyebrow,
.about-hero .about-lede,
.entry-content .about-hero a.about-btn--ghost {
  color: #fff;
}

.about-hero .about-eyebrow {
  opacity: 0.85;
}

.about-lede {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.about-chips li {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.about-chips li + li::before {
  content: "·";
  margin-right: 1rem;
  opacity: 0.6;
}

/* Stats */
.about-stats {
  padding: var(--about-space) 0 0;
}

.about-stats dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0;
}

@media (min-width: 1024px) {
  .about-stats dl {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.about-stats dl > div {
  padding: 1.1rem 1rem;
  border: 1px solid var(--about-line);
  border-radius: var(--about-radius);
  background: #fff;
}

.about-stats dt {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.about-stats dd {
  margin: 0.25rem 0 0;
  color: var(--about-muted);
}

/* How we work */
.about-work {
  padding: var(--about-space) 0 0;
}

.about-timeline {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: about-step;
}

.about-timeline li {
  position: relative;
  padding-left: 1.25rem;
  border-left: 2px solid var(--about-line);
}

.about-timeline li:last-child {
  border-left-color: transparent;
}

.about-timeline__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 0 0.5rem -1.35rem;
  border: 1px solid var(--about-line);
  border-radius: 10px;
  background: #fff;
  color: var(--vp-primary, #c81e26);
}

.about-timeline h3 {
  font-size: 1.05rem;
}

.about-timeline p {
  margin: 0;
  color: var(--about-muted);
}

@media (min-width: 1024px) {
  .about-timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
  }

  .about-timeline li {
    padding-left: 0;
    border-left: 0;
  }

  .about-timeline li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 48px;
    width: calc(100% - 16px);
    height: 2px;
    background: var(--about-line);
  }

  .about-timeline__icon {
    margin-left: 0;
  }
}

.about-work__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .about-work__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
  }
}

.about-media {
  margin: 0;
}

.about-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--about-radius);
  display: block;
}

.about-qc {
  display: grid;
  gap: 0.75rem;
}

.about-qc article,
.about-cards__grid article,
.about-feedback__grid blockquote {
  padding: 1.1rem;
  border: 1px solid var(--about-line);
  border-radius: var(--about-radius);
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.about-qc article:hover,
.about-cards__grid article:hover,
.about-feedback__grid blockquote:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 11, 12, 0.08);
}

.about-qc p,
.about-cards__grid p {
  margin: 0 0 0.65rem;
  color: var(--about-muted);
}

.about-more {
  margin: 1.25rem 0 0;
}

.about-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* Feedback / cards */
.about-feedback,
.about-cards {
  padding: var(--about-space) 0 0;
}

.about-feedback__grid,
.about-cards__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .about-cards__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-feedback__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.about-feedback blockquote {
  margin: 0;
}

.about-feedback blockquote p {
  margin: 0 0 0.75rem;
}

.about-feedback footer {
  display: flex;
  gap: 0.75rem;
  color: var(--about-muted);
  font-size: 0.9rem;
}

.about-cards__retail {
  background: var(--about-retail);
}

.about-cta {
  margin-top: var(--about-space);
  padding: 2.5rem 0;
  background: #17181b;
  color: #fff;
}

.about-cta__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.about-cta h2,
.about-cta .about-eyebrow {
  color: #fff;
}

.about-cta .about-eyebrow {
  opacity: 0.75;
}

.about-note {
  width: min(100% - 2rem, var(--about-max));
  margin: 1.25rem auto 2.5rem;
  font-size: 0.8rem;
  color: var(--about-muted);
}

.about-marquee {
  --about-marquee-gap: 0.75rem;
  --about-marquee-show: 1;
  container-type: inline-size;
  overflow: hidden;
  width: 100%;
  margin: 2rem 0 0;
}

@media (min-width: 768px) {
  .about-marquee {
    --about-marquee-show: 2;
  }
}

@media (min-width: 1024px) {
  .about-marquee {
    --about-marquee-show: 3;
  }
}

.about-marquee__track {
  display: flex;
  width: max-content;
  animation: about-marquee 36s linear infinite;
}

.about-marquee:hover .about-marquee__track,
.about-marquee:focus-within .about-marquee__track {
  animation-play-state: paused;
}

.about-marquee__set {
  display: flex;
  gap: var(--about-marquee-gap);
  padding-right: var(--about-marquee-gap);
}

.about-marquee br,
.about-marquee__track > :not(.about-marquee__set) {
  display: none;
}

.about-marquee img {
  flex: 0 0 calc((100cqi - (var(--about-marquee-show) - 1) * var(--about-marquee-gap)) / var(--about-marquee-show));
  width: calc((100cqi - (var(--about-marquee-show) - 1) * var(--about-marquee-gap)) / var(--about-marquee-show));
  max-width: none;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

@keyframes about-marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-qc article,
  .about-cards__grid article,
  .about-feedback__grid blockquote,
  .about-btn {
    transition: none;
  }

  .about-qc article:hover,
  .about-cards__grid article:hover,
  .about-feedback__grid blockquote:hover {
    transform: none;
  }

  .about-marquee__track {
    animation: none;
  }

  .about-marquee {
    overflow-x: auto;
  }

  .about-marquee__set:last-child {
    display: none;
  }
}
