/* ==========================================================================
   Ghandour Global Group — about.html stylesheet
   Requires css/base.css to be loaded first.
   ========================================================================== */

/* --------------------------------------------------------------------------
   8. About page — continuous 3D scroll experience (shares the .home-flow
   environment so Home and About read as one ecosystem)
   -------------------------------------------------------------------------- */

.about-flow {
  isolation: isolate;
}

.about-flow::before,
.about-flow::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.about-flow::before {
  top: 4%;
  bottom: 6%;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, transparent, rgba(77, 125, 255, 0.34) 12%, rgba(31, 204, 31, 0.18) 48%, rgba(77, 125, 255, 0.34) 82%, transparent),
    repeating-linear-gradient(180deg, transparent 0 42px, rgba(255, 255, 255, 0.26) 42px 44px, transparent 44px 96px);
  opacity: 0.58;
  filter: drop-shadow(0 0 14px rgba(77, 125, 255, 0.6));
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}

.about-flow::after {
  inset: 0;
  background:
    radial-gradient(circle at var(--about-glow-a-x, 74%) var(--about-glow-a-y, 16%), rgba(0, 64, 224, 0.18), transparent 22rem),
    radial-gradient(circle at var(--about-glow-b-x, 18%) var(--about-glow-b-y, 64%), rgba(31, 204, 31, 0.08), transparent 20rem);
  opacity: 0.9;
}

.about-panel {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 10vw, 7rem);
}

.about-panel h1,
.about-panel h2 {
  color: var(--color-white);
}

.about-panel p {
  color: rgba(232, 237, 247, 0.82);
}

/* --- Hero: glass/metal GGG monogram backdrop --- */
.about-hero {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - var(--header-h, 72px));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(4rem, 10vw, 7rem);
}

.about-hero h1 {
  color: var(--color-white);
}

.about-hero p {
  color: rgba(232, 237, 247, 0.85);
}

/* The 3D identity object sits behind everything, right of center;
   js/about.js feeds --tilt-x/--tilt-y from mouse position. */
.about-hero-object {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  justify-items: end;
  padding-right: clamp(1rem, 8vw, 9rem);
  pointer-events: none;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.5s cubic-bezier(0.16, 0.6, 0.2, 1);
  will-change: transform;
}

.about-monogram-beam {
  position: absolute;
  right: clamp(2rem, 11vw, 10rem);
  width: min(56vw, 720px);
  height: 1px;
  transform-origin: right center;
  background: linear-gradient(90deg, transparent, rgba(77, 125, 255, 0.62), rgba(255, 255, 255, 0.44));
  filter: drop-shadow(0 0 12px rgba(77, 125, 255, 0.7));
  opacity: 0.55;
}

.about-monogram-beam--one {
  top: 38%;
  transform: rotate(-18deg);
}

.about-monogram-beam--two {
  top: 60%;
  transform: rotate(16deg);
  opacity: 0.34;
}

.about-monogram {
  position: relative;
  width: min(47vw, 560px);
  aspect-ratio: 1;
  transform-style: preserve-3d;
}

.about-monogram-ring {
  position: absolute;
  border-radius: 50%;
}

.about-monogram-ring--outer {
  inset: 0;
  border: 1px dashed rgba(77, 125, 255, 0.35);
  /* Slowed from 46s/34s (kept proportional) - a purely decorative ambient
     ring pair around the monogram, calmer at a slightly slower turn. */
  animation: monogram-spin 55s linear infinite;
  box-shadow: 0 0 36px rgba(0, 64, 224, 0.18);
}

.about-monogram-ring--inner {
  inset: 13%;
  border: 1px solid rgba(232, 237, 247, 0.16);
  animation: monogram-spin 41s linear infinite reverse;
}

.about-monogram-ring--axis {
  inset: 6%;
  border: 1px solid rgba(31, 204, 31, 0.22);
  transform: rotateX(68deg) rotateZ(-16deg);
  box-shadow: 0 0 28px rgba(31, 204, 31, 0.16);
}

.about-monogram-depth {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(122, 160, 255, 0.28), rgba(2, 8, 20, 0.9));
  box-shadow:
    20px 24px 0 rgba(1, 6, 16, 0.78),
    28px 34px 44px rgba(0, 0, 0, 0.52),
    0 0 72px rgba(0, 64, 224, 0.2);
  transform: translate3d(20px, 24px, -60px);
}

