/* ==========================================================================
   AdMedia — About page (about.php)
   Layout ported from the Ad.com About page, restyled with the AdMedia tokens
   from new-homepage.css (--am-*). Prefix "ab-". Plain CSS, no framework.
   ========================================================================== */
.ab-page {
    font-family: var(--am-font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--am-text);
    background: #fff;
}
.ab-page ul, .ab-page ol { margin: 0; padding: 0; list-style: none; }
.ab-page a:hover { text-decoration: none; }
.ab-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ab-ico--fill { fill: currentColor; stroke: none; }
.ab-muted { color: var(--am-muted); margin: 0; }
.ab-section { position: relative; scroll-margin-top: calc(var(--am-header-h) + 64px); }
.ab-section--alt { background: var(--am-peach-soft); }

/* ---------- Hero ---------- */
.ab-hero { padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px); text-align: center; }
.ab-hero__inner { max-width: 820px; margin: 0 auto; }
.ab-hero h1 { font-size: clamp(40px, 5.2vw, 68px); }
.ab-hero .am-lead { max-width: 640px; margin-inline: auto; }
.ab-hero .am-hero__ctas { justify-content: center; }

.ab-kpis {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: clamp(40px, 5vw, 64px) 0 0;
    background: #fff; border: 1px solid var(--am-line); border-radius: var(--am-radius-lg);
    text-align: left;
}
.ab-kpi { padding: clamp(18px, 2.2vw, 28px); border-left: 1px solid var(--am-line); }
.ab-kpi:first-child { border-left: 0; }
.ab-kpi dt { font-family: var(--am-font-head); font-weight: 500; font-size: 13.5px; color: var(--am-muted); }
.ab-kpi dd { margin: 6px 0 4px; font-family: var(--am-font-head); font-size: clamp(38px, 4.2vw, 56px); line-height: 1; letter-spacing: -.03em; color: var(--am-ink); }
.ab-kpi:first-child dd { background: var(--am-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-kpi small { font-size: 14px; color: var(--am-muted); }


/* ---------- Sticky sub-nav ---------- */
.ab-subnav {
    position: sticky; top: var(--am-header-h); z-index: 40;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--am-line);
}
.ab-subnav__list { display: flex; justify-content: center; gap: 6px; padding-block: 10px; overflow-x: auto; scrollbar-width: none; }
.ab-subnav__list::-webkit-scrollbar { display: none; }
.ab-subnav__list a {
    flex: none; padding: 8px 18px; border-radius: 999px;
    font-family: var(--am-font-head); font-size: 14.5px; color: var(--am-text);
    transition: background-color .2s ease, color .2s ease;
}
.ab-subnav__list a:hover { background: var(--am-peach); color: var(--am-ink); }
.ab-subnav__list a.is-active { background: var(--am-grad); color: #fff; }

/* ---------- Story ---------- */
.ab-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ab-story__aside { position: sticky; top: calc(var(--am-header-h) + 90px); }
.ab-story__aside .am-h2 { margin-bottom: 28px; }
.ab-founded {
    position: relative; overflow: hidden;
    padding: 24px 26px; border-radius: var(--am-radius);
    border: 1px solid var(--am-line);
    background: radial-gradient(circle at 85% 80%, rgba(255, 75, 0, .14), transparent 55%), radial-gradient(circle at 70% 100%, rgba(231, 0, 90, .12), transparent 60%), #fff;
}
.ab-founded small { display: block; font-family: var(--am-font-head); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--am-muted); }
.ab-founded strong { display: block; margin: 4px 0 10px; font-family: var(--am-font-head); font-weight: 400; font-size: clamp(64px, 7vw, 96px); line-height: 1; letter-spacing: -.04em; color: var(--am-ink); }
.ab-founded span { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--am-text); }
.ab-founded .ab-ico { width: 18px; height: 18px; color: var(--am-red); }

.ab-page .ab-quote { position: static; margin: 0 0 28px; padding: 0; border: 0; background: none; font-style: normal; quotes: none; }
.ab-page .ab-quote::before, .ab-page .ab-quote::after { content: none; display: none; }
.ab-page .ab-quote p { margin: 0; font-family: var(--am-font-head); font-size: clamp(24px, 2.6vw, 36px) !important; line-height: 1.25 !important; letter-spacing: -.02em; font-style: normal; color: var(--am-ink); }
.ab-body { margin: 0 0 18px; font-size: 17px; color: var(--am-text); }

