/* Alam Kidz UI — photo story and team directory. Scoped under .akui; theme resets (Hello Elementor: pink bordered
   buttons, underlined links, search input borders, heading sizes) are neutralised with :where() so the components'
   own rules always win. */
.akui {
  --teal: #008f93; --teal-ink: #006e72; --leaf: #599a42; --mango: #eb9f3f; --navy: #00394f; --sun: #f2c642;
  --paper: #fffdf8; --mist: #eef6f4; --ink: #0e2a33; --muted: #4b6670;
  --radius: 22px; --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --display: "Fredoka One", "Fredoka", system-ui, sans-serif; --sans: "Fredoka", system-ui, sans-serif;
  color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
.akui *, .akui *::before, .akui *::after { box-sizing: border-box; }
.akui :is(button, [type=button]) { -webkit-appearance: none; appearance: none; background: none; border: 0; border-radius: 0; color: inherit; font: inherit; padding: 0; margin: 0;
  text-align: inherit; white-space: normal; transition: none; user-select: auto; display: inline-block; width: auto; cursor: pointer; }
.akui :is(button, [type=button]):is(:hover, :focus) { background-color: transparent; color: inherit; text-decoration: none; }
.akui :where(a) { color: inherit; text-decoration: none; }
.akui :where(h1, h2, h3, p, figure, ul, ol) { margin: 0; }
.akui :where(img) { display: block; max-width: 100%; }
.akui :where(input[type="search"]) { border: 0; border-radius: 0; padding: 0; width: 100%; transition: none; }
.akui :focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 12px; }
.akui-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.akui-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.akui-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-ink); }
.akui-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--sun); }
.akui .akui-h { font: 400 clamp(30px, 4.2vw, 50px)/1.1 var(--display); color: var(--navy); margin: 14px 0 12px; letter-spacing: -0.01em; text-wrap: balance; }
.akui .akui-lede, .akui .akui-story__intro p { color: var(--muted); max-width: 64ch; }
.akui .akui-story__intro p + p { margin-top: 0.9em; }
/* Headline words rise out of a mask (desktop only: on phones the headline is often the largest paint). */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .akui-js .akui [data-akui-words].is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
  .akui-js .akui [data-akui-words].is-split .w > span { display: inline-block; transform: translateY(105%); transition: transform 760ms var(--ease-out); transition-delay: calc(var(--k) * 50ms); }
  .akui-js .akui [data-akui-words].is-in .w > span { transform: none; }
}

/* ---------- Photo story: chapters on a growing trail ---------- */
.akui-story { padding: clamp(48px, 7vw, 96px) 0; }
.akui-story__head { display: grid; gap: 4px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 780px; }
.akui-story__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.akui-story__meta b { color: var(--navy); font-weight: 600; }
.akui .akui-trail { list-style: none; padding: 0; display: grid; gap: clamp(40px, 5vw, 68px); }
.akui-ch { --dot: 34px; --gap: clamp(40px, 5vw, 68px); position: relative; display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 20px clamp(28px, 4vw, 56px); padding-left: calc(var(--dot) + 22px); }
.akui-ch::before { content: ""; position: absolute; left: calc(var(--dot) / 2 - 1.5px); top: calc(var(--dot) + 8px); bottom: calc(-1 * var(--gap) + 8px); width: 3px; border-radius: 3px;
  background: linear-gradient(var(--leaf), var(--teal)); transform-origin: 50% 0; }
.akui-ch:last-child::before { display: none; }
.akui-ch__num { position: absolute; left: 0; top: 0; width: var(--dot); height: var(--dot); border-radius: 50% 50% 50% 8px; display: grid; place-items: center;
  background: var(--navy); color: var(--sun); font: 600 13px/1 var(--sans); transform: rotate(-45deg); transition: background 300ms ease, color 300ms ease, box-shadow 300ms ease; }
