/* about.css
   Page-specific styles for /about. Everything here is built on the shared
   app.css tokens (--panel, --panel-2, --text, --dim, --line, --grad,
   --soft-shadow, --r, --pill), so both themes follow the site automatically.
   Loaded after app.css from the page head slot. */

/* ---------- hero -------------------------------------------------------- */

/* .about-hero also carries .page-hero, which keeps the route ribbon starting
   below it and supplies the base padding and grid alignment. */
.about-hero {
  min-height: auto;
  padding: clamp(52px, 7vw, 104px) 0 clamp(56px, 7vw, 96px);
}
.about-hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.68fr);
  align-items: center;
  gap: clamp(32px, 6vw, 78px);
}
.about-hero-copy h1 {
  max-width: 14ch;
  font-size: clamp(40px, 6.4vw, 84px);
}
.about-hero-copy .lede { max-width: 40rem; margin: 26px 0 0; }

.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
/* Brand chips, not plain pills: a gradient hairline around a glass surface,
   a small tinted icon disc, and real ink for the label. Same chip language as
   the LIVE + HUMAN rail on the other pages. */
.about-facts li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background:
    linear-gradient(92deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)) padding-box,
    linear-gradient(110deg, rgba(245, 44, 143, 0.45), rgba(138, 88, 242, 0.34), rgba(88, 119, 248, 0.4)) border-box;
  box-shadow:
    0 8px 22px rgba(128, 62, 190, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 13px;
  font-weight: 620;
  letter-spacing: -0.01em;
}
.about-fact-ic {
  display: grid;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(96, 103, 148, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.about-fact-ic svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about-fact-ic--pin { color: #d94a9e; background: linear-gradient(145deg, rgba(245, 44, 143, 0.14), rgba(255, 255, 255, 0.8)); }
.about-fact-ic--founder { color: #8a58f2; background: linear-gradient(145deg, rgba(138, 88, 242, 0.14), rgba(255, 255, 255, 0.8)); }
.about-fact-ic--patent { color: #5877f8; background: linear-gradient(145deg, rgba(88, 119, 248, 0.14), rgba(255, 255, 255, 0.8)); }

html[data-theme="dark"] .about-facts li {
  background:
    linear-gradient(92deg, rgba(34, 39, 70, 0.95), rgba(28, 33, 62, 0.88)) padding-box,
    linear-gradient(110deg, rgba(245, 44, 143, 0.6), rgba(138, 88, 242, 0.46), rgba(88, 119, 248, 0.5)) border-box;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
html[data-theme="dark"] .about-fact-ic {
  background: rgba(38, 44, 78, 0.9);
  border-color: rgba(219, 223, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] .about-fact-ic--pin { color: #ff6cb5; }
html[data-theme="dark"] .about-fact-ic--founder { color: #b18cff; }
html[data-theme="dark"] .about-fact-ic--patent { color: #85a1ff; }

/* The phone sits on a soft brand bloom, no frame and no hard shadow, matching
   the .showcase treatment on the other pages. */
.about-phone {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
}
.about-phone::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 118%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(73, 121, 239, 0.26),
    rgba(92, 193, 246, 0.12) 42%,
    rgba(243, 26, 145, 0) 70%
  );
  filter: blur(8px);
}
.about-phone img {
  position: relative;
  z-index: 1;
  width: min(300px, 74%);
  height: auto;
  display: block;
}

/* ---------- origin: the story as stops on a route ----------------------- */

/* The four beats run down the left as one route; the founder card fills the
   column beside them so the section does not leave a dead half. */
.origin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 350px);
  align-items: start;
  gap: clamp(24px, 4vw, 58px);
}
.story {
  max-width: 720px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.story-step {
  position: relative;
  padding: 0 0 20px 62px;
}
.story-step:last-child { padding-bottom: 0; }
/* The numbered stop marker. */
.story-dot {
  position: absolute;
  left: 0;
  top: 4px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
/* The connecting run of road between two stops. */
.story-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 46px;
  bottom: 2px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--sky), var(--royal) 55%, var(--magenta));
  opacity: 0.5;
}
.story-card {
  padding: 22px 24px;
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}
.story-place {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.story-card h3 { margin: 0 0 10px; }
.story-card p { margin: 0; color: var(--dim); font-size: 16px; line-height: 1.55; }
/* Restated after .story-card p, which is more specific and would otherwise
   repaint the place label in --dim straight over its clipped gradient. */
.story-card p.story-place { color: transparent; }

/* ---------- founder card ------------------------------------------------ */

.founder {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r);
  background: linear-gradient(168deg, rgba(60, 158, 255, 0.11), var(--panel) 44%);
  box-shadow: var(--soft-shadow);
}
.founder-disc {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.founder-photo {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: 0 8px 22px rgba(20, 34, 70, 0.18), 0 0 0 3px var(--panel), 0 0 0 4px rgba(60, 158, 255, 0.35);
}
.founder-body h3 { margin: 0; }
.founder-role {
  margin: 5px 0 12px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.founder-body p:last-child { margin: 0; color: var(--dim); font-size: 16px; line-height: 1.55; }

/* ---------- mission cards ----------------------------------------------- */

.mgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
.mcard {
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}
.mcard-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--row);
  color: var(--acc-sky);
}
.mcard-ico svg { width: 23px; height: 23px; }
.mcard h3 { margin: 0 0 9px; }
.mcard p { margin: 0; color: var(--dim); font-size: 16px; line-height: 1.55; }

/* ---------- foundations -------------------------------------------------- */

/* Two by two, never three plus an orphan: there are exactly four foundations. */
.fgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
/* Deliberately quiet surfaces: these are real families and real losses, so the
   cards carry no gradient wash, no accent bar and no hover lift. */
.fcard {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 34px);
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}
/* Each partner logo sits on its own white plate so the real (often dark) marks
   read on any card background, in light and dark mode. */
.fcard-logo {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin-bottom: 20px;
  padding: 12px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(20, 34, 70, 0.07);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.fcard-logo:hover { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(20, 34, 70, 0.13); }
.fcard-logo:focus-visible { outline: 2px solid #5cc1f6; outline-offset: 3px; }
.fcard-logo img {
  display: block;
  width: auto;
  max-width: 200px;
  max-height: 48px;
  object-fit: contain;
}
.fcard h3 { margin: 0 0 12px; font-size: clamp(18px, 1.6vw, 21px); }
.fcard > p { margin: 0 0 20px; color: var(--dim); font-size: 16px; line-height: 1.58; }
/* margin-top:auto pins the shaped block to the bottom so the pair in a row line
   up even when the two stories run to different lengths. */
.fcard-shaped {
  margin-top: auto;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: var(--panel-2);
}
.fcard-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.fcard-shaped p:last-child {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* ---------- funding and recognition ------------------------------------- */

/* The two real award photographs. Both are cropped to one ratio with
   object-fit so the pair reads as a set despite different source shapes. */
.proof-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin-bottom: clamp(20px, 2.6vw, 30px);
}
.pshot { margin: 0; }
.pshot img {
  display: block;
  width: 100%;
  /* height:auto is load bearing: the img's height attribute is a presentational
     hint (height:896px) that otherwise wins and cancels the aspect-ratio, which
     rendered the pair at two completely different heights. */
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r);
  background: var(--panel-2);
  box-shadow: var(--soft-shadow);
}
.pshot figcaption {
  margin: 12px 2px 0;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.45;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.stat {
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}
.stat-n {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-l { margin: 0; color: var(--dim); font-size: 14px; line-height: 1.45; }

/* Awards as designed cards, not a bullet list (Adam 2026-08-06). */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(28px, 3.4vw, 42px) 0 0;
}
.award-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}
.award-card:last-child { grid-column: 1 / -1; }
.award-card p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.5; }
.award-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  color: #755cf2;
  border: 1px solid rgba(168, 108, 255, 0.22);
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.9), transparent 40%),
    linear-gradient(145deg, rgba(255, 44, 145, 0.17), rgba(168, 108, 255, 0.17) 50%, rgba(74, 135, 255, 0.19));
}
.award-ico svg { width: 25px; height: 25px; }
@media (max-width: 720px) {
  .awards-grid { grid-template-columns: 1fr; }
  .award-card:last-child { grid-column: auto; }
}

/* ---------- light theme -------------------------------------------------- */
/* Only the hand-mixed rgba values need a day version; everything else is
   token-driven and follows the theme on its own. */

html[data-theme="light"] .about-phone::before {
  background: radial-gradient(
    circle,
    rgba(73, 121, 239, 0.17),
    rgba(92, 193, 246, 0.1) 44%,
    rgba(243, 26, 145, 0) 70%
  );
}
html[data-theme="light"] .founder {
  background: linear-gradient(168deg, rgba(60, 158, 255, 0.09), var(--panel) 46%);
}
html[data-theme="light"] .story-step:not(:last-child)::before { opacity: 0.62; }

/* ---------- responsive --------------------------------------------------- */

@media (max-width: 900px) {
  /* Copy first, then the device, the same stacking the other page heros use. */
  .about-hero-in { grid-template-columns: minmax(0, 1fr); }
  .about-hero-copy h1 { max-width: 18ch; }
  .about-phone img { width: min(268px, 66vw); }
  .about-phone::before { width: 96%; }
  .origin-grid { grid-template-columns: minmax(0, 1fr); }
  .story { max-width: none; }
  .founder { max-width: 720px; }
}

@media (max-width: 760px) {
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .proof-shots { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pshot img { aspect-ratio: 3 / 2; }
}

@media (max-width: 620px) {
  /* Three facts fit two rows instead of stair-stepping one chip per line. */
  .about-facts { gap: 8px; }
  .about-facts li { padding: 6px 13px 6px 7px; font-size: 12.5px; }
  .about-fact-ic { width: 24px; height: 24px; }
  .about-fact-ic svg { width: 13px; height: 13px; }
  .story-step { padding-left: 52px; }
  .story-dot { width: 34px; height: 34px; font-size: 14px; }
  .story-step:not(:last-child)::before { left: 16px; top: 42px; }
  .story-card { padding: 20px; }
  .founder { gap: 16px; }
  .founder-disc { width: 50px; height: 50px; font-size: 16px; }
  .founder-photo { width: 66px; height: 66px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-n { font-size: clamp(21px, 5.6vw, 30px); }
}

@media (prefers-reduced-motion: reduce) {
  .about-phone::before { filter: none; }
}

/* Backed-by band: UM mark on its teal plate beside the USTAAR backing line. */
.backed {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin: clamp(28px, 3.6vw, 44px) 0 clamp(24px, 3vw, 36px);
  padding: clamp(20px, 2.4vw, 30px) clamp(22px, 3vw, 40px);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(60, 158, 255, 0.09), var(--panel) 46%);
  box-shadow: var(--soft-shadow);
}
.backed-mark {
  display: grid;
  place-items: center;
  padding: 16px 20px;
  border-radius: var(--r);
  background: #205066;
  box-shadow: var(--soft-shadow);
}
.backed-mark img { display: block; width: clamp(84px, 8vw, 108px); height: auto; }
.backed-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.backed-copy h3 { margin: 0 0 8px; font-size: clamp(21px, 2.2vw, 29px); letter-spacing: -0.025em; }
.backed-copy p:last-child { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.6; max-width: 48ch; }
@media (max-width: 620px) {
  .backed { grid-template-columns: 1fr; justify-items: start; text-align: left; }
}
