/* BES Trio: bestrio.music */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
:root {
  --bg: #0a0a0a;
  --fg: #f2f2f2;
  --muted: #a3a3a3;
  --line: #262626;
  --accent: #4d9bff;
  --sans: "Archivo", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1360px;
  --pad: clamp(20px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 17px; line-height: 1.5; }
img, video { max-width: 100%; display: block; }
a { color: var(--fg); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-sm { display: flex; flex-direction: column; gap: 16px; }

/* type */
.display-xxl, .display-xl, .display-md, .display-sm { font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: .88; }
.display-xxl { font-size: clamp(64px, 11vw, 144px); line-height: .82; }
.display-xl { font-size: clamp(64px, 8vw, 104px); }
.display-md { font-size: clamp(40px, 5vw, 56px); line-height: 1; }
.display-sm { font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.3; }
.lead-sm { font-size: 20px; }
.mono, .mono-sm, .mono-link { font-family: var(--mono); letter-spacing: .06em; }
.mono-sm { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.mono-link { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.muted { color: var(--muted); }
.hi { color: var(--fg); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; font-family: var(--mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.btn-accent { background: var(--accent); color: var(--bg); font-weight: 500; }
.btn-accent:hover { color: var(--bg); filter: brightness(1.1); }
.btn-ghost { border: 1px solid var(--fg); color: var(--fg); }
.btn-ghost:hover { background: var(--fg); color: var(--bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.tag { display: inline-block; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid #3a3a3a; padding: 14px 18px; white-space: nowrap; }
.tag-struck { border-color: transparent; color: var(--muted); text-decoration: line-through; }
.tag-dashed { border-style: dashed; color: var(--muted); }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.brand span { font-size: 22px; font-weight: 700; font-stretch: 75%; letter-spacing: .04em; text-transform: uppercase; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.navlink { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.navlink:hover { border-bottom-color: var(--accent); color: var(--fg); }
.navlink[aria-current="page"] { border-bottom-color: var(--accent); }
.lang { display: flex; border: 1px solid #3a3a3a; }
.lang a { min-width: 44px; min-height: 36px; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.lang a[aria-current="true"] { background: var(--fg); color: var(--bg); }
.menu-toggle { display: none; background: none; border: 1px solid #3a3a3a; color: var(--fg); width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 0 4px; }
  .site-nav.open { display: flex; }
  .navlink { padding: 12px 0; font-size: 15px; }
  .lang { margin-top: 12px; }
  .header-inner { flex-wrap: wrap; }
}

/* photos: black & white until hovered */
.reveal { position: relative; overflow: hidden; background: #111; }
.reveal img, .reveal video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .6s ease; }
@media (hover: hover) { .reveal:hover img, .reveal:hover video { filter: none; } }
.reveal.tall { height: clamp(360px, 44vw, 600px); }
.reveal.portrait { aspect-ratio: 4 / 5; }
.reveal.landscape { aspect-ratio: 4 / 3; }

/* home hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 56px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hero-logo { width: 100%; max-width: 360px; height: auto; }
.hero-text { display: flex; flex-direction: column; gap: 20px; }
.hero-members { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.member { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.member figcaption { line-height: 1.6; }
.member .role { display: block; }
@media (max-width: 640px) {
  .hero-members { gap: 6px; }
  .reveal.tall { height: 260px; }
  .member figcaption { font-size: 10px; letter-spacing: .08em; }
  .hero-logo { max-width: 220px; }
}

/* sections */
.section { border-top: 1px solid var(--line); padding: 64px 0; }
.section-tight { padding-top: 48px; padding-bottom: 48px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split-wide { flex: 3 1 520px; min-width: 0; }
.split-narrow { flex: 2 1 320px; min-width: 0; }
.split > .reveal.portrait { flex: 1 1 320px; max-width: 520px; }
.about-text { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; }
.page-head { padding-top: 64px; padding-bottom: 16px; display: flex; flex-direction: column; gap: 20px; }

/* shows */
.show-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.show-row { display: grid; grid-template-columns: 110px minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--line); }
.show-row:hover { background: #141414; }
.show-date { display: flex; flex-direction: column; gap: 2px; }
.show-date .mono-sm { color: var(--muted); }
.show-day { font-size: 56px; line-height: .9; font-weight: 800; font-stretch: 62%; }
.show-venue { font-size: 24px; font-weight: 700; line-height: 1.2; }
.show-what { display: flex; flex-direction: column; gap: 6px; }
.show-when { font-size: 14px; }
.show-action { display: flex; justify-content: flex-end; }
.status-cancelled .show-day, .status-rescheduled .show-day { text-decoration: line-through; color: #6b6b6b; }
.status-cancelled .show-venue, .status-rescheduled .show-venue { color: #8a8a8a; }
@media (max-width: 760px) {
  .show-row { grid-template-columns: 84px minmax(0, 1fr); gap: 8px 16px; }
  .show-date { grid-row: span 4; }
  .show-action { justify-content: flex-start; padding-top: 8px; }
  .show-day { font-size: 44px; }
}
.past-list { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
.past-list li { display: grid; grid-template-columns: 140px minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; padding: 14px 8px; border-top: 1px solid #1f1f1f; }
.past-list li:last-child { border-bottom: 1px solid #1f1f1f; }
@media (max-width: 640px) { .past-list li { grid-template-columns: 1fr; gap: 2px; } }
.banner { position: relative; height: clamp(220px, 26vw, 340px); overflow: hidden; border-bottom: 1px solid var(--line); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: grayscale(1) brightness(.45); }
.banner-inner { position: relative; height: 100%; display: flex; align-items: flex-end; padding-bottom: 40px; }

/* media */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 40px 24px; }
.media-item { display: flex; flex-direction: column; gap: 14px; }
.media-item[hidden] { display: none; }
.media-frame { aspect-ratio: 16 / 9; }
.media-frame img { filter: grayscale(1) brightness(.75); }
.media-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; border: 1px solid var(--fg); background: rgba(10,10,10,.55); color: var(--fg); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.play:hover { border-color: var(--accent); color: var(--accent); }
.media-title { font-size: 24px; font-weight: 700; line-height: 1.2; }
.media-meta { display: flex; flex-direction: column; gap: 6px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 0 18px; background: transparent; color: var(--fg); border: 1px solid #3a3a3a; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.empty { border: 1px dashed #3a3a3a; padding: clamp(32px, 6vw, 72px); display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 760px; }

/* press */
.members { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px; }
.member-card { display: flex; flex-direction: column; gap: 10px; }
.member-card .reveal { margin-bottom: 8px; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(140px, 1fr) 3fr; gap: 24px; padding: 16px 8px; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.facts dd { margin: 0; }
@media (max-width: 640px) { .facts > div { grid-template-columns: 1fr; gap: 4px; } }
.press-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px; }
.press-photos figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.press-cap { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }

/* merch */
.merch-body { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding: 32px 0 48px; }
.merch-body img { width: 100%; max-width: 280px; height: auto; }
.merch-body .lead { flex: 1 1 320px; max-width: 640px; }

/* signup + footer */
.band-light { background: var(--fg); color: var(--bg); }
.band-light a { color: var(--bg); }
.signup { margin-top: 64px; }
.signup-inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; padding-top: 64px; padding-bottom: 64px; }
.signup-copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: 12px; }
.signup-copy p { font-size: 18px; }
.signup-form { flex: 1 1 420px; display: flex; flex-wrap: wrap; align-items: flex-end; }
.signup-form .field { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; }
.signup-form label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.signup-form input { min-height: 54px; padding: 0 16px; border: 1px solid var(--bg); background: transparent; font: inherit; color: var(--bg); }
.signup-form button { min-height: 54px; padding: 0 28px; border: 1px solid var(--bg); background: var(--bg); color: var(--fg); font-family: var(--mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.signup-soon { flex: 1 1 420px; font-size: 18px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; justify-content: space-between; padding-top: 48px; padding-bottom: 48px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 64px; height: 64px; }
.footer-links { display: flex; gap: 24px; align-items: center; }
.footer-links a { text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal img, .reveal video { transition: none; }
}
.media-large .media-meta { display: none; }
