.staff-page { background: #fff; color: var(--kak-dark); }
.staff-page .page-hero__heading { max-width: none; }
.staff-directory { padding: 30px var(--page-gutter) 150px; scroll-margin-top: 30px; }
.staff-directory__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.staff-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-width: 0; }
.staff-filter { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 10px 18px; border: 1px solid var(--kak-line); border-radius: var(--radius-sm); background: transparent; color: var(--kak-dark); font: 400 14px/1.2 Outfit,sans-serif; cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.staff-filter:is([aria-pressed="true"],:hover,:focus-visible) { background: var(--kak-red); border-color: var(--kak-red); color: #fff; }
.staff-directory__status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.staff-list { margin: 0; padding: 0; list-style: none; }
.staff-list__item { border-bottom: 1px solid rgb(37 37 37 / 7%); }
.staff-list__item[hidden] { display: none; }
.staff-row { display: grid; grid-template-columns: 36px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .6fr) 44px; align-items: center; column-gap: 30px; width: 100%; min-height: 96px; padding: 0 12px; border: 0; background: transparent; color: var(--kak-dark); text-align: left; font: inherit; cursor: pointer; }
.staff-row__number { color: var(--kak-red); font-size: 12px; font-variant-numeric: tabular-nums; }
.staff-row__name { font-size: clamp(20px, 2.2vw, 32px); font-weight: 400; line-height: 1; letter-spacing: -.04em; transition: color .2s; }
.staff-row__role, .staff-row__stage { color: rgb(37 37 37 / 100%); font-size: 16px; font-weight: 400; line-height: 1; }
.staff-row__plus { display: grid; place-items: center; width: 40px; height: 40px; justify-self: end; color: var(--kak-dark); transition: color .2s; }
.staff-row__plus > span { position: relative; width: 12px; height: 12px; }
.staff-row__plus > span::before, .staff-row__plus > span::after { content: ''; position: absolute; background: currentColor; }
.staff-row__plus > span::before { top: 5px; left: 0; width: 12px; height: 2px; }
.staff-row__plus > span::after { top: 0; left: 5px; width: 2px; height: 12px; }
.staff-row:is(:hover, :focus-visible) .staff-row__name { color: var(--kak-red); }
.staff-row:is(:hover, :focus-visible) .staff-row__plus { color: var(--kak-red); }
.staff-row:is(:hover, :focus-visible) .staff-row__plus > span { transform: rotate(360deg); transition: transform .65s var(--ease-out); }
.staff-filter:focus-visible, .staff-row:focus-visible, .staff-panel button:focus-visible, .staff-panel__scroll:focus-visible { outline: 2px solid var(--kak-red); outline-offset: 4px; }
.staff-row:focus-visible { outline-offset: -2px; }

/* A single floating portrait serves every row; it never intercepts the pointer. */
.staff-preview { position: fixed; z-index: 120; top: 0; left: 0; width: 220px; height: 275px; visibility: hidden; pointer-events: none; will-change: transform; }
.staff-preview__frame { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: var(--radius-lg); background: #f5f5f5; box-shadow: 0 18px 40px rgb(0 0 0 / 14%); opacity: 0; transform: scale(.94); transition: opacity .22s, transform .35s var(--ease-out); }
.staff-preview.is-visible { visibility: visible; }
.staff-preview.is-visible .staff-preview__frame { opacity: 1; transform: scale(1); }
.staff-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.staff-preview__label { position: absolute; z-index: 2; bottom: 12px; left: 12px; max-width: calc(100% - 24px); padding: 6px 10px; border-radius: var(--radius-sm); background: #fff; color: var(--kak-dark); font-size: 12px; line-height: 1; }
.staff-preview.is-hiding { visibility: visible; }

/* Native dialog provides focus containment; the light surface uses Ataturk details' layout. */
html.has-staff-profile { overflow: hidden; }
html.has-staff-profile .site-quickbar { opacity: 0; visibility: hidden; pointer-events: none; }
.staff-dialog { --staff-backdrop: 0; --staff-edge: 20px; --staff-rail: 54px; --staff-header: 54px; --staff-border: color-mix(in srgb, var(--kak-line) 50%, transparent); position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; background: transparent; color: var(--kak-dark); color-scheme: light; }
.staff-dialog::backdrop { background: rgb(0 0 0 / 20%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: var(--staff-backdrop); }
.staff-panel { position: absolute; inset: var(--staff-edge) var(--staff-edge) var(--staff-edge) auto; width: min(700px,calc(100% - 2 * var(--staff-edge))); overflow: hidden; border-radius: var(--radius-lg); background: #fff; }
.staff-panel::after { content: ''; position: absolute; z-index: 4; top: calc(var(--staff-header) - 1px); right: 0; left: 0; height: 1px; background: var(--staff-border); pointer-events: none; }
.staff-panel__header { position: absolute; inset: 0 var(--staff-rail) auto 0; height: var(--staff-header); display: flex; align-items: center; padding-inline: 30px; }
.staff-panel__brand { display: block; width: 42px; height: 42px; max-width: 42px; max-height: 42px; object-fit: contain; }
.staff-panel__rail { position: absolute; z-index: 3; inset: 0 0 0 auto; width: var(--staff-rail); border-left: 1px solid var(--staff-border); }
.staff-subline { position: relative; display: flex; align-items: center; min-height: 24px; padding-left: 16px; font-size: 14px; font-weight: 500; line-height: 1; }
.staff-subline::before { content: ''; position: absolute; top: 50%; left: 0; width: 2px; height: 24px; transform: translateY(-50%); background: var(--kak-red); }
.staff-panel__close { position: absolute; z-index: 2; top: 0; right: 0; display: grid; width: 100%; height: var(--staff-header); padding: 0; place-items: center; border: 0; border-radius: 0; background: transparent; color: var(--kak-dark); cursor: pointer; transition: color .2s; }
.staff-panel__close svg { width: 20px; height: 20px; }
.staff-panel__close:hover { color: var(--kak-red); }
.staff-panel__scroll { position: absolute; inset: var(--staff-header) var(--staff-rail) 0 0; padding: 30px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.staff-panel__scroll::-webkit-scrollbar { width: 0; height: 0; }
.staff-panel__scroll-indicator { position: absolute; z-index: 2; top: calc(var(--staff-header) + 30px); right: 0; bottom: 30px; left: 0; display: grid; place-items: center; touch-action: none; user-select: none; cursor: grab; }
.staff-panel__scroll-indicator[hidden] { display: none; }
.staff-panel__scroll-indicator.is-dragging { cursor: grabbing; }
.staff-panel__scroll-track { position: relative; display: block; width: 16px; height: 100%; border: 1px solid var(--staff-border); border-radius: 99px; background: #f5f5f5; }
.staff-panel__scroll-track::before { content: ''; position: absolute; inset: 0 0 auto; height: var(--staff-scroll-progress,0%); border-radius: inherit; background: #e5e5e5; pointer-events: none; }
.staff-panel__scroll-inner { position: relative; display: flex; justify-content: center; width: 100%; height: calc(100% - 20px); margin-block: 10px; }
.staff-panel__scroll-thumb { position: absolute; top: var(--staff-scroll-progress,0%); left: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: var(--kak-red); transform: translateX(-50%); }
.staff-panel__scroll-indicator:focus-visible { outline: 2px solid var(--kak-red); outline-offset: 0; border-radius: var(--radius-lg); }
/* Until the real portraits arrive the frames stay plain #f5f5f5 (26 Ekim 2026). */
.staff-profile__portrait { aspect-ratio: 5/3; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: #f5f5f5; }
.staff-profile__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.staff-profile__name { margin: 15px 0 0; font-size: clamp(30px,3.25vw,36px); font-weight: 500; line-height: 1.095; letter-spacing: -.035em; overflow-wrap: break-word; }
.staff-profile__role { margin: 30px 0 0; color: var(--kak-dark); }
.staff-profile__bio { margin-top: 30px; }
.staff-profile__bio p { margin: 0; color: rgb(37 37 37 / 80%); font-size: 16px; font-weight: 300; line-height: 1.6; letter-spacing: -.015em; }
.staff-profile__bio > * + :is(p, blockquote, ul) { margin-top: 18px; }
/* Managers' texts (26 Ekim 2026): the text's own title, quotes, a sub heading and a titled list. */
.staff-profile__headline { margin: 30px 0 0; color: var(--kak-dark); font-size: var(--type-card-title); font-weight: 400; line-height: 1.3; letter-spacing: -.03em; text-wrap: balance; }
.staff-profile__headline + .staff-profile__bio { margin-top: 20px; }
.staff-profile__quote { margin: 0; padding-left: 18px; border-left: 2px solid var(--kak-red); }
.staff-profile__quote p { color: var(--kak-dark); font-weight: 400; }
.staff-profile__quote cite { display: block; margin-top: 8px; color: rgb(37 37 37 / 55%); font-size: var(--type-small); font-style: normal; }
.staff-profile__bio > .staff-profile__heading { margin-top: 30px; color: var(--kak-dark); font-size: var(--type-card-title); font-weight: 400; line-height: 1.3; letter-spacing: -.03em; }
.staff-profile__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--staff-border); }
.staff-profile__list li { display: grid; gap: 4px; padding-block: 12px; border-bottom: 1px solid var(--staff-border); font-size: var(--type-card-text); line-height: 1.6; letter-spacing: -.015em; }
.staff-profile__list strong { color: var(--kak-dark); font-weight: 500; }
.staff-profile__list span { color: rgb(37 37 37 / 80%); font-weight: 300; }

@media (max-width: 1100px) {
  .staff-row { grid-template-columns: 28px minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .6fr) 36px; column-gap: 20px; }
}
@media (max-width: 820px) {
  .staff-page .page-hero__content { min-height: 0; align-content: start; padding-block: calc(var(--header-height) + 30px) 30px; }
  .staff-page .page-hero__scroll-cue { zoom: .85; }
  .staff-directory { padding-bottom: 90px; }
  .staff-directory__toolbar { align-items: center; gap: 16px; }
  .staff-filters { flex-wrap: nowrap; padding-block: 5px; overflow-x: auto; scrollbar-width: none; }
  .staff-filters::-webkit-scrollbar { display: none; }
  .staff-filter { flex-shrink: 0; }
  .staff-row { grid-template-columns: 24px minmax(0, 1fr) 36px; grid-template-areas: 'number name plus' 'number role plus'; gap: 6px 16px; min-height: 110px; padding: 24px 0; }
  .staff-row__number { grid-area: number; align-self: start; padding-top: 7px; }
  .staff-row__name { grid-area: name; }
  .staff-row__role { grid-area: role; }
  .staff-row__stage { display: none; }
  .staff-row__plus { grid-area: plus; width: 36px; }
  .staff-preview { display: none; }
}
@media (max-width: 480px) {
  .staff-dialog { --staff-edge: 10px; --staff-rail: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .staff-preview__frame, .staff-row__name, .staff-row__plus, .staff-filter, .staff-panel__close { transition: none; }
  .staff-row:is(:hover, :focus-visible) .staff-row__plus > span { transform: none; transition: none; }
  .staff-dialog::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
/* Profile contents (10 Kasım 2026): hidden blocks staff.js copies into the dialog; Bricks' own display rules must not
   show them. */
[data-staff-source] { display: none !important; }
