/* =============================================
   About Us page — scoped to .about-page
   Loaded only on the About Us template (/page/about-us).
   Palette: warm ivory + ink, brand red from the theme (--primary).
   Motif: a fine pinstripe (suiting fabric) on the dark sections.
   ============================================= */

.about-page {
    --ab-ink: #17140f;
    --ab-text: #4a443c;
    --ab-muted: #7a7268;
    --ab-ivory: #f8f4ee;
    --ab-line: #e4dccf;
    --ab-dark: #0d0b0a;
    --ab-dark-2: #1a1512;
    --ab-red: var(--primary, #d60000);
    --ab-red-rgb: var(--primary-rgb, 214, 0, 0);
    --ab-red-bright: var(--primary-light, #f51f1f);
    --ab-serif: Georgia, "Times New Roman", "Hind Siliguri", serif;
    /* Georgia's figures are old-style ("1O"); numerals use a lining-figure serif instead */
    --ab-num: "Times New Roman", Times, "Hind Siliguri", serif;
    --ab-pad: clamp(60px, 8vw, 120px);
    color: var(--ab-text);
    overflow-x: clip;
}

.about-page p { margin: 0; }

/* the closing band meets the site-wide red feature bar directly (that bar adds its own 10px top margin) */
.about-page ~ .features-bar { margin-top: 0; border-radius: 0; }
.about-page a:focus-visible,
.about-page .ab-btn:focus-visible { outline: 2px solid var(--ab-red-bright); outline-offset: 3px; }

/* ---------- shared type ---------- */
.about-page .ab-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ab-red);
}

.about-page .ab-eyebrow::before {
    content: "";
    flex: 0 0 34px;
    height: 1px;
    background: currentColor;
}

.about-page .ab-h2 {
    margin: 0 0 24px;
    font-family: var(--ab-serif);
    font-weight: 400;
    font-size: clamp(30px, 3.6vw, 50px);
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--ab-ink);
    text-wrap: balance;
}

.about-page .ab-lead {
    font-size: clamp(16px, 1.25vw, 18px);
    line-height: 1.85;
    color: var(--ab-text);
}

.about-page .ab-lead p + p { margin-top: 1.1em; }

.about-page .ab-section { padding: var(--ab-pad) 0; background: #fff; }
.about-page #story { scroll-margin-top: 112px; }   /* the sticky header + notice bar must not cover the heading after "Our Story" */
.about-page .ab-ivory { background: var(--ab-ivory); }

/* ---------- buttons & links ---------- */
.about-page .ab-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.about-page .ab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 30px;
    border: 1px solid var(--ab-red);
    background: var(--ab-red);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.about-page .ab-btn i { font-size: 13px; transition: transform 0.25s ease; }
.about-page .ab-btn:hover { background: #fff; color: var(--ab-red); }
.about-page .ab-btn:hover i { transform: translateX(4px); }

.about-page .ab-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.55); }
.about-page .ab-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ab-ink); }

.about-page .ab-btn--outline { background: transparent; border-color: var(--ab-ink); color: var(--ab-ink); }
.about-page .ab-btn--outline:hover { background: var(--ab-ink); border-color: var(--ab-ink); color: #fff; }

.about-page .ab-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ab-ink);
    border-bottom: 1px solid currentColor;
    transition: color 0.2s ease;
}

.about-page .ab-link:hover { color: var(--ab-red); }

/* ---------- hero ---------- */
.about-page .ab-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background-color: #0b0908;
    background-image:
        radial-gradient(120% 140% at 88% 112%, rgba(var(--ab-red-rgb), 0.45) 0%, rgba(11, 9, 8, 0) 62%),
        linear-gradient(135deg, #1d1713 0%, #0b0908 62%);
}

.about-page .ab-hero::before,
.about-page .ab-craft::before,
.about-page .ab-closing::before,
.about-page .ab-stats::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 24px);
}

