/* =========================================================================
   ZXVERA — About Us page
   Builds on style.css tokens, buttons, reveals, header and footer.
   Imagery: real photography framed with the shared .photo-frame component.
   ========================================================================= */

/* ---------- Hero ---------- */
.ahero {
  position: relative;
  padding: calc(var(--header-h) + clamp(16px, 2.5vw, 36px)) 0 clamp(28px, 3vw, 40px);
  color: var(--white);
  background: radial-gradient(110% 80% at 80% 30%, #0D2142 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  overflow: hidden;
  isolation: isolate;
}
.ahero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ahero__glow--a { width: 50vw; height: 50vw; max-width: 760px; max-height: 760px; right: -8vw; top: -10vw; background: radial-gradient(circle, rgba(23, 107, 255, 0.45), transparent 65%); animation: drift-a 24s ease-in-out infinite alternate; }
.ahero__glow--b { width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; left: -10vw; bottom: -12vw; background: radial-gradient(circle, rgba(40, 216, 255, 0.2), transparent 65%); animation: drift-b 28s ease-in-out infinite alternate; }
/* Fine editorial rules instead of the homepage's perspective grid */
.ahero__lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(168, 180, 199, 0.07) 1px, transparent 1px);
  background-size: calc((min(100vw, 1336px) - 96px) / 12) 100%;
  background-position: center;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.ahero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.ahero__badge { margin-bottom: 20px; }

.ahero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 4.6vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.ahero__line { display: block; overflow: hidden; padding-bottom: 0.07em; margin-bottom: -0.04em; }
.ahero__line > span { display: inline-block; }
.ahero__title em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ahero__title i { font-style: normal; color: var(--cyan); }

.ahero__lede {
  max-width: 44ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.55vw, 1.32rem);
  line-height: 1.42;
  color: var(--white);
  padding-left: 18px;
  border-left: 2px solid var(--cyan);
}
.ahero__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; max-width: 640px; color: var(--steel); font-size: 0.96rem; }
.ahero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Orbit emblem */

/* Hero entrance (released by .hero-go from main.js) */
.js:not(.hero-go) .ahero__line > span { transform: translateY(110%); }
.js:not(.hero-go) .crumbs,
.js:not(.hero-go) .ahero__badge,
.js:not(.hero-go) .ahero__intro,
.js:not(.hero-go) .ahero__actions,
.js:not(.hero-go) .focus-strip { opacity: 0; transform: translateY(20px); }
.ahero__line > span { transition: transform 1.1s var(--ease-out); }
.ahero__line:nth-child(2) > span { transition-delay: 0.08s; }
.ahero__line:nth-child(3) > span { transition-delay: 0.16s; }
.ahero__line:nth-child(4) > span { transition-delay: 0.24s; }
.crumbs, .ahero__badge, .ahero__intro, .ahero__actions, .focus-strip { transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.ahero__intro { transition-delay: 0.3s; }
.ahero__actions { transition-delay: 0.42s; }
.focus-strip { transition-delay: 0.6s; }

/* Focus strip */
.focus-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: clamp(24px, 2.6vw, 36px);
  border-top: 1px solid var(--line-dark);
}
.focus-strip li {
  position: relative;
  padding: 18px 16px 0 0;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--steel-2);
}
.focus-strip li::before { content: ""; position: absolute; left: 0; top: -1px; width: 28px; height: 2px; background: var(--grad-brand); }
.focus-strip span { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 0.75rem; color: var(--cyan); }

/* ---------- Who we are ---------- */
/* overflow-x: clip keeps the pre-reveal slide-in from widening the page on phones */
.who { background: var(--white); overflow-x: clip; }
.who__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.who__content .h2 { margin-bottom: 24px; }
.who__lead { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.38; letter-spacing: -0.01em; color: var(--ink); }
.who__text { margin-top: 16px; color: var(--ink-2); max-width: 54ch; }

.who__focus { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.who__focus li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px;
  font-size: 0.9rem; font-weight: 700;
  color: var(--ink);
  border-radius: 999px;
  background: var(--off);
  box-shadow: inset 0 0 0 1px var(--line-light);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease-out);
}
.who__focus li .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; color: var(--white); background: var(--grad-brand); }
.who__focus li:hover { background: var(--white); box-shadow: inset 0 0 0 1px rgba(23, 107, 255, 0.35), var(--shadow-light); transform: translateY(-2px); }