.akui-ch__num > span { transform: rotate(45deg); }
.akui-ch.is-active .akui-ch__num { background: var(--sun); color: var(--navy); box-shadow: 0 0 0 6px rgba(242, 198, 66, 0.28); }
.akui-ch__note { align-self: start; } /* not sticky: chapters are one short row, and a stuck note drifts away from its marker */
.akui .akui-ch__note :is(h2, h3) { margin: 3px 0 8px; font: 600 22px/1.25 var(--sans); color: var(--navy); }
.akui .akui-ch__text p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.akui .akui-ch__text p + p { margin-top: 0.8em; }
/* One row per chapter: column widths in proportion to each photo's shape give every photo the same height. */
.akui .akui-ch__photos { list-style: none; padding: 0; display: grid; gap: 14px; width: 100%; max-width: var(--maxw); align-self: start; }
.akui-ch__photos > li { min-width: 0; perspective: 900px; }
.akui .akui-tile { --rx: 0deg; --ry: 0deg; --lift: 0px; position: relative; display: block; width: 100%; background: var(--mist); border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in; aspect-ratio: var(--r); transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -26px rgba(0, 57, 79, 0.45); transition: box-shadow 240ms var(--ease-out); }
.akui .akui-tile img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1)); }
.akui-tile__glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 240ms ease;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.32), transparent 55%); }
.akui-tile__zoom { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 253, 248, 0.92); color: var(--navy);
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.45); opacity: 0; transform: scale(0.9); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.akui-tile__zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
@media (hover: hover) and (pointer: fine) {
  .akui .akui-tile:hover { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 30px 60px -26px rgba(0, 57, 79, 0.6); }
  .akui-tile:hover .akui-tile__glare { opacity: 1; }
  .akui-tile:hover .akui-tile__zoom, .akui-tile:focus-visible .akui-tile__zoom { opacity: 1; transform: none; }
}
@media (hover: none) { .akui-tile__zoom { opacity: 1; transform: none; } }
.akui .akui-tile:active { filter: brightness(0.96); }
.akui-notes { display: grid; gap: 18px; margin-top: clamp(44px, 6vw, 72px); padding-left: calc(34px + 22px); max-width: 860px; }
.akui .akui-note { padding: 22px 24px; border-radius: 20px; background: var(--mist); }
.akui .akui-note :is(h2, h3) { margin: 0 0 8px; font: 600 19px/1.3 var(--sans); color: var(--navy); }
.akui .akui-note p, .akui .akui-note li { color: var(--muted); font-size: 16px; }
.akui .akui-note ul { padding-left: 1.2em; display: grid; gap: 4px; }
/* Entrance: the trail grows down to each chapter, its marker pops, the photos unfold from the top edge. */
.akui-js .akui-ch::before { transform: scaleY(0); transition: transform 900ms var(--ease-drawer) 200ms; }
.akui-js .akui-ch__num { opacity: 0; transform: rotate(-45deg) scale(0.6); transition: transform 500ms var(--ease-out), opacity 300ms var(--ease-out), background 300ms ease, color 300ms ease, box-shadow 300ms ease; }
.akui-js .akui-ch__note > * { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease-out) 120ms, transform 500ms var(--ease-out) 120ms; }
.akui-js .akui-ch__photos > li { opacity: 0; clip-path: inset(0 0 100% 0 round var(--radius)); translate: 0 18px;
  transition: opacity 500ms var(--ease-out), clip-path 700ms var(--ease-drawer), translate 700ms var(--ease-drawer); transition-delay: calc(160ms + var(--i, 0) * 90ms); }
.akui-js .akui-ch.is-in::before, .akui-ready .akui-ch::before { transform: scaleY(1); }
.akui-js .akui-ch.is-in .akui-ch__num, .akui-ready .akui-ch__num { opacity: 1; transform: rotate(-45deg); }
.akui-js .akui-ch.is-in .akui-ch__note > *, .akui-ready .akui-ch__note > * { opacity: 1; transform: none; }
.akui-js .akui-ch.is-in .akui-ch__photos > li, .akui-ready .akui-ch__photos > li { opacity: 1; clip-path: inset(0 0 0 0 round var(--radius)); translate: 0 0; }
@media (max-width: 760px) {
  .akui-ch { grid-template-columns: 1fr; --dot: 30px; padding-left: calc(var(--dot) + 14px); gap: 14px; }
  .akui .akui-ch__photos { gap: 10px; }
  .akui .akui-ch__photos.is-wide { grid-template-columns: 1fr !important; } /* two landscape shots side by side get too small on a phone */
  .akui .akui-tile { border-radius: 16px; }
  .akui-notes { padding-left: 0; }
}

/* ---------- Lightbox: grows out of the tapped photo; drag sideways to browse, down to close ---------- */
.akui-lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; }
.akui-lb::backdrop { background: rgb(0, 28, 38); opacity: 0; transition: opacity 280ms cubic-bezier(0.23, 1, 0.32, 1); }
.akui-lb.is-open::backdrop { opacity: var(--dim, 0.93); }
.akui-lb__stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 72px 16px 190px; touch-action: none; cursor: grab; }
.akui-lb__stage:active { cursor: grabbing; }
.akui .akui-lb__img { width: auto; height: auto; max-width: min(92vw, var(--maxw)); max-height: calc(100dvh - 280px); border-radius: 18px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
  transform-origin: 0 0; user-select: none; -webkit-user-drag: none; }
