/* About page (23 October 2026): the team photo as the hero, one accent phrase per title, the intro, the two cards
   of the structure, the history as a timeline whose steps light in turn, and the awards. Built to the
   removing-ai-ui-signs rule: one accent phrase per title in the brand gradient (23 October 2026), neutral borders, hover by
   colour (no lift), no eyebrow labels in capitals. */

.v2-about .ab-em { color:var(--t-k); background-image:var(--t-grad); background-repeat:no-repeat; -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }

/* hero: the team photo under the navy gradient of the v2 hero, the text on the dark side */
.ab-hero .ab-photo { object-position:50% 45%; opacity:.82; }
.ab-hero .ab-h1 { max-width:14ch; }
.ab-hero .v2-l { max-width:44ch; }

/* intro: one lead paragraph, then the others */
.ab-intro .ab-lead { margin-top:0; font-size:clamp(21px,1.9vw,27px); line-height:1.45; color:var(--t-h); max-width:30em; }
.ab-intro .v2-p { max-width:66ch; font-size:17px; }

/* structure: two cards */
.ab-cards { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:16px; margin-top:clamp(28px,4vh,44px); }
.ab-card { display:flex; flex-direction:column; padding:28px 30px 30px; border-radius:12px; background:#ffffff; border:1px solid var(--t-cb); transition:border-color .2s; }
.ab-card:hover, .ab-card:focus-visible { border-color:var(--t-acc); }
.ab-key { font-size:14px; font-weight:600; color:var(--t-k); }
.ab-card .v2-h3 { margin-top:6px; }
.ab-card .v2-p { flex:1; }
.ab-go { margin-top:18px; font-size:15px; }

/* history: a line with one node for each step; each node lights as its step comes in */
.ab-timeline { position:relative; display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:36px 32px; margin-top:clamp(36px,5vh,56px); }
.ab-timeline::before { content:""; position:absolute; left:0; right:0; top:6px; height:1px; background:var(--t-r); }
.ab-timeline > li { position:relative; padding-top:34px; }
.ab-timeline > li::before { content:""; position:absolute; left:0; top:0; width:13px; height:13px; border-radius:50%; background:#ffffff; border:1.5px solid var(--t-r);
  transition:border-color .6s var(--v-ease), background-color .6s var(--v-ease); transition-delay:calc(.3s + var(--d, 0) * 260ms); }
.ab-timeline > li.in::before { border-color:var(--t-k); background:var(--t-k); }
.ab-timeline > li::after { content:""; position:absolute; left:6px; right:-32px; top:6px; height:1px; background:var(--t-k); transform:scaleX(0); transform-origin:0 50%;
  transition:transform 1.1s var(--v-ease); transition-delay:calc(.45s + var(--d, 0) * 260ms); }
.ab-timeline > li:last-child::after { display:none; }
.ab-timeline > li.in::after { transform:none; }
.ab-era { display:block; font-size:14px; font-weight:700; color:var(--t-k); font-variant-numeric:tabular-nums; }
.ab-timeline .v2-h4 { margin-top:8px; font-size:18px; }
.ab-timeline .v2-p { margin-top:8px; font-size:15.5px; }

/* recognition: the awards with their images */
/* 20 November 2026: seven awards; four in a row, and the last row stands in the centre */
.ab-awards { --ab-n:4; display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-top:clamp(28px,4vh,44px); }
.ab-awards > li { flex:0 1 calc((100% - (var(--ab-n) - 1) * 14px) / var(--ab-n)); min-width:0; padding:24px 20px 24px; border-radius:12px; background:#ffffff; border:1px solid var(--t-cb); text-align:center; }
.ab-awards img { display:block; height:60px; width:auto; max-width:100%; margin:0 auto; object-fit:contain; }
.ab-year { display:block; margin-top:16px; font-size:13px; font-weight:600; color:var(--t-k); font-variant-numeric:tabular-nums; }
.ab-awards .v2-h4 { margin-top:4px; font-size:15.5px; }
.ab-awards .v2-p { margin-top:6px; font-size:13.5px; line-height:1.45; }

@media (max-width:1100px) { .ab-awards { --ab-n:3; } }
@media (max-width:900px) {
  .ab-cards { grid-template-columns:1fr; }
  .ab-timeline { grid-template-columns:1fr 1fr; }
  .ab-timeline > li::after { display:none; }
  .ab-awards { --ab-n:2; }
}
@media (max-width:560px) { .ab-timeline { grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce) {
  .ab-timeline > li::before { transition:none; border-color:var(--t-k); background:var(--t-k); }
  .ab-timeline > li::after { transition:none; transform:none; }
}

/* The film (17 November 2026, moved from the homepage): a poster that loads the player on a click. Neutral border;
   on hover the play mark changes colour, nothing moves. */
.ab-film .v2-head { margin-inline:auto; text-align:center; }
.ab-yt { position:relative; margin:clamp(28px,4vh,44px) auto 0; width:100%; max-width:1120px; aspect-ratio:16 / 9; border-radius:12px; overflow:hidden; cursor:pointer; background:#021825; border:1px solid var(--t-cb); }
.ab-yt img, .ab-yt iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.ab-yt img { object-fit:cover; }
.ab-yt-play { position:absolute; left:50%; top:50%; width:68px; height:68px; margin:-34px 0 0 -34px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:#ffffff; color:#021825; transition:background-color .2s, color .2s; }
.ab-yt-play svg { width:26px; height:26px; margin-left:3px; fill:currentColor; }
.ab-yt:hover .ab-yt-play, .ab-yt:focus-visible .ab-yt-play { background:#24B6D1; color:#ffffff; }
.ab-yt:focus-visible { outline:2px solid #216393; outline-offset:4px; }

/* People and offices (18 November 2026). People: every person of the three groups, with a small photo, a name and a
   role, four to a row; a person with a profile links to it. Offices: the picture of each city, then the address. */
.ab-group { margin-top:clamp(28px,4vh,44px); }
.ab-group .v2-h4 { padding-bottom:12px; border-bottom:1px solid var(--t-r); }
.ab-people-list { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:0 clamp(18px,2.4vw,32px); }
.ab-people-list li > a, .ab-people-list li > div { display:grid; grid-template-columns:80px minmax(0,1fr); gap:16px; align-items:center; padding:16px 0; border-bottom:1px solid var(--t-r); }
/* 19 November 2026 (Gianmarco Mazzocchi: "make the people's cards a bit bigger"): 80px photos (56px before), larger name and role */
.ab-people-list img { width:80px; height:80px; border-radius:50%; object-fit:cover; display:block; background:#e9eef1; }
.ab-pt b { display:block; font-size:17px; line-height:1.3; font-weight:650; letter-spacing:-.01em; color:var(--t-h); transition:color .2s; }
.ab-pt span { display:block; margin-top:3px; font-size:14.5px; line-height:1.35; color:var(--t-b); }
.ab-people-list a:hover b, .ab-people-list a:focus-visible b { color:var(--t-link); }
.ab-office-list { list-style:none; margin:clamp(28px,4vh,44px) 0 0; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:clamp(26px,3.4vh,40px) clamp(24px,3vw,44px); }
.ab-city { display:block; width:100%; aspect-ratio:16 / 10; height:auto; object-fit:cover; border-radius:12px; background:#dfe7ec; }
.ab-office-list .v2-h4 { margin-top:14px; }
.ab-office-list .v2-p { margin-top:8px; font-size:15.5px; }
.ab-offices .v2-actions { margin-top:clamp(26px,4vh,40px); }
.ab-region { margin-top:2px; font-size:14px; font-weight:600; color:var(--t-k); }
.ab-phone { margin-top:6px; font-size:15px; }
.ab-phone a { color:var(--t-link); }
@media (max-width:1100px) { .ab-people-list { grid-template-columns:repeat(3, minmax(0,1fr)); } }
@media (max-width:900px) { .ab-people-list, .ab-office-list { grid-template-columns:1fr 1fr; } }
@media (max-width:560px) { .ab-people-list, .ab-office-list { grid-template-columns:1fr; } }
.ab-people-list li > a, .ab-people-list li > div { height:100%; box-sizing:border-box; }

/* 20 November 2026: the three groups as three tabs, in the same place on the page. The tab line takes the place of the
   line under each group name; the chosen tab is underlined, hover changes the colour only. With no script, the tab
   line is hidden and the three groups show one under the other with their names. */
.ab-tabs { margin-top:clamp(28px,4vh,44px); }
.ab-tabbar { display:flex; gap:clamp(22px,3vw,48px); border-bottom:1px solid var(--t-r); }
.ab-tabbar button { appearance:none; -webkit-appearance:none; position:relative; margin:0; padding:14px 0 13px; border:0; background:none; cursor:pointer;
  font:inherit; font-size:clamp(16px,1.35vw,19px); line-height:1.25; font-weight:650; letter-spacing:-.01em; text-align:left; color:var(--t-m); transition:color .2s; }
.ab-tabbar button::after { content:""; position:absolute; left:0; right:0; bottom:-1px; height:2px; background:var(--t-k); transform:scaleX(0); transform-origin:0 50%; transition:transform .45s var(--v-ease); }
.ab-tabbar button:hover, .ab-tabbar button[aria-selected="true"] { color:var(--t-h); }
.ab-tabbar button[aria-selected="true"]::after { transform:none; }
.ab-tabbar button:focus-visible { outline:2px solid var(--t-acc); outline-offset:4px; }
.ab-js .ab-gname { display:none; }
.ab-js .ab-tabs .ab-group { margin-top:0; }
.ab-js .ab-group:not(.is-on) { display:none; }
.ab-people:not(.ab-js) .ab-tabbar { display:none; }
.ab-people:not(.ab-js) .ab-tabs { margin-top:0; }
@media (max-width:560px) {
  .ab-tabbar { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px; }
  .ab-tabbar button { font-size:15px; }
}
@media (prefers-reduced-motion:reduce) { .ab-tabbar button::after { transition:none; } }