.about-page .ab-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 74% 50%;
}

.about-page .ab-hero.has-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(11, 9, 8, 0.94) 0%, rgba(11, 9, 8, 0.74) 40%, rgba(11, 9, 8, 0.3) 100%),
        linear-gradient(0deg, rgba(11, 9, 8, 0.7) 0%, rgba(11, 9, 8, 0) 40%);
}

.about-page .ab-hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 640px;
    min-height: clamp(540px, 74vh, 720px);
    padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 104px);
}

.about-page .ab-crumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -10px 0 clamp(18px, 4vw, 46px);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.68);
}

.about-page .ab-crumbs a { display: inline-flex; align-items: center; min-height: 44px; margin: 0 -6px; padding: 0 6px; color: inherit; transition: color 0.2s ease; }
.about-page .ab-crumbs a:hover { color: #fff; }
.about-page .ab-crumbs i { font-size: 9px; opacity: 0.7; }
.about-page .ab-crumbs strong { font-weight: 600; color: #fff; }

.about-page .ab-hero .ab-eyebrow { color: var(--ab-red-bright); }

.about-page .ab-hero h1 {
    margin: 0 0 26px;
    font-family: var(--ab-serif);
    font-weight: 400;
    font-size: clamp(42px, 6.4vw, 86px);
    line-height: 1.02;
    letter-spacing: -0.015em;
    color: #fff;
    text-wrap: balance;
}

.about-page .ab-hero h1 .ab-accent {
    display: block;
    font-style: italic;
    color: var(--ab-red-bright);
}

.about-page .ab-hero-text {
    max-width: 52ch;
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

/* ---------- editorial split (text + framed photograph) ---------- */
.about-page .ab-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(36px, 6vw, 104px);
    align-items: center;
}

/* no photograph uploaded: an editorial headline-left / text-right row instead of an empty picture slot */
.about-page .ab-split.no-media { grid-template-columns: minmax(0, 1fr); }

.about-page .ab-split.no-media .ab-copy {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto 1fr;   /* eyebrow, then the heading directly beneath it — the long text column cannot push it down */
    column-gap: clamp(36px, 6vw, 104px);
    align-items: start;
}

.about-page .ab-split.no-media .ab-copy > .ab-eyebrow,
.about-page .ab-split.no-media .ab-copy > .ab-h2 { grid-column: 1; }

.about-page .ab-split.no-media .ab-copy > .ab-lead { grid-column: 2; grid-row: 1 / span 2; }
.about-page .ab-split.no-media .ab-copy > .ab-facts,
.about-page .ab-split.no-media .ab-copy > .ab-actions { grid-column: 2; }
.about-page .ab-split.no-media .ab-copy > .ab-h2 { margin-bottom: 0; }

.about-page .ab-split--reverse .ab-figure { order: -1; }

.about-page .ab-figure {
    position: relative;
    margin: 0;
    background: var(--ab-line);
}

.about-page .ab-figure::before {
    content: "";
    position: absolute;
    inset: 16px -16px -16px 16px;
    border: 1px solid rgba(var(--ab-red-rgb), 0.6);
    pointer-events: none;
}

.about-page .ab-split--reverse .ab-figure::before { inset: 16px 16px -16px -16px; }

.about-page .ab-figure img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* the frame follows the uploaded photograph's own proportions (--ab-r, set from the file and clamped to 4:5 .. 7:4),
   so it is shown whole; the fixed ratios below only apply when the file cannot be measured */
.about-page .ab-figure--portrait { aspect-ratio: var(--ab-r, 4 / 5); }
.about-page .ab-figure--landscape { aspect-ratio: var(--ab-r, 4 / 3); }
.about-page .ab-figure--wide { aspect-ratio: var(--ab-r, 16 / 10); }

/* ---------- rich text (Our Story) ---------- */
.about-page .ab-prose p { margin: 0 0 1.1em; }
.about-page .ab-prose p:last-child { margin-bottom: 0; }
.about-page .ab-prose a { color: var(--ab-red); text-decoration: underline; text-underline-offset: 3px; }
.about-page .ab-prose strong, .about-page .ab-prose b { color: var(--ab-ink); font-weight: 700; }
.about-page .ab-prose ul, .about-page .ab-prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.about-page .ab-prose li { margin-bottom: 0.4em; }
.about-page .ab-prose h3, .about-page .ab-prose h4 {
    margin: 1.4em 0 0.5em;
    font-family: var(--ab-serif);
    font-weight: 400;
    color: var(--ab-ink);
    line-height: 1.25;
}
.about-page .ab-prose h3 { font-size: 26px; }
.about-page .ab-prose h4 { font-size: 21px; }
.about-page .ab-prose blockquote {
    margin: 1.4em 0;
    padding-left: 22px;
    border-left: 2px solid var(--ab-red);
    font-family: var(--ab-serif);
    font-style: italic;
    font-size: 1.15em;
    color: var(--ab-ink);
}

/* ---------- key figures ---------- */
.about-page .ab-stats {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--ab-red);
    color: #fff;
}

.about-page .ab-stats-list {
    display: grid;
    grid-template-columns: repeat(var(--ab-n, 4), minmax(0, 1fr));
    margin: 0;
    padding: clamp(36px, 5vw, 64px) 0;
    list-style: none;
}

.about-page .ab-stats-list li {
    padding: 6px clamp(12px, 2vw, 32px);
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.about-page .ab-stats-list li:first-child { border-left: 0; }

.about-page .ab-stats-list strong {
    display: block;
    font-family: var(--ab-num);
    font-weight: 400;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 1;
}

.about-page .ab-stats-list span {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.92;
}

/* ---------- section heads ---------- */
.about-page .ab-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(28px, 4vw, 52px);
}

.about-page .ab-head .ab-h2 { margin-bottom: 0; }

/* ---------- collection tiles ---------- */
.about-page .ab-tiles {
    display: grid;
    grid-template-columns: repeat(var(--ab-cols-d, 6), minmax(0, 1fr));
    gap: clamp(10px, 1.4vw, 20px);
    /* a handful of tiles stay card-sized (about 320px) instead of stretching across the whole row */
    max-width: calc(var(--ab-cols-d, 6) * 320px + (var(--ab-cols-d, 6) - 1) * 20px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-page .ab-tile {
    position: relative;
    display: block;
    height: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: linear-gradient(160deg, var(--ab-dark-2), var(--ab-dark));
}

.about-page .ab-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-page a.ab-tile:hover img { transform: scale(1.05); }

.about-page .ab-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(10, 8, 7, 0.84) 0%, rgba(10, 8, 7, 0) 55%);
    pointer-events: none;
}

.about-page .ab-tile-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.35;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.about-page .ab-tile-label i { flex: 0 0 auto; font-size: 12px; transition: transform 0.25s ease; }
.about-page a.ab-tile:hover .ab-tile-label i { transform: translateX(4px); }

/* category badge artwork (used until the admin uploads photographs): shown whole, on a light stage */
.about-page .ab-tile.is-badge {
    color: var(--ab-ink);
    background: radial-gradient(ellipse at 50% 36%, #ffffff 0%, #ece5d9 100%);
}

.about-page .ab-tile.is-badge img {
    inset: 0 0 56px;
    width: 100%;
    height: calc(100% - 56px);
    padding: 10%;
    object-fit: contain;
}

.about-page .ab-tile.is-badge::after { display: none; }

.about-page .ab-tile.is-badge .ab-tile-label {
    min-height: 56px;
    background: #fff;
    border-top: 1px solid var(--ab-line);
}

/* ---------- fabrics & tailoring (dark) ---------- */
.about-page .ab-dark { position: relative; isolation: isolate; background: var(--ab-dark); color: rgba(255, 255, 255, 0.78); }
.about-page .ab-dark .ab-h2 { color: #fff; }
.about-page .ab-dark .ab-lead { color: rgba(255, 255, 255, 0.78); }
.about-page .ab-dark .ab-eyebrow { color: var(--ab-red-bright); }
.about-page .ab-dark .ab-figure { background: #1a1512; }
.about-page .ab-dark .ab-figure::before { border-color: rgba(255, 255, 255, 0.35); }

.about-page .ab-craft { overflow: hidden; }

/* ---------- values ---------- */
.about-page .ab-values {
    display: grid;
    grid-template-columns: repeat(var(--ab-n, 4), minmax(0, 1fr));
    gap: 20px;
    /* one to three values stay card-sized instead of stretching across the whole row */
    max-width: calc(var(--ab-n, 4) * 400px + (var(--ab-n, 4) - 1) * 20px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-page .ab-value {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 30px 34px;
    overflow: hidden;
    background: var(--ab-ivory);
    border: 1px solid var(--ab-line);
    transition: background-color 0.35s ease, border-color 0.35s ease;
}

/* a red hairline draws itself across the top edge on hover */
.about-page .ab-value::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--ab-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.about-page .ab-value:hover { background: #fff; border-color: rgba(var(--ab-red-rgb), 0.3); }
.about-page .ab-value:hover::before { transform: scaleX(1); }

/* badge: fine red ring around an ink disc that carries the icon */
.about-page .ab-value-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin-bottom: 30px;
    border: 1px solid rgba(var(--ab-red-rgb), 0.55);
    border-radius: 50%;
}

.about-page .ab-value-icon i {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--ab-ink);
    color: #fff;
    font-size: 19px;
    line-height: 1;
    transition: background-color 0.35s ease;
}

.about-page .ab-value:hover .ab-value-icon i { background: var(--ab-red); }

.about-page .ab-value-body { min-width: 0; }

.about-page .ab-num {
    position: absolute;
    top: 30px;
    right: 28px;
    font-family: var(--ab-num);
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--ab-muted);
}

.about-page .ab-value h3 {
    position: relative;
    margin: 0 0 14px;
    padding-bottom: 16px;
    font-family: var(--ab-serif);
    font-weight: 400;
    font-size: clamp(21px, 1.9vw, 26px);
    line-height: 1.2;
    color: var(--ab-ink);
}

.about-page .ab-value h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: var(--ab-red);
}

.about-page .ab-value p { font-size: 15.5px; line-height: 1.75; color: var(--ab-text); }

/* ---------- presence ---------- */
.about-page .ab-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px clamp(28px, 4vw, 60px);
    margin: 30px 0 0;
    padding: 0;
}

.about-page .ab-facts > div {
    display: flex;
    flex-direction: column-reverse;
    padding-left: 18px;
    border-left: 2px solid var(--ab-red);
}

.about-page .ab-facts dd {
    margin: 0;
    font-family: var(--ab-num);
    font-size: clamp(44px, 5vw, 64px);
    line-height: 1;
    color: var(--ab-ink);
}

.about-page .ab-facts dt {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ab-muted);
}

/* ---------- CEO & management ---------- */
/* Hierarchy: CEO (portrait + identity + message on one editorial grid) -> numbered management members.
   The portrait stays modest (at most 320px wide) and, on large screens, stays in view beside the long message. */
.about-page .ab-ceo {
    display: grid;
    grid-template-columns: minmax(0, clamp(240px, 24vw, 320px)) minmax(0, 1fr);
    grid-template-areas: "photo id" "photo msg";
    grid-template-rows: auto 1fr;
    column-gap: clamp(36px, 6vw, 88px);
    align-items: start;
}

.about-page .ab-ceo.no-photo {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "id" "msg";
    grid-template-rows: auto;
}

.about-page .ab-person-photo {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--ab-line);
}