/* Same glass/metal material language as the homepage core */
.about-monogram-core {
  position: absolute;
  inset: 26%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: 0.06em;
  color: var(--color-white);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.45), transparent 34%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.16), transparent 36%),
    conic-gradient(from 210deg, #061029, #0040e0 45%, #061029 100%);
  border: 1px solid rgba(232, 237, 247, 0.4);
  box-shadow:
    inset 0 0 22px rgba(255, 255, 255, 0.14),
    inset 0 -14px 26px rgba(0, 0, 0, 0.5),
    0 18px 0 rgba(3, 8, 20, 0.95),
    0 34px 62px rgba(0, 0, 0, 0.42),
    0 0 68px rgba(0, 64, 224, 0.52);
  transform: translateZ(56px);
}

.about-monogram-core span {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

@keyframes monogram-spin {
  to { transform: rotate(360deg); }
}

/* Dark scrim over the object so the hero copy stays fully readable;
   lighter on the right where the monogram lives. */
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 6, 16, 0.86) 0%, rgba(1, 6, 16, 0.55) 46%, rgba(1, 6, 16, 0.12) 100%);
  pointer-events: none;
}

.about-hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
}

.about-hero-copy h1 {
  max-width: 16ch;
  font-size: clamp(2.2rem, 5.6vw, 4.45rem);
  line-height: 0.94;
  text-wrap: balance;
}

.about-hero-copy .lead {
  max-width: 52ch;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

/* --- Who We Are: central hub + orbiting sector nodes --- */
.about-who-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.about-who-copy h2 {
  max-width: 18ch;
}

.about-who-copy p {
  max-width: 52ch;
}

/* "What sets us apart" as quiet glass chips, not a whole section */
.about-edge-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.about-edge-list li {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.78rem;
  color: rgba(232, 237, 247, 0.85);
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(232, 237, 247, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.about-hub {
  position: relative;
  width: min(86vw, 420px);
  aspect-ratio: 1;
  margin-inline: auto;
  transform-style: preserve-3d;
}

.about-hub::before,
.about-hub::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  pointer-events: none;
}

.about-hub::before {
  background: radial-gradient(circle, rgba(0, 64, 224, 0.14), transparent 64%);
  filter: blur(10px);
}

.about-hub::after {
  border: 1px solid rgba(232, 237, 247, 0.08);
  transform: rotateX(68deg);
}

.about-hub-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.about-hub-orbit--outer {
  inset: 2%;
  border: 1px solid rgba(77, 125, 255, 0.2);
  transform: rotateX(64deg) rotateZ(-18deg);
  box-shadow: 0 0 26px rgba(0, 64, 224, 0.14);
}

.about-hub-orbit--inner {
  inset: 18%;
  border: 1px dashed rgba(31, 204, 31, 0.2);
  transform: rotateX(62deg) rotateZ(21deg);
}

.about-hub-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hub-line {
  stroke: rgba(77, 125, 255, 0.5);
  stroke-width: 1.5;
  stroke-dasharray: 6 10;
  filter: drop-shadow(0 0 4px rgba(77, 125, 255, 0.6));
  animation: hub-line-flow 3.2s linear infinite;
}

@keyframes hub-line-flow {
  to { stroke-dashoffset: -64; }
}

.about-hub-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 112px;
  height: 112px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--color-white);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.45), transparent 36%),
    conic-gradient(from 210deg, #061029, #0040e0 45%, #061029 100%);
  border: 1px solid rgba(232, 237, 247, 0.4);
  box-shadow:
    inset 0 0 16px rgba(255, 255, 255, 0.14),
    0 14px 0 rgba(2, 8, 20, 0.95),
    0 30px 42px rgba(0, 0, 0, 0.38),
    0 0 42px rgba(0, 64, 224, 0.55);
  transform: translate(-50%, -50%) translateZ(34px);
}

.about-hub-node {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.72rem;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(122, 160, 255, 0.4);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), 0 0 12px rgba(77, 125, 255, 0.2);
  backdrop-filter: blur(3px);
  animation: hub-node-float 6s ease-in-out infinite;
}

.about-hub-node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
  opacity: 0.72;
  box-shadow: 0 0 12px rgba(77, 125, 255, 0.8);
}

