@font-face {
  font-family: 'Pricedown';
  src: url('assets/pricedown-bl.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Runewood';
  src: url('assets/runewood.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: Arial, sans-serif; }
.site-nav { display: none; }
.nav-brand { display: inline-flex; align-items: center; gap: 13px; color: #232323; text-decoration: none; font-size: 20px; font-weight: 600; }
.nav-brand img { display: block; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.nav-brand:focus-visible { outline: 3px solid #2f95a4; outline-offset: 5px; }
.nav-voting { grid-column: 1; color: #232323; font-size: 14px; font-weight: 600; line-height: 1.4; }
.nav-credit { grid-column: 3; justify-self: end; color: #555; font-size: 12px; text-align: right; }
.info-trigger { display: none; }
.info-dialog { width: 100%; max-width: none; padding: 40px 24px; border: 0; color: #b22c26; background: linear-gradient(transparent, rgb(0 0 0 / .85) 25%, rgb(0 0 0 / .85) 75%, transparent); text-align: center; }
.info-dialog[open] { animation: souls-reveal 1.8s ease-out both; }
.info-dialog::backdrop { background: rgb(0 0 0 / .82); }
.info-dialog[open]::backdrop { animation: souls-darken 1.2s ease-out both; }
.info-brand { display: flex; align-items: center; justify-content: center; gap: 13px; }
.info-brand img { border-radius: 50%; object-fit: cover; }
.info-brand h2 { margin: 0; font: 400 clamp(24px, 7vw, 38px)/1.2 Georgia, serif; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 0 18px rgb(166 22 14 / .6); }
.info-dialog p { margin: 24px 0; color: #d6b8ab; font: 17px/1.6 Georgia, serif; }
.info-dialog .info-voting { color: #dfcbbd; }
.info-close { width: 160px; min-height: 44px; border: 1px solid #79332c; color: #dfcbbd; background: rgb(0 0 0 / .6); font-family: Georgia, serif; letter-spacing: .08em; cursor: pointer; }
.info-close:hover { background: #391714; }
@keyframes souls-reveal {
  from { opacity: 0; transform: scale(1.08); filter: blur(5px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes souls-darken { from { opacity: 0; } to { opacity: 1; } }
.info-close:focus-visible, .info-trigger:focus-visible { outline: 3px solid #2f95a4; outline-offset: 4px; }
body:has(.info-dialog[open]) { overflow: hidden; }
body:has(.member-detail[open]) { overflow: hidden; }
.member-detail { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background-color: var(--detail-color, #f80106); background-image: var(--detail-pattern, none); background-size: var(--detail-pattern-size, 120px) var(--detail-pattern-size, 120px); overflow: hidden; }
.member-detail::backdrop { background: transparent; }
.member.is-active.is-expanding .profile, .member.is-active.is-expanding .member-backdrop { opacity: 0; transition: opacity .2s ease; transition-delay: 0s; }
.member-detail-frame { display: block; width: 100%; height: 100%; border: 0; background: #000; opacity: 0; visibility: hidden; transition: opacity .25s ease; }
.member-detail.is-content-visible .member-detail-frame { opacity: 1; visibility: visible; }
.member-detail-close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); min-height: 44px; padding: 10px 18px; border: 1px solid #666; border-radius: 24px; background: #fff; color: #171717; cursor: pointer; box-shadow: 0 2px 12px rgb(0 0 0 / .25); visibility: hidden; }
.member-detail.is-expanded .member-detail-close { visibility: visible; }
.member-detail-close:focus-visible { outline: 3px solid var(--detail-color, #f80106); outline-offset: 4px; }
button { font: inherit; -webkit-tap-highlight-color: transparent; }
.team { display: flex; width: 100%; height: 100svh; min-height: 480px; overflow: clip; }
.member {
  position: relative;
  flex: 1;
  min-width: 0;
  background: var(--color);
  background-image: var(--pattern, none);
  background-size: var(--pattern-size, 120px) var(--pattern-size, 120px);
  color: var(--ink);
  transform: skewX(-11deg);
  overflow: hidden;
  transition: flex-grow .65s cubic-bezier(.22,.8,.25,1);
}
.member-coral { --pattern: url("assets/dragon-pattern.svg"); }
.member-lime { --pattern: url("assets/table-tennis-pattern.svg"); --pattern-size: 90px; }
.member-coral .band-name, .member-coral h2 { font-family: 'Runewood', Georgia, serif; font-weight: 400; letter-spacing: 0; }
.member-coral .band-name { color: #fff2dc; -webkit-text-stroke: 3px #000; paint-order: stroke fill; text-shadow: 2px 3px 5px rgb(0 0 0 / .5); }
.member:first-child { margin-left: -12vh; padding-left: 12vh; }
.member:last-child { margin-right: -12vh; padding-right: 12vh; }
.member.is-active { flex-grow: 8; }
.member-backdrop {
  position: absolute;
  inset: 24px 0 24px 24px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
  pointer-events: none;
}
.member-backdrop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
  filter: grayscale(1);
  transform: skewX(11deg) scale(1.3);
}
.member-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / .7), rgb(0 0 0 / .22));
}
.member:first-child .member-backdrop { left: calc(12vh + 24px); }
.member.is-active .member-backdrop { opacity: 1; visibility: visible; }
.member-trigger { position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; }
.member-trigger:focus-visible { outline: 3px solid currentColor; outline-offset: -10px; }
.band-name {
  position: absolute;
  top: 50%;
  left: 50%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1px;
  transform: translate(-50%, -50%) rotate(180deg);
  transition: opacity .2s;
}
.member:first-child .band-name { left: calc(50% + 6vh); }
.member:last-child .band-name { left: calc(50% - 6vh); }
.member.is-active .band-name { opacity: 0; }
.profile {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 50px calc(46% + 30px) 50px 95px;
  min-width: 460px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100px);
  transition: opacity .2s, visibility .2s, transform .5s cubic-bezier(.22,.8,.25,1);
  pointer-events: none;
}
.member:first-child .profile { left: 12vh; padding-left: 65px; }
.member:last-child .profile { right: 0; }
.member.is-active .profile { opacity: 1; visibility: visible; transform: translateX(0); transition-delay: .12s; }
.profile-copy { transform: skewX(11deg); flex: none; width: clamp(220px, 20vw, 320px); min-width: 0; color: #fff; text-shadow: 0 1px 5px rgb(0 0 0 / .25); }
h2 { margin: 0 0 28px; font-size: clamp(36px,4.5vw,72px); font-weight: 600; line-height: 1.05; letter-spacing: -2px; }
.member-lime h2 { font-size: clamp(28px, 3.3vw, 48px); }
.member-lime .band-name, .member-lime h2 { font-family: 'Pricedown', Arial, sans-serif; font-weight: 400; letter-spacing: 0; }
.member-lime .band-name { color: #fff; -webkit-text-stroke: 8px #000; paint-order: stroke fill; text-shadow: 3px 4px 6px rgb(0 0 0 / .65); }
.profile-description { margin: 0; max-width: 290px; font-size: 15px; line-height: 1.7; }
.portrait {
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  width: 46%;
  height: min(55vh, 480px);
  overflow: hidden;
}
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: skewX(11deg);
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1000px) and (min-width: 701px) {
  .member.is-active { flex-grow: 14; }
  .profile { padding: 35px calc(46% + 20px) 35px 65px; gap: 20px; min-width: 390px; }
  .profile-description { font-size: 13px; }
  .profile-copy { width: clamp(190px, 24vw, 240px); }
}
@media (min-width: 701px) {
  .site-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; height: 72px; padding: 0 28px; background: #fff; border-bottom: 1px solid #e8e8e8; }
  .nav-brand { grid-column: 2; }
  .team { height: calc(100svh - 72px); min-height: 0; }
  .team { position: relative; }
  .team::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 24px;
    background: #f80106;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity .35s;
  }
  .team:has(.member:first-child.is-active)::before { opacity: 1; }
  .member:first-child .member-backdrop { left: 0; }
  .portrait {
    top: auto;
    bottom: 0;
    width: 64%;
    height: 90%;
    transform: none;
  }
  .profile-copy { position: relative; z-index: 1; }
}
@media (max-width: 700px) {
  .info-trigger { display: grid; place-items: center; position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 10; width: 44px; height: 44px; padding: 0; border: 1px solid rgb(255 255 255 / .7); border-radius: 50%; background: #232323; color: #fff; font: 600 24px Georgia, serif; box-shadow: 0 3px 14px rgb(0 0 0 / .25); cursor: pointer; }
  .team { flex-direction: column; min-height: 680px; }
  .member, .member:first-child, .member:last-child {
    --tl: 32px; --tr: 0px; --bl: 32px; --br: 0px;
    transform: none;
    margin: -32px 0 0;
    padding: 0;
    background: transparent;
    overflow: visible;
    clip-path: none;
    isolation: isolate;
    z-index: 0;
  }
  .member::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--color);
  background-image: var(--pattern, none);
  background-size: var(--pattern-size, 120px) var(--pattern-size, 120px);
    clip-path: polygon(0 var(--tl), 100% var(--tr), 100% calc(100% - var(--br)), 0 calc(100% - var(--bl)));
  }
  .member-trigger { clip-path: polygon(0 var(--tl), 100% var(--tr), 100% calc(100% - var(--br)), 0 calc(100% - var(--bl))); }
  .member:nth-child(even) { --tl: 0px; --tr: 32px; --bl: 0px; --br: 32px; }
  .member:first-child { --tl: 0px; --tr: 0px; margin-top: 0; }
  .member:last-child { --bl: 0px; --br: 0px; }
  .member.is-active { flex-grow: 2.52; z-index: 1; }
  .member-backdrop, .member:first-child .member-backdrop, .member:last-child .member-backdrop {
    inset: 14px 14px 0;
    clip-path: polygon(0 var(--tl), 100% var(--tr), 100% calc(100% - var(--br)), 0 calc(100% - var(--bl)));
  }
  .member-backdrop img { transform: none; }
  .member-backdrop::after { background: linear-gradient(180deg, rgb(0 0 0 / .75), rgb(0 0 0 / .25)); }
  .profile, .member:first-child .profile, .member:last-child .profile {
    inset: 0;
    min-width: 0;
    align-items: center;
    padding: 52px 32px;
    transform: none;
    transition: opacity .25s, visibility .25s;
  }
  .member.is-active .profile { transform: none; }
  .profile-copy { width: calc(100vw - 64px); position: relative; z-index: 1; transform: translateY(20px); transition: transform .5s cubic-bezier(.22,.8,.25,1); text-shadow: 0 2px 7px #000, 0 0 18px rgb(0 0 0 / .7); }
  .member.is-active .profile-copy { transform: none; }
  .member:nth-child(even) .profile-copy { text-align: right; }
  .member:nth-child(even) .profile-description { margin-left: auto; }
  h2 { font-size: clamp(28px,7vw,40px); letter-spacing: -1px; margin-bottom: 14px; }
  .profile-description { font-size: 12px; line-height: 1.6; max-width: 310px; }
  .portrait {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: min(58svh, 420px);
    transform: none;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--br)), 0 calc(100% - var(--bl)));
  }
  .member:first-child .portrait { height: calc(100% - 14px); max-height: 420px; }
  .member-lime .portrait { height: calc(100% - 32px); max-height: 420px; }
  .portrait img {
    width: 64%;
    margin-left: auto;
    margin-right: 14px;
    object-position: center bottom;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .3s ease, transform .5s cubic-bezier(.22,.8,.25,1);
  }
  .member.is-active .portrait img { opacity: 1; transform: translateY(0); transition-delay: .12s; }
  .member:nth-child(even) .portrait img { margin-left: 14px; margin-right: auto; }
  .band-name, .member:first-child .band-name, .member:last-child .band-name {
    writing-mode: horizontal-tb;
    top: 50%;
    left: auto;
    right: 32px;
    font-size: clamp(24px,7vw,34px);
    transform: translateY(-50%);
  }
  .member:nth-child(even) .band-name { left: 32px; right: auto; }
  .member-lime .band-name { font-size: clamp(18px, 5vw, 28px); }
  .member-lime h2 { font-size: clamp(24px, 6vw, 34px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

.profile-link {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 44px;
  margin-top: 18px;
  padding: 10px 17px;
  border: 1px solid rgb(255 255 255 / .75);
  border-radius: 0;
  background: rgb(0 0 0 / .3);
  color: #fff;
  font: 600 13px Arial, sans-serif;
  text-decoration: none;
  text-shadow: none;
  pointer-events: auto;
  transition: color .2s, background .2s;
}
.profile-link:hover { background: #fff; color: #202020; }
.profile-link:focus-visible { outline: 3px solid var(--color); outline-offset: 4px; }
@media (max-width: 700px) {
  .profile-link { margin-top: 12px; font-size: 12px; padding: 8px 13px; gap: 12px; }
}

.member-detail-notice { display: none; position: absolute; bottom: max(24px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(440px, calc(100% - 32px)); padding: 20px; border-radius: 14px; background: #fff; color: #232323; box-shadow: 0 4px 24px rgb(0 0 0 / .25); font-size: 14px; line-height: 1.6; }
.member-detail.is-expanded .member-detail-notice:not([hidden]) { display: block; }
.member-detail-notice p { margin: 0 0 10px; }
.member-detail-notice a { color: #232323; font-weight: 600; text-underline-offset: 3px; }

.standby-stage[hidden] { display: none; }
.standby-stage { position: fixed; inset: 0; z-index: 20; overflow: hidden; background: #000; pointer-events: none; }
@media (min-width: 701px) {
  body.is-standby { overflow: hidden; }
  body.is-standby .site-nav { visibility: hidden; }
  .standby-stage .standby-slide { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; transform: none; }
  .standby-stage .member-backdrop { inset: 0; opacity: 1; visibility: visible; }
  .standby-stage .standby-slide::after { content: ""; position: absolute; inset: 0; z-index: 0; background-color: var(--color); background-image: var(--pattern, none); background-size: var(--pattern-size, 120px) var(--pattern-size, 120px); clip-path: polygon(68% 0, 100% 0, 100% 100%, 48% 100%); pointer-events: none; }
  .standby-stage .member-backdrop img { transform: none; object-position: center; }
  .standby-stage .member-backdrop::after { background: linear-gradient(90deg, rgb(0 0 0 / .88), rgb(0 0 0 / .4) 55%, rgb(0 0 0 / .12)); }
  .standby-stage .profile { inset: 0; min-width: 0; padding: 7vh 8vw; transform: none; opacity: 1; visibility: visible; transition: none; }
  .standby-stage .profile-copy { width: min(42vw, 620px); transform: none; }
  .standby-stage h2 { font-size: clamp(44px, 5.5vw, 88px); }
  .standby-stage .profile-description { max-width: 560px; font-size: clamp(17px, 1.65vw, 26px); line-height: 1.7; }
  .standby-stage .portrait { top: auto; right: 0; bottom: 0; width: 58%; height: 94%; transform: none; }
  .standby-stage .portrait img { transform: none; }
}
