/* About Us (desktop and phone). On black, in the site's own manner:
   centered capital labels and headings, Text 750 for reading, Wide 1200 for rows.
   Order: label + title, statement, three photos, Who we are, By the numbers,
   Partners, News and announcements, Offices, Since 2000.
   Type comes from the named styles in type-system.css. */

body:has(main.ab) { background: #000 !important; }
main.ab { --g: var(--gutter, 40px); --wide: min(1200px, calc(100vw - 2 * var(--g)));
  --text: min(750px, calc(100vw - 2 * var(--g))); --medium: min(960px, calc(100vw - 2 * var(--g)));
  --rule: #262626;
  display: block; background: #000; color: #fff; padding: 110px 0 150px; }
main.ab * { box-sizing: border-box; }
main.ab a { color: inherit; text-decoration: none; }
main.ab img { display: block; max-width: none; }
main.ab :is(p, h1, h2, ol, ul, li, dl, dt, dd) { margin: 0; padding: 0; letter-spacing: 0; text-transform: none; }
main.ab :is(ol, ul) { list-style: none; }
main.ab > * { margin-left: auto; margin-right: auto; }

/* Centered gray capital labels, as on every section of the site */
main.ab .ab-label, main.ab .ab-sec-name { display: block; font-family: var(--sans) !important; font-weight: 400 !important;
  font-size: var(--label-size) !important; line-height: var(--label-lh) !important; letter-spacing: var(--label-tracking) !important;
  text-indent: var(--label-tracking); text-transform: uppercase !important; color: var(--gray) !important; text-align: center !important; }

/* ── Label and title (the site's Title style) ── */
.ab-head { width: var(--text); text-align: center; }
main.ab .ab-title { font-family: var(--sans) !important; font-weight: 600 !important; font-size: var(--title-size) !important;
  line-height: var(--title-lh) !important; color: #fff !important; text-align: center !important; margin-top: 20px !important; }

/* ── Three photos: one large, two stacked (Wide 1200), same frame as cards ── */
.ab-mosaic { width: var(--wide); display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--col-gap, 32px);
  margin-top: 96px; aspect-ratio: 2.15 / 1; }
.ab-tile { position: relative; display: block; overflow: hidden; background: #111; border: 1px solid #3f3f3f; border-radius: 5px; }
.ab-tile-1 { grid-row: 1 / 3; }
.ab-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.ab-tile:hover img { transform: scale(1.1); }
.ab-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 35%); }
main.ab .ab-tile-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; text-align: left !important;
  font-family: var(--sans); font-size: 14px; line-height: 1.3; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.8); }

/* ── Statement, with more text as slides (same size), arrows and dots ── */
.ab-statement { width: var(--medium); margin-top: 56px; outline: none; }
.ab-slides { display: grid; }
main.ab .ab-slide { grid-area: 1 / 1; font-family: var(--serif) !important; font-weight: 300 !important; font-size: clamp(26px, 2.4vw, 32px) !important;
  line-height: 1.32 !important; color: #fff !important; text-align: center !important; margin: 0 !important;
  opacity: 0; visibility: hidden; transform: translateX(16px); transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
main.ab .ab-slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease, visibility 0s; }
.ab-slide-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; }
/* Arrows: the site's own slideshow arrows (old theme sprite slide_arrs2.svg, as on
   the project galleries): 56px circle, thin white ring, thin chevron */
.ab-slide-nav > button { width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; font-size: 0; line-height: 0; cursor: pointer;
  background: url(/wp-content/themes/loremipsum_2021/img/slide_arrs2.svg) no-repeat; transition: opacity .2s; }