.about-hub-node--green {
  border-color: rgba(31, 204, 31, 0.45);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), 0 0 12px rgba(31, 204, 31, 0.25);
}

.about-hub-node:nth-of-type(2) { animation-delay: 1.4s; }
.about-hub-node:nth-of-type(3) { animation-delay: 2.8s; }
.about-hub-node:nth-of-type(4) { animation-delay: 4.2s; }

@keyframes hub-node-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -7px; }
}

/* --- Mission: 3D layered stack that aligns on scroll (--stack 0→1,
   driven by js/about.js) --- */
.about-mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.about-mission-copy p {
  max-width: 52ch;
}

.mission-stack {
  position: relative;
  height: 440px;
  perspective: 1100px;
}

.mission-stack::before,
.mission-stack::after {
  content: "";
  position: absolute;
  left: 50%;
  pointer-events: none;
  transform: translateX(-50%);
}

.mission-stack::before {
  top: 0;
  width: 68%;
  height: 100%;
  background: linear-gradient(180deg, rgba(77, 125, 255, 0.18), rgba(31, 204, 31, 0.08), transparent);
  filter: blur(26px);
  opacity: calc(0.35 + 0.35 * var(--stack, 0));
}

.mission-stack::after {
  bottom: 10px;
  width: 72%;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(77, 125, 255, 0.28), transparent 70%);
  transform: translateX(-50%) rotateX(68deg);
}

.mission-layer {
  --i: 0;
  position: absolute;
  inset-inline: 6%;
  top: 20px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent 26%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(122, 160, 255, 0.35);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.4), 0 0 22px rgba(0, 64, 224, 0.14);
  backdrop-filter: blur(5px);
  /* Blend from a tightly stacked, receding pile (--stack: 0 — a small
     18px step per layer, pushed back in Z and tilted like a floor) to
     four fully separated, flat, readable rows (--stack: 1 — each a
     full layer-height + gap apart, tilt flattened to 0). The previous
     version only separated aligned layers by 24px against a 76px
     layer height, so they overlapped almost entirely — this is the
     fix: 96px of clearance per step once aligned. */
  transform:
    translateY(calc(var(--i) * (18px + 78px * var(--stack, 0))))
    translateZ(calc(var(--i) * -74px * (1 - var(--stack, 0))))
    rotateX(calc(56deg * (1 - var(--stack, 0))));
  opacity: calc(0.45 + 0.55 * var(--stack, 0));
  will-change: transform, opacity;
}

.mission-layer::before {
  content: "0" counter(mission-layer);
  counter-increment: mission-layer;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(122, 160, 255, 0.72);
}

.mission-stack {
  counter-reset: mission-layer;
}

.mission-layer:nth-child(1) { --i: 0; }
.mission-layer:nth-child(2) { --i: 1; }
.mission-layer:nth-child(3) { --i: 2; }
.mission-layer:nth-child(4) { --i: 3; }

.mission-layer span {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--color-white);
}

.mission-layer--green {
  border-color: rgba(31, 204, 31, 0.4);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.4), 0 0 22px rgba(31, 204, 31, 0.16);
}

/* --- Holding company model: rotating 3D cube --- */
.about-model-intro {
  max-width: 58ch;
}

.about-model-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.about-model-steps {
  display: flex;
  flex-direction: column;
}

.model-step {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  border-left: 3px solid rgba(232, 237, 247, 0.12);
  opacity: 0.35;
  position: relative;
  transition: opacity 0.5s ease, border-color 0.5s ease, transform 0.5s ease;
}

.model-step::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(232, 237, 247, 0.18);
  border: 1px solid rgba(232, 237, 247, 0.22);
  transform: translateY(-50%);
  box-shadow: 0 0 0 rgba(77, 125, 255, 0);
  transition: background 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
}

