/* Mamaroneck Community Chorus
   Black and red, like the concert outfits. Rock-poster type, the logo's guitar headstock as a recurring mark. */
:root {
  --black: #000000;
  --coal: #121212;
  --ash: #2b2b2b;
  --red: #e11d2a;
  --red-deep: #b5121d;
  --white: #ffffff;
  --mute: #a6a6a6;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --header-h: 148px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  padding-top: var(--header-h); /* room for the fixed header, which never changes the page layout */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--white); text-underline-offset: 0.2em; text-decoration-thickness: 1px; text-decoration-color: var(--red); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: var(--white); }

h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: .92; margin: 0 0 .45em; text-transform: uppercase; letter-spacing: .005em; }
h1 { font-size: clamp(3.4rem, 8.4vw, 8.5rem); }
h2 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
h3 { font-size: 1.65rem; font-weight: 800; line-height: 1; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); position: relative; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.4rem); max-width: 40ch; color: var(--mute); }
.skip { position: absolute; left: -999px; top: 0; background: var(--red); color: var(--white); padding: .6rem 1rem; z-index: 60; }
.skip:focus { left: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: .7em 1.4em .65em;
  text-decoration: none;
  line-height: 1;
  border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--white); color: var(--black); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: var(--white); color: var(--black); }
.btn-big { font-size: 1.55rem; padding: .75em 1.5em .7em; }
.link-strong { font-family: var(--display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; text-decoration: none; border-bottom: 3px solid var(--red); padding-bottom: 2px; }

/* ---------- header: the logo, big, on black ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 var(--gut);
  background: var(--black);
  border-bottom: 1px solid var(--ash);
  transition: height .25s ease;
}
.topbar.is-scrolled { height: 88px; }
.brand { display: block; height: calc(100% - 14px); flex: none; }
.brand img { height: 100%; width: auto; }
#site-nav { margin-left: auto; display: flex; align-items: center; gap: 2rem; }
#site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.8rem; }
#site-nav ul a {
  font-family: var(--display); font-weight: 800; font-size: 1.45rem; text-transform: uppercase;
  text-decoration: none; color: var(--white); padding: .2rem 0; border-bottom: 3px solid transparent;
}
#site-nav ul a:hover { color: var(--red); }
#site-nav ul a[aria-current="page"] { border-bottom-color: var(--red); }
.nav-cta { font-size: 1.2rem; }
.menu-btn { display: none; margin-left: auto; font: 800 1.2rem var(--display); text-transform: uppercase; background: var(--red); color: var(--white); border: 0; padding: .55em 1.1em .5em; cursor: pointer; }

@media (max-width: 960px) {
  :root { --header-h: 96px; }
  .topbar.is-scrolled { height: 72px; }
  .menu-btn { display: block; }
  #site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--black); border-bottom: 2px solid var(--red); flex-direction: column; align-items: flex-start; padding: 1.25rem var(--gut) 1.75rem; gap: 1.25rem; }
  #site-nav.open { display: flex; }
  #site-nav ul { flex-direction: column; gap: .5rem; }
  #site-nav ul a { font-size: 2rem; }
}

/* ---------- the guitar headstock, enlarged ---------- */
.guitar-mark {
  position: absolute;
  pointer-events: none;
  aspect-ratio: 940 / 1860;
  background: var(--red);
  -webkit-mask: url("brand/guitar-mask.png") center / contain no-repeat;
          mask: url("brand/guitar-mask.png") center / contain no-repeat;
}

/* ---------- slideshow (shared) ---------- */
.ss { position: relative; outline: none; }
.ss:focus-visible .ss-stage { outline: 3px solid var(--red); outline-offset: 3px; }
.ss-stage { position: relative; overflow: hidden; background: var(--black); touch-action: pan-y; }
.ss-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.ss-slide.is-active { opacity: 1; z-index: 1; }
.ss-slide img { width: 100%; height: 100%; object-fit: cover; }
.ss-controls { position: absolute; z-index: 3; right: var(--gut); bottom: 1.25rem; display: flex; align-items: center; gap: .4rem; }
.ss-controls button {
  width: 3rem; height: 3rem; display: grid; place-items: center;
  border: 2px solid var(--white); background: rgba(0,0,0,.55); color: var(--white);
  font: 800 1.9rem/1 var(--display); cursor: pointer; padding: 0 0 .15em;
  transition: background-color .15s, border-color .15s;
}
.ss-controls button:hover { background: var(--red); border-color: var(--red); }
.ss-count { font: 800 1.3rem var(--display); min-width: 4.6em; text-align: center; color: var(--white); text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.ss-count b { color: var(--red); }
.ss-play span { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.ss-play[data-playing="false"] span { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; margin-left: 4px; }

/* gallery variant: large stage, photo shown whole, thumbnail strip below */
.ss-gallery .ss-stage { height: min(70vh, 720px); background: var(--coal); }
.ss-gallery .ss-slide img { object-fit: contain; }
.ss-gallery .ss-controls { right: 1rem; bottom: 1rem; }
.ss-thumbs {
  display: flex; gap: 6px; margin-top: 8px;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth;
  padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--red) var(--coal);
}
.ss-thumb {
  flex: 0 0 auto; width: 112px; height: 76px; padding: 0; border: 0; cursor: pointer;
  background: var(--coal); scroll-snap-align: start; position: relative; opacity: .45;
  transition: opacity .2s;
}
.ss-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ss-thumb:hover { opacity: .85; }
.ss-thumb.is-active { opacity: 1; }
.ss-thumb.is-active::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--red); }
@media (max-width: 700px) {
  .ss-gallery .ss-stage { height: 62vh; }
  .ss-thumb { width: 84px; height: 58px; }
  .ss-controls button { width: 2.6rem; height: 2.6rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: calc(100svh - var(--header-h)); min-height: 560px; max-height: 1000px; overflow: hidden; }
.hero .ss, .hero .ss-stage { position: absolute; inset: 0; }
.hero .ss-slide img { object-position: 50% 35%; }
@media (prefers-reduced-motion: no-preference) {
  .hero .ss-slide.is-active img { animation: drift 9s ease-out both; }
  @keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
}
.hero::after { /* darken the side the type sits on */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 42%, rgba(0,0,0,0) 72%),
              linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 40%);
}
.hero-copy { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(4.5rem, 9vh, 7rem); pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.hero-copy h1 { font-size: clamp(3.3rem, 10vw, 10.5rem); line-height: .84; letter-spacing: -.01em; max-width: none; margin-bottom: .32em; text-shadow: 0 2px 4px rgba(0,0,0,.35), 0 4px 32px rgba(0,0,0,.55); }
.hero-copy h1 .hl-line { display: block; }
.hero-copy h1 .hl-red { color: var(--red); }
.hero-dates { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.6rem; }
.hero-dates span { font: 800 clamp(1.3rem, 2.2vw, 1.9rem)/1 var(--display); text-transform: uppercase; padding: .35em .55em .3em; background: var(--white); color: var(--black); }
.hero-dates span:first-child { background: var(--red); color: var(--white); }
.hero .ss-controls { bottom: clamp(1.25rem, 3vh, 2rem); }
@media (max-width: 700px) {
  .hero { height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; }
  .hero .ss { position: relative; height: 56vh; }
  .hero::after { display: none; }
  .hero-copy { position: relative; bottom: auto; padding-top: 1.75rem; padding-bottom: 2.5rem; }
}

/* ---------- concert ---------- */
.concert { position: relative; overflow: hidden; padding: clamp(4.5rem, 9vw, 8rem) 0; background: var(--black); }
.concert .guitar-mark { height: 135%; right: -13%; top: -22%; transform: rotate(14deg); }
.concert .wrap { z-index: 1; }
.shows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin: 2.5rem 0 3rem; max-width: 900px; }
.show { background: var(--black); border: 2px solid var(--white); padding: clamp(1.4rem, 3vw, 2.2rem); }
.show-day { font: 800 1.8rem var(--display); text-transform: uppercase; margin: 0; }
.show-date { display: flex; align-items: center; gap: 1rem; margin: 0 0 .4rem; }
.show-num { font: 900 clamp(7rem, 14vw, 11rem)/.8 var(--display); color: var(--red); letter-spacing: -.02em; }
.show-month { font: 800 1.6rem/1.05 var(--display); text-transform: uppercase; }
.show-time { font: 800 1.6rem var(--display); color: var(--mute); margin-bottom: 1.5rem; }
.venue { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--ash); color: var(--mute); max-width: 900px; }
.venue strong { color: var(--white); }
@media (max-width: 760px) {
  .shows, .venue { grid-template-columns: 1fr; }
  .concert .guitar-mark { height: 70%; right: -30%; top: 2%; opacity: .35; }
}