.about-page .ab-person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }

.about-page .ab-person-photo.is-monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--ab-dark-2), var(--ab-dark));
}

.about-page .ab-person-photo.is-monogram span {
    font-family: var(--ab-serif);
    font-size: clamp(44px, 7vw, 88px);
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.9);
}

.about-page .ab-ceo-photo {
    grid-area: photo;
    position: sticky;
    top: 130px;
    outline: 1px solid rgba(var(--ab-red-rgb), 0.5);
    outline-offset: 10px;
}

.about-page .ab-ceo-id {
    grid-area: id;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--ab-line);
}

.about-page .ab-ceo-name {
    margin: 0 0 10px;
    font-family: var(--ab-serif);
    font-weight: 400;
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--ab-ink);
}

.about-page .ab-role {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.6;
    text-transform: uppercase;
    color: var(--ab-red);
}

/* message: a pull-quote, body paragraphs and a quiet sign-off, each clearly separated */
.about-page .ab-ceo-msg { grid-area: msg; max-width: 66ch; margin: 0; }

.about-page .ab-ceo-msg p {
    margin: 0 0 1.1em;
    font-family: var(--ab-serif);
    font-size: clamp(17px, 1.35vw, 19px);
    line-height: 1.85;
    color: var(--ab-text);
}

