:root {
  color-scheme: dark;
  --background: #151210;
  --panel: #1e1815;
  --text: #f5e8d4;
  --muted: #c9b9a9;
  --accent: #ffae63;
  --rule: #40332c;
  font: 100%/1.6 system-ui, sans-serif;
  background: var(--background);
  color: var(--text);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -6rem; padding: .5rem 1rem; background: var(--panel); }
.skip:focus { top: .5rem; z-index: 1; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.25rem; }
footer { background: #110e0d; }
.top {
  background: #673122;
  color: #fff1e4;
}
.top .bar { flex-wrap: wrap; column-gap: 1.5rem; }
.site-menu { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; }
.top nav a { color: inherit; }
.primary-nav { gap: 0 .9rem; }
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  font-weight: 650;
}
.top .primary-nav a:hover, .top .primary-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: #ffd39e;
  text-decoration-thickness: 2px;
  text-underline-offset: .4em;
}
.top .languages a[aria-current] { color: #ffe0be; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: inherit;
  text-decoration: none;
}
.brand-cover {
  display: block;
  width: clamp(2.6rem, 4.6vw, 3.15rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: .22rem;
  box-shadow: 0 2px 8px #250e0a55;
}
.brand-title { display: grid; gap: .1rem; white-space: nowrap; }
.brand-lead {
  color: #ffd39e;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1;
  text-transform: uppercase;
}
.brand-name {
  font-family: Georgia, serif;
  font-size: clamp(1.48rem, 2.4vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
}
.brand:hover .brand-name { color: #ffd39e; }
.eyebrow { color: var(--accent); }
nav { display: flex; flex-wrap: wrap; gap: .55rem 1.6rem; }
nav a { font-size: .9375rem; text-decoration: none; color: var(--muted); }
nav a[aria-current] { color: var(--accent); }
.languages { gap: .8rem; }
.languages a[aria-current] { text-decoration: underline; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(34rem, 76svh, 52rem);
  background: #120e0d;
  border-bottom: 1px solid var(--rule);
}
.hero-image, .hero::after { position: absolute; z-index: -1; }
.hero-image {
  inset: 0 0 0 auto;
  width: min(82%, 82rem);
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}
.hero::after {
  content: "";
  inset: 0;
  background: linear-gradient(90deg, #120e0d 14%, #120e0dbb 36%, #120e0d10 70%),
    linear-gradient(0deg, #120e0d70, transparent 48%);
}
.hero-content { padding-block: 4.5rem; }
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: Georgia, serif; line-height: 1; letter-spacing: -.055em; }
h1 { font-size: clamp(3.25rem, 10vw, 8rem); }
h1 em { color: var(--accent); font-weight: inherit; }
h2 { font-size: clamp(2rem, 5.2vw, 4rem); }
h3 { line-height: 1.2; margin-block: .65rem; }
p { max-width: 42rem; }
.hero p:not(.eyebrow), .lede { font-size: clamp(1.1rem, 2.5vw, 1.35rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: .65rem 1.2rem;
  border: 1px solid var(--accent);
  border-radius: .2rem;
  background: var(--accent);
  color: #201209;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #ffcf9f; color: #201209; }
.outline { background: #1b1511b8; color: var(--text); border-color: #c2a995; }
.section { padding-block: clamp(3.25rem, 8vw, 7rem); }
.section > .eyebrow, .intro .eyebrow { margin-top: 0; }
.section > h1 { font-size: clamp(3rem, 9vw, 6rem); margin-bottom: 1.5rem; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2rem 5rem; }
.story img { display: block; width: min(100%, 21rem); margin: 1.5rem 0 1rem; }
.story p { margin-top: 0; color: var(--muted); }
.story blockquote { margin: 1.5rem 0; padding-left: 1rem; border-left: 2px solid var(--accent); font: italic 1.35rem/1.5 Georgia, serif; }
.contact ul { list-style: none; padding: 0; }
.contact-photo { display: block; max-width: min(100%, 25rem); margin: 2rem auto 0; }
.members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portrait-frame { aspect-ratio: 4 / 3; overflow: hidden; background: var(--background); }
.portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.text-link, article a { color: var(--accent); }
.panel, .contact { background: var(--panel); border-block: 1px solid var(--rule); }
.contact { text-align: center; background: #281a13; }
.contact p { margin-inline: auto; }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin: 1.5rem auto 0; list-style: none; padding: 0; }
.site-menu .social-links { justify-content: flex-start; gap: 0; margin: 0; }
.site-menu .social-links a {
  min-width: 2.35rem;
  min-height: 2.5rem;
  background: transparent;
  color: inherit;
}
.site-menu .social-links a:hover { background: transparent; opacity: .75; }
.site-menu .social-links img { width: 1.1rem; height: 1.1rem; filter: brightness(0) invert(1); }
.social-links a {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding-inline: .45rem;
  border-radius: 2rem;
  background: var(--text);
  color: var(--background);
  text-decoration: none;
}
.social-links a:hover { background: var(--accent); }
.social-links img { display: block; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.5rem; margin-top: 2rem; }
.grid > p { color: var(--muted); margin: 0; }
.videos, .playlists { grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); }
iframe { display: block; border: 0; width: 100%; background: #100d0b; border-radius: .25rem; }
.video-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #594033;
  border-radius: .8rem;
  background: #211813;
  box-shadow: 0 .55rem 1.25rem #09060550;
}
.video-card:hover, .video-card:focus-within { border-color: #ab6e43; }
.video-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: .75rem .75rem 0 0;
  background: radial-gradient(ellipse at 50% 45%, #584031, #16110e 80%);
}
.video-preview { position: absolute; inset: 0; display: grid; place-items: center; }
.video-preview:focus-visible { outline-offset: -4px; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, #160e0b15 15%, #160e0b73 100%);
}
.video-play {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3.4rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff2df;
  color: #24170e;
  box-shadow: 0 .2rem 1.25rem #0e070999;
}
.video-play::after {
  content: "";
  margin-left: .2rem;
  border-block: .46rem solid transparent;
  border-left: .73rem solid currentColor;
}
.video-preview:hover .video-play, .video-preview:focus-visible .video-play { background: var(--accent); }
.video-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 1.15rem 1.15rem;
  border-top: 1px solid #594033;
}
.video-card-body h3 { margin: 0 0 .8rem; font-size: 1.14rem; line-height: 1.32; overflow-wrap: anywhere; }
.video-card .video-title { color: var(--text); text-decoration: none; }
.video-card .video-title:hover { text-decoration: underline; }
.video-card .media-description { color: var(--muted); }
.video-source { margin-top: auto; font-size: .9rem; font-weight: 650; }
@media (prefers-reduced-motion: no-preference) {
  .video-poster { transition: transform .32s ease; }
  .video-preview:hover .video-poster { transform: scale(1.045); }
}
.spotify-album { margin-top: 1.5rem; border-radius: .75rem; }
.playlists iframe { height: 22rem; margin-block: .75rem; }
.member { padding: 1.5rem; border: 1px solid var(--rule); background: var(--panel); }
.member h2 { font-size: 2rem; }
.gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
figure { margin: 0; }
figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--panel); }
figcaption { margin-top: .5rem; color: var(--muted); }
dialog { max-width: min(65rem, 95vw); max-height: 95vh; background: var(--background); border: 1px solid var(--rule); }
dialog::backdrop { background: #080604e0; }
dialog button { display: block; margin: 0 0 .75rem auto; font: inherit; cursor: pointer; }
dialog img { display: block; max-width: 100%; max-height: 75vh; object-fit: contain; }
form, label { display: grid; gap: .45rem; }
form { gap: 1rem; margin-top: 1.25rem; }
input { width: 100%; font: inherit; background: var(--background); color: var(--text); border: 1px solid #756255; border-radius: .2rem; padding: .55rem; }
.notice { border-left: 3px solid var(--accent); padding: .75rem 1rem; background: var(--panel); }
footer .bar { flex-wrap: wrap; padding-block: 1.8rem; }
footer .bar > a:last-child { color: var(--muted); }
@media (max-width: 52rem) {
  .wrap { width: min(100% - 2rem, 72rem); }
  .top .bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand languages" "navigation navigation";
    gap: .3rem .75rem;
    padding-block: .65rem .35rem;
  }
  .top .brand { grid-area: brand; justify-self: start; }
  .top .languages { grid-area: languages; gap: .3rem; }
  .top .languages a { display: grid; place-items: center; min-width: 2rem; min-height: 2.5rem; }
  .languages .language-name { display: none; }
  .languages a::after { content: attr(data-language-code); }
  .site-menu { grid-area: navigation; column-gap: .45rem; }
  .site-menu .primary-nav { column-gap: clamp(.4rem, 2vw, .75rem); }
  .primary-nav a { font-size: .875rem; }
  .site-menu .social-links a { min-width: 2.15rem; }
  nav { column-gap: 1rem; }
  .story, .members { grid-template-columns: 1fr; }
  .hero { min-height: clamp(21rem, 59svh, 33rem); }
  .hero-content { padding-block: 2.25rem; }
  .hero-image { width: 100%; object-position: 42% center; }
  .hero::after { background: linear-gradient(90deg, #120e0dbb, #120e0d50 90%); }
}

.login { max-width: 25rem; }
.logout { justify-content: start; }

.admin-items { list-style: none; padding: 0; }
.admin-items li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding-block: .75rem;
  border-top: 1px solid var(--rule);
}
.admin-items li > a { display: flex; align-items: center; gap: .7rem; overflow-wrap: anywhere; }
.media-preview { flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; width: 5.5rem; aspect-ratio: 4 / 3; background: var(--panel); border-radius: .2rem; }
.media-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-preview img[hidden] { display: none; }
.admin-items-videos .media-preview { aspect-ratio: 16 / 9; }
.admin-items-videos .media-preview:has(img[hidden])::after { content: "▶" / ""; color: var(--muted); }
.admin-items form { margin: 0; }
.admin-items .button { font-size: .9rem; padding-inline: .75rem; }

.admin-shell { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 2rem 3rem; }
.admin-sidebar { align-self: start; position: sticky; top: 1.25rem; }
.admin-sidebar .eyebrow { margin-top: 0; }
.admin-sidebar nav { display: grid; gap: .35rem; }
.admin-sidebar nav a { padding: .55rem .75rem; border-radius: .2rem; }
.admin-sidebar nav a[aria-current] { background: var(--panel); border-inline-start: 2px solid var(--accent); }
.admin-main h1 { font-size: clamp(2.5rem, 6.8vw, 5.5rem); }
.admin-main h2 { margin-top: 2.5rem; font-size: 1.65rem; }
.admin-main form > .button { justify-self: start; }
.admin-main fieldset { min-width: 0; display: grid; gap: 1rem; padding: 1.25rem; border: 1px solid var(--rule); }
.admin-main legend { font-weight: 700; padding-inline: .35rem; }
.admin-main fieldset p { margin: 0; color: var(--muted); }
.admin-main textarea {
  display: block;
  width: 100%;
  min-height: 8rem;
  resize: vertical;
  font: inherit;
  color: var(--text);
  background: var(--background);
  padding: .6rem;
  border: 1px solid #756255;
  border-radius: .2rem;
}
@media (max-width: 44rem) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; }
  .admin-sidebar nav { display: flex; }
}

.phone-list { display: grid; gap: 1rem; }
.phone-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; align-items: end; }
.phone-row + .phone-row { border-top: 1px solid var(--rule); padding-top: 1rem; }
.phone-row > button { grid-column: 1 / -1; justify-self: start; }
[data-add-phone] { justify-self: start; }
.social-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 48rem) {
  .phone-row, .social-fields { grid-template-columns: 1fr; }
}

.media-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.edit-photo { width: min(100%, 22rem); max-height: 18rem; object-fit: contain; object-position: left; }

.has-backdrop { position: relative; isolation: isolate; }
.hero, .has-backdrop { overflow: clip; }
.section-backdrop, .has-backdrop:not(.hero)::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.section-backdrop { object-fit: cover; object-position: center; }
.has-backdrop:not(.hero)::before {
  content: "";
  z-index: -1;
  background: linear-gradient(110deg, rgb(18 14 13 / 90%), rgb(18 14 13 / 77%));
}
.hero.has-backdrop .hero-image { width: 100%; }
.background-pickers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}
.background-picker { display: grid; align-content: end; gap: .65rem; padding: 1rem; background: var(--panel); }
.background-picker img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.background-picker select, [data-band-member] select {
  min-width: 0;
  width: 100%;
  padding: .55rem 2rem .55rem .55rem;
  border: 1px solid #756255;
  border-radius: .2rem;
  color: var(--text);
  background: var(--background);
  font: inherit;
}

.photo-title { display: block; color: var(--text); font-size: 1.05rem; }

#lightbox {
  box-sizing: border-box;
  margin: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: clamp(1rem, 3vw, 2rem);
  border: 0;
}
#lightbox img { margin-inline: auto; max-height: 78dvh; }
.lightbox-text { max-width: 60ch; margin: 1rem auto; }
.lightbox-text:empty { display: none; }
.media-description { overflow-wrap: anywhere; }
.media-description > :first-child { margin-top: 0; }
.rich-field { display: grid; gap: .5rem; min-width: 0; }
.rich-modes { display: flex; flex-wrap: wrap; gap: .35rem; }
.rich-modes button {
  padding: .4rem .75rem;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--rule);
  border-radius: .2rem;
  font: inherit;
  cursor: pointer;
}
.rich-modes button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.rich-modes[hidden], .rich-mount[hidden], .rich-field textarea[hidden] { display: none; }
.rich-mount { min-width: 0; }
.rich-mount button { justify-self: auto; }
.rich-field textarea { font-family: ui-monospace, monospace; }
.story .formatted-text h2, .story .formatted-text h3, .media-description h2, .media-description h3 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-block: .75em .4em;
}
.formatted-text, .media-description { overflow-wrap: anywhere; }
.formatted-text pre, .media-description pre { overflow: auto; max-width: 100%; }
.formatted-text table, .media-description table { border-collapse: collapse; }
.formatted-text :is(th, td), .media-description :is(th, td) { border: 1px solid var(--rule); padding: .25rem .5rem; }

