/* The customers list, shared with pages other than the homepage (which has its own copy inline).
   The list keeps the homepage's dark colors wherever it opens. */
.cust { --ink: #FBFBFA; --ink-2: #C9D1DE; --ink-3: #9AA6BC; --accent-text: #F5A46F; --ok: #4ADE80; }
button.head-link { border: 0; background: transparent; cursor: pointer; font: 600 14.5px var(--body, "IBM Plex Sans", system-ui, sans-serif); }
button.head-link[aria-expanded="true"] { color: #FBFBFA; background: rgba(11, 18, 32, 0.45); }
@media (max-width: 899px) { button.head-link { font-size: 13px; } }
.cust a:focus-visible, .cust button:focus-visible { outline: 2px solid #FBFBFA; outline-offset: 3px; border-radius: 4px; }
.t-close {
  display: grid; place-items: center; width: 32px; height: 32px; padding: 0; margin: -4px -6px 0 0;
  border: 0; border-radius: 6px; background: transparent; color: var(--ink-3); cursor: pointer; flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}
@media (hover: hover) and (pointer: fine) { .t-close:hover { background: rgba(201, 209, 222, 0.08); color: var(--ink); } }
.t-close:active { background: rgba(201, 209, 222, 0.12); color: var(--ink); }
.t-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
/* ── Customers: a short list of sites; picking one flies into it ── */
.cust {
  position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible;
}
.cust::backdrop { background: rgba(5, 10, 20, 0.38); transition: background-color 0.3s ease, overlay 0.3s allow-discrete, display 0.3s allow-discrete; }
@starting-style { .cust[open]::backdrop { background: rgba(5, 10, 20, 0); } }
body.browsing .card { opacity: 0; transition: opacity 0.2s ease; }
.k-panel {
  position: fixed; top: 70px; right: 20px; width: 460px; max-height: calc(100dvh - 90px); overflow-y: auto;
  padding: 18px 18px 14px; border-radius: 10px;
  background: rgba(11, 18, 32, 0.97); border: 1px solid rgba(201, 209, 222, 0.14);
  box-shadow: 0 28px 60px -18px rgba(0, 0, 0, 0.75), 0 2px 8px rgba(0, 0, 0, 0.3);
}
.k-panel:focus { outline: none; }
.k-grip { display: none; }
.k-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 0 2px; }
.k-title { margin: 0; font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.k-lede { margin: 6px 2px 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
/* Desktop: two by two, each card topped by a strip of its site's drawing. */
.k-list { margin-top: 14px; display: grid; gap: 8px; }
.k-site {
  position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 3px 14px;
  padding: 12px 14px 12px 12px; border-radius: 8px; text-decoration: none; color: inherit;
  background: rgba(201, 209, 222, 0.035); border: 1px solid rgba(201, 209, 222, 0.1);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
@media (hover: hover) and (pointer: fine) { .k-site:hover { background: rgba(201, 209, 222, 0.07); border-color: rgba(201, 209, 222, 0.22); } }
.k-site:active { background: rgba(201, 209, 222, 0.1); }
.k-site:focus-visible { background: rgba(201, 209, 222, 0.07); border-color: rgba(201, 209, 222, 0.22); }
/* A small line drawing of the kind of site, the lit part in the accent. */
.k-pic { grid-row: 1 / span 3; width: 52px; height: 52px; padding: 8px; border-radius: 8px; background: rgba(201, 209, 222, 0.05); border: 1px solid rgba(201, 209, 222, 0.08); color: var(--ink-3); transition: color 0.2s ease; }
.k-pic svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.k-pic .lit { stroke: var(--accent-text); }
@media (hover: hover) and (pointer: fine) { .k-site:hover .k-pic { color: var(--ink-2); } }
.k-site:focus-visible .k-pic { color: var(--ink-2); }
.k-name { grid-column: 2; font-family: var(--display); font-weight: 600; font-size: 15.5px; line-height: 1.25; color: var(--ink); text-wrap: balance; }
.k-owner { grid-column: 2; display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-3); }
.k-owner::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); }
.k-nums { grid-column: 2; margin-top: 4px; display: flex; gap: 14px; font-size: 12px; color: var(--ink-3); }
.k-nums > span { white-space: nowrap; }
.k-nums b { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); margin-right: 3px; font-variant-numeric: tabular-nums; }
.k-go { grid-column: 3; grid-row: 1 / span 3; color: var(--ink-3); transition: transform 0.2s ease, color 0.2s ease; }
.k-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .k-site:hover .k-go { color: var(--accent-text); transform: translateX(3px); } }
.k-site:focus-visible .k-go { color: var(--accent-text); transform: translateX(3px); }
@media (prefers-reduced-motion: no-preference) {
  .cust[open] .k-panel { animation: k-in 0.42s cubic-bezier(0.16, 1, 0.3, 1); }
  @keyframes k-in { from { opacity: 0; transform: translateY(-8px); } }
}
@media (max-width: 899px) {
  .k-panel {
    top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 85dvh;
    border-radius: 16px 16px 0 0; border-bottom: 0; padding: 10px 16px max(16px, env(safe-area-inset-bottom));
  }
  .k-grip { display: block; width: 40px; height: 4px; margin: 0 auto 12px; border-radius: 2px; background: rgba(201, 209, 222, 0.3); }
  .k-site { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 2px 12px; }
  .k-pic { width: 44px; height: 44px; padding: 6px; }
  .k-nums { gap: 8px; }
  @media (prefers-reduced-motion: no-preference) {
    .cust[open] .k-panel { animation: k-up 0.42s cubic-bezier(0.16, 1, 0.3, 1); }
    @keyframes k-up { from { transform: translateY(100%); } }
  }
}
/* The site you are on. */
.k-site[aria-current="page"] { border-color: rgba(245, 164, 111, 0.45); background: rgba(245, 164, 111, 0.06); }