.about-page .ab-ceo-msg p.is-lead {
    position: relative;
    margin-bottom: 1.3em;
    padding-top: 22px;
    font-style: italic;
    font-size: clamp(22px, 2.2vw, 29px);
    line-height: 1.4;
    color: var(--ab-ink);
    text-wrap: balance;
}

.about-page .ab-ceo-msg p.is-lead::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 2px;
    background: var(--ab-red);
}

.about-page .ab-ceo-msg p.is-sign {
    margin: 0;
    font-family: "Plus Jakarta Sans", "Hind Siliguri", sans-serif;
    font-size: 12.5px;
    letter-spacing: 0.16em;
    line-height: 1.9;
    text-transform: uppercase;
    color: var(--ab-muted);
}

.about-page .ab-ceo-msg p.is-body + p.is-sign {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--ab-line);
}

/* management members: one structure, one portrait size, a numbered label */
.about-page .ab-team {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 240px));
    justify-content: start;
    gap: 48px 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-page .ab-ceo + .ab-team {
    margin-top: clamp(48px, 6vw, 80px);
    padding-top: clamp(40px, 5vw, 64px);
    border-top: 1px solid var(--ab-line);
}

.about-page .ab-person { display: flex; flex-direction: column; min-width: 0; }

.about-page .ab-seq {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ab-muted);
}

