/* about-enhance.css — journey enhancements for about.html */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TextAnimation — prevent scramble chars from wrapping
   SplitText line divs get fixed width + overflow:hidden from JS,
   but no white-space:nowrap — so wider scramble chars can still
   wrap within the line, causing a layout jump. This stops that.
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
[data-module="TextAnimation"] .rich-inherit > p > div,
[data-module="TextAnimation"] .rich-inherit > h2 > div {
  white-space: nowrap;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Statement — image with text centered on top
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-statement {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
}
.about-statement-img {
  display: block;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}
/* dim overlay */
.about-statement::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}
/* bottom gradient fade to page background */
.about-statement::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18%;
  background: linear-gradient(
    to bottom,
    rgba(7, 8, 10, 0)    0%,
    rgba(7, 8, 10, 0.03) 15%,
    rgba(7, 8, 10, 0.1)  30%,
    rgba(7, 8, 10, 0.22) 45%,
    rgba(7, 8, 10, 0.42) 60%,
    rgba(7, 8, 10, 0.66) 75%,
    rgba(7, 8, 10, 0.87) 88%,
    rgba(7, 8, 10, 1)    100%
  );
  z-index: 2;
  pointer-events: none;
}
.about-statement .container {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 3 !important;
}
.about-statement .about-statement-text {
  text-align: center;
  max-width: 18ch;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Metrics — staggered reveal + top-border flash red
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-metrics .about-metric .about-metric-title {
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
}

.about-metric-value .metric-affix {
  font-size: 0.5em;
  font-weight: inherit;
  line-height: 1;
  letter-spacing: 0;
}

.about-metric-value .metric-affix-suffix {
  vertical-align: 0.6em;
  font-weight: 700;
}

.about-metric-value .metric-affix-prefix {
  font-size: 0.55em;
  vertical-align: middle;
  margin-right: 0.08em;
  position: relative;
  left: -0.12em;
}

.about-metrics .about-metric {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.9s ease;
}
.about-metrics.is-visible .about-metric:nth-child(1) {
  opacity: 1;
  transform: none;
  border-color: rgba(255, 65, 65, 0.5);
  transition-delay: 0.08s;
}
.about-metrics.is-visible .about-metric:nth-child(2) {
  opacity: 1;
  transform: none;
  border-color: rgba(255, 65, 65, 0.3);
  transition-delay: 0.22s;
}
.about-metrics.is-visible .about-metric:nth-child(3) {
  opacity: 1;
  transform: none;
  border-color: rgba(255, 65, 65, 0.15);
  transition-delay: 0.36s;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Copy section — red left accent line grows down
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-copy {
  position: relative;
  padding-left: clamp(1.5rem, 3vw, 2.25rem);
}
.about-copy::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 0;
  background: linear-gradient(180deg, #ff4141 0%, rgba(255, 65, 65, 0.1) 100%);
  transition: height 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
  pointer-events: none;
}
.about-copy-section .about-grid.is-visible .about-copy::before {
  height: 100%;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Facts band — scroll-activated rows (Arkeus pattern)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.about-band {
  padding-top: clamp(6rem, 13vw, 11rem) !important;
}

/* Section heading — standalone display header above facts rows */
.about-band-tag {
  margin-bottom: clamp(0.75rem, 1.5vw, 1.1rem);
}
.about-band-dot {
  display: none;
}
.about-band-tag-text {
  font-family: var(--font--main), Arial, sans-serif;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.88;
  text-transform: uppercase;
  color: #ff4141;
}
.about-band-tagline {
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-size: clamp(0.6875rem, 0.9vw, 0.8125rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.7;
  color: rgba(148, 163, 184, 0.65);
  margin: clamp(0.75rem, 1.5vw, 1rem) 0 clamp(2rem, 4.5vw, 3.5rem);
  max-width: 52ch;
}

.about-band-inner {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  border: 0 !important;
}

.about-fact {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(2rem, 5vw, 6rem) !important;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0 !important;
  border: 0 !important;
  /* Border opacity set high so it's visible at full brightness but dims with the row */
  border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
  background: transparent !important;
  position: relative !important;
  overflow: visible !important;
  filter: brightness(0.25);
}

/* Add filter to transition alongside about-reveal's opacity + transform */
.about-fact.about-reveal {
  transition: filter 0.5s ease,
              opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.about-fact:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.about-fact.is-active {
  filter: brightness(1) !important;
}

/* Label — large concept heading, left */
.about-fact .about-label {
  font-size: clamp(2.25rem, 6vw, 5rem) !important;
  font-family: 'Roboto Mono', ui-monospace, monospace !important;
  font-weight: 300 !important;
  letter-spacing: -0.04em !important;
  line-height: 0.92 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  flex: 1 1 auto !important;
}

/* Right column — value + description. Fades in on active, mirroring Arkeus */
.about-fact-body {
  flex: 0 0 clamp(14rem, 42vw, 36rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(0.4rem, 1vw, 0.65rem);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.about-fact.is-active .about-fact-body {
  opacity: 1 !important;
}

/* Value — title of the right column */
.about-fact .f-24.caps.lh-100.-ls-02 {
  font-size: clamp(0.8125rem, 1.1vw, 1rem) !important;
  font-family: 'Roboto Mono', ui-monospace, monospace !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.2 !important;
  color: rgba(248, 250, 252, 0.92) !important;
  text-transform: uppercase !important;
  text-align: right !important;
}

/* Description paragraph */
.about-fact-desc {
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-size: clamp(0.6875rem, 0.9vw, 0.8125rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.75;
  color: rgba(148, 163, 184, 0.65);
  text-align: right;
  max-width: 52ch;
  margin: 0;
}

@media (max-width: 767px) {
  .about-fact {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: clamp(0.75rem, 2vw, 1rem) !important;
  }
  .about-fact-body {
    align-items: flex-start;
    flex: none;
  }
  .about-fact .f-24.caps.lh-100.-ls-02 {
    text-align: left !important;
  }
  .about-fact-desc {
    text-align: left;
    max-width: 44ch;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CTA — radial red glow behind heading + contact button
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-cta {
  position: relative;
}
.about-cta::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(20rem, 50vw, 44rem);
  height: clamp(10rem, 28vw, 20rem);
  background: radial-gradient(ellipse at center, rgba(255, 65, 65, 0.1), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}
.about-cta > * {
  position: relative;
  z-index: 1;
}
.about-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: clamp(0.75rem, 2vw, 1.25rem);
  padding: 0.75rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100vw;
  color: rgba(248, 250, 252, 0.65);
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  min-width: 140px;
}
.about-cta-btn:hover {
  border-color: #ff4141;
  color: #ff4141;
  background-color: rgba(255, 65, 65, 0.06);
}
.about-cta-btn::after {
  content: '→';
  opacity: 0.55;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.about-cta-btn:hover::after {
  transform: translateX(3px);
  opacity: 1;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Reduced motion
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (prefers-reduced-motion: reduce) {
  .about-statement::after,
  .about-copy::before { transition: none !important; }
  .about-metrics .about-metric { transition: opacity 0s, transform 0s, border-color 0s !important; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Mobile
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media screen and (max-width: 767px) {
  .about-copy {
    padding-left: 0;
  }
  .about-copy::before {
    display: none;
  }
}

/* EST. 2025 — force to column 3 since the footer grid-3col has no middle CTA on the about page */
body footer.footer_section .footer .grid-3col > .v-flex-right-center {
  grid-column: 3 !important;
}
