/* The Founder card: opens over any page, the page behind it is blurred. Photo on the left fading into black (on phones: on top, fading downward). */
.fd-link { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
.fd-link:hover { text-decoration: underline; }
.fd-back { position: fixed; inset: 0; z-index: 2100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .42); -webkit-backdrop-filter: blur(9px) saturate(.9); backdrop-filter: blur(9px) saturate(.9); animation: fd-fade .22s ease both; }
.fd-back[hidden] { display: none; }
.fd-card { position: relative; width: min(880px, 100%); max-height: min(560px, 92dvh); display: grid; grid-template-columns: minmax(270px, 48%) 1fr; background: #000; color: #fff; border: 1px solid #282828; border-radius: 22px; box-shadow: 0 30px 90px rgba(0, 0, 0, .75); overflow: hidden; font-family: inherit; animation: fd-rise .26s ease both; }
.fd-photo { position: relative; min-height: 380px; background: #000; }
.fd-photo { overflow: hidden; }
.fd-photo img { position: absolute; top: 0; inset-inline-start: -14%; width: 120%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; }
[dir="rtl"] .fd-photo img { inset-inline-start: auto; right: -14%; }
.fd-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .78) 80%, #000 96%); pointer-events: none; }
[dir="rtl"] .fd-photo::after { background: linear-gradient(to left, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .78) 80%, #000 96%); }
.fd-body { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 34px 40px 34px 6px; overflow-y: auto; min-width: 0; }
.fd-eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; background: linear-gradient(90deg, #ffffff, #8a8a8a 55%, #ffffff); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.fd-name { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; overflow-wrap: anywhere; }
.fd-handle { width: fit-content; display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; border: 1px solid #3b3b3b; background: #151515; color: #fff; text-decoration: none; font-weight: 700; font-size: 14.5px; }
.fd-handle:hover { border-color: #ffffff; background: #1d1d1d; }
.fd-bio { margin: 6px 0 0; color: #d7d7d7; font-size: 16px; line-height: 1.62; white-space: pre-wrap; overflow-wrap: anywhere; }
.fd-x { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(0, 0, 0, .5); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.fd-x:hover { background: rgba(255, 255, 255, .14); }
.fd-x:focus-visible, .fd-handle:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
@keyframes fd-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fd-rise { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fd-back, .fd-card { animation: none; } }
/* Phones: the picture is on top and fades down into black. */
@media (max-width: 700px) {
  .fd-back { padding: 14px; }
  .fd-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; max-height: 92dvh; overflow-y: auto; }
  .fd-photo { min-height: 0; height: min(330px, 46dvh); }
  .fd-photo img, [dir="rtl"] .fd-photo img { inset-inline-start: 0; right: auto; left: 0; width: 100%; object-position: 50% 36%; }
  .fd-photo::after, [dir="rtl"] .fd-photo::after { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 56%, rgba(0, 0, 0, .6) 82%, #000 100%); }
  .fd-body { padding: 0 24px 28px; margin-top: -44px; position: relative; overflow: visible; }
  .fd-bio { font-size: 15.5px; }
}
/* The /founder page: the same card, sitting in the page instead of over it. */
.fd-page { display: flex; justify-content: center; padding: 36px 16px 64px; }
.fd-page .fd-card { animation: none; max-height: none; }
.fd-page .fd-body { overflow: visible; }