.about-page .ab-seq b {
    font-family: var(--ab-num);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--ab-red);
}

.about-page .ab-seq i { flex: 0 0 26px; height: 1px; background: currentColor; opacity: 0.55; }

.about-page .ab-person h3 {
    margin: 18px 0 6px;
    font-family: var(--ab-serif);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.2;
    color: var(--ab-ink);
}

.about-page .ab-person-bio {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--ab-line);
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ab-text);
}

/* ---------- closing ---------- */
.about-page .ab-closing {
    overflow: hidden;
    text-align: center;
    background-color: var(--ab-dark);
    background-image: radial-gradient(90% 120% at 50% 130%, rgba(var(--ab-red-rgb), 0.5) 0%, rgba(13, 11, 10, 0) 62%);
}

.about-page .ab-closing h2 {
    max-width: 20ch;
    margin: 0 auto 20px;
    font-family: var(--ab-serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.1;
    color: #fff;
    text-wrap: balance;
}

.about-page .ab-closing .ab-lead { max-width: 52ch; margin: 0 auto; }
.about-page .ab-closing .ab-actions { justify-content: center; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
    .about-page .ab-tiles {
        grid-template-columns: repeat(var(--ab-cols-t, 3), minmax(0, 1fr));
        max-width: calc(var(--ab-cols-t, 3) * 320px + (var(--ab-cols-t, 3) - 1) * 20px);
    }

    /* management portraits stay smaller than the CEO portrait (240px+ at this width) */
    .about-page .ab-team { grid-template-columns: repeat(auto-fill, minmax(170px, 200px)); gap: 40px 28px; }

    .about-page .ab-value { padding: 30px 24px 28px; }
    .about-page .ab-value-icon { margin-bottom: 24px; }
    .about-page .ab-num { top: 26px; right: 22px; }
}

/* values: two by two while four columns would get too narrow */
@media (max-width: 999px) {
    .about-page .ab-values {
        grid-template-columns: repeat(var(--ab-n2, 2), minmax(0, 1fr));
        gap: 16px;
        max-width: calc(var(--ab-n2, 2) * 380px + (var(--ab-n2, 2) - 1) * 16px);
    }

    .about-page .ab-value { padding: 30px 26px 28px; }
}

@media (max-width: 900px) {
    .about-page .ab-split { grid-template-columns: minmax(0, 1fr); }

    .about-page .ab-split.no-media .ab-copy { display: block; }
    .about-page .ab-split.no-media .ab-copy > .ab-h2 { margin-bottom: 24px; }

    .about-page .ab-split--reverse .ab-figure { order: 0; }
    .about-page .ab-split--reverse .ab-figure::before { inset: 14px -14px -14px 14px; }
    .about-page .ab-figure::before { inset: 14px -14px -14px 14px; }

    .about-page .ab-figure--portrait { aspect-ratio: var(--ab-r, 5 / 6); }

    .about-page .ab-hero-inner { max-width: 560px; min-height: clamp(500px, 66vh, 640px); }
}

/* ---------- phones ---------- */
@media (max-width: 700px) {
    .about-page .ab-stats-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
    .about-page .ab-stats-list li:nth-child(odd) { border-left: 0; }
    .about-page .ab-stats-list[style*="--ab-n: 1"] { grid-template-columns: minmax(0, 1fr); }
    .about-page .ab-tiles {
        grid-template-columns: repeat(var(--ab-cols-m, 2), minmax(0, 1fr));
        max-width: calc(var(--ab-cols-m, 2) * 320px + (var(--ab-cols-m, 2) - 1) * 20px);
    }

    /* Collection: swipe rail (more than two tiles). The same CSS-only snap-scroll pattern the homepage rows use:
       no script, no library. The rail runs to the screen edge so the next card peeks out, the scrollbar is
       hidden, the right edge fades, and the last card can scroll fully into view. */
    .about-page .ab-tiles.is-rail {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: clamp(132px, 42%, 188px);
        gap: 10px;
        max-width: none;
        margin: 0 -3vw 0 0;
        padding: 4px calc(3vw + 22px) 10px 0;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent 100%);
        mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent 100%);
    }

    .about-page .ab-tiles.is-rail::-webkit-scrollbar { display: none; }
    .about-page .ab-tiles.is-rail > li { scroll-snap-align: start; }

    /* CEO on phones: a small portrait next to the name, the message full width underneath */
    .about-page .ab-ceo {
        grid-template-columns: 112px minmax(0, 1fr);
        grid-template-areas: "photo id" "msg msg";
        grid-template-rows: auto;
        column-gap: 18px;
        row-gap: 26px;
        align-items: center;
    }

    .about-page .ab-ceo.no-photo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "id" "msg"; }
    .about-page .ab-ceo-photo { position: static; outline-offset: 5px; }
    .about-page .ab-ceo-id { margin: 0; padding: 0; border: 0; }
    .about-page .ab-ceo-name { font-size: 26px; }
    .about-page .ab-ceo-msg p.is-lead { font-size: 22px; }
    .about-page .ab-ceo .ab-person-photo.is-monogram span { font-size: 36px; }
}