.ab-evolve {
    display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 22px; align-items: center;
    margin-top: 30px; padding: 22px 24px; border-radius: var(--am-radius);
    border: 1px solid var(--am-line); background: #fff;
}
.ab-evolve small { display: block; margin-bottom: 10px; font-family: var(--am-font-head); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--am-muted); }
.ab-evolve__start { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--am-grad); color: #fff; font-family: var(--am-font-head); font-size: 15px; }
.ab-evolve__start .ab-ico { width: 17px; height: 17px; }
.ab-evolve__arrow { display: flex; align-items: center; color: var(--am-red); }
.ab-evolve__arrow i { width: 40px; border-top: 2px dashed #f2c5cf; }
.ab-evolve__arrow .ab-ico { width: 18px; height: 18px; margin-left: -4px; }
.ab-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ab-chips li { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--am-line); background: var(--am-peach-soft); font-family: var(--am-font-head); font-size: 13px; color: var(--am-ink); }

/* ---------- Values ---------- */
.ab-values { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ab-values__head { position: sticky; top: calc(var(--am-header-h) + 90px); }
.ab-values__head .am-h2 { margin-bottom: 14px; }
.ab-values__list { display: grid; gap: 18px; }
.ab-value {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px;
    padding: clamp(22px, 2.6vw, 32px); border-radius: var(--am-radius);
    background: #fff; border: 1px solid var(--am-line);
}
.ab-value__top { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ab-value__num { font-family: var(--am-font-head); font-size: 13px; color: var(--am-muted); }
.ab-value__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--am-tint); color: var(--am-red); }
.ab-value__ico--2 { background: #fde6ee; }
.ab-value__ico--3 { background: linear-gradient(135deg, var(--am-tint), #fde6ee); color: var(--am-orange); }
.ab-value__ico .ab-ico { width: 24px; height: 24px; }
.ab-value h3 { margin-bottom: 10px; font-size: clamp(20px, 1.8vw, 24px); }
.ab-value p { margin: 0; font-size: 16px; }

/* ---------- 28 years band ---------- */
.ab-legacy { padding-block: clamp(56px, 6.5vw, 96px); }
.ab-band {
    position: relative; overflow: hidden; isolation: isolate;
    padding: clamp(28px, 4.5vw, 64px); border-radius: 32px;
    background: radial-gradient(circle at 92% 0%, rgba(255, 75, 0, .12), transparent 45%), radial-gradient(circle at 70% 100%, rgba(231, 0, 90, .10), transparent 50%), var(--am-peach-soft);
    border: 1px solid var(--am-line);
}
.ab-band__top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ab-band__big { display: flex; flex-direction: column; align-items: center; }
.ab-band__big span {
    font-family: var(--am-font-head); font-size: clamp(110px, 14vw, 200px); line-height: .9; letter-spacing: -.06em;
    background: var(--am-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ab-band__big small { font-family: var(--am-font-head); font-size: 14px; letter-spacing: .3em; text-transform: uppercase; color: var(--am-muted); }
.ab-band__copy .am-h2 { margin-bottom: 14px; }
.ab-band__copy p { margin: 0; max-width: 640px; }
.ab-timeline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(32px, 4vw, 48px) !important; }
.ab-timeline::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; border-top: 2px solid #f1d9cf; }
.ab-timeline li { position: relative; display: flex; flex-direction: column; padding: 0; }
.ab-timeline__dot { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--am-grad); color: #fff; margin-bottom: 16px; }
.ab-timeline__dot .ab-ico { width: 20px; height: 20px; }
.ab-timeline small { font-family: var(--am-font-head); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--am-red); }
.ab-timeline strong { margin: 4px 0 6px; font-family: var(--am-font-head); font-weight: 500; font-size: 18px; line-height: 1.3; color: var(--am-ink); }
.ab-timeline span:not(.ab-timeline__dot) { font-size: 15px; line-height: 1.5; color: var(--am-text); }

/* ---------- Team ---------- */
.ab-head.am-head--center { margin-bottom: clamp(32px, 4vw, 48px); }
.ab-head .am-lead { color: var(--am-text); }
.ab-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.ab-person__photo {
    position: relative; overflow: hidden; aspect-ratio: 1 / 1; border-radius: var(--am-radius);
    background: linear-gradient(160deg, #fff, var(--am-peach));
    border: 1px solid var(--am-line);
}
.ab-person__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .4s ease, transform .6s ease; }
.ab-person:hover .ab-person__photo img { filter: grayscale(0); transform: scale(1.03); }
.ab-person__photo.is-fallback img { display: none; }
.ab-person__photo.is-fallback::after {
    content: attr(data-initials); position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--am-font-head); font-size: 56px; color: var(--am-red);
}
.ab-person__in {
    position: absolute; top: 12px; right: 12px; display: grid; place-items: center;
    width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--am-ink);
    box-shadow: 0 6px 16px -8px rgba(27, 20, 34, .35); transition: background-color .2s ease, color .2s ease;
}
.ab-person__in:hover { background: #0a66c2; color: #fff; }
.ab-person__in .ab-ico { width: 16px; height: 16px; }
.ab-person__info { padding: 14px 4px 0; }
.ab-person__info strong { display: block; font-family: var(--am-font-head); font-weight: 500; font-size: 18px; color: var(--am-ink); }
.ab-person__info span { font-size: 15px; color: var(--am-muted); }

/* ---------- Offices ---------- */
.ab-head.am-head--split { align-items: flex-end; }
.ab-head.am-head--split .am-lead { max-width: 480px; margin: 0; }
.ab-offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ab-office {
    display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
    padding: 22px; border-radius: var(--am-radius); border: 1px solid var(--am-line); background: #fff;
    transition: border-color .25s ease, transform .25s ease;
}
.ab-office:hover { border-color: var(--am-blush); transform: translateY(-2px); }
.ab-office--hq { background: radial-gradient(circle at 100% 100%, rgba(255, 75, 0, .10), transparent 55%), #fff; }
.ab-office__head { display: flex; gap: 14px; align-items: flex-start; }
.ab-office__ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: #fde7ee; color: var(--am-red); }
.ab-office__head strong { display: block; font-family: var(--am-font-head); font-weight: 500; font-size: 18px; color: var(--am-ink); }
.ab-office__head div > span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--am-text); }
.ab-office__time { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--am-line); font-size: 13.5px; color: var(--am-muted); }
.ab-office__time > span { display: inline-flex; align-items: center; gap: 7px; }
.ab-office__time .ab-ico { width: 16px; height: 16px; }
.ab-office__time em { padding: 3px 10px; border-radius: 999px; background: #fde7ee; color: var(--am-red); font-style: normal; font-family: var(--am-font-head); font-size: 12px; font-weight: 500; }

/* ---------- Gallery ---------- */
.ab-gallery-section { padding-bottom: clamp(56px, 6.5vw, 96px); }
.ab-gallery { display: grid; gap: 12px; }
.ab-gallery__row { display: flex; gap: 12px; height: clamp(160px, 17vw, 230px); }
.ab-gallery__item { position: relative; overflow: hidden; flex: var(--ar) 1 0; min-width: 0; border-radius: 16px; background: var(--am-peach); }
.ab-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ab-gallery__item:hover img { transform: scale(1.04); }

.ab-lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 60px 70px; background: rgba(23, 17, 28, .92); }
.ab-lightbox.is-open { display: grid; }
.ab-lightbox__img { max-width: 100%; max-height: 100%; border-radius: 12px; transition: opacity .2s ease; }
.ab-lightbox__img.is-loading { opacity: .3; }
.ab-lightbox__btn { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.ab-lightbox__btn:hover { background: rgba(255, 255, 255, .24); }
.ab-lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ab-lightbox__close { top: 16px; right: 16px; }
.ab-lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.ab-lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.ab-lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-family: var(--am-font-head); font-size: 13px; color: rgba(255, 255, 255, .75); }