.model-step h3 {
  color: var(--color-white);
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.model-step p {
  max-width: 44ch;
  margin: 0;
}

.model-step.is-active {
  opacity: 1;
  border-left-color: var(--color-blue);
  transform: translateX(0.35rem);
}

.model-step.is-active::before {
  background: var(--color-blue);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 0 18px rgba(77, 125, 255, 0.8);
}

.about-model-cube-wrap {
  position: sticky;
  top: calc(var(--header-h, 72px) + 14vh);
  align-self: start;
  display: grid;
  place-items: center;
  padding-block: 2rem;
}

.about-model-cube-wrap::before {
  content: "";
  position: absolute;
  width: min(64vw, 430px);
  height: 120px;
  bottom: 0.8rem;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 64, 224, 0.24), rgba(31, 204, 31, 0.08) 38%, transparent 70%);
  transform: rotateX(70deg);
  filter: blur(2px);
}

.model-cube {
  --cube-size: 280px;
  width: var(--cube-size);
  height: var(--cube-size);
  perspective: 1200px;
  position: relative;
  z-index: 1;
}

.model-cube-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  /* Slow, premium rotation between faces (js/about.js sets --cube-rot) */
  transform: rotateX(-12deg) rotateY(var(--cube-rot, 0deg));
  transition: transform 1.1s cubic-bezier(0.25, 0.7, 0.2, 1);
}

.model-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 18px;
  backface-visibility: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent 32%),
    linear-gradient(160deg, rgba(10, 20, 44, 0.98), rgba(3, 8, 20, 0.99));
  border: 1px solid rgba(122, 160, 255, 0.25);
  box-shadow: inset 0 0 34px rgba(0, 64, 224, 0.1);
  transform: rotateY(calc(var(--face) * 90deg)) translateZ(calc(var(--cube-size) / 2));
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

.model-face span {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: rgba(232, 237, 247, 0.75);
  transition: color 0.6s ease;
}

.model-face.is-active {
  border-color: rgba(77, 125, 255, 0.75);
  box-shadow:
    inset 0 0 40px rgba(0, 64, 224, 0.22),
    0 0 44px rgba(0, 64, 224, 0.3);
}

.model-face.is-active span {
  color: var(--color-white);
}

/* --- Values: floating glass panels; --align (0→1) scrubbed on scroll,
   gentle 3D tilt on hover --- */
.values-layer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
  perspective: 1200px;
  position: relative;
}

.values-layer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(86vw, 760px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(77, 125, 255, 0.42), rgba(31, 204, 31, 0.22), transparent);
  opacity: calc(0.2 + 0.6 * var(--align, 0));
  filter: drop-shadow(0 0 10px rgba(77, 125, 255, 0.55));
}

.value-panel {
  --v0: 46px;
  opacity: var(--align, 0);
  transform:
    translateY(calc(var(--v0) * (1 - var(--align, 0))))
    rotateX(calc(24deg * (1 - var(--align, 0))));
  will-change: transform;
}

.value-panel:nth-child(2) { --v0: 66px; }
.value-panel:nth-child(3) { --v0: 54px; }

.value-panel-inner {
  height: 100%;
  min-height: 260px;
  padding: 4.4rem 1.5rem 1.75rem;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.015)),
    linear-gradient(160deg, rgba(7, 16, 36, 0.86), rgba(2, 7, 18, 0.9));
  border: 1px solid rgba(122, 160, 255, 0.28);
  box-shadow: 0 26px 44px rgba(0, 0, 0, 0.38), 0 0 24px rgba(0, 64, 224, 0.12);
  backdrop-filter: blur(6px);
  transition: transform 0.45s cubic-bezier(0.16, 0.6, 0.2, 1), border-color 0.45s ease;
}

.value-panel-inner::before {
  content: "";
  position: absolute;
  inset: auto 1.25rem 1.15rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(77, 125, 255, 0.72), transparent);
  opacity: 0.68;
}

.value-panel-inner::after {
  content: "";
  position: absolute;
  right: -18%;
  top: -18%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 125, 255, 0.22), transparent 66%);
  filter: blur(8px);
}

/* A thin outlined ring + small center dot — same top-left color-coded
   marker role as before, executed as a much lighter structure than the
   previous filled glowing sphere (no conic-gradient shading, minimal
   glow, mostly negative space). */
.value-panel-orb {
  position: absolute;
  left: 1.45rem;
  top: 1.35rem;
  width: 1.7rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(77, 125, 255, 0.6);
  box-shadow: 0 0 10px rgba(0, 64, 224, 0.16);
}

.value-panel-orb::before {
  content: "";
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: rgba(122, 160, 255, 0.95);
  box-shadow: 0 0 8px rgba(0, 64, 224, 0.55);
}

