:root {
  --bg: #14110F;
  --card: #1F1A17;
  --card-hover: #2A231E;
  --line: #3A312A;
  --text: #F2EDE6;
  --dim: #A89F95;
  --faint: #6F665E;
  --brass: #D9A441;
  --brass-dark: #B8862C;
  --ok: #6CC36C;
  --red: #E0675C;
  --bar: 60px;
  /* the Features photos' shape: width / height (1.71 / 1 wide, 2 / 3 upright) */
  --photo-ratio: 1.71 / 1;
  /* the width of the sign-up box, and of the Features album, so their sides
     line up (on a phone both take the screen's width) */
  --column: 460px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  min-height: 100vh;
  background: radial-gradient(ellipse at top, #241D18 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  padding-top: var(--bar);
  display: flex;
  flex-direction: column;
}
a { color: var(--brass); }

/* ---- the banner: always at the top, over everything */
.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--bar);
  background: rgba(20, 17, 15, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar-inner {
  max-width: 1080px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 18px;
}
.bar-right { display: flex; align-items: center; gap: 10px; }

/* the language switch: always in view */
.langs {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.langs a {
  min-width: 38px;
  height: 30px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.langs a:hover { color: var(--text); }
.langs a[aria-current="true"] { background: var(--brass); color: #1A140E; }

/* the menu: a button that drops a list down */
.menu { position: relative; }
.menu-button {
  list-style: none;
  height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}
.menu-button::-webkit-details-marker { display: none; }
.menu-button::marker { content: ""; }
.menu-button:hover { background: var(--card-hover); }
.menu[open] .menu-button { border-color: var(--brass); }
.menu-icon { color: var(--brass); }
.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(260px, calc(100vw - 32px));
  padding: 6px;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
a.menu-item:hover { background: var(--card-hover); }
.menu-item[aria-current="page"] { color: var(--brass); box-shadow: inset 3px 0 0 var(--brass); }
.menu-item.off { color: var(--faint); cursor: default; }
.soon {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 380px) {
  .menu-text { display: none; }
}

/* ---- pages */
main { width: 100%; flex: 1 0 auto; }
.hero, .page {
  width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  text-align: center;
}
.hero { max-width: 492px; padding-top: 28px; }
.page { max-width: 720px; padding-top: 36px; }
.page-title {
  margin: 0;
  font-size: clamp(28px, 7vw, 36px);
  letter-spacing: 0.02em;
}
.intro { margin: 8px 0 0; color: var(--dim); font-size: 16px; }

/* the sign-up box at the end of a page */
.nudge {
  max-width: var(--column);
  margin: 40px auto 0;
  padding: 18px 16px;
  border: 1px solid rgba(217, 164, 65, 0.35);
  border-radius: 14px;
  background: rgba(217, 164, 65, 0.06);
}
.nudge p { margin: 0 0 12px; color: var(--text); font-size: 15px; }
.nudge-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--brass);
  color: #1A140E;
  font-weight: 800;
  text-decoration: none;
}
.nudge-button:hover { background: #E4B256; }

/* ---- home */
.photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
h1 {
  margin: 28px 0 4px;
  font-size: clamp(30px, 8vw, 40px);
  letter-spacing: 0.06em;
  font-weight: 800;
}
.tag {
  margin: 0;
  color: var(--brass);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
}
.lead { margin: 16px 0 24px; color: var(--dim); font-size: 17px; }
form { display: flex; gap: 8px; flex-wrap: wrap; }
input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 16px; /* (16px or more: phones don't zoom in) */
}
input[type="email"]::placeholder { color: #7D746B; }
input[type="email"]:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.25);
}
#button {
  flex: 0 0 auto;
  height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: var(--brass);
  color: #1A140E;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
#button:hover { background: #E4B256; }
#button:disabled { background: var(--brass-dark); cursor: wait; }
@media (max-width: 420px) {
  #button { flex: 1 1 100%; }
}
button:focus-visible, a:focus-visible, summary:focus-visible, .album-track:focus-visible {
  outline: 3px solid rgba(217, 164, 65, 0.6);
  outline-offset: 2px;
}
/* a field people don't see: bots fill it in, and are turned away */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.message { min-height: 24px; margin: 14px 0 0; font-size: 15px; }
.message.ok { color: var(--ok); }
.message.error { color: var(--red); }
.done {
  padding: 18px 16px;
  border-radius: 12px;
  border: 1px solid rgba(108, 195, 108, 0.4);
  background: rgba(108, 195, 108, 0.08);
  color: var(--text);
  font-size: 17px;
}
.small { margin: 18px 0 0; color: var(--dim); font-size: 13px; }

/* ---- features: the album */
/* as wide as the sign-up box below it, or less on a short screen (a phone
   held sideways), so a photo and its words fit on the screen together */
.album { max-width: clamp(280px, calc((100vh - 280px) * var(--photo-ratio)), var(--column)); margin: 24px auto 0; }
.album-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: 18px;
}
.album-track::-webkit-scrollbar { display: none; }
.album-slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.album-frame {
  position: relative;
  aspect-ratio: var(--photo-ratio);
  overflow: hidden;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
}
.album-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.album-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(20, 17, 15, 0.75);
  border: 2px solid var(--brass);
  color: var(--brass);
}
.video:hover .play { background: rgba(20, 17, 15, 0.9); }
/* the words across the whole box; the arrows and dots on a row underneath */
.album-caption {
  margin-top: 12px;
  padding: 14px 12px 10px;
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  grid-template-areas: "text text text" "prev dots next";
  align-items: center;
  gap: 10px 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.album-arrow.prev { grid-area: prev; }
.album-arrow.next { grid-area: next; }
.album-arrow {
  width: 38px;
  height: 38px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--brass);
  cursor: pointer;
}
.album-arrow:hover:not(:disabled) { background: var(--card-hover); }
.album-arrow:disabled { opacity: 0.3; cursor: default; }
/* every caption in the same spot, so the box keeps the tallest one's height */
.album-texts { grid-area: text; display: grid; padding: 0 4px; }
.album-text { grid-area: 1 / 1; transition: opacity 0.2s; }
.album-text[aria-hidden="true"] { opacity: 0; visibility: hidden; }
.album-text h2 { margin: 0; font-size: 17px; }
.album-text p { margin: 4px 0 0; color: var(--dim); font-size: 15px; }
.album-dots {
  grid-area: dots;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}
