/* about.css: styles used only by /about. */

/* =========================================================================
   Shared section heads
   ========================================================================= */
.about-eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
}
.about-h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 2.1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 28px;
    text-wrap: balance;
}

/* =========================================================================
   Story (prose)
   ========================================================================= */
.about-story p {
    color: var(--ink-2);
    line-height: 1.75;
    margin-bottom: 18px;
    font-size: 1.02rem;
}
.about-story strong { color: var(--ink); font-weight: 600; }

/* =========================================================================
   Why now: stacked head, three alternatives as an open ruled row, then the
   answer line on a teal hairline.
   ========================================================================= */
/* Signal-Field section background (landing-compositions "Signal-Field section
   background"): left-weighted navy scrim over the static spine raster, so the
   head column stays quiet and the field shows through on the right. */
.about-why {
    isolation: isolate;
    overflow: hidden;
    background-color: var(--bg);
    background-image:
        linear-gradient(90deg, color-mix(in srgb, var(--bg) 90%, transparent) 0%, color-mix(in srgb, var(--bg) 62%, transparent) 46%, color-mix(in srgb, var(--bg) 28%, transparent) 100%),
        url("/img/brand/signal-field-spine-teal-left-2880x1620.webp");
    background-repeat: no-repeat;
    background-position: center, 22% center;
    background-size: cover, 116% auto;
}
.about-why > .container { position: relative; z-index: 1; }
.about-why-head { max-width: 780px; }
.about-why-head .about-h2 { max-width: 18ch; }
.about-why-head p {
    margin: 0 0 18px;
    max-width: 68ch;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--ink-2);
}
.about-alt {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 56px);
    margin: clamp(40px, 5vw, 64px) 0 0;
    padding: 28px 0 0;
    list-style: none;
    border-top: 1px solid var(--border);
}
.about-alt-tag {
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.about-alt p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--ink-2);
}
.about-answer {
    margin: clamp(48px, 6vw, 72px) 0 0;
    max-width: 820px;
    padding-left: 24px;
    border-left: 2px solid var(--teal);
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    line-height: 1.42;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-wrap: pretty;
}

/* =========================================================================
   Principles: claim pinned left, three principles as stacked cards right
   (mono number, headline, proof), coloured like the /compare FAQ rows
   (--surface fill, --border, --r-sm). Each card carries the faint
   design-system Lattice card highlight (.ds-lattice: 60deg tile, pitch halved
   to 19px for a finer mesh, as on /use-cases/developers,
   teal 26%, teal-to-ice pool from the top-right corner) as background
   texture only. Stacks on phones.
   ========================================================================= */
.about-principles {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
    gap: clamp(40px, 7vw, 104px);
    align-items: start;
    padding-top: clamp(48px, 6vw, 72px);
    border-top: 1px solid var(--border);
}
.about-principles-head { position: sticky; top: 112px; }
.about-principles-head .about-h2 { margin: 0; }
.about-principles-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.about-principles-list > li {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 28px 32px 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
}
.about-principles-list > li > * { position: relative; z-index: 1; }
.about-principles-list > li::before,
.about-principles-list > li::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
}
.about-principles-list > li::before {
    background: radial-gradient(52% 125% at 102% -15%, rgba(0,191,255,0.12), rgba(77,148,255,0.035) 50%, transparent 100%);
}
.about-principles-list > li::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='21.94'%3E%3Cg stroke='%2300BFFF' stroke-opacity='0.26' stroke-width='1' fill='none'%3E%3Cpath d='M0 0V21.94M0 0L19 10.97M0 10.97L19 0M0 10.97L19 21.94M0 21.94L19 10.97'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 19px 21.94px;
    background-position: right top;
    -webkit-mask-image: radial-gradient(58% 140% at 102% -15%, #000 0%, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.18) 60%, rgba(0,0,0,0.04) 85%, transparent 100%);
            mask-image: radial-gradient(58% 140% at 102% -15%, #000 0%, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.18) 60%, rgba(0,0,0,0.04) 85%, transparent 100%);
}
.about-principles-num {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    color: var(--teal);
}
.about-principles-list h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.about-principles-list p {
    margin: 10px 0 0;
    max-width: 62ch;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--ink-2);
}

/* =========================================================================
   Founders: pull-quote, cards, facts strip
   ========================================================================= */