@media (max-width: 640px) {
    .about-page .ab-hero-inner { min-height: 0; padding: 28px 0 64px; }

    /* With a photograph, show it whole as a banner above the text and fade it into the dark hero. As a full-bleed
       background it kept less than half of its width on a phone, behind a heavy overlay. */
    .about-page .ab-hero.has-media { display: flex; flex-direction: column; }
    .about-page .ab-hero.has-media::after { display: none; }

    .about-page .ab-hero-media {
        position: relative;
        inset: auto;
        z-index: 0;
        width: 100%;
        height: auto;
        aspect-ratio: var(--ab-hero-r, 4 / 3);
        object-position: center;
        -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
    }

    .about-page .ab-hero.has-media .ab-hero-inner { position: relative; z-index: 2; margin-top: -44px; padding-top: 0; }
    .about-page .ab-crumbs { margin-bottom: 26px; }

    .about-page .ab-figure::before,
    .about-page .ab-split--reverse .ab-figure::before { inset: 9px -9px -9px 9px; }

    .about-page .ab-head { flex-direction: column; align-items: flex-start; gap: 14px; }
    .about-page .ab-actions { flex-direction: column; align-items: stretch; margin-top: 26px; }
    .about-page .ab-btn { width: 100%; padding: 0 22px; }
    .about-page .ab-link { align-self: flex-start; }
    .about-page .ab-eyebrow { letter-spacing: 0.2em; }
    .about-page .ab-tile-label { padding: 12px 10px; font-size: 11px; letter-spacing: 0.1em; }
    .about-page .ab-tile.is-badge img { padding: 8%; }
    .about-page .ab-closing h2 { max-width: 14ch; }
}

