/* --- About page ---
   Full-bleed (not .container-constrained) throughout, matching the same
   pattern already used on the homepage product spotlight and the portfolio
   gallery — a narrow ~76rem container read as too boxed-in for this page.
   Everything reuses existing site-wide components (journey/stats, steps,
   card grid, trust-wall, cta-band); the statement hero and triptych are the
   only new patterns this page needed. */

.about-full-bleed {
  width: 100%;
  padding-inline: clamp(1.5rem, 6vw, 6rem);
}

/* Fill the initial viewport like the home hero does (.hero-story__sticky)
   so this reads as a complete, proper hero on load — not a shorter block
   that lets the next section bleed into view above the fold. */
.about-statement {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.about-statement__grid {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
  width: 100%;
}

@media (min-width: 56rem) {
  .about-statement__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.about-statement__inner {
  max-width: 46rem;
}

.about-statement__visual {
  width: 100%;
  max-width: 30rem;
  margin-inline: auto;
}

/* A bounded square frame, same role as the home hero's .hero-story__visual:
   the source image is itself a 1024x1024 square, so width:100% here fills
   the frame edge-to-edge exactly like the home hero's canvas does. That
   means the default .hero__badge (absolute, inset from this frame's own
   edges) now overlays cleanly at the bottom — same structure as home,
   instead of the earlier unbounded-height version where the badge landed
   on top of wherever the artwork's irregular silhouette happened to end. */
.about-statement__frame {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

/* Unlike the home hero's badge (inset on all sides so it floats above the
   canvas), this one spans the full width of the frame edge-to-edge — a
   flush caption bar across the bottom of the mark, not a pinched pill. */
.about-statement__frame .hero__badge {
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  justify-content: center;
}

/* "Playable" via plain CSS 3D transforms (monogram-tilt.js), not a Three.js
   scene — a WebGL rebuild of this mark came out smaller and dimmer than the
   real pre-rendered image it was replacing. This keeps that exact image at
   its exact size and just lets you grab and tilt it; it springs back to
   resting on release. */
.about-statement__tilt {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-statement__tilt:active {
  cursor: grabbing;
}

.about-statement__glow {
  position: absolute;
  inset: -6%;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-accent-blue) 14%, transparent), transparent 70%);
  animation: about-glow-pulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes about-glow-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.04); }
}

/* The real 3D-rendered monogram from konstent.com's own About section —
   a restrained, subtle float, not a dramatic wobble: modern-web polish
   reads as barely-there motion, not something that draws attention to
   itself. No canvas/Three.js needed for a still image; this is the actual
   asset, not a recreation. */
.about-statement__mark {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1rem 2rem rgba(49, 130, 206, 0.22));
  animation: about-mark-float 8s ease-in-out infinite;
}

@keyframes about-mark-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .about-statement__mark,
  .about-statement__glow {
    animation: none;
  }
}

.about-statement h1 {
  font-size: var(--fs-3xl);
  margin-block: var(--space-sm) var(--space-md);
}

.about-statement h1 em {
  font-style: normal;
  color: var(--color-accent-blue);
}

.about-statement__sub {
  font-size: var(--fs-lg);
  max-width: 38rem;
  margin-bottom: var(--space-lg);
}

/* Each stat card enters from its own direction — left card from the left,
   right card from the right, the two in between from up/down — instead of
   the whole grid fading in as one flat block. Only the transform differs
   per card; [data-reveal]/[data-reveal].is-visible (components.css) still
   drive the opacity fade and the reveal-on-scroll timing itself. The
   .stat-grid-qualified selector out-specifies the generic [data-reveal]
   rule so these transforms actually take effect. */
.stat-grid .stat-tile--from-left { transform: translateX(-2.5rem); }
.stat-grid .stat-tile--from-right { transform: translateX(2.5rem); }
.stat-grid .stat-tile--from-up { transform: translateY(-2rem); }
.stat-grid .stat-tile--from-down { transform: translateY(2rem); }

.stat-grid .stat-tile:nth-child(1) { transition-delay: 0ms; }
.stat-grid .stat-tile:nth-child(2) { transition-delay: 90ms; }
.stat-grid .stat-tile:nth-child(3) { transition-delay: 180ms; }
.stat-grid .stat-tile:nth-child(4) { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  .stat-grid .stat-tile--from-left,
  .stat-grid .stat-tile--from-right,
  .stat-grid .stat-tile--from-up,
  .stat-grid .stat-tile--from-down {
    transform: none;
  }

  .stat-grid .stat-tile {
    transition-delay: 0ms;
  }
}

.about-triptych {
  padding-block: var(--space-xl);
}

.about-triptych__grid {
  display: grid;
  gap: var(--space-sm);
  text-align: center;
}

.about-triptych__grid p {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--color-text-muted);
}

.about-triptych__grid strong {
  color: var(--color-text);
}

@media (min-width: 56rem) {
  .about-triptych__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}