.about-pullquote {
    position: relative;
    isolation: isolate;
    max-width: 880px;
    margin: 0 auto 56px;
    padding: 30px 0 28px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
/* Mesh gradient: teal and ice pools at offset points over navy, bled past the
   quote and masked to fade out on every side, so it reads as ambient light
   with no edge (same teal 12% / ice 10% ceiling as the home close band). */
.about-pullquote::before {
    content: "";
    position: absolute;
    inset: -90px -18%;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 46% 58% at 18% 32%, rgba(0, 191, 255, 0.12), transparent 72%),
        radial-gradient(ellipse 52% 64% at 82% 68%, rgba(77, 148, 255, 0.10), transparent 74%),
        radial-gradient(ellipse 38% 46% at 58% 20%, rgba(77, 148, 255, 0.06), transparent 70%),
        radial-gradient(ellipse 34% 44% at 36% 82%, rgba(0, 191, 255, 0.06), transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 0%, rgba(0, 0, 0, 0.85) 55%, transparent 100%);
            mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 0%, rgba(0, 0, 0, 0.85) 55%, transparent 100%);
}
.about-pullquote-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
}
.about-pullquote blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.55rem;
    line-height: 1.42;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.about-pullquote figcaption {
    margin-top: 16px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-3, var(--ink-2));
}

.about-team-head {
    max-width: 1184px;
    margin: 88px auto 28px;
}
.about-team-head .about-h2 { margin-bottom: 0; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1184px;
    margin: 0 auto;
}
.team-card {
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.028), transparent 60%),
        var(--bg);
    border: 1px solid var(--border);
    border-radius: 0;
    display: grid;
    grid-template-columns: 168px 1fr;
    gap: 24px;
    align-items: start;
    padding: 24px;
}
.team-photo {
    display: block;
    width: 168px;
    height: 168px;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: 0;
}
.team-body { padding: 0; }
.team-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}
.team-role {
    color: var(--ink-3, var(--ink-2));
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}
.team-cred {
    color: var(--ink);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0 0 14px;
}
.team-bio {
    color: var(--ink-2);
    line-height: 1.65;
    font-size: 0.95rem;
    margin-bottom: 18px;
}
.team-link {
    display: inline-block;
    padding: 12px 0;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}
.team-link span { color: var(--teal); }
.team-link:hover { border-bottom-color: var(--teal); }

.about-facts {
    max-width: 1184px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    line-height: 1.8;
    color: var(--ink-3);
}
.about-facts span { white-space: nowrap; }
.about-facts span:not(:last-child)::after { content: "\00B7" / ""; margin-left: 0.6em; }

/* =========================================================================
   CTA (dispatch): match the index hv2-close treatment
   ========================================================================= */
.dispatch h2,
.dispatch h2 em { color: var(--ink); }
.dispatch p { color: var(--ink-2); }
.dispatch .hero-actions .btn-ghost {
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--teal-35);
}
.dispatch .hero-actions .btn-ghost:hover {
    color: var(--ink);
    border-color: var(--teal);
    box-shadow: 0 0 12px var(--teal-20);
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: 1fr; max-width: 720px; }
}
@media (max-width: 900px) {
    .about-principles { grid-template-columns: 1fr; gap: 36px; }
    .about-principles-head { position: static; }
    .about-principles-list > li { padding: 22px 22px 24px; }
}
@media (max-width: 768px) {
    .about-alt { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
    .about-alt > li { padding: 22px 0; }
    .about-alt > li + li { border-top: 1px solid var(--border-soft); }
}
@media (max-width: 720px) {
    .team-grid { grid-template-columns: 1fr; }
    .team-card { grid-template-columns: 104px 1fr; gap: 18px; padding: 20px; }
    .team-photo { width: 104px; height: 104px; }
    .about-h2 { font-size: 1.7rem; }
    .about-pullquote { margin-bottom: 40px; padding: 24px 0 22px; }
    .about-team-head { margin-top: 56px; }
    .about-pullquote blockquote { font-size: 1.25rem; }
    .about-answer { padding-left: 18px; }
}

/* H1 emphasis: ink word on a teal gradient underline (no teal fill) */
.hero-title em.em-underline {
    font-style: normal;
    color: var(--ink);
    background-image: linear-gradient(to right, var(--teal) 0%, var(--teal-35) 100%);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 4px;
    padding-bottom: 6px;
}