/* management members on phones: one numbered row each (portrait left, name and role right, profile underneath) */
@media (max-width: 560px) {
    .about-page .ab-team { grid-template-columns: minmax(0, 1fr); gap: 0; }

    .about-page .ab-person {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        grid-template-areas: "seq seq" "photo head" "bio bio";
        column-gap: 16px;
        padding: 22px 0;
        border-top: 1px solid var(--ab-line);
    }

    .about-page .ab-person:first-child { border-top: 0; padding-top: 0; }
    .about-page .ab-seq { grid-area: seq; margin-bottom: 14px; }
    .about-page .ab-person .ab-person-photo { grid-area: photo; }
    .about-page .ab-person-head { grid-area: head; align-self: center; min-width: 0; }
    .about-page .ab-person h3 { margin: 0 0 6px; font-size: 21px; }
    .about-page .ab-person-bio { grid-area: bio; margin-top: 14px; padding-top: 0; border-top: 0; }
    .about-page .ab-person .ab-person-photo.is-monogram span { font-size: 30px; }
}

/* values on phones: compact rows (icon left, text right) — readable at 320px without a tall stack of cards */
@media (max-width: 560px) {
    .about-page .ab-values { grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: none; }
    .about-page .ab-value { flex-direction: row; align-items: flex-start; gap: 16px; padding: 18px 16px; }
    .about-page .ab-value-icon { width: 56px; height: 56px; margin: 2px 0 0; }
    .about-page .ab-value-icon i { width: 44px; height: 44px; font-size: 16px; }
    .about-page .ab-num { top: 14px; right: 14px; font-size: 12px; }
    .about-page .ab-value h3 { margin-bottom: 10px; padding: 0 28px 10px 0; font-size: 20px; }
    .about-page .ab-value p { font-size: 14.5px; line-height: 1.65; }
}

@media (max-width: 360px) {
    .about-page .ab-hero h1 { font-size: 38px; }
    .about-page .ab-tile-label i { display: none; }
    .about-page .ab-facts { gap: 18px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .about-page .ab-tile img,
    .about-page .ab-value,
    .about-page .ab-value::before,
    .about-page .ab-value-icon i,
    .about-page .ab-btn,
    .about-page .ab-btn i,
    .about-page .ab-tile-label i { transition: none; }
}
