/*
 * About page (code version), templates/Front/Page/_about-us.html.twig.
 * Layout: one 1120px column. Editorial hero with an event-photo mosaic,
 * a dark figures band, then alternating text sections and card grids.
 * Uses the site's own fonts; tokens match the sell page.
 */
.aya-about {
    --ab-ink: #12151f;
    --ab-muted: #5b6170;
    --ab-line: #e4e2dc;
    --ab-warm: #f6f5f2;
    --ab-card: #ffffff;
    --ab-brand: #c3073f;
    --ab-brand-hover: #a00635;
    --ab-brand-soft: rgba(195, 7, 63, 0.08);
    --ab-black: #17161a;
    --ab-on-dark: #c8c6c0;

    max-width: 1120px;
    margin: 0 auto;
    padding: 8px 0 24px;
    color: var(--ab-ink);
    display: grid;
    gap: clamp(56px, 7vw, 88px);
}

/* The CMS wrapper adds white section padding; let the page breathe on warm ground. */
.about-page.about-page--code { background: var(--ab-warm, #f6f5f2); }

.aya-about h1,
.aya-about h2,
.aya-about h3 {
    color: var(--ab-ink);
    letter-spacing: -0.03em;
    text-wrap: balance;
    margin: 0;
}
/* H2/H3 sizes come from the site type scale (body.aya-public-type); only weight is set here. */
.aya-about h2 { font-weight: 700; }
.aya-about h3 { font-weight: 650; }
.aya-about p { color: var(--ab-muted); line-height: 1.65; margin: 0; }
.aya-about strong { color: var(--ab-ink); }

/* ---------- Hero ---------- */
.aya-about__hero {
    display: grid;
    gap: 40px;
    align-items: center;
    padding-top: clamp(8px, 3vw, 32px);
}
.aya-about__hero--photos { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.aya-about__hero-copy { display: grid; gap: 20px; max-width: 34rem; }
.aya-about__eyebrow {
    display: inline-flex;
    justify-self: start;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--ab-card);
    border: 1px solid var(--ab-line);
    color: var(--ab-muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
/* aya-h1 opts out of the site's 32px H1 so the hero can be larger. */
.aya-about__hero h1.aya-h1 {
    font-size: clamp(2.3rem, 5.2vw, 3.6rem);
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -0.04em;
}
.aya-about__lead { font-size: 1.12rem; max-width: 40ch; }
.aya-about__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

.aya-about__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 650;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.aya-about__btn:hover { text-decoration: none; }
.aya-about__btn:focus-visible { outline: 2px solid var(--ab-brand); outline-offset: 3px; }
.aya-about__btn--solid { background: var(--ab-brand); color: #fff; }
.aya-about__btn--solid:hover { background: var(--ab-brand-hover); color: #fff; }
.aya-about__btn--outline { background: var(--ab-card); color: var(--ab-ink); border-color: var(--ab-line); }
.aya-about__btn--outline:hover { border-color: #cfcbc3; color: var(--ab-ink); }
.aya-about__btn--on-dark { color: #fff; border-color: rgba(255, 255, 255, 0.24); }
.aya-about__btn--on-dark:hover { color: #fff; border-color: #fff; }

/* Three event photos: one tall, two stacked. */
.aya-about__mosaic {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    aspect-ratio: 5 / 4;
    max-width: 100%;
}
.aya-about__photo { display: block; overflow: hidden; border-radius: 18px; background: #e9e6e0; min-height: 0; }
.aya-about__photo--1 { grid-row: 1 / span 2; }
.aya-about__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Figures band ---------- */
.aya-about__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--ab-black);
    border-radius: 24px;
    padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 40px);
    box-shadow: 0 24px 48px rgba(23, 22, 26, 0.14);
}
.aya-about__stat { display: grid; gap: 6px; padding: 0 clamp(12px, 2vw, 24px); border-left: 1px solid rgba(255, 255, 255, 0.1); }
.aya-about__stat:first-child { border-left: 0; padding-left: 0; }
.aya-about__stat strong {
    color: #fff;
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.aya-about__stat span { color: var(--ab-on-dark); font-size: 0.92rem; }

/* ---------- Text sections ---------- */
.aya-about__section { display: grid; gap: 28px; }
.aya-about__split {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: clamp(24px, 5vw, 64px);
}
.aya-about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aya-about__cols p { font-size: 1.04rem; }

.aya-about__story {
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: start;
    background: var(--ab-card);
    border: 1px solid var(--ab-line);
    border-radius: 24px;
    padding: clamp(28px, 4vw, 48px);
}
.aya-about__story-mark { display: grid; gap: 2px; }
.aya-about__story-mark span {
    color: var(--ab-brand);
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.aya-about__story-mark small {
    color: var(--ab-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.aya-about__story-copy { display: grid; gap: 14px; max-width: 46rem; }
.aya-about__story-copy h2 { margin-bottom: 4px; }
.aya-about__story-copy p { font-size: 1.04rem; }

/* ---------- Features ---------- */
.aya-about__features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.aya-about__feature {
    display: grid;
    align-content: start;
    gap: 10px;
    background: var(--ab-card);
    border: 1px solid var(--ab-line);
    border-radius: 18px;
    padding: 24px;
}
.aya-about__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--ab-brand-soft);
    color: var(--ab-brand);
    font-size: 22px;
    margin-bottom: 4px;
}
.aya-about__feature p { font-size: 0.97rem; line-height: 1.6; }

/* ---------- Trusted ---------- */
.aya-about__logos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}
.aya-about__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    padding: 18px;
    background: var(--ab-card);
    border: 1px solid var(--ab-line);
    border-radius: 16px;
}
.aya-about__logo img {
    max-width: 100%;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.8;
    transition: filter .2s ease, opacity .2s ease;
}
.aya-about__logo:hover img { filter: none; opacity: 1; }
.aya-about__wordmark {
    color: var(--ab-ink);
    opacity: 0.72;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: center;
}

/* ---------- Quotes ---------- */
.aya-about__quotes { grid-template-columns: 1fr 1fr; gap: 16px; }
.aya-about__quote {
    margin: 0;
    display: grid;
    align-content: space-between;
    gap: 20px;
    background: var(--ab-card);
    border: 1px solid var(--ab-line);
    border-radius: 18px;
    padding: clamp(24px, 3vw, 32px);
}
.aya-about__quote p { color: var(--ab-ink); font-size: 1.1rem; line-height: 1.55; }
.aya-about__quote cite { color: var(--ab-muted); font-size: 0.9rem; font-style: normal; font-weight: 600; }

/* ---------- Closing ---------- */
.aya-about__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--ab-black);
    border-radius: 24px;
    padding: clamp(28px, 4vw, 44px);
}
.aya-about__cta h2 { color: #fff; }
.aya-about__cta p { color: var(--ab-on-dark); margin-top: 8px; }
.aya-about__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.aya-about__more {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: calc(-1 * clamp(32px, 4vw, 56px));
    padding-top: 4px;
}
.aya-about__more a { color: var(--ab-muted); font-size: 0.92rem; font-weight: 600; }
.aya-about__more a:hover { color: var(--ab-brand); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .aya-about__hero--photos,
    .aya-about__split { grid-template-columns: 1fr; }
    .aya-about__hero-copy { max-width: none; }
    .aya-about__mosaic { aspect-ratio: 16 / 10; }
    .aya-about__features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .aya-about__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .aya-about__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
    .aya-about__stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 575.98px) {
    .aya-about { gap: 52px; }
    .aya-about__lead { font-size: 1.04rem; }
    .aya-about__actions .aya-about__btn,
    .aya-about__cta-actions .aya-about__btn { flex: 1 1 100%; }
    .aya-about__mosaic { gap: 8px; }
    .aya-about__photo { border-radius: 14px; }
    .aya-about__stats { padding: 24px 20px; border-radius: 20px; }
    .aya-about__stat { padding: 0 0 0 16px; }
    .aya-about__stat strong { font-size: 1.6rem; }
    .aya-about__cols,
    .aya-about__features,
    .aya-about__quotes { grid-template-columns: 1fr; }
    .aya-about__story { grid-template-columns: 1fr; gap: 16px; padding: 24px 22px; }
    .aya-about__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .aya-about__logo { min-height: 84px; }
    .aya-about__logo:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .aya-about__feature { padding: 20px; }
    .aya-about__cta { padding: 26px 22px; }
    .aya-about__more { margin-top: -36px; }
}

@media (prefers-reduced-motion: reduce) {
    .aya-about__btn,
    .aya-about__logo img { transition: none; }
}