/* ---------- season: the one all-red section ---------- */
.season { background: var(--red); color: var(--black); padding: clamp(4rem, 8vw, 7rem) 0; }
.season h2 { color: var(--black); }
.season-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.5rem 0 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 4.2rem 1fr; column-gap: .75rem; padding: 1rem 0; border-top: 2px solid rgba(0,0,0,.85); }
.steps li::before { content: counter(step); grid-row: span 2; font: 900 4.2rem/.8 var(--display); color: var(--white); }
.steps h3 { margin: 0 0 .3rem; }
.steps p { margin: 0; font-size: 1.05rem; }
.season-photos { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; align-items: end; }
.season-photos img { width: 100%; object-fit: cover; filter: grayscale(.15) contrast(1.05); }
.season-photos img:first-child { aspect-ratio: 4/5; }
.season-photos img:last-child { aspect-ratio: 3/4; margin-bottom: -3rem; border: 8px solid var(--black); }
@media (max-width: 900px) { .season-grid { grid-template-columns: 1fr; } .season-photos img:last-child { margin-bottom: 0; } }

/* ---------- sections ---------- */
.home-gallery, .listen-teaser { padding: clamp(4rem, 8vw, 7rem) 0 0; }
.split-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.split-head h2 { margin-bottom: .2em; }