.akui-lb__top { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; opacity: 0; transition: opacity 200ms ease; }
.akui-lb__ui { position: absolute; inset: auto 0 0; padding: 14px 16px max(18px, env(safe-area-inset-bottom)); display: grid; gap: 12px; justify-items: center; text-align: center;
  opacity: 0; transform: translateY(10px); transition: opacity 260ms var(--ease-out) 120ms, transform 260ms var(--ease-out) 120ms; }
.akui-lb.is-open .akui-lb__ui, .akui-lb.is-open .akui-lb__top { opacity: 1; transform: none; }
.akui-lb__count { font: 600 13px/1 var(--sans); letter-spacing: 0.12em; color: var(--sun); }
.akui .akui-lb__cap { max-width: 62ch; font-size: 16px; line-height: 1.45; min-height: 2.9em; color: #fff; }
.akui-lb__cap b { color: var(--sun); font-weight: 600; }
.akui-lb__thumbs { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; padding: 4px; scrollbar-width: none; }
.akui .akui-lb__thumbs button { flex: none; width: 48px; height: 48px; border-radius: 12px; overflow: hidden; opacity: 0.5; transition: opacity 200ms ease, transform 200ms var(--ease-out), box-shadow 200ms ease; }
.akui .akui-lb__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.akui .akui-lb__thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 3px var(--sun); transform: translateY(-2px); }
.akui .akui-lb__thumbs button:hover { opacity: 0.85; }
.akui .akui-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff;
  backdrop-filter: blur(8px); transition: background 160ms ease, transform 160ms var(--ease-out); }
