/*
 * The About page (lib/native/pages/about.ts). Part 1: the old page's own CSS
 * for the classes kept, carried without !important. Part 2: structure.
 * Measured sizes, spacing and type: gen/about.css, loaded after.
 */

/* ---- Part 1: carried from the old page ---- */
.card { background: #5B21B6; color: white; padding: 20px 25px; border-radius: 20px; width: 285px; box-shadow: 0 8px 20px rgba(0,0,0,0.2); transition: transform 0.3s ease; cursor: pointer; }
.card:hover { transform: translateY(-12px); }
.card p { margin: 10px 0; font-size: 16px; }
.card hr { border: none; border-top: 1px solid rgba(255,255,255,0.3); margin: 10px 0; }
.dot { display: inline-block; width: 6px; height: 6px; background: #ffd54f; border-radius: 50%; margin-left: 6px; }
.text-container .count { color: rgba(255, 255, 255, 0.55); font-family: "DM Mono"; font-size: 16px; font-style: normal; font-weight: 400; line-height: normal; letter-spacing: 1.6px; text-transform: uppercase; }
.text-container .count-sub { color: var(--Brand-Core-Electric-Mint, #34D399); font-family: "DM Mono"; font-size: 13px; font-style: normal; font-weight: 400; line-height: normal; letter-spacing: 1.3px; }
.text-container .texts { color:rgba(255, 255, 255, 0.92); font-size: 14px; margin-bottom:15px; line-height:25px }
.text-container .textt { font-size: 18px; color:rgba(255, 255, 255, 0.92); margin-bottom:0px; }
.text-container { color: white; display: flex; justify-content: space-between; gap:30px; }
.text-content { flex: 1; }
@media screen and (max-width:767px) { .text-container { color: white; display: inline-block; text-align:center; } }

/* ---- Part 2: structure ---- */
.z-page--about img { max-width: 100%; height: auto; }
.z-ahero,
.z-aingr { color: #fff; }
.z-ahero { background-position: center center; background-size: cover; background-repeat: no-repeat; }
@media (prefers-reduced-motion: reduce) { .z-ahero__card { transition: none; } }
/* Eyebrows. The rule before each label takes the label's colour (green or
 * muted purple, as on the old page). The old page gave the four labels 20,
 * 40, 45 and 40px of left padding to make room for that rule and showed the
 * rule on phones too; the rebuild uses one value, 40px (the rule's 28px plus
 * its 12px gap), and, like every other page, no rule and no room for it at
 * 769px and below (FIXED OLD BUG (inconsistency), accept/_about_us_.json). */
.z-page--about .z-eyebrow > span::before { background: currentColor; }
@media (min-width: 770px) { .z-page--about .z-eyebrow { padding-left: 40px; } }
/* ZYLO5 and "stands for progress." are one heading, two lines. */
.z-aintro__logo,
.z-aintro__sub { display: block; }
.z-aintro__logo sup { font-size: 0.4em; vertical-align: super; line-height: 0; }
.z-aintro__copy,
.z-aintro__art,
.z-aingr__lead,
.z-aingr__intro,
.z-aingr__card { min-width: 0; }
.z-aintro__art svg { display: block; width: 100%; height: auto; }
.z-aingr__card .text-container { height: 100%; }
.z-amission { text-align: center; }
.z-amission__btn { display: inline-block; text-decoration: none; }
.z-amission__note { font-family: 'DM Mono', monospace; text-transform: uppercase; }
/* The old row stretches its columns, so cards side by side share one height. */
@media (min-width: 770px) { .z-aingr__row { align-items: stretch; } }
/* The old theme's sup rule (sup{position:relative;top:-.5em}) raises it further. */
.z-aintro__logo sup { position: relative; top: -0.5em; }
/* The art is centred beside the intro text, as the old page's column was (its
   measured margin-top centred it beside the old, shorter text; the owner's
   summary line, 2026-11-03, made the text taller). */
@media (min-width: 768px) {
  .z-page--about .z-aintro__row > .z-aintro__art { align-self: center; margin-top: 0; }
}

/* Text contrast on the hero photo (audit item 20, 2026-11-03): the label,
 * the green "a second job." and the line under it sat on the bright brick
 * and window (1.7 to 2.7:1). A dark wash over the top of the photo, behind
 * the text. Changed 2026-11-10: the owner found that wash (0.82 at the
 * top) made the photo gloomy, and a lighter wash that faded out partway
 * down read as a dark band. This is one gradient over the whole photo, full
 * width and full height: a little darker at the top behind the text (0.48),
 * easing to a light tint at the bottom (0.2), never clear, so it reads as
 * one even overlay. With the light text shadow below it measures 5.3 / 3.3
 * / 4.8:1 or better (label / green line / line under it) at 1920, 1440,
 * 1024, 768, 390 and 320px. */
.z-page--about .z-ahero { position: relative; isolation: isolate; }
.z-page--about .z-ahero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(13, 4, 24, 0.48) 0%,
    rgba(13, 4, 24, 0.43) 20%,
    rgba(13, 4, 24, 0.35) 40%,
    rgba(13, 4, 24, 0.25) 70%,
    rgba(13, 4, 24, 0.2) 100%);
}
.z-page--about .z-ahero__copy * { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55); }
