/* ==========================================================================
   About page (/site/about) — Pen redesign. Loaded after editorial.css and only
   on this page; every rule is scoped to .ed-about so shared styles stay untouched.
   ========================================================================== */

.ed-about .ed-hero__l1,
.ed-about .ed-hero__l2 { font-size: clamp(44px, 10.4vw, 150px); }
.ed-about .ed-hero__head { row-gap: 20px; }
.ed-about .ed-hero__intro { color: var(--ed-muted); font-weight: 400; font-size: clamp(17px, 1.25vw, 18px); line-height: 1.55; }
.ed-about__shot { display: block; width: 100%; height: auto; margin-top: 48px; border-radius: 4px; }

.ed-about ul { list-style: none; margin: 0; padding: 0; }
.ed-about__band { background: var(--ed-paper-2); padding-block: 120px; }
.ed-about__section { padding-block: 120px; }
.ed-about__kicker { margin: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.ed-about__lower { text-transform: lowercase; }

/* ── Mission ─────────────────────────────────────────────────────────────── */
.ed-about__mission { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; margin: 56px 0 0; }
.ed-about__mark { font-weight: 700; font-size: clamp(120px, 16.7vw, 240px); line-height: 0.8; color: var(--ed-red); height: 0.8em; }
.ed-about__quote { margin: 0; font-weight: 500; font-size: clamp(26px, 3.33vw, 48px); line-height: 1.1; letter-spacing: -0.03em; }

/* ── Section titles ──────────────────────────────────────────────────────── */
.ed-about__title { margin: 64px 0; }
.ed-about__title .ed-display { font-size: clamp(44px, 8.9vw, 128px); }
.ed-about__title .ed-contrast { font-size: clamp(44px, 8.9vw, 128px); letter-spacing: -0.0625em; }
.ed-about__title--inline { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 24px; row-gap: 8px; margin-block: 56px; }
.ed-about__title--inline .ed-display,
.ed-about__title--inline .ed-contrast { font-size: clamp(48px, 7.2vw, 104px); }

/* ── Values ──────────────────────────────────────────────────────────────── */
.ed-about__values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ed-about__value { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; border-top: 1.5px solid var(--ed-ink); }
.ed-about__value-top { display: flex; justify-content: space-between; align-items: center; }
/* Design uses brand red here; at 12px it is 3.4:1 on paper (AA needs 4.5:1), so ink. */
.ed-about__num { color: var(--ed-ink); }
.ed-about__value-title { margin: 0; font-family: var(--ed-display-text); font-weight: 700; font-size: clamp(30px, 2.5vw, 36px); line-height: 0.95; text-transform: uppercase; }
.ed-about__value-desc { margin: 0; color: var(--ed-muted); font-size: 16px; line-height: 1.55; }

/* ── Reviews ─────────────────────────────────────────────────────────────── */
.ed-about__reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ed-about__reviews > li { display: flex; }
.ed-about__review { display: flex; flex-direction: column; gap: 32px; width: 100%; min-height: 480px; margin: 0; padding: 32px; border-radius: 4px; background: var(--ed-paper); }
.ed-about__review-mark { font-weight: 700; font-size: 72px; line-height: 0.6; height: 0.6em; color: var(--ed-red); }
.ed-about__review-quote { margin: 0; font-weight: 500; font-size: 20px; line-height: 1.4; letter-spacing: -0.015em; }
.ed-about__who { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--ed-line); }
.ed-about__who img { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--ed-paper-2); }
.ed-about__who-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ed-about__who-name { font-family: var(--ed-display-text); font-weight: 700; font-size: 24px; line-height: 0.95; text-transform: uppercase; }
.ed-about__who-role { color: var(--ed-muted); font-size: 11px; }

/* ── Final CTA: three-line head (shared .ed-final styles do the rest) ────── */
.ed-about .ed-final__head .ed-contrast { margin-block: -0.02em 0.04em; }

/* ── Tablet ──────────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
    .ed-about__values { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
    .ed-about__reviews { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .ed-about__review { min-height: 0; }
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
.ed-about__pager { display: none; }

/* ── Phones (Pen "About — Mobile (390)") ──────────────────────────────────── */
@media (max-width: 760px) {
    .ed-about .ed-hero { padding-bottom: 48px; }
    .ed-about .ed-hero__l1, .ed-about .ed-hero__l2 { font-size: 12.8vw; }
    .ed-about .ed-hero__intro { font-size: 16px; }
    /* Show the whole editor screenshot, as in the design. */
    .ed-about__shot { margin-top: 24px; }
    .ed-about__band, .ed-about__section { padding-block: 56px; }
    .ed-about__mission { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 16px; }
    .ed-about__mark { font-size: 72px; height: 0.6em; }
    .ed-about__quote { font-size: 24px; line-height: 1.15; }
    .ed-about__title { margin: 24px 0; }
    .ed-about__title .ed-display { font-size: 12.3vw; }
    .ed-about__title .ed-contrast { font-size: 9.2vw; letter-spacing: -0.055em; }
    .ed-about__title--inline { margin-block: 24px; }
    .ed-about__title--inline .ed-display { font-size: 12.3vw; }
    .ed-about__title--inline .ed-contrast { font-size: 10.8vw; }

    /* Values: 2 × 2 grid. */
    .ed-about__values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    .ed-about__value { gap: 10px; padding-top: 16px; }
    .ed-about__value-top .ed-about__num { display: none; }
    .ed-about__value-top svg { width: 20px; height: 20px; }
    .ed-about__value-title { font-size: 24px; }
    .ed-about__value-desc { font-size: 14px; line-height: 1.45; }

    /* Reviews: swipe carousel with a pager. */
    .ed-about__reviews { position: relative; display: flex; gap: 12px; margin-inline: calc(var(--bk-edge, 20px) * -1); padding-inline: var(--bk-edge, 20px); scroll-padding-inline: var(--bk-edge, 20px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .ed-about__reviews::-webkit-scrollbar { display: none; }
    .ed-about__reviews > li { flex: 0 0 min(310px, 82vw); scroll-snap-align: start; }
    .ed-about__review { gap: 16px; min-height: 0; padding: 24px; }
    .ed-about__review-mark { font-size: 60px; }
    .ed-about__review-quote { font-size: 19px; line-height: 1.35; }
    .ed-about__who img { width: 44px; height: 44px; }
    .ed-about__who-name { font-size: 20px; }
    .ed-about__pager { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; color: var(--ed-muted); }
    .ed-about__dots { display: flex; gap: 6px; }
    .ed-about__dots > span { width: 8px; height: 4px; border-radius: 2px; background: rgba(12, 12, 14, 0.2); transition: width .3s var(--ed-ease), background-color .3s var(--ed-ease); }
    .ed-about__dots > span.is-active { width: 24px; background: var(--ed-ink); }
}