.akui .akui-btn:hover { background: rgba(255,255,255,.26); color: #fff; } .akui .akui-btn:active { transform: scale(0.94); }
.akui .akui-btn:focus:not(:hover) { background: rgba(255,255,255,.14); color: #fff; } /* outranks the button reset, which clears focus backgrounds */
.akui-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.akui .akui-lb__side { position: absolute; top: 50%; translate: 0 -50%; }
.akui-lb__side--prev { left: 16px; } .akui-lb__side--next { right: 16px; }
@media (max-width: 640px) { .akui .akui-lb__side { display: none; } }
.akui-lb__hint { font-size: 12.5px; color: rgba(255,255,255,.62); }

/* ---------- Team: ID badges with a holographic sheen ---------- */
.akui-team { padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px); background:
  radial-gradient(1200px 500px at 85% -10%, rgba(242, 198, 66, 0.18), transparent 60%), radial-gradient(900px 500px at -10% 20%, rgba(0, 143, 147, 0.10), transparent 60%), var(--mist); }
.akui-team__head { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: end; margin-bottom: 30px; }
@media (max-width: 860px) { .akui-team__head { grid-template-columns: 1fr; } }
.akui-faces { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.akui .akui-faces button { width: 54px; height: 54px; margin-left: -12px; border: 3px solid var(--paper); border-radius: 50%; overflow: hidden; background: var(--teal);
  box-shadow: 0 6px 16px -8px rgba(0, 57, 79, 0.5); transition: transform 200ms var(--ease-out); position: relative; }
.akui .akui-faces button img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
@media (hover: hover) and (pointer: fine) { .akui .akui-faces button:hover { transform: translateY(-6px) scale(1.08); z-index: 2; } }
.akui-faces__more { width: 54px; height: 54px; margin-left: -12px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 15px/1 var(--sans); background: var(--navy); border: 3px solid var(--paper); }
.akui-js .akui-faces > * { opacity: 0; translate: 0 14px; scale: 0.92; transition: opacity 420ms var(--ease-out), translate 520ms var(--ease-out), scale 520ms var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.akui-js .akui-faces.is-in > *, .akui-ready .akui-faces > * { opacity: 1; translate: 0 0; scale: 1; }
.akui .akui-faces__note { width: 100%; text-align: right; margin-top: 10px; font-size: 14px; color: var(--muted); }
.akui-faces__note b { color: var(--navy); }
@media (max-width: 860px) { .akui .akui-faces > button:nth-of-type(n+7) { display: none; } .akui-faces { justify-content: flex-start; padding-left: 12px; } .akui .akui-faces__note { text-align: left; margin-left: -12px; } }

.akui-quals { margin-top: 22px; }
.akui .akui-quals__label { font: 600 13px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.akui .akui-quals ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.akui .akui-quals li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14.5px; line-height: 1.3;
  box-shadow: 0 8px 22px -16px rgba(0, 57, 79, 0.5); }
.akui-quals svg { flex: none; width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--leaf); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.akui-js .akui-quals li { opacity: 0; translate: 0 8px; transition: opacity 360ms var(--ease-out), translate 420ms var(--ease-out); transition-delay: calc(200ms + var(--q, 0) * 60ms); }
.akui-js .akui-quals.is-in li, .akui-ready .akui-quals li { opacity: 1; translate: 0 0; }
.akui-tools { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.akui-filter { position: relative; display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: 0 10px 30px -18px rgba(0, 57, 79, 0.5);
  max-width: 100%; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.akui .akui-filter button { scroll-snap-align: center; position: relative; z-index: 1; min-height: 44px; padding: 0 18px; border-radius: 999px; white-space: nowrap; font-weight: 500; color: var(--navy); transition: color 200ms ease; }
.akui .akui-filter button[aria-pressed="true"], .akui .akui-filter button[aria-pressed="true"]:hover { color: #fff; }
.akui .akui-filter button small { margin-left: 6px; font-size: 12px; opacity: 0.7; }
.akui-filter__pill { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--navy); transition: translate 340ms var(--ease-drawer), width 340ms var(--ease-drawer); }
.akui-search { position: relative; flex: 1 1 260px; max-width: 340px; }
.akui .akui-search input { min-height: 48px; padding: 0 16px 0 46px; border: 2px solid transparent; border-radius: 999px; background: #fff; box-shadow: 0 10px 30px -18px rgba(0, 57, 79, 0.5); color: var(--ink);
  font: 400 16px/1.2 var(--sans); transition: border-color 200ms ease, box-shadow 200ms ease; }
.akui .akui-search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 143, 147, 0.16); }
.akui-search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; }
.akui .akui-result { width: 100%; margin: -10px 0 18px; font-size: 14px; color: var(--muted); min-height: 1.6em; }
.akui-result b { color: var(--navy); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .akui-filter { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); } .akui-search { max-width: none; } }

.akui .akui-badges { list-style: none; padding: 0; display: grid; gap: 22px 20px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
@media (max-width: 520px) { .akui .akui-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; } }
.akui-badges > li { display: grid; }
.akui-badges > li[hidden] { display: none; }
.akui-badge { --c: var(--teal); --sway: 0deg; --mx: 50%; --my: 30%; position: relative; display: grid; align-content: start; width: 100%; padding: 10px 10px 16px; cursor: pointer;
  background: #fff; border-radius: 20px; transform-origin: 50% 10px; transform: rotate(var(--sway));
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 20px 40px -28px rgba(0, 57, 79, 0.55); transition: box-shadow 240ms var(--ease-out); }
.akui-badge[data-prog="early"] { --c: var(--mango); } .akui-badge[data-prog="foundation"] { --c: var(--leaf); }
.akui-badge::before { content: ""; position: absolute; top: 14px; left: 50%; width: 46px; height: 10px; margin-left: -23px; border-radius: 6px; background: var(--paper); box-shadow: inset 0 2px 3px rgba(0, 57, 79, 0.25); z-index: 3; }
.akui-badge__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--c); }
.akui .akui-badge__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: scale 600ms var(--ease-out); }
/* Holographic security sheen, like a real ID card: follows the pointer. */
.akui-badge__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 260ms ease; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.75), transparent 38%),
    linear-gradient(115deg, transparent 20%, rgba(255, 214, 102, .55) calc(var(--mx) - 12%), rgba(110, 220, 255, .55) var(--mx), rgba(200, 140, 255, .45) calc(var(--mx) + 12%), transparent 80%); }
