/*
 * About page - "Keynote + Letter, on white" (owner pick 2026-09-24).
 * Loaded only by page-about.php. Prefix abt-. Topic doc: docs/plugins/about-page.md.
 * Values = the design boards (combo-desktop 1440, combo-phone 390); breakpoints 1068 / 734
 * (Apple study) with a tablet step between. Headline line-height = size + 4 everywhere.
 * Fonts come from the one declaration in common/head.php (Söhne 400/500, National 2 400).
 */

/* ============================== BASE ============================== */

body.abt-page {
    background: #FFFFFF;
}

.abt {
    --abt-bg: #FFFFFF;
    --abt-ink: #1D1D1F;
    --abt-body: #2A2A2C;
    --abt-grey: #6E6E73;
    --abt-note: #86868B;
    --abt-line: #E5E5EA;
    --abt-ghost: #D2D2D7;
    --abt-pink: #E0245E;
    --abt-pink-hover: #C81E53;
    --abt-eyebrow: #E0245E;
    --abt-band: #F5F5F7;
    --abt-rail: #D2D2D7;
    --abt-ink-from: #C7C7CC;
    --abt-sans: "Söhne", system-ui, -apple-system, "Segoe UI", sans-serif;
    --abt-read: "National 2", system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--abt-bg);
    color: var(--abt-ink);
    font-family: var(--abt-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

.abt *,
.abt *::before,
.abt *::after {
    box-sizing: border-box;
}

/* The theme's global element rules set their own fonts, sizes and margins on h1-h3 / p / a / lists;
   inside the page every element takes the page's values instead. :where() keeps these resets at the
   specificity of .abt alone, so every abt- class rule below wins by source order. */
.abt :where(h1, h2, h3, p, ol, ul, li, figure, figcaption, article, header, footer) {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}
.abt :where(ol, ul) {
    list-style: none;
}
.abt :where(a, a:hover, a:focus) {
    text-decoration: none;
}
.abt :where(img, video, svg) {
    display: block;
    max-width: none;
}

.abt-wrap {
    width: min(87.5%, 1260px);
    margin-inline: auto;
}

/* ============================== TYPE ============================== */

.abt-eyebrow {
    display: block;
    font-family: var(--abt-sans);
    font-size: 19px;
    line-height: 23px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--abt-eyebrow);
}
.abt-eyebrow--on-dark {
    color: #FF6B93;
}

.abt-h2 {
    font-family: var(--abt-sans);
    font-size: 56px;
    line-height: 60px;
    font-weight: 500;
    letter-spacing: -0.035em;
    color: var(--abt-ink);
}
.abt-eyebrow + .abt-h2 {
    margin-top: 20px;
}

.abt-note {
    font-family: var(--abt-sans);
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: var(--abt-note);
}

/* ============================== BUTTONS ============================== */

.abt .abt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--abt-sans);
    font-size: 17px;
    line-height: 1;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.abt .abt-btn--pink,
.abt .abt-btn--pink:hover,
.abt .abt-btn--pink:focus {
    color: #FFFFFF;
}
.abt .abt-btn--pink {
    background: var(--abt-pink);
}
.abt .abt-btn--pink:hover {
    background: var(--abt-pink-hover);
}
.abt .abt-btn--ghost,
.abt .abt-btn--ghost:hover,
.abt .abt-btn--ghost:focus {
    color: var(--abt-ink);
}
.abt .abt-btn--ghost {
    border-color: var(--abt-ghost);
    background: transparent;
}
.abt .abt-btn--ghost:hover {
    border-color: var(--abt-ink);
}
.abt .abt-btn--white,
.abt .abt-btn--white:hover,
.abt .abt-btn--white:focus {
    color: #111111;
}
.abt .abt-btn--white {
    height: 56px;
    padding: 0 28px;
    background: #FFFFFF;
}
.abt .abt-btn--white:hover {
    background: #F2F2F4;
}
.abt .abt-btn:focus-visible {
    outline: 2px solid var(--abt-pink);
    outline-offset: 3px;
}
.abt .abt-btn--white:focus-visible {
    outline-color: #FFFFFF;
}