.ab-slide-nav > .ab-prev { background-position: 0 0; }
.ab-slide-nav > .ab-next { background-position: -57px 0; }
.ab-slide-nav > .ab-prev:hover:not(:disabled) { background-position: 0 -57px; }
.ab-slide-nav > .ab-next:hover:not(:disabled) { background-position: -57px -57px; }
.ab-slide-nav > button:disabled { opacity: .3; cursor: default; }
.ab-dots { display: flex; gap: 10px; }
.ab-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #4a4a4a; cursor: pointer; transition: background .2s; }
.ab-dots button.is-on { background: #fff; }
.ab-statement:focus-visible .ab-dots button.is-on { box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
@media (prefers-reduced-motion: reduce) { main.ab .ab-slide, main.ab .ab-slide.is-on { transform: none; transition: none; } }

/* ── Sections: centered label, then content ── */
.ab-sec { width: var(--wide); margin-top: 130px; scroll-margin-top: 90px; }
main.ab .ab-sec-name { margin-bottom: 44px !important; }

/* Who we are: body text, Text 750, left-aligned like all reading text on the site */
.ab-text { width: var(--text); margin: 0 auto; }
main.ab .ab-text p { font-family: var(--serif) !important; font-weight: 300 !important; font-size: var(--body-size) !important;
  line-height: var(--body-lh) !important; color: #fff !important; text-align: left !important; }
main.ab .ab-text p + p { margin-top: 1em !important; }

/* By the numbers: three columns, centered, thin rules between */
.ab-stats { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); width: var(--medium); margin: 0 auto !important; }
.ab-stats > div { padding: 4px 20px; border-left: 1px solid var(--rule); text-align: center; }
.ab-stats > div:first-child { border-left: 0; }
main.ab .ab-stats dt { font-family: var(--serif) !important; font-weight: 300 !important; font-size: clamp(40px, 4.2vw, 60px) !important;
  line-height: 1 !important; letter-spacing: -0.01em !important; color: #fff !important; text-align: center !important; font-variant-numeric: lining-nums; white-space: nowrap; }
main.ab .ab-stats dd { font-family: var(--sans) !important; font-size: var(--meta-size) !important; line-height: var(--meta-lh) !important;
  color: var(--gray) !important; text-align: center !important; margin: 14px auto 0 !important; max-width: 15em; }

/* Partners: three round portraits (as on the old Leadership page) */
.ab-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap, 32px); }
.ab-person { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ab-portrait { position: relative; display: block; width: min(350px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #111; }
/* Always in color (the color photo, photo2); zooms 1.1× in 0.2s on hover like the cards, inside the circle */
.ab-portrait { isolation: isolate; box-sizing: border-box; border: 1px solid #3f3f3f; } /* same 1px border as cards, on the frame so it stays put while the photo zooms */
.ab-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease-in-out; }
.ab-person:hover .ab-portrait img { transform: scale(1.1); }
.ab-name { font-family: var(--sans); font-weight: var(--card-weight, 500); font-size: var(--card-size); line-height: var(--card-lh); color: #fff; margin-top: 22px; }
.ab-role { font-family: var(--sans); font-size: var(--meta-size); line-height: var(--meta-lh); color: var(--gray); margin-top: 4px; }

/* In the news: press items at 960, publication name on top, large serif headline */
.ab-news { width: var(--medium); margin: 0 auto !important; }
/* Rules only between items, none above the first or below the last */
.ab-news li + li { border-top: 1px solid var(--rule); }
.ab-news li:first-child a { padding-top: 0; }
.ab-news li:last-child a { padding-bottom: 0; }
.ab-news a { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 44px 0 46px; }
main.ab .ab-news a * { text-align: center !important; }
.ab-news-date { font-family: var(--sans); font-size: var(--meta-size); line-height: var(--meta-lh); color: var(--gray); }
.ab-news-title { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; color: #fff; margin-top: 12px; max-width: 820px; transition: color .2s; }
.ab-news-title em { font-style: italic; }
.ab-news-source { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: 21px; line-height: 1.3; color: #cfcfcf; margin-top: 16px; }
/* Pop-out arrow: drawn (SVG), not the \2197 character, which phones show as a
   colored emoji. Same thin gray arrow on desktop and phone. */
.ab-news-arrow { display: inline-block; width: .72em; height: .72em; margin-left: .34em; vertical-align: -.03em !important; color: var(--gray); transition: color .2s; }
.ab-news a:hover .ab-news-title { color: #cfcfcf; }
.ab-news a:hover .ab-news-arrow { color: #fff; }

/* Offices: cities in large serif on one line, Contact under them */
.ab-sec-offices > div { text-align: center; }
.ab-cities { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin-bottom: 40px !important; }
.ab-cities li { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.25; color: #fff; }
.ab-cities li + li::before { content: '·'; color: var(--gray); margin: 0 .45em; }
.ab-btn { display: inline-flex; align-items: center; height: 44px; padding: 0 24px; border-radius: 22px; border: 1px solid #5a5a5a;
  font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1; color: #fff; transition: border-color .2s; }
.ab-btn:hover { border-color: #fff; }

/* Since 2000: year above its line, centered, rules between */
.ab-time { width: var(--text); margin: 0 auto !important; border-top: 1px solid var(--rule); }
.ab-time li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 0 30px !important; border-bottom: 1px solid var(--rule); }
.ab-year { font-family: var(--serif); font-weight: 300; font-size: 44px; line-height: 1; color: #fff; font-variant-numeric: lining-nums; }
main.ab .ab-event { font-family: var(--serif); font-weight: 300; font-size: 21px; line-height: 1.45; color: #cfcfcf; margin-top: 12px; text-align: center !important; max-width: 640px; }
.ab-event a { color: #fff; border-bottom: 1px solid #555; transition: border-color .2s; }
.ab-event a:hover { border-color: #fff; }
.ab-event em { font-style: italic; }

/* Awards & Festivals: the Awards page's cards and grid (3 columns, 2 on narrow windows). */
.ab-sec-awards .ab-awards { width: 100% !important; }
.ab-awards-more { text-align: center; margin-top: 56px; }

/* Narrow desktop windows */
@media (max-width: 1100px) {
  .ab-mosaic { gap: 24px; }
}

/* Phones */
@media (max-width: 767px) {
  .ab-sec-awards .ab-awards { grid-template-columns: 1fr; gap: 44px; }
  .ab-awards-more { margin-top: 40px; }
  main.ab { padding: 72px 0 100px; }
  .ab-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; aspect-ratio: auto; gap: 10px; margin-top: 56px; }
  .ab-tile-1 { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 3 / 2; }
  .ab-tile-2, .ab-tile-3 { aspect-ratio: 1; }
  main.ab .ab-tile-cap { font-size: 12px; left: 10px; bottom: 8px; }
  .ab-statement { margin-top: 36px; }
  main.ab .ab-slide { font-size: 24px !important; }
  .ab-sec { margin-top: 88px; }
  main.ab .ab-sec-name { margin-bottom: 32px !important; }
  .ab-stats { grid-template-columns: 1fr; }
  .ab-stats > div { border-left: 0; border-top: 1px solid var(--rule); padding: 22px 0; }
  .ab-stats > div:first-child { border-top: 0; padding-top: 0; }
  .ab-people { grid-template-columns: 1fr; gap: 44px; }
  .ab-portrait { width: 240px; }
  .ab-news a { padding: 32px 0 34px; }
  .ab-news-source { font-size: 19px; }
  .ab-news-title { font-size: 23px; }
  .ab-cities { flex-direction: column; }
  .ab-cities li + li::before { display: none; }
  .ab-year { font-size: 36px; }
  main.ab .ab-event { font-size: 19px; }
}