.who__media { position: relative; padding: 0 0 18% 12%; }
.who__photo { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-light); }
.who__photo img { width: 100%; height: 116%; margin-top: -8%; object-fit: cover; }
.who__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(23, 107, 255, 0.22), transparent 45%, rgba(7, 17, 31, 0.35)); }
/* ---------- Mission & Vision ---------- */
.purpose { overflow: hidden; background: radial-gradient(80% 60% at 20% 0%, #0D2142, var(--navy-900) 60%); isolation: isolate; }
.purpose__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.purpose__head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: clamp(24px, 2.6vw, 36px); }
.purpose__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1.04; letter-spacing: -0.03em; }



/* ---------- Our approach ---------- */
.approach { background: var(--off); }
.approach__head { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(24px, 2.6vw, 36px); }
.approach__text p { color: var(--ink-2); max-width: 60ch; }
.approach__text p + p { margin-top: 14px; }
.approach__text .approach__lead { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.38rem); line-height: 1.4; color: var(--ink); letter-spacing: -0.01em; }

.journey { --draw: 0; position: relative; }

.journey__stops { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stop { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 12px; }
.stop:nth-child(odd) .stop__node { margin-top: 24px; }
.stop:nth-child(even) .stop__node { margin-top: 24px; }
.stop__node {
  display: grid; place-items: center;
  width: 72px; height: 72px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-light), 0 14px 30px -18px rgba(10, 22, 40, 0.5);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.6s var(--ease-out);
}
.stop__node .icon { width: 26px; height: 26px; }
.stop--end .stop__node .icon { fill: currentColor; stroke: none; }
.stop.is-active .stop__node { color: var(--white); background: var(--grad-brand); box-shadow: 0 0 0 8px rgba(23, 107, 255, 0.12), 0 18px 36px -14px rgba(23, 107, 255, 0.85); transform: scale(1.06); }
.stop__num { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.stop h3 { max-width: 16ch; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }

.principles-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: clamp(28px, 3vw, 40px); padding-top: 28px; border-top: 1px solid var(--line-light); }
.principles-row__label { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.principles-row ul { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.principles-row li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; font-size: 0.9rem; font-weight: 700; color: var(--ink); border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-light); }
.principles-row .icon { color: var(--blue); }

/* ---------- Founder ---------- */
.founder {
  position: relative;
  padding: var(--section-y) 0;
  background: linear-gradient(90deg, var(--navy-900) 0, var(--navy-900) 38%, var(--white) 38%);
  overflow: hidden;
}
.founder::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 38%; background: radial-gradient(70% 50% at 70% 50%, rgba(23, 107, 255, 0.3), transparent 70%); pointer-events: none; }
.founder__grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }

.founder__media { position: relative; max-width: 460px; }
.founder__photo {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  margin: 0;
  padding: clamp(32px, 3.4vw, 44px) 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(60% 42% at 50% 40%, rgba(23, 107, 255, 0.38), transparent 72%), linear-gradient(160deg, var(--navy-800), var(--navy-950));
  box-shadow: 0 50px 90px -40px rgba(2, 8, 20, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
/* The supplied portrait is square with its own background, so it is shown as a framed circle */
.founder__portrait { position: relative; display: block; width: min(74%, 300px); aspect-ratio: 1; }
.founder__portrait::before { content: ""; position: absolute; inset: -16px; border-radius: 50%; border: 1.5px dashed rgba(40, 216, 255, 0.45); }
.founder__portrait img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px var(--navy-900), 0 0 0 7px var(--cyan), 0 34px 60px -22px rgba(0, 0, 0, 0.85); }
.founder__caption { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--white); }
.founder__caption strong { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.founder__caption span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }

.founder__corner { position: absolute; width: 46px; height: 46px; border-color: var(--cyan); border-style: solid; pointer-events: none; }
.founder__corner--tl { left: -14px; top: -14px; border-width: 2px 0 0 2px; border-top-left-radius: 14px; }
.founder__corner--br { right: -14px; bottom: -14px; border-width: 0 2px 2px 0; border-bottom-right-radius: 14px; }
.founder__vertical {
  position: absolute; left: -46px; bottom: 30px;
  transform: rotate(-90deg); transform-origin: left bottom;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--steel-dim); white-space: nowrap;
}