/* ============================== 1 HERO ============================== */

.abt-hero {
    padding-top: 104px;
    text-align: center;
}
.abt-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.abt-hero__title {
    margin-top: 20px;
    font-size: clamp(80px, 7.78vw, 112px);
    line-height: calc(1em + 4px);
    font-weight: 500;
    letter-spacing: -0.045em;
    color: var(--abt-ink);
}
.abt-word {
    display: inline-block;
}
.abt-lead {
    margin-top: 26px;
    max-width: 780px;
    font-family: var(--abt-read);
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
    color: var(--abt-grey);
}
.abt-ink {
    color: var(--abt-ink);
}
.abt-actions {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ============================== 2 FILM ============================== */

.abt-film {
    padding-top: 64px;
}
.abt-film__figure {
    width: min(87.5%, 1260px);
    margin-inline: auto;
}
/* The wrapper carries the radius + clip (a playing <video> layer ignores its own radius on
   mobile browsers). The ratio comes from the film config at the top of page-about.php. */
.abt-film__frame {
    position: relative;
    aspect-ratio: var(--abt-film-ratio);
    border-radius: 32px;
    overflow: hidden;
    isolation: isolate;
    background: #111111;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.16);
}
.abt-film__poster,
.abt-film__poster img,
.abt-film__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.abt-film__video {
    z-index: 1;
}
/* the film's buttons sit together in the frame's bottom-right corner: Sound on / off (only for a film
   with a voice-over) beside pause / play */
.abt-film__controls {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}
.abt-film__toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #FFFFFF;
    cursor: pointer;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.abt-film__sound {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px 0 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #FFFFFF;
    font-family: var(--abt-sans);
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.abt-film__toggle[hidden],
.abt-film__sound[hidden] {
    display: none;
}
.abt-film__toggle:focus-visible,
.abt-film__sound:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}
.abt-film__icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.abt-film__icon--play,
.abt-film__frame.is-paused .abt-film__icon--pause {
    display: none;
}
.abt-film__frame.is-paused .abt-film__icon--play {
    display: block;
}
/* the icon shows what a tap does: muted -> speaker with waves + "Sound on"; sound on -> muted speaker + "Sound off" */
.abt-film__icon--muted,
.abt-film__frame.is-sound .abt-film__icon--loud {
    display: none;
}
.abt-film__frame.is-sound .abt-film__icon--muted {
    display: block;
}
/* The voice-over's words, one line at a time under the frame (the film starts muted, so this is how most
   visitors follow it). The lines come from media/about/story-captions.vtt through the <track> in the <video>;
   its height is kept free (one row on wide screens, two below 1069 px) so nothing below moves when a line
   appears. */
.abt-film__subtitle {
    min-height: 26px;
    margin: 20px auto 0;
    max-width: 760px;
    text-align: center;
    font-family: var(--abt-sans);
    font-size: 19px;
    line-height: 26px;
    font-weight: 500;
    color: var(--abt-ink);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.abt-film__subtitle.is-on {
    opacity: 1;
}
.abt-film__subtitle + .abt-film__caption {
    margin-top: 8px;
}
.abt-film__caption {
    margin-top: 32px;
    text-align: center;
    font-family: var(--abt-sans);
    font-size: 17px;
    line-height: 21px;
    font-weight: 400;
    color: var(--abt-grey);
}

/* ============================== 3 THE LETTER ============================== */

.abt-letter {
    padding: 144px 0 128px;
}
.abt-letter__body {
    width: min(720px, 87.5%);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
}
.abt-letter__head {
    margin-bottom: 40px;
}
.abt-letter__p {
    font-family: var(--abt-read);
    font-size: 24px;
    line-height: 40px;
    font-weight: 400;
    color: var(--abt-body);
}
.abt-letter__p + .abt-letter__p {
    margin-top: 28px;
}
.abt-hl {
    background-image: linear-gradient(var(--abt-pink), var(--abt-pink));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 3px;
}
.abt-sign {
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--abt-line);
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--abt-ink);
}
.abt .abt-sign__logo {
    width: auto;
    height: 28px;
    flex: none;
}
.abt-sign__name {
    font-family: var(--abt-read);
    font-size: 17px;
    line-height: 24px;
    color: var(--abt-grey);
}