.album-dot {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.album-dot::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: auto;
  border-radius: 50%;
  background: #4A4038;
}
.album-dot[aria-current="true"]::before { background: var(--brass); }

/* ---- collaborators */
.person {
  max-width: 560px;
  margin: 24px auto 0;
  padding: 16px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.person-top { display: flex; gap: 14px; align-items: flex-start; }
.person-photo {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.person-text { min-width: 0; }
.person-text h2 { margin: 0; font-size: 17px; }
.person-text .role { margin: 2px 0 0; color: var(--brass); font-size: 13px; font-weight: 700; }
.person-text p { margin: 6px 0 0; color: var(--dim); font-size: 15px; }
.person-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.person-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.person-links a:hover { border-color: var(--brass); }
.person-links svg { color: var(--brass); }

/* ---- contact */
.contact-list { list-style: none; max-width: 460px; margin: 24px auto 0; padding: 0; text-align: left; }
.contact-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.contact-label { color: var(--dim); font-size: 14px; }
.contact-list a, .contact-list span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
  font-weight: 600;
  text-decoration: none;
}

/* ---- the links at the bottom of every page */
.foot {
  margin-top: 64px;
  padding: 24px 16px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
}
.foot-links a {
  padding: 6px 0;
  color: var(--dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.foot-links a:hover { color: var(--text); }
.foot-links a[aria-current="page"] { color: var(--brass); }
.foot-copy { margin: 10px 0 0; color: var(--faint); font-size: 13px; }

/* ---- the survey page (survey.php), opened from the email */
/* (something hidden by the page's script stays hidden, whatever its style) */
.survey [hidden] { display: none !important; }
.survey-status { min-height: 24px; margin: 10px 0 0; color: var(--dim); font-size: 15px; }
.survey-status.ok { color: var(--ok); }
.survey-noscript { max-width: 320px; margin: 12px auto 0; }
.about { max-width: 520px; margin: 20px auto 0; }
.about-photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about figcaption { margin-top: 14px; color: var(--text); font-size: 16px; line-height: 1.55; text-align: left; }
.survey-form {
  display: block; /* (not the sign-up form's row layout) */
  max-width: 520px;
  margin: 28px auto 0;
  padding: 18px 16px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.survey-intro { margin: 0 0 6px; color: var(--dim); font-size: 15px; }
.q { margin: 18px 0 0; padding: 0; border: 0; min-width: 0; }
.q legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 16px; }
.q-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
}
.q-option:hover { background: var(--card-hover); }
.q-option input { accent-color: var(--brass); width: 18px; height: 18px; margin: 0; flex: 0 0 auto; }
.q-option:has(input:checked) { border-color: var(--brass); background: rgba(217, 164, 65, 0.08); }
.q-comment { display: block; margin-top: 18px; }
.q-comment span { display: block; margin-bottom: 8px; font-weight: 700; font-size: 15px; }
.q-comment textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  resize: vertical;
}
.q-comment textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.25); }
.survey-send {
  width: 100%;
  height: 50px;
  margin-top: 18px;
  border: 0;
  border-radius: 12px;
  background: var(--brass);
  color: #1A140E;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.survey-send:hover { background: #E4B256; }
.survey-box {
  max-width: 460px;
  margin: 28px auto 0;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.survey-box p { margin: 0 0 12px; font-size: 16px; }
.done-box { border-color: rgba(108, 195, 108, 0.4); background: rgba(108, 195, 108, 0.08); }

/* ---- update: sending the sound profile to a DCORDION */
#update [hidden] { display: none !important; }
.update-box {
  max-width: var(--column);
  margin: 28px auto 0;
  padding: 22px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.update-profile { margin: 0 0 16px; font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.update-profile span { margin-left: 6px; color: var(--dim); font-size: 14px; font-weight: 400; }
.update-button {
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: var(--brass);
  color: #1A140E;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.update-button:hover { background: #E4B256; }
.update-button:disabled { background: var(--brass-dark); cursor: wait; }
#update-progress { display: block; width: 100%; height: 8px; margin: 16px 0 0; accent-color: var(--brass); }
.update-status { min-height: 24px; margin: 14px 0 0; color: var(--dim); font-size: 15px; }
.update-box > .update-status:only-child { margin: 0; }
.update-status.ok { color: var(--ok); }
.update-status.error { color: var(--red); }