.value-panel:hover .value-panel-inner,
.value-panel:focus-within .value-panel-inner {
  transform: perspective(700px) rotateX(4deg) rotateY(-4deg) translateY(-4px);
  border-color: rgba(122, 160, 255, 0.55);
}

.value-panel--green .value-panel-inner {
  border-color: rgba(31, 204, 31, 0.32);
  box-shadow: 0 26px 44px rgba(0, 0, 0, 0.38), 0 0 24px rgba(31, 204, 31, 0.14);
}

.value-panel--green .value-panel-orb {
  background: transparent;
  border-color: rgba(31, 204, 31, 0.65);
  box-shadow: 0 0 10px rgba(31, 204, 31, 0.16);
}

.value-panel--green .value-panel-orb::before {
  background: rgba(94, 235, 130, 0.95);
  box-shadow: 0 0 8px rgba(31, 204, 31, 0.55);
}

.value-panel--green:hover .value-panel-inner,
.value-panel--green:focus-within .value-panel-inner {
  border-color: rgba(31, 204, 31, 0.55);
}

.value-panel h3 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value-panel p {
  margin: 0;
  font-size: 0.92rem;
}

/* --- Group direction: calm light path receding to the horizon --- */
.about-direction {
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.direction-path {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* A ground plane tilted away from the viewer: one center guide line +
   slow dashes drifting toward the horizon. Deliberately calm. */
.direction-path::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: min(76vw, 940px);
  height: 150%;
  transform: translateX(-50%) rotateX(74deg);
  transform-origin: bottom center;
  background:
    repeating-linear-gradient(180deg, rgba(77, 125, 255, 0.4) 0 12px, transparent 12px 84px),
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(122, 160, 255, 0.7) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(90deg, transparent calc(18% - 1px), rgba(232, 237, 247, 0.14) calc(18% - 1px) calc(18% + 1px), transparent calc(18% + 1px)),
    linear-gradient(90deg, transparent calc(82% - 1px), rgba(232, 237, 247, 0.14) calc(82% - 1px) calc(82% + 1px), transparent calc(82% + 1px));
  mask-image: linear-gradient(180deg, transparent 4%, #000 42%, #000 100%);
  animation: direction-flow 7s linear infinite;
}

@keyframes direction-flow {
  to { background-position: 0 -96px, 0 0, 0 0, 0 0; }
}

/* Soft glow where the path meets the horizon */
.direction-horizon {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 300px;
  height: 90px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(77, 125, 255, 0.35), rgba(31, 204, 31, 0.08) 55%, transparent 72%);
  filter: blur(6px);
}

.direction-point {
  position: absolute;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(232, 237, 247, 0.9);
  box-shadow: 0 0 18px rgba(77, 125, 255, 0.95), 0 0 44px rgba(0, 64, 224, 0.32);
  transform: translate(-50%, -50%) rotateX(64deg);
}

.direction-point::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(77, 125, 255, 0.36);
  animation: direction-pulse 2.8s ease-in-out infinite;
}

.direction-point--one {
  top: 72%;
  margin-left: -16vw;
}

.direction-point--two {
  top: 58%;
  margin-left: 15vw;
}

.direction-point--three {
  top: 42%;
}

.direction-point--two::after { animation-delay: 0.8s; }
.direction-point--three::after { animation-delay: 1.6s; }

@keyframes direction-pulse {
  0%, 100% { opacity: 0.28; transform: scale(0.72); }
  50% { opacity: 0.75; transform: scale(1.25); }
}