/* ============================== 4 PROOF BAND (black in both modes) ============================== */

.abt-proof {
    padding: 128px 0 96px;
    background: #000000;
    color: #F5F5F7;
}
.abt-proof .abt-h2 {
    max-width: 860px;
    color: #F5F5F7;
}
.abt-proof__soft {
    color: #86868B;
}
.abt-stats {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
}
.abt-stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.abt-stat__num {
    font-family: var(--abt-sans);
    font-size: clamp(88px, 8.34vw, 120px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: #F5F5F7;
}
.abt-stat__num--rank {
    color: #FF3D7A;
}
.abt-stat__label {
    font-family: var(--abt-read);
    font-size: 20px;
    line-height: 28px;
    color: #A1A1A6;
}
.abt-river {
    margin-top: 88px;
    overflow: hidden;
}
.abt-river__track {
    display: flex;
    width: max-content;
}
/* margin, not gap: the track is two identical halves and each tile carries its own trailing
   space, so the loop point (-50 %) lands exactly on the second half's first tile */
.abt .abt-river__face {
    flex: none;
    width: 150px;
    height: 187px;
    margin-right: 16px;
    border-radius: 24px;
    object-fit: cover;
    background: #1C1C1E;
}
.abt-proof__notes {
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 24px;
}

/* ============================== 5 WHAT WE BELIEVE ============================== */

.abt-beliefs {
    padding: 128px 0;
}
.abt-beliefs__grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px;
}
.abt-belief {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.abt-belief__word {
    font-family: var(--abt-sans);
    font-size: clamp(48px, 4.45vw, 64px);
    line-height: calc(1em + 4px);
    font-weight: 500;
    letter-spacing: -0.035em;
    color: var(--abt-ink);
}
.abt-belief__text {
    font-family: var(--abt-read);
    font-size: 19px;
    line-height: 28px;
    color: var(--abt-grey);
}

/* ============================== 6 THE STORY SO FAR (grey band) ============================== */

.abt-story {
    padding: 144px 0 128px;
    background: var(--abt-band);
}
.abt-tl {
    position: relative;
    margin-top: 56px;
}
.abt-tl__rail {
    position: absolute;
    left: 0;
    right: 0;
    top: 6px;
    height: 2px;
    background: var(--abt-rail);
}
.abt-tl__fill {
    position: absolute;
    inset: 0;
    background: var(--abt-pink);
    transform-origin: left center;
}
.abt-tl__list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
}
.abt-tl__item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 40px;
}
.abt-tl__dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--abt-pink);
}
.abt-tl__year {
    font-family: var(--abt-sans);
    font-size: 56px;
    line-height: 60px;
    font-weight: 500;
    letter-spacing: -0.035em;
    color: var(--abt-ink);
}
.abt-tl__text {
    max-width: 340px;
    font-family: var(--abt-read);
    font-size: 19px;
    line-height: 28px;
    color: var(--abt-grey);
}
.abt-story__note {
    margin-top: 48px;
}

/* ============================== 7 CLOSE ============================== */

.abt-close {
    position: relative;
    isolation: isolate;
    min-height: 800px;
    padding-bottom: 104px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: #000000;
}
.abt-close__media,
.abt-close__scrim {
    position: absolute;
    inset: 0;
}
.abt-close__media {
    z-index: -2;
}
.abt-close__scrim {
    z-index: -1;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.25) 38%, rgba(0, 0, 0, 0) 60%);
}
.abt .abt-close__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 30%;
}
.abt-close__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.abt-close__title {
    font-family: var(--abt-sans);
    font-size: clamp(80px, 6.67vw, 96px);
    line-height: calc(1em + 4px);
    font-weight: 500;
    letter-spacing: -0.04em;
    color: #FFFFFF;
}
.abt-close__text {
    margin-top: 26px;
    max-width: 540px;
    font-family: var(--abt-read);
    font-size: 21px;
    line-height: 29px;
    color: rgba(255, 255, 255, 0.8);
}
.abt-close__body > div {
    margin-top: 36px;
}