.videos { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2.25rem 1.5rem; }
.videos-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .videos-3 { grid-template-columns: 1fr; } }
.video h3 { margin-top: .8rem; font-size: 1.6rem; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16/9; padding: 0; border: 0; background: var(--coal); cursor: pointer; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); transition: filter .2s; }
.yt:hover img { filter: none; }
.yt .play { position: absolute; left: 0; bottom: 0; width: 64px; height: 64px; background: var(--red); }
.yt .play::after { content: ""; position: absolute; left: 25px; top: 20px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--white); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.more { margin-top: 2.5rem; }

.leaders { padding: clamp(4rem, 8vw, 7rem) 0; }
.leader-row { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 1.25rem; margin-top: 1.25rem; align-items: stretch; }
.leader { text-decoration: none; color: var(--white); }
.leader img { aspect-ratio: 4/5; object-fit: cover; width: 100%; filter: grayscale(1) contrast(1.1); transition: filter .3s; }
.leader:hover img { filter: none; }
.leader-name { display: block; font: 900 2rem/1 var(--display); text-transform: uppercase; margin-top: .8rem; }
.leader-role { color: var(--red); font-weight: 600; }
.join { background: var(--red); color: var(--black); padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; }
.join h3 { font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: .9; }
.join a:not(.btn) { color: var(--black); font-weight: 700; text-decoration-color: var(--black); }
@media (max-width: 860px) { .leader-row { grid-template-columns: 1fr 1fr; } .join { grid-column: 1 / -1; } }

/* ---------- partners ---------- */
.partners { background: var(--coal); padding: clamp(3.5rem, 7vw, 5.5rem) 0; border-top: 1px solid var(--ash); }
.partners h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: .2em; }
.partners-intro { color: var(--mute); }
.logo-row { list-style: none; padding: 0; margin: 2.25rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--ash); border: 1px solid var(--ash); }
.logo-row a { display: grid; place-items: center; height: 150px; padding: 1.6rem 1.8rem; background: var(--coal); text-decoration: none; transition: background-color .2s; }
.logo-row a:hover { background: var(--black); }
.logo-row img { max-height: 78px; max-width: 100%; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; transition: opacity .2s; }
.logo-row img.is-white { filter: none; }
.logo-row a:hover img { opacity: 1; }
.logo-row .logo-text { font: 800 1.3rem/1.05 var(--display); text-transform: uppercase; text-align: center; }
.credit { font-size: .95rem; color: var(--mute); max-width: 72ch; }
@media (max-width: 860px) { .logo-row { grid-template-columns: 1fr 1fr; } .logo-row a { height: 120px; } }

/* ---------- footer ---------- */
.footer { background: var(--black); color: var(--mute); padding: 4rem 0 1.5rem; font-size: 1rem; border-top: 4px solid var(--red); }
.footer a { color: var(--white); }
.footer a:hover { color: var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.footer-brand img { width: 260px; }
.footer-h { font: 800 1.45rem var(--display); text-transform: uppercase; color: var(--white); margin-bottom: .5rem; }
.fineprint { margin-top: 3rem; font-size: .85rem; color: #6f6f6f; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand img { width: 200px; } }

/* ---------- inner pages ---------- */
.page-head { position: relative; overflow: hidden; background: var(--black); padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--ash); }
.page-head .guitar-mark { height: 190%; right: 4%; top: -40%; transform: rotate(-16deg); }
.page-head .wrap { z-index: 1; }
.page-head h1 { font-size: clamp(4.5rem, 13vw, 11rem); margin-bottom: .15em; }
.page-head .lede { max-width: 44ch; }
@media (max-width: 760px) { .page-head .guitar-mark { right: -22%; opacity: .4; } }

.listen-all { padding: 3.5rem 0 6rem; }
.album { padding: 4rem 0 0; }
.album:last-of-type { padding-bottom: 6rem; }
.album h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }

.about-story { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-grid .prose { font-size: 1.2rem; }
.prose { max-width: 62ch; }
.bios { background: var(--coal); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.bio { display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; scroll-margin-top: calc(var(--header-h) + 20px); }
.bio + .bio { margin-top: 4rem; padding-top: 4rem; border-top: 1px solid var(--ash); }
.bio img { aspect-ratio: 4/5; object-fit: cover; width: 100%; filter: grayscale(1) contrast(1.1); }
.bio h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.bio h2 span { display: block; font: 600 1.15rem var(--body); text-transform: none; color: var(--red); margin-top: .5rem; }
.members { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.member-grid { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 2rem 1.25rem; }
.member-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; filter: grayscale(1) contrast(1.1); transition: filter .3s; }
.member-grid li:hover img { filter: none; }
.member-grid span { display: block; font: 800 1.35rem/1.05 var(--display); text-transform: uppercase; margin-top: .6rem; border-left: 4px solid var(--red); padding-left: .5rem; }
@media (max-width: 760px) { .about-grid, .bio { grid-template-columns: 1fr; } .bio img { max-width: 340px; } }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .ss-slide { transition: none; }
}