.founder__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.founder__role { display: inline-flex; align-items: center; gap: 12px; margin: 18px 0 30px; padding: 8px 16px 8px 8px; font-weight: 800; color: var(--ink); border-radius: 999px; background: var(--off); box-shadow: inset 0 0 0 1px var(--line-light); }
.founder__role img { width: 30px; height: 30px; border-radius: 8px; }
.founder__bio p { color: var(--ink-2); max-width: 60ch; }
.founder__bio p + p { margin-top: 14px; }
.founder__bio .founder__lead { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.38rem); line-height: 1.4; color: var(--ink); letter-spacing: -0.01em; }
.founder__bio .founder__goal { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; padding: 20px 22px; border-radius: var(--radius); color: var(--ink); font-weight: 600; background: linear-gradient(135deg, rgba(23, 107, 255, 0.08), rgba(40, 216, 255, 0.06)); box-shadow: inset 3px 0 0 var(--blue), inset 0 0 0 1px rgba(23, 107, 255, 0.15); }
.founder__goal .icon { width: 22px; height: 22px; margin-top: 2px; fill: var(--blue); stroke: none; }

/* ---------- Closing CTA ---------- */
.aclose {
  position: relative;
  padding: var(--section-y-lg) 0;
  color: var(--white);
  background: radial-gradient(60% 80% at 75% 60%, rgba(23, 107, 255, 0.3), transparent 70%), linear-gradient(180deg, var(--navy-850), var(--navy-950));
  overflow: hidden;
  isolation: isolate;
}
.aclose__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.aclose__copy { max-width: 640px; }
.aclose__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 4.8vw, 4.2rem); line-height: 1.02; letter-spacing: -0.035em; }
.aclose__title em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aclose__title .word em { display: inline-block; }
.aclose__body { margin: 24px 0 34px; max-width: 56ch; color: var(--steel-2); font-size: 1.04rem; }
.aclose__body p + p { margin-top: 10px; color: var(--white); font-weight: 700; }
.aclose__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Scroll-driven motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .ahero.is-offscreen .aurora { animation-play-state: paused; }

  .js .founder__corner { opacity: 0; transition: opacity 0.6s var(--ease) 0.6s, transform 0.8s var(--ease-out) 0.6s; }
  .js .founder__corner--tl { transform: translate(14px, 14px); }
  .js .founder__corner--br { transform: translate(-14px, -14px); }
  .js .founder__media.is-visible .founder__corner { opacity: 1; transform: none; }
}
/* Orbit node emphasis on hover (purely decorative; content never depends on it) */

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ahero__inner { grid-template-columns: 1fr; }
  .focus-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }

  .who__grid, .approach__head, .founder__grid { grid-template-columns: 1fr; }
  .who__media { max-width: 640px; }

  .founder { background: var(--white); }
  .founder::before { display: none; }
  .founder__media { margin: 0 auto; width: 100%; }
  .founder__photo { box-shadow: 0 40px 70px -36px rgba(2, 8, 20, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
  .founder__vertical { display: none; }
}

@media (max-width: 760px) {
  .journey__stops { grid-template-columns: 1fr; gap: 0; }
  .journey__stops::before { content: ""; position: absolute; left: 31px; top: 36px; bottom: 36px; width: 2px; background: linear-gradient(var(--blue), var(--blue)) 0 0 / 100% calc(var(--draw) * 100%) no-repeat, var(--line-light); }
  .stop { flex-direction: row; align-items: center; gap: 18px; padding: 10px 0; text-align: left; }
  .stop:nth-child(odd) .stop__node, .stop:nth-child(even) .stop__node { margin: 0; }
  .stop__node { position: relative; width: 64px; height: 64px; margin: 0; flex-shrink: 0; }
  .stop h3 { flex: 1; max-width: none; }
  .stop__num { display: none; }
  .principles-row { justify-content: flex-start; }
  .principles-row ul { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .ahero__title { font-size: min(11vw, 3.2rem); }
  .ahero__cols { grid-template-columns: 1fr; gap: 12px; }
  .ahero__actions .btn { flex: 1 1 100%; }
  .focus-strip { grid-template-columns: 1fr 1fr; }
  .who__media { padding-bottom: 0; }

  .founder__corner--tl { left: -8px; top: -8px; }
  .founder__corner--br { right: -8px; bottom: -8px; }
  .founder__role { font-size: 0.9rem; }

  .aclose__actions .btn { flex: 1 1 100%; }
}

/* ---------- Photography ---------- */
.who__inset { position: absolute; left: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 3; border: 8px solid var(--white); border-radius: var(--radius); }

.aclose__photo { position: absolute; inset: 0; z-index: -2; }
.aclose__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) brightness(0.5) contrast(1.05); }
.aclose__bg { background: linear-gradient(90deg, rgba(7, 17, 31, 0.96) 0%, rgba(7, 17, 31, 0.82) 45%, rgba(7, 17, 31, 0.35) 100%), radial-gradient(50% 70% at 80% 60%, rgba(23, 107, 255, 0.3), transparent 70%); }