/* ============================== TABLET 735-1068 ============================== */

@media (max-width: 1068px) {
    .abt-eyebrow + .abt-h2 { margin-top: 18px; }
    .abt-h2 { font-size: 48px; line-height: 52px; }

    .abt-hero { padding-top: 80px; }
    .abt-hero__title { margin-top: 18px; font-size: clamp(56px, 7.5vw, 80px); }
    .abt-lead { margin-top: 24px; max-width: 640px; font-size: 21px; line-height: 29px; }
    .abt-actions { margin-top: 32px; }

    .abt-film { padding-top: 54px; }
    .abt-film__frame { border-radius: 28px; }
    .abt-film__caption { margin-top: 24px; }
    .abt-film__subtitle { min-height: 52px; }
    .abt-film__subtitle + .abt-film__caption { margin-top: 8px; }

    .abt-letter { padding: 112px 0 96px; }
    .abt-letter__head { margin-bottom: 32px; }
    .abt-letter__p { font-size: 22px; line-height: 36px; }
    .abt-letter__p + .abt-letter__p { margin-top: 24px; }
    .abt-sign { margin-top: 40px; padding-top: 26px; }

    .abt-proof { padding: 96px 0 72px; }
    .abt-stats { margin-top: 48px; gap: 32px; }
    .abt-stat__num { font-size: clamp(56px, 7.3vw, 80px); }
    .abt-stat__label { font-size: 17px; line-height: 24px; }
    .abt-river { margin-top: 72px; }
    .abt .abt-river__face { width: 120px; height: 150px; margin-right: 12px; border-radius: 20px; }

    .abt-beliefs { padding: 96px 0; }
    .abt-beliefs__grid { margin-top: 40px; grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .abt-belief { gap: 14px; }
    .abt-belief__word { font-size: 56px; }
    .abt-belief__text { max-width: 560px; }

    .abt-story { padding: 120px 0 96px; }
    .abt-tl { margin-top: 48px; }
    .abt-tl__list { gap: 32px; }
    .abt-tl__year { font-size: 48px; line-height: 52px; }
    .abt-tl__text { font-size: 17px; line-height: 25px; }
    .abt-story__note { margin-top: 40px; }

    .abt-close { min-height: 720px; padding-bottom: 80px; }
    .abt-close__title { font-size: 72px; }
    .abt-close__text { margin-top: 24px; font-size: 19px; line-height: 27px; }
    .abt-close__body > div { margin-top: 32px; }
}

/* ============================== PHONE <= 734 ============================== */

@media (max-width: 734px) {
    .abt-wrap { width: min(87.5%, 420px); }
    .abt-eyebrow { font-size: 17px; line-height: 21px; }
    .abt-eyebrow + .abt-h2 { margin-top: 10px; }
    .abt-h2 { font-size: 34px; line-height: 38px; }

    .abt .abt-btn { height: 48px; padding: 0 24px; font-size: 15px; }
    .abt .abt-btn--white { height: 48px; padding: 0 24px; }

    .abt-hero { padding-top: 40px; }
    .abt-hero__title { margin-top: 10px; font-size: clamp(42px, 13.34vw, 52px); }
    .abt-lead { margin-top: 18px; font-size: 19px; line-height: 27px; }
    .abt-actions { margin-top: 28px; }

    .abt-film { padding-top: 36px; }
    .abt-film__figure { width: min(calc(100% - 32px), 452px); }
    .abt-film__frame { aspect-ratio: var(--abt-film-ratio-sm); border-radius: 24px; }
    .abt-film__controls { right: 14px; bottom: 14px; gap: 6px; }
    .abt-film__toggle { width: 36px; height: 36px; }
    .abt-film__sound { height: 36px; padding: 0 12px 0 10px; font-size: 13px; }
    .abt-film__icon { width: 16px; height: 16px; }
    .abt-film__caption { margin-top: 20px; font-size: 14px; line-height: 20px; }
    .abt-film__subtitle { min-height: 48px; margin-top: 16px; font-size: 17px; line-height: 24px; }
    .abt-film__subtitle + .abt-film__caption { margin-top: 6px; }

    .abt-letter { padding: 88px 0 80px; }
    .abt-letter__body { width: min(87.5%, 420px); }
    .abt-letter__head { margin-bottom: 28px; }
    .abt-letter__p { font-size: 19px; line-height: 31px; }
    .abt-letter__p + .abt-letter__p { margin-top: 22px; }
    .abt-sign { margin-top: 32px; padding-top: 24px; }
    .abt .abt-sign__logo { height: 24px; }
    .abt-sign__name { font-size: 15px; line-height: 21px; }

    .abt-proof { padding: 80px 0 64px; }
    .abt-stats { margin-top: 40px; grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .abt-stat__num { font-size: 64px; }
    .abt-stat__label { font-size: 15px; line-height: 21px; }
    .abt-river { margin-top: 56px; }
    .abt .abt-river__face { width: 96px; height: 120px; margin-right: 10px; border-radius: 18px; }
    .abt-proof__notes { padding-top: 16px; flex-direction: column; }

    .abt-beliefs { padding: 80px 0; }
    .abt-beliefs__grid { margin-top: 32px; gap: 40px; }
    .abt-belief { gap: 12px; }
    .abt-belief__word { font-size: 40px; }
    .abt-belief__text { font-size: 17px; line-height: 25px; }

    .abt-story { padding: 112px 0 80px; }
    .abt-tl { margin-top: 36px; }
    .abt-tl__rail { left: 5px; right: auto; top: 16px; bottom: 24px; width: 2px; height: auto; }
    .abt-tl__fill { transform-origin: center top; }
    .abt-tl__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .abt-tl__item { gap: 6px; padding: 0 0 36px 32px; }
    .abt-tl__item:last-child { padding-bottom: 0; }
    .abt-tl__dot { top: 10px; width: 12px; height: 12px; }
    .abt-tl__year { font-size: 34px; line-height: 38px; letter-spacing: -0.03em; }
    .abt-tl__text { max-width: none; }
    .abt-story__note { margin-top: 32px; }

    .abt-close { min-height: 640px; padding-bottom: 56px; }
    .abt .abt-close__img { object-position: 70% 30%; }
    .abt-close__scrim { background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.5) 38%, rgba(0, 0, 0, 0) 62%); }
    .abt-close__title { font-size: clamp(40px, 12.3vw, 48px); }
    .abt-close__text { margin-top: 18px; font-size: 18px; line-height: 26px; }
    .abt-close__body > div { margin-top: 28px; }
}

