:root {
  color-scheme: dark;
  --bg: #09090b;
  --surface: rgba(24, 24, 27, .72);
  --line: rgba(255, 255, 255, .09);
  --text: #f4f3f4;
  --muted: #929198;
  --accent: #e11d48;
  --accent-deep: #be123c;
  --display: "Outfit", sans-serif;
  --body: "Inter", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { min-width: 320px; overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 85px; }
body {
  isolation: isolate;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 12% 9%, rgba(116, 22, 47, .12), transparent 34rem),
    radial-gradient(ellipse at 96% 62%, rgba(70, 18, 38, .08), transparent 38rem),
    var(--bg);
  color: var(--text);
  font: 400 14px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.12' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .14;
  pointer-events: none;
  content: "";
}
body::after {
  position: fixed;
  z-index: -1;
  inset: -18%;
  background:
    radial-gradient(ellipse at 18% 22%, rgba(190,18,60,.13), transparent 34%),
    radial-gradient(ellipse at 78% 68%, rgba(78,36,82,.10), transparent 37%),
    radial-gradient(ellipse at 48% 92%, rgba(225,29,72,.07), transparent 32%);
  opacity: .7;
  pointer-events: none;
  content: "";
  animation: ambient-drift 24s ease-in-out infinite alternate;
}
@keyframes ambient-drift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1%, 0) scale(1.06); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, a, input, select, textarea { transition: all .3s cubic-bezier(.16, 1, .3, 1); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.form-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: #d7d4da; font-size: 10px; font-weight: 600; }
.form-field small { color: #77757d; font-size: 9px; font-weight: 400; line-height: 1.5; }
.form-input { width: 100%; min-height: 40px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: rgba(7,7,9,.48); color: var(--text); font-size: 10px; font-weight: 400; outline: 0; transition: border-color .25s, background .25s, box-shadow .25s; }
.form-input:focus { border-color: rgba(225,29,72,.52); background: rgba(7,7,9,.68); box-shadow: 0 0 0 3px rgba(225,29,72,.08); }
.form-input::placeholder { color: #6f6d75; }
.form-input:is(select) { appearance: none; padding-right: 38px; border-color: rgba(255,255,255,.1); background-color: rgba(12,12,15,.72); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e11d48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; backdrop-filter: blur(16px); cursor: pointer; }
.form-input:is(select):focus { border-color: #e11d48; box-shadow: 0 0 15px rgba(225,29,72,.2); }
.form-input:is(select) option { background: #17171b; color: var(--text); }
.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 20; height: 72px; border-bottom: 1px solid var(--line); background: rgba(9, 9, 11, .8); backdrop-filter: blur(18px); }
.nav { display: flex; height: 100%; align-items: center; gap: 42px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.site-logo { display: block; width: auto; max-width: 123px; height: 34px; object-fit: contain; }
.brand-mark { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(225, 29, 72, .8); border-radius: 10px; font: 700 14px var(--display); letter-spacing: -2px; transform: rotate(-5deg); }
.brand-mark span, .brand-name span, .hero h1 span, .roster-heading h2 span { color: var(--accent); }
.brand-name { font: 700 16px var(--display); letter-spacing: -.55px; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.nav-actions > [hidden] { display: none; }
.nav-link { position: relative; padding: 25px 0 23px; color: var(--muted); font-size: 11px; transition: color .3s var(--ease); }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; border-radius: 99px; background: var(--accent); content: ""; }
.button { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 9999px; cursor: pointer; font-size: 10px; font-weight: 600; transition: all .3s cubic-bezier(.16, 1, .3, 1); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.96); }
.button-primary { padding: 0 17px; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; }
.button-primary:hover { box-shadow: 0 0 25px rgba(225, 29, 72, .25), 0 8px 26px rgba(225, 29, 72, .18); }
.button-primary span { font-size: 13px; }
.menu-toggle { display: none; width: 34px; height: 34px; place-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; }
.menu-toggle span { display: block; width: 13px; height: 1px; background: var(--text); }

.hero { position: relative; display: grid; min-height: 392px; place-items: center; border-bottom: 1px solid var(--line); text-align: center; }
.hero::before { position: absolute; top: 50%; left: 50%; width: min(600px, 85vw); height: 240px; border-radius: 50%; background: radial-gradient(ellipse, rgba(190,18,60,.09), transparent 70%); filter: blur(22px); content: ""; transform: translate(-50%, -40%); pointer-events: none; }
.hero-content { position: relative; padding: 60px 0 54px; }
.hero-logo { display: block; width: min(410px, 80vw); height: auto; margin: 20px auto 0; object-fit: contain; }
.hero-kicker, .section-kicker { display: inline-flex; align-items: center; gap: 9px; color: #aaa9af; font: 600 9px var(--body); letter-spacing: 1.65px; }
.hero-kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px rgba(225,29,72,.5); }
.hero h1 { margin: 17px 0 4px; font: 700 clamp(68px, 11vw, 112px)/.95 var(--display); letter-spacing: -.09em; }
.hero-content > p { margin: 16px 0 23px; color: #bab9bf; font-size: 13px; letter-spacing: .01em; }
.hero-link { display: inline-flex; align-items: center; gap: 10px; padding: 9px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(24,24,27,.42); color: #d3d1d6; cursor: pointer; font-size: 10px; transition: color .25s, gap .3s var(--ease), border-color .25s, background .25s; }
.hero-link:hover { gap: 15px; color: #fff; }
.hero-link:hover { border-color: rgba(225,29,72,.4); background: rgba(190,18,60,.08); }
.hero-link span { color: var(--accent); font-size: 14px; }
.hero-index { position: absolute; right: 0; bottom: 21px; color: #77767d; font: 600 8px var(--body); letter-spacing: 1.2px; }

.showcase-section { padding-top: 60px; padding-bottom: 5px; }
.showcase-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.showcase-heading h2 { margin: 7px 0 0; font: 600 27px/1.1 var(--display); letter-spacing: -1px; }
.showcase-heading h2 > span { color: var(--accent); }
.carousel-controls { display: flex; gap: 7px; }
.carousel-arrow { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(24,24,27,.56); color: #d7d5da; cursor: pointer; transition: background .25s, border-color .25s, transform .35s var(--ease); }
.carousel-arrow:hover { transform: translateY(-2px); border-color: rgba(225,29,72,.45); background: rgba(190,18,60,.12); }
.carousel-arrow:active { transform: scale(.94); }
.carousel-window { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x mandatory; cursor: grab; }
.carousel-window::-webkit-scrollbar { display: none; }
.carousel-window.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.carousel-track { display: flex; width: max-content; gap: 16px; }
.carousel-track .member-card { flex: 0 0 clamp(280px, 29vw, 340px); }
.carousel-track .member-card { min-width: 0; scroll-snap-align: start; opacity: 1; transform: none; }
.carousel-track .member-card:hover { transform: translateY(-4px); }
.showcase-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 16px; color: #77767d; font-size: 9px; }
.all-members-link { color: #d1cfd4; transition: color .2s; }
.all-members-link:hover { color: #fff; }
.all-members-link span { margin-left: 5px; color: var(--accent); }

.roster-section { padding-top: 76px; padding-bottom: 94px; }
.roster-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-kicker { color: #939198; font-size: 8px; letter-spacing: 1.45px; }
.roster-heading h2 { margin: 8px 0 0; font: 600 35px/1.1 var(--display); letter-spacing: -1.5px; }
.roster-count { padding-bottom: 5px; color: #85848b; font-size: 9px; }
.roster-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.search-box { display: flex; width: min(250px, 100%); height: 37px; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(24,24,27,.56); color: #929198; }
.search-box > span { font-size: 19px; line-height: 1; transform: rotate(-20deg); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 10px; }
.search-box input::placeholder { color: #818087; }
.role-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.filter-button { min-height: 31px; padding: 0 12px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: #929198; cursor: pointer; font-size: 9px; transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease); }
.filter-button:hover { color: #fff; }
.filter-button.selected { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.07); color: var(--text); }
.member-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.member-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 24px; background: var(--surface); backdrop-filter: blur(16px); opacity: 0; transform: translateY(12px); transition: all .3s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--card-order, 0) * 55ms); }
.member-card.is-visible { opacity: 1; transform: translateY(0); }
.member-grid .member-card.is-visible { animation: fadeInUp .6s cubic-bezier(.16, 1, .3, 1); animation-delay: calc(var(--card-order, 0) * 55ms); }
.member-card:hover { border-color: rgba(251,113,133,.3); box-shadow: 0 0 25px rgba(225,29,72,.25), 0 20px 50px rgba(0,0,0,.24); transform: translateY(-5px); }
.member-card[hidden] { display: none; }
.member-cover { position: relative; height: 145px; overflow: hidden; background: radial-gradient(ellipse at 70% 22%, #6e2b40, #272026 62%, #18181b); }
.member-cover::after { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.02),rgba(8,8,9,.48)); content: ""; }
.cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: all .3s cubic-bezier(.16, 1, .3, 1); }
.member-card:hover .cover-image { transform: scale(1.045); }
.member-info { position: relative; padding: 0 18px 18px; }
.member-topline { display: flex; align-items: end; justify-content: space-between; min-height: 48px; margin-bottom: 12px; }
.member-avatar, .avatar-placeholder { position: absolute; top: -34px; left: 17px; width: 68px; height: 68px; border: 3px solid #171619; border-radius: 21px; background: #222126; object-fit: cover; box-shadow: 0 5px 20px #0006; }
.avatar-placeholder { display: grid; place-items: center; background: linear-gradient(145deg,#52202f,#1c181c); color: #f6e8ed; font: 600 20px var(--display); }
.member-role { display: inline-flex; align-items: center; min-height: 24px; margin-left: 83px; padding: 0 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; background: rgba(255,255,255,.035); color: #c6c4ca; font-size: 8px; }
.member-name { overflow: hidden; margin: 0 0 5px; font: 600 19px/1.2 var(--display); letter-spacing: -.45px; text-overflow: ellipsis; white-space: nowrap; }
.member-bio { display: -webkit-box; min-height: 39px; margin: 0; overflow: hidden; color: #a4a2a9; font-size: 10px; line-height: 1.8; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.empty-state { grid-column: 1/-1; margin: 0; padding: 58px 20px; border: 1px dashed rgba(255,255,255,.12); border-radius: 22px; color: #9c9aa1; text-align: center; font-size: 11px; }
.api-status { margin: 18px 0 0; padding: 12px 15px; border: 1px solid rgba(251,113,133,.2); border-radius: 15px; background: rgba(190,18,60,.07); color: #fda4af; font-size: 10px; line-height: 1.7; }
.api-status[hidden], .empty-state[hidden] { display: none; }

.site-footer { border-top: 1px solid var(--line); background: rgba(12,12,14,.45); }
.footer-inner { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner > span { color: #77767d; font: 600 8px var(--body); letter-spacing: 1px; }
.hero-content { animation: fadeInUp .8s cubic-bezier(.16, 1, .3, 1) both; }
.showcase-section { animation: fadeInUp .8s .12s cubic-bezier(.16, 1, .3, 1) both; }
.roster-section { animation: fadeInUp .8s .22s cubic-bezier(.16, 1, .3, 1) both; }
.carousel-track .member-card { animation: fadeInUp .65s cubic-bezier(.16, 1, .3, 1); animation-delay: calc(var(--card-order, 0) * 65ms); }

@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .nav { gap: 18px; }
  .nav-links { gap: 18px; }
  .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .member-cover { height: 125px; }
  .roster-section { padding-top: 62px; padding-bottom: 70px; }
  .showcase-section { padding-top: 45px; }
  .carousel-track .member-card { flex-basis: min(310px, 43vw); }
}
@media (max-width: 520px) {
  .shell { width: calc(100% - 32px); }
  .site-header { height: 64px; }
  .nav { position: relative; gap: 10px; }
  .brand { gap: 8px; }
  .site-logo { max-width: 112px; height: 31px; }
  .brand-mark { width: 28px; height: 28px; font-size: 13px; }
  .brand-name { font-size: 15px; }
  .nav-links { position: absolute; z-index: 25; top: calc(100% + 1px); right: -16px; left: -16px; display: grid; gap: 2px; max-height: 0; overflow: hidden; padding: 0 16px; border-bottom: 1px solid transparent; background: rgba(9,9,11,.97); opacity: 0; pointer-events: none; transform: translateY(-8px); visibility: hidden; transition: max-height .35s var(--ease), opacity .25s, transform .35s var(--ease), padding .35s var(--ease), visibility .35s; }
  .nav-links.open { max-height: 260px; padding: 8px 16px 16px; border-bottom-color: var(--line); opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }
  .nav-link { padding: 11px 4px; font-size: 11px; }
  .nav-link.active::after { right: auto; bottom: 5px; width: 18px; }
  .nav-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
  .nav-actions .button { min-height: 37px; padding-inline: 10px; font-size: 9px; }
  .menu-toggle { display: grid; }
  .hero { min-height: 335px; }
  .hero h1 { font-size: clamp(63px, 16vw, 82px); }
  .hero-content > p { font-size: 11px; }
  .roster-section { padding-top: 53px; padding-bottom: 58px; }
  .showcase-section { padding-top: 37px; }
  .showcase-heading h2 { font-size: 23px; }
  .carousel-track { gap: 11px; }
  .carousel-track .member-card { flex-basis: 82vw; }
  .showcase-footer { padding-top: 12px; }
  .roster-heading { margin-bottom: 21px; }
  .roster-heading h2 { font-size: 30px; }
  .roster-toolbar { align-items: stretch; flex-direction: column; gap: 11px; margin-bottom: 17px; }
  .search-box { width: 100%; }
  .role-filters { justify-content: flex-start; gap: 3px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .filter-button { flex: 0 0 auto; padding-inline: 10px; }
  .member-grid { gap: 10px; }
  .member-card { border-radius: 19px; }
  .member-cover { height: 96px; }
  .member-info { padding-inline: 11px; padding-bottom: 12px; }
  .member-topline { min-height: 41px; margin-bottom: 9px; }
  .member-avatar, .avatar-placeholder { top: -27px; left: 10px; width: 53px; height: 53px; border-radius: 16px; }
  .member-role { min-height: 21px; margin-left: 64px; padding-inline: 7px; font-size: 7px; }
  .member-name { font-size: 14px; }
  .member-bio { min-height: 51px; font-size: 8px; line-height: 1.65; }
  .footer-inner { min-height: 62px; }
  .footer-inner > span { font-size: 6px; letter-spacing: .55px; text-align: right; }
}
@media (max-width: 350px) {
  .member-grid { grid-template-columns: 1fr; }
  .member-cover { height: 125px; }
  .member-info { padding-inline: 15px; }
  .member-topline { min-height: 45px; }
  .member-avatar, .avatar-placeholder { top: -30px; left: 14px; width: 60px; height: 60px; }
  .member-role { margin-left: 73px; }
  .member-name { font-size: 17px; }
  .member-bio { min-height: 32px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  body::after { animation: none; }
  .member-card { opacity: 1; transform: none; }
}