@media (max-width: 640px) {
  .who__media { padding: 0 0 22% 0; }
  .who__inset { left: auto; right: 0; width: 56%; }
  .aclose__bg { background: linear-gradient(180deg, rgba(7, 17, 31, 0.9), rgba(7, 17, 31, 0.8)); }
}

/* Approach progress line (fills as the section scrolls into view); phones use the vertical line above */
@media (min-width: 761px) {
  .journey__stops::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 59px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)) 0 0 / calc(var(--draw) * 100%) 100% no-repeat, var(--line-light); }
}

/* ---------- Mission & Vision: a balanced pair of photo cards ---------- */
.purpose__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); align-items: stretch; }
.statement {
  --accent: var(--blue);
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(170deg, rgba(21, 40, 74, 0.85), rgba(10, 22, 40, 0.95));
  box-shadow: inset 0 0 0 1px var(--line-dark), 0 40px 70px -40px rgba(0, 0, 0, 0.9);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease);
}
.statement::before { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 3px; background: var(--accent); }
.statement--vision { --accent: var(--cyan); background: linear-gradient(170deg, rgba(23, 107, 255, 0.24), rgba(13, 27, 48, 0.92) 55%); box-shadow: inset 0 0 0 1px rgba(40, 216, 255, 0.25), 0 40px 70px -40px rgba(0, 0, 0, 0.9); }
.statement:hover, .statement:focus-within { box-shadow: inset 0 0 0 1px rgba(40, 216, 255, 0.4), 0 50px 80px -40px rgba(23, 107, 255, 0.45); }

.statement__media { aspect-ratio: 16 / 9; border-radius: 0; box-shadow: none; }
.statement__media img { transition: transform 1.2s var(--ease-out); }
.statement:hover .statement__media img { transform: scale(1.05); }

.statement__head { display: flex; align-items: center; gap: 14px; padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px) 0; }
.statement__icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; color: var(--white); background: var(--grad-brand); box-shadow: 0 14px 30px -12px rgba(23, 107, 255, 0.9); }
.statement--vision .statement__icon { color: var(--cyan); background: rgba(7, 17, 31, 0.6); box-shadow: inset 0 0 0 1px rgba(40, 216, 255, 0.45); }
.statement__icon .icon { width: 22px; height: 22px; }
.statement h3 { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.statement--mission h3 { color: #6FA4FF; } /* lighter blue keeps small text readable on navy */
.statement__num { margin-left: auto; font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(168, 180, 199, 0.35); }
.statement__text {
  padding: 18px clamp(24px, 3vw, 40px) clamp(28px, 3.5vw, 44px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--white);
}

@media (max-width: 860px) {
  .purpose__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Founder email */
.founder__role { margin-bottom: 14px; }
.founder__email { margin-bottom: 28px; }
.founder__email a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--blue-deep); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color 0.25s var(--ease); }
.founder__email a:hover, .founder__email a:focus-visible { text-decoration-color: currentColor; }
.founder__email .icon { width: 20px; height: 20px; color: var(--blue); }