/* ============================== MOTION ============================== */
/* Every abt-a-* element plays its entrance at first paint (delay --abt-d, plus --abt-stagger when
   js/about-page.js releases several groups at once). The script holds each reveal group that is still
   below the fold (.is-armed) and releases it in view (.is-in): the animation then restarts from its
   first frame. Without the script every entrance simply plays at load and ends visible. Under
   prefers-reduced-motion none of this exists: no animation, no held state, everything at rest. */

@keyframes abt-up {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
}
@keyframes abt-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes abt-grow {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: none; }
}
@keyframes abt-ink {
    from { color: var(--abt-ink-from); }
    to { color: var(--abt-ink); }
}
@keyframes abt-sweep {
    from { background-size: 0% 3px; }
    to { background-size: 100% 3px; }
}
@keyframes abt-bar {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
@keyframes abt-bary {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}
@keyframes abt-pop {
    0% { transform: scale(0); }
    70% { transform: scale(1.25); }
    100% { transform: scale(1); }
}
@keyframes abt-drift {
    0%, 100% { transform: scale(1.04) translate(0, 0); }
    50% { transform: scale(1.12) translate(-1.5%, -1%); }
}
@keyframes abt-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: no-preference) {
    .abt-a-up { animation: abt-up 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .abt-a-fade { animation: abt-fade 1.2s ease both; }
    .abt-a-grow { animation: abt-grow 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .abt-a-ink { animation: abt-ink 1.2s ease both; }
    .abt-a-hl { --abt-d: 0.75s; animation: abt-sweep 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .abt-a-line { --abt-d: 0.4s; animation: abt-bar 1.9s cubic-bezier(0.4, 0.1, 0.2, 1) both; }
    .abt-a-pop { animation: abt-pop 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    :is(.abt-a-up, .abt-a-fade, .abt-a-grow, .abt-a-ink, .abt-a-hl, .abt-a-line, .abt-a-pop) {
        animation-delay: calc(var(--abt-d, 0s) + var(--abt-stagger, 0s));
    }
    .abt-a-drift { animation: abt-drift 24s ease-in-out infinite; }
    .abt-a-river { animation: abt-marquee 60s linear infinite; }
    .is-paused :is(.abt-a-drift, .abt-a-river) { animation-play-state: paused; }

    /* held below the fold until js/about-page.js releases the group */
    .is-armed:not(.is-in) :is(.abt-a-up, .abt-a-fade, .abt-a-grow, .abt-a-ink, .abt-a-hl, .abt-a-line, .abt-a-pop),
    .is-armed:not(.is-in):is(.abt-a-up, .abt-a-fade, .abt-a-grow) {
        animation: none;
    }
    .is-armed:not(.is-in) .abt-a-up,
    .is-armed:not(.is-in).abt-a-up { opacity: 0; transform: translateY(28px); }
    .is-armed:not(.is-in) .abt-a-fade,
    .is-armed:not(.is-in).abt-a-fade { opacity: 0; }
    .is-armed:not(.is-in) .abt-a-grow,
    .is-armed:not(.is-in).abt-a-grow { opacity: 0; transform: scale(0.94); }
    .is-armed:not(.is-in) .abt-a-ink { color: var(--abt-ink-from); }
    .is-armed:not(.is-in) .abt-a-hl { background-size: 0% 3px; }
    .is-armed:not(.is-in) .abt-a-line { transform: scaleX(0); }
    .is-armed:not(.is-in) .abt-a-pop { transform: scale(0); }
}

@media (max-width: 734px) and (prefers-reduced-motion: no-preference) {
    .abt-a-line { animation-name: abt-bary; animation-duration: 1.8s; }
    .is-armed:not(.is-in) .abt-a-line { transform: scaleY(0); }
}

/* ============================== DARK ============================== */
/* The site's dark mode (html[data-theme="dark"], set before first paint by common/head.php from the
   esc_theme cookie; css/dark.css is not involved). The white sections take the site's dark page token
   #0F0F0F with the site's dark ink, the proof band stays black, the story band turns #141414, the
   eyebrows use the design's dark-ground pink #FF6B93; the closing photo is the same in both modes. */
html[data-theme="dark"] body.abt-page {
    background: #0F0F0F;
}
html[data-theme="dark"] .abt {
    --abt-bg: #0F0F0F;
    --abt-ink: #F2F2F4;
    --abt-body: #C9CDD4;
    --abt-grey: #A1A7B3;
    --abt-note: #8B93A1;
    --abt-line: rgba(255, 255, 255, 0.08);
    --abt-ghost: rgba(255, 255, 255, 0.35);
    --abt-eyebrow: #FF6B93;
    --abt-band: #141414;
    --abt-rail: rgba(255, 255, 255, 0.14);
    --abt-ink-from: #3A3A3C;
}
html[data-theme="dark"] .abt-film__frame {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