.about-direction-copy {
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-direction-copy h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.about-direction-copy p {
  max-width: 56ch;
  margin-inline: auto;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

/* --- Final CTA: floating glass partnership card --- */
.about-cta {
  min-height: 60svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-cta .container {
  position: relative;
}

.about-cta-gateway {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(78vw, 700px);
  aspect-ratio: 1.5;
  transform: translate(-50%, -50%) perspective(900px) rotateX(67deg);
  pointer-events: none;
}

.about-cta-gateway span {
  position: absolute;
  inset: calc(var(--r, 0) * 8%);
  border-radius: 50%;
  border: 1px solid rgba(77, 125, 255, 0.24);
  box-shadow: 0 0 28px rgba(0, 64, 224, 0.18);
  animation: gateway-breathe 5.6s ease-in-out infinite;
}

.about-cta-gateway span:nth-child(2) {
  --r: 1;
  border-color: rgba(31, 204, 31, 0.18);
  animation-delay: 0.8s;
}

.about-cta-gateway span:nth-child(3) {
  --r: 2;
  animation-delay: 1.6s;
}

@keyframes gateway-breathe {
  0%, 100% { opacity: 0.36; transform: scale(0.97); }
  50% { opacity: 0.74; transform: scale(1.02); }
}

.about-cta-card {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.25rem);
  text-align: center;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent 32%),
    linear-gradient(160deg, rgba(8, 17, 37, 0.84), rgba(2, 7, 18, 0.88));
  border: 1px solid rgba(122, 160, 255, 0.3);
  box-shadow:
    0 34px 60px rgba(0, 0, 0, 0.45),
    0 0 44px rgba(0, 64, 224, 0.16);
  backdrop-filter: blur(8px);
  transition: transform 0.5s cubic-bezier(0.16, 0.6, 0.2, 1), border-color 0.5s ease;
}

.about-cta-card:hover {
  transform: perspective(900px) rotateX(2.5deg) translateY(-4px);
  border-color: rgba(122, 160, 255, 0.55);
}

.about-cta-card h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
}

.about-cta-card p {
  max-width: 46ch;
  margin-inline: auto;
}

/* --- About page: mobile / stacked layout --- */
@media (max-width: 900px) {
  /* Both panels center short copy within a near-full-viewport-height
     flex box (min-height: calc(100svh - header)/88svh) - a fine "hero"
     look on desktop next to a wide graphic, but on a phone it leaves a
     large empty gap above the text before it settles into view. Content
     already has .about-panel's own padding-block for breathing room, so
     just let each panel size to its content instead of forcing the extra
     height. Same fix already applied to .contact-hero for the same reason. */
  .about-hero,
  .about-direction {
    min-height: auto;
  }

  .about-hero-object {
    justify-items: center;
    padding-right: 0;
    opacity: 0.55;
  }

  .about-flow::before {
    left: auto;
    right: 1.25rem;
    opacity: 0.32;
  }

  .about-monogram {
    width: min(86vw, 420px);
  }

  .about-monogram-beam {
    display: none;
  }

  /* Full scrim when the monogram sits behind the text */
  .about-hero::after {
    background: linear-gradient(180deg, rgba(1, 6, 16, 0.8), rgba(1, 6, 16, 0.62));
  }

  .about-who-grid,
  .about-mission-grid,
  .about-model-grid {
    grid-template-columns: 1fr;
  }

  .about-hub {
    margin-top: 1.5rem;
  }

  .mission-stack {
    height: 400px;
    margin-top: 1rem;
  }

  /* Cube above the steps, not sticky; steps shrink to normal blocks */
  .about-model-cube-wrap {
    position: relative;
    top: auto;
    order: -1;
    padding-block: 1rem;
  }

  .model-cube { --cube-size: 210px; }

  .model-step {
    min-height: 0;
    padding-block: 1.1rem;
  }

  .values-layer {
    grid-template-columns: 1fr;
  }

  .values-layer::before {
    display: none;
  }

  .value-panel-inner {
    min-height: 0;
  }

  .direction-point--one {
    margin-left: -24vw;
  }

  .direction-point--two {
    margin-left: 22vw;
  }
}

/* --- About page: reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .about-monogram-ring--outer,
  .about-monogram-ring--inner,
  .about-hub-node,
  .hub-line,
  .direction-path::before,
  .direction-point::after,
  .about-cta-gateway span { animation: none; }

  .about-hero-object {
    transform: none;
    transition: none;
  }

  /* Scrubbed elements render fully aligned (js/about.js also sets the
     variables to 1; this is the belt-and-braces CSS side). */
  .mission-layer {
    transform: translateY(calc(var(--i) * 96px));
    opacity: 1;
  }

  .value-panel {
    opacity: 1;
    transform: none;
  }

  .value-panel:hover .value-panel-inner,
  .value-panel:focus-within .value-panel-inner,
  .about-cta-card:hover { transform: none; }

  .model-cube-inner { transition: none; }

  .model-step { opacity: 1; transition: none; }
}
