/* site-office — who attends in the association's office, the portal-access line, the office's telephones. */
/* ui-baseline: exempt the association's public site: a page read once, drawn in the Able website's language (rule 23), not a working screen */
[data-cmp="site-office"] .ae-office-part, [data-cmp="site-office"].ae-office-part { display: contents; }
[data-cmp="site-office"] .ae-groups, [data-cmp="site-office"].ae-groups { display: grid; gap: 28px; }
[data-cmp="site-office"] .ae-group-k, [data-cmp="site-office"].ae-group-k { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--ae-gold); }
[data-cmp="site-office"] .ae-staff, [data-cmp="site-office"].ae-staff { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { [data-cmp="site-office"] .ae-staff, [data-cmp="site-office"].ae-staff { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }}
/* Three areas or more stand side by side, each with its people stacked under its own kicker. */
@media (min-width: 1000px) {
  [data-cmp="site-office"] .ae-groups:has(> .ae-group:nth-child(3)), [data-cmp="site-office"].ae-groups:has(> .ae-group:nth-child(3)) { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
  [data-cmp="site-office"] .ae-groups:has(> .ae-group:nth-child(3)) .ae-staff, [data-cmp="site-office"].ae-groups:has(> .ae-group:nth-child(3)) .ae-staff { grid-template-columns: minmax(0, 1fr); }}
[data-cmp="site-office"] .ae-person, [data-cmp="site-office"].ae-person { padding: 18px 20px; }
[data-cmp="site-office"] .ae-person-name, [data-cmp="site-office"].ae-person-name { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; color: var(--ae-ink); }
[data-cmp="site-office"] .ae-person-post, [data-cmp="site-office"].ae-person-post { margin-top: 4px; font-size: 15.5px; color: var(--ae-ink); }
[data-cmp="site-office"] .ae-person-mail, [data-cmp="site-office"].ae-person-mail { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 2px; color: var(--ae-blue); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
[data-cmp="site-office"] .ae-office-reach, [data-cmp="site-office"].ae-office-reach { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 18px; color: var(--ae-ink); font-size: 15.5px; }
[data-cmp="site-office"] .ae-office-reach a, [data-cmp="site-office"].ae-office-reach a, [data-cmp="site-office"] .ae-phones-part a, [data-cmp="site-office"].ae-phones-part a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ae-blue); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
[data-cmp="site-office"] .ae-phones-part, [data-cmp="site-office"].ae-phones-part { display: inline-flex; flex-wrap: wrap; gap: 4px 16px; }
[data-cmp="site-office"] .ae-office-note, [data-cmp="site-office"].ae-office-note { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ae-ink-3); }
[data-cmp="site-office"] .ae-access, [data-cmp="site-office"].ae-access { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; color: var(--ae-ink); font-size: 15px; line-height: 1.55; max-width: 720px; }
[data-cmp="site-office"] .ae-access .ic, [data-cmp="site-office"].ae-access .ic { flex: none; margin-top: 4px; color: var(--ae-navy); font-size: 16px; }
[data-cmp="site-office"] .ae-access a, [data-cmp="site-office"].ae-access a { color: var(--ae-blue); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
[data-cmp="site-office"] .ae-office-card, [data-cmp="site-office"].ae-office-card { padding: 24px; }
[data-cmp="site-office"] .ae-office-card .ae-kicker, [data-cmp="site-office"].ae-office-card .ae-kicker { margin: 0; }
[data-cmp="site-office"] .ae-office-card address, [data-cmp="site-office"].ae-office-card address { margin-top: 10px; font-style: normal; color: var(--ae-ink); font-size: 18px; font-weight: 700; line-height: 1.5; }
[data-cmp="site-office"] .ae-office-map, [data-cmp="site-office"].ae-office-map { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; color: var(--ae-blue); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
[data-cmp="site-office"] .ae-office-lines, [data-cmp="site-office"].ae-office-lines { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--ae-line); }
[data-cmp="site-office"] .ae-office-lines li, [data-cmp="site-office"].ae-office-lines li { border-bottom: 1px solid var(--ae-line); }
[data-cmp="site-office"] .ae-office-lines a, [data-cmp="site-office"].ae-office-lines a { display: flex; align-items: center; gap: 10px; min-height: 48px; color: var(--ae-blue); font-weight: 700; font-size: 16px; text-decoration: underline; text-underline-offset: .2em; }
/* ── the profiles: one shape everywhere (the portrait at the left of the name, the bio and the address under them),
   one row per group of officeRows; on a laptop each row's cards share its width and its height ── */
[data-cmp="site-office"] .ae-profiles, [data-cmp="site-office"].ae-profiles { display: grid; gap: 14px; }
[data-cmp="site-office"] .ae-prof-row-k, [data-cmp="site-office"].ae-prof-row-k { margin: 0 0 6px; }
[data-cmp="site-office"] .ae-prof-list, [data-cmp="site-office"].ae-prof-list { list-style: none; margin: 0; padding: 0; display: grid; }
[data-cmp="site-office"] .ae-prof, [data-cmp="site-office"].ae-prof { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 14px; align-items: center; padding: 12px 0 4px; border-top: 1px solid var(--ae-line); }
[data-cmp="site-office"] .ae-prof:first-child, [data-cmp="site-office"].ae-prof:first-child { padding-top: 4px; border-top: 0; }
[data-cmp="site-office"] .ae-prof-pic, [data-cmp="site-office"].ae-prof-pic { display: grid; place-items: center; width: 56px; height: 56px; box-sizing: border-box; overflow: hidden; border-radius: 50%; border: 3px solid var(--ae-gold); background: var(--ae-white); box-shadow: 0 0 0 1.5px var(--ae-navy); }
[data-cmp="site-office"] .ae-prof-pic img, [data-cmp="site-office"].ae-prof-pic img { width: 100%; height: 100%; object-fit: cover; }
[data-cmp="site-office"] .ae-prof-pic b, [data-cmp="site-office"].ae-prof-pic b { color: var(--ae-navy); font-size: 19px; font-weight: 800; letter-spacing: .02em; line-height: 1; }
[data-cmp="site-office"] .ae-prof-id, [data-cmp="site-office"].ae-prof-id { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
[data-cmp="site-office"] .ae-prof-name, [data-cmp="site-office"].ae-prof-name { flex: 1 1 100%; margin: 0; color: var(--ae-ink); font-size: 17px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; }
[data-cmp="site-office"] .ae-prof-post, [data-cmp="site-office"].ae-prof-post { margin: 0; color: var(--ae-navy); font-size: 15px; font-weight: 700; line-height: 1.4; }
[data-cmp="site-office"] .ae-prof-tag, [data-cmp="site-office"].ae-prof-tag { margin: 0; padding: 1px 9px; border-radius: var(--ae-r-pill); box-shadow: 0 0 0 1.5px var(--ae-gold) inset; color: var(--ae-navy); font-size: 14px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
[data-cmp="site-office"] .ae-prof-bio, [data-cmp="site-office"].ae-prof-bio { grid-column: 1 / -1; align-self: start; margin: 10px 0 0; color: var(--ae-ink); font-size: 16px; line-height: 1.5; hyphens: manual; }
[data-cmp="site-office"] .ae-prof-mail, [data-cmp="site-office"].ae-prof-mail { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ae-blue); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
[data-cmp="site-office"] .ae-founders, [data-cmp="site-office"].ae-founders { margin: 0; color: var(--ae-ink); font-size: 16px; line-height: 1.5; }
[data-cmp="site-office"] .ae-founders b, [data-cmp="site-office"].ae-founders b { color: var(--ae-navy); font-weight: 800; }
@media (min-width: 700px) {
  [data-cmp="site-office"] .ae-profiles, [data-cmp="site-office"].ae-profiles { gap: 18px; }
  [data-cmp="site-office"] .ae-prof-row-k, [data-cmp="site-office"].ae-prof-row-k { margin-bottom: 10px; }
  [data-cmp="site-office"] .ae-prof-list, [data-cmp="site-office"].ae-prof-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  [data-cmp="site-office"] .ae-prof, [data-cmp="site-office"].ae-prof, [data-cmp="site-office"] .ae-prof:first-child, [data-cmp="site-office"].ae-prof:first-child { padding: 16px 18px 6px; border: 1.5px solid var(--ae-line); border-radius: var(--ae-r); background: var(--ae-white); }
  [data-cmp="site-office"] .ae-prof-pic, [data-cmp="site-office"].ae-prof-pic { width: 64px; height: 64px; }
  [data-cmp="site-office"] .ae-prof-pic b, [data-cmp="site-office"].ae-prof-pic b { font-size: 22px; }
  [data-cmp="site-office"] .ae-prof-bio, [data-cmp="site-office"].ae-prof-bio { font-size: 15px; }}
@media (min-width: 1000px) {
  [data-cmp="site-office"] .ae-prof-list, [data-cmp="site-office"].ae-prof-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 20px; }}
/* On a phone a sentence a person reads is 16 px; a note under it 14 px or more. */
@media (max-width: 699px) {
  [data-cmp="site-office"] .ae-person-post, [data-cmp="site-office"].ae-person-post, [data-cmp="site-office"] .ae-access, [data-cmp="site-office"].ae-access { font-size: 16px; }}
/* On the home's contact block the phones ring two by two and each mail nudges in turn (site.js, motion only). */
@media (prefers-reduced-motion: no-preference) {
  [data-cmp="site-office"] .ae-ring-ic:not(.ae-still *), [data-cmp="site-office"].ae-ring-ic:not(.ae-still *) { transform-origin: 50% 50%; animation: ae-ring-phone 5s ease-in-out calc(var(--i) * 2.5s) infinite; }
  [data-cmp="site-office"] .ae-nudge:not(.ae-still *), [data-cmp="site-office"].ae-nudge:not(.ae-still *) { animation: ae-nudge calc(var(--n) * 2s) ease-in-out calc(var(--i) * 2s) infinite; }}
@keyframes ae-ring-phone { 0%, 14%, 100% { rotate: 0deg; } 2%, 6%, 10% { rotate: -14deg; } 4%, 8%, 12% { rotate: 14deg; } }
@keyframes ae-nudge { 0%, 100% { translate: 0 0; } 6% { translate: 3px 0; } 12% { translate: 0 0; } 18% { translate: 2px 0; } 24% { translate: 0 0; } }
/* ui-baseline: end */