.language-tabs { min-width: 0; }
.language-tablist { display: flex; flex-wrap: wrap; gap: .35rem; border-bottom: 1px solid var(--rule); }
.language-tablist button {
  padding: .5rem .8rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}
.language-tablist button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.language-tablist button:hover { color: var(--accent); }
.language-panel { display: grid; gap: .8rem; padding-top: .75rem; }
.language-tablist[hidden], .language-panel[hidden], .language-fallback[hidden] { display: none; }

.band-intro { max-width: 65ch; margin-top: 1.5rem; }
[data-copy-photo-description] { justify-self: start; }

.portrait-editor { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 1rem; align-items: start; }
.portrait-editor[hidden] { display: none; }
.portrait-editor .portrait-frame { cursor: grab; touch-action: none; }
.portrait-editor .portrait-frame:active { cursor: grabbing; }
.portrait-controls { display: grid; gap: .65rem; }
.portrait-controls input { padding: 0; accent-color: var(--accent); }
.portrait-controls button { justify-self: start; }
@media (max-width: 44rem) {
  .portrait-editor { grid-template-columns: 1fr; }
}

.rich-mount .toastui-editor-contents,
.rich-mount .ProseMirror,
.rich-field > textarea {
  font-size: 1rem;
  line-height: 1.6;
}
[data-band-member] .language-tabs > fieldset { margin-block: 1rem .25rem; }

#video-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  box-sizing: border-box;
  margin: 0;
  padding: clamp(.75rem, 2.5vw, 1.75rem);
  border: 0;
  background: #0c0908;
  color: var(--text);
}
#video-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.video-dialog-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  padding-bottom: .75rem;
}
.video-dialog-bar h2 { flex: 1 1 16rem; margin: 0; font-size: clamp(1rem, 2.5vw, 1.5rem); }
.video-dialog-bar .button { margin: 0 0 0 auto; }
.video-dialog-stage { display: grid; place-items: center; container-type: size; }
.video-dialog-stage iframe {
  width: min(100cqw, calc(100cqh * 16 / 9));
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}
body:has(#video-dialog[open]) { overflow: hidden; }