.akui-badge__mono { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 400 clamp(44px, 6vw, 64px)/1 var(--display);
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.28), transparent 45%), linear-gradient(160deg, var(--c), color-mix(in srgb, var(--c) 60%, var(--navy))); }
.akui-badge__mono svg { position: absolute; width: 70%; bottom: -8%; right: -12%; opacity: 0.18; fill: #fff; }
.akui-badge__stripe { height: 6px; margin: 12px 6px 0; border-radius: 6px; background: var(--c); }
.akui .akui-badge :is(h2, h3) { margin: 10px 6px 0; font: 600 18px/1.2 var(--sans); color: var(--navy); }
.akui .akui-badge__open { text-align: left; font-weight: 600; color: var(--navy); }
.akui-badge__open::after { content: ""; position: absolute; inset: 0; border-radius: 20px; z-index: 4; } /* the whole card opens the profile */
.akui .akui-badge__open:focus-visible { outline: none; }
.akui-badge:has(.akui-badge__open:focus-visible) { outline: 3px solid var(--sun); outline-offset: 4px; }
.akui .akui-badge p { margin: 4px 6px 0; font-size: 14px; line-height: 1.35; color: var(--muted); }
.akui-badge__progs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 6px 0; }
.akui-badge__prog { padding: 4px 10px; border-radius: 999px; font: 600 11.5px/1.3 var(--sans); letter-spacing: 0.04em; color: var(--navy); background: color-mix(in srgb, var(--c) 22%, #fff); }
@media (hover: hover) and (pointer: fine) {
  .akui-badge:hover { box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 30px 50px -26px rgba(0, 57, 79, 0.6); }
  .akui-badge:hover .akui-badge__photo::after { opacity: 1; }
  .akui .akui-badge:hover .akui-badge__photo img { scale: 1.05; }
}
.akui-badge:active { filter: brightness(0.97); }
.akui-badge.is-spotlight { animation: akui-spot 1400ms var(--ease-out); }
@keyframes akui-spot { 0% { box-shadow: 0 0 0 0 rgba(242, 198, 66, .9); } 40% { box-shadow: 0 0 0 10px rgba(242, 198, 66, .55); } 100% { box-shadow: 0 0 0 0 rgba(242, 198, 66, 0); } }
.akui .akui-empty { padding: 36px 0; text-align: center; color: var(--muted); }
.akui-js .akui-badges > li { opacity: 0; translate: 0 16px; transition: opacity 420ms var(--ease-out), translate 520ms var(--ease-out); transition-delay: calc(var(--i, 0) * 40ms); }
.akui-js .akui-badges > li.is-in, .akui-ready .akui-badges > li { opacity: 1; translate: 0 0; }

/* Profile sheet: opens out of the badge that was tapped. */
.akui-sheet { transform-origin: 0 0; width: min(760px, 100% - 24px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px; background: #fff; overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0, 28, 38, 0.6); }
.akui-sheet::backdrop { background: rgba(0, 28, 38, 0); transition: background 280ms cubic-bezier(0.23, 1, 0.32, 1); }
.akui-sheet.is-open::backdrop { background: rgba(0, 28, 38, 0.6); }
.akui-sheet__body { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.akui-sheet__photo { --c: var(--teal); position: relative; aspect-ratio: 4 / 5; background: var(--c); }
.akui .akui-sheet__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.akui-sheet__text { padding: clamp(24px, 4vw, 40px); display: grid; align-content: center; gap: 10px; opacity: 0; translate: 16px 0; transition: opacity 320ms var(--ease-out) 140ms, translate 420ms var(--ease-out) 140ms; }
.akui-sheet.is-open .akui-sheet__text { opacity: 1; translate: 0 0; }
.akui .akui-sheet__name { font: 400 clamp(28px, 4vw, 38px)/1.1 var(--display); color: var(--navy); }
.akui .akui-sheet__role { font-size: 17px; color: var(--teal-ink); font-weight: 500; }
.akui .akui-sheet__bio { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.akui .akui-sheet__close { position: absolute; top: 12px; right: 12px; background: rgba(0, 57, 79, 0.08); color: var(--navy); z-index: 2; }
.akui .akui-sheet__close:hover { background: rgba(0, 57, 79, 0.16); color: var(--navy); }
.akui .akui-sheet__close:focus:not(:hover) { background: rgba(0, 57, 79, 0.08); color: var(--navy); }
@media (max-width: 620px) { .akui-sheet__body { grid-template-columns: 1fr; } .akui-sheet__photo { aspect-ratio: 5 / 4; } }

@media (prefers-reduced-motion: reduce) {
  .akui-js .akui-ch__photos > li, .akui-js .akui-ch__note > *, .akui-js .akui-ch__num, .akui-js .akui-ch::before, .akui-js .akui-badges > li, .akui-js .akui-faces > *, .akui-js .akui-quals li {
    transform: none !important; translate: none !important; scale: none !important; clip-path: none !important; transition: opacity 300ms ease !important; }
  .akui-badge, .akui .akui-tile { transform: none !important; }
  .akui-badge__photo::after, .akui-tile__glare { display: none; }
}