/* ---------- Careers ---------- */
.ab-careers-section { padding-bottom: clamp(56px, 6.5vw, 96px); }
.ab-careers {
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 64px); align-items: center;
    padding: clamp(28px, 4.5vw, 64px); border-radius: 32px;
    background: radial-gradient(circle at 100% 0%, rgba(255, 75, 0, .12), transparent 45%), var(--am-peach-soft);
    border: 1px solid var(--am-line);
}
.ab-careers__copy .am-h2 { margin-bottom: 14px; }
.ab-careers__copy p { max-width: 620px; margin-bottom: 22px; }
.ab-chips--roles li { background: #fff; }
.ab-careers__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px; border-radius: var(--am-radius); background: #fff; border: 1px solid var(--am-line); }
.ab-careers__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--am-tint); color: var(--am-red); }
.ab-careers__ico .ab-ico { width: 24px; height: 24px; }
.ab-careers__cta strong { font-family: var(--am-font-head); font-weight: 500; font-size: 20px; color: var(--am-ink); }
.ab-careers__alt { display: inline-flex; align-items: center; gap: 6px; font-family: var(--am-font-head); font-size: 14.5px; color: var(--am-red); }
.ab-careers__alt svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ab-careers__alt:hover { color: var(--am-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .ab-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-kpi:nth-child(3) { border-left: 0; }
    .ab-kpi:nth-child(n+3) { border-top: 1px solid var(--am-line); }
    .ab-story, .ab-values, .ab-careers { grid-template-columns: minmax(0, 1fr); }
    .ab-story__aside, .ab-values__head { position: static; }
    .ab-band__top { grid-template-columns: minmax(0, 1fr); }
    .ab-band__big { align-items: flex-start; flex-direction: row; gap: 14px; align-items: baseline; }
    .ab-team, .ab-offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-head.am-head--split { flex-direction: column; align-items: flex-start; gap: 12px; }
    .ab-subnav__list { justify-content: flex-start; }
}
@media (max-width: 767px) {
    .ab-evolve { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .ab-evolve__arrow { transform: rotate(90deg); width: max-content; }
    .ab-timeline { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .ab-timeline::before { left: 22px; right: auto; top: 22px; bottom: 22px; border-top: 0; border-left: 2px solid #f1d9cf; }
    .ab-timeline li { padding-left: 62px; }
    .ab-timeline__dot { position: absolute; left: 0; top: 0; }
    .ab-gallery__row { flex-wrap: wrap; height: auto; }
    .ab-gallery__item { flex: 1 1 calc(50% - 6px); aspect-ratio: 4 / 3; }
    .ab-lightbox { padding: 60px 12px; }
}
@media (max-width: 560px) {
    .ab-team, .ab-offices { grid-template-columns: minmax(0, 1fr); }
    .ab-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .ab-person__info strong { font-size: 16px; }
    .ab-person__info span { font-size: 13.5px; }
    .ab-kpi { padding: 16px; }
    .ab-value { grid-template-columns: minmax(0, 1fr); }
    .ab-value__top { flex-direction: row; }
}
@media (prefers-reduced-motion: reduce) {
}
.ab-person__photo img[src$="placeholder.svg"] { filter: none; }

/* ---------- Newsroom (latest Press Release posts) — Oct 30 ---------- */
.ab-news { padding-top: 0; }
.ab-news .am-link { flex: none; }
.ab-news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.ab-news__card { display: flex; flex-direction: column; height: 100%; border-radius: var(--am-radius); overflow: hidden; background: #fff; border: 1px solid var(--am-line); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.ab-news__card:hover { border-color: var(--am-blush); transform: translateY(-3px); box-shadow: var(--am-shadow); }
.ab-news__img { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--am-peach); overflow: hidden; }
.ab-news__img img { width: 100%; height: 100%; object-fit: cover; }
.ab-news__ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--am-peach-soft), #fde7ee); color: var(--am-red); }
.ab-news__ph svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ab-news__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 20px; }
.ab-news__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13.5px; color: var(--am-muted); }
.ab-news__meta span { padding: 3px 10px; border-radius: 999px; background: #fde7ee; color: var(--am-red); font-family: var(--am-font-head); font-size: 12px; font-weight: 500; }
.ab-news__body strong { flex: 1; font-family: var(--am-font-head); font-weight: 500; font-size: 18px; line-height: 1.35; color: var(--am-ink); }
.ab-news__more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--am-font-head); font-size: 14.5px; color: var(--am-red); }
.ab-news__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 991px) { .ab-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ab-news__grid { grid-template-columns: minmax(0, 1fr); } }
.ab-news__ph { flex-direction: column; gap: 6px; text-align: center; padding: 16px; }
.ab-news__ph { display: flex; align-items: center; justify-content: center; }
.ab-news__ph small { font-family: var(--am-font-head); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--am-muted); }
.ab-news__ph strong { font-family: var(--am-font-head); font-weight: 500; font-size: 19px; line-height: 1.25; color: var(--am-ink); }

/* newsroom cards: short header strip — Oct 30 */
.ab-news__img:has(.ab-news__ph) { aspect-ratio: auto; height: 104px; }
.ab-news__ph { flex-direction: row; gap: 14px; justify-content: flex-start; padding: 0 20px; text-align: left; }
.ab-news__ph svg { width: 34px; height: 34px; flex: none; }
.ab-news__ph > span { display: block; }
.ab-news__ph small, .ab-news__ph strong { display: block; }
.ab-news__ph strong { font-size: 18px; }
.ab-news__body { padding: 16px 20px 18px; gap: 8px; }
