/* =========================================================
   Choranoisy — feuille de style unique
   Palette : papier ivoire, encre marine, lie-de-vin, laiton
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --paper: #F6F2E8;
  --paper-deep: #EFE9DA;
  --ink: #23222A;
  --ink-soft: #55524F;
  --wine: #7C2C3B;
  --wine-deep: #5E2130;
  --brass: #A9803F;
  --brass-soft: #E8C9A0;
  --line: #DCD3BE;
  --max: 1100px;
  --radius: 18px;
  --radius-sm: 12px;

  font-size: 17px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Lobster Two', serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

p { max-width: 62ch; }

a {
  color: var(--wine);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--wine-deep); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- header ---------- */

header.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 1.15rem 0;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
header.site-head.scrolled {
  box-shadow: 0 10px 28px -16px rgba(35, 34, 42, 0.4);
}

.site-head .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  font-family: 'Fraunces', serif;
  color: var(--ink);
  text-decoration: none;
}
.wordmark img {
  display: block;
  width: 100px;
  height: auto;
  border-radius: 8px;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.97rem;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--wine);
}

.nav-toggle { display: none; }
.nav-toggle summary {
  list-style: none;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
}
.nav-toggle summary::-webkit-details-marker { display: none; }

@media (max-width: 680px) {
  nav.main-nav.desktop-nav { display: none; }
  .nav-toggle { display: block; }
  .nav-toggle summary {
    border: 1px solid var(--line);
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.45);
  }
  .nav-toggle[open] summary { border-color: var(--wine); }
  .nav-toggle ul {
    list-style: none;
    margin: 0.8rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
  }
  .nav-toggle a { color: var(--ink); text-decoration: none; font-size: 1.05rem; }
}

/* ---------- photo stage (hero / contact / inner pages) ---------- */

.stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4rem 0 4.5rem;
  border-bottom: none;
}

.stage-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
  transform: scale(1.04);
}
.stage-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(35, 34, 42, 0.78) 0%, rgba(35, 34, 42, 0.5) 52%, rgba(94, 33, 48, 0.42) 100%),
    linear-gradient(to bottom, rgba(35, 34, 42, 0.2), rgba(35, 34, 42, 0.5));
}
.stage-bg-dark::after {
  background:
    linear-gradient(115deg, rgba(35, 34, 42, 0.88) 0%, rgba(35, 34, 42, 0.68) 50%, rgba(94, 33, 48, 0.55) 100%),
    linear-gradient(to bottom, rgba(35, 34, 42, 0.35), rgba(35, 34, 42, 0.6));
}

.stage-inner { position: relative; }

.stage-copy .eyebrow,
.hero .eyebrow {
  color: var(--brass-soft);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.7rem;
}
.stage-copy h1 { color: #fff; text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35); }
.stage-copy .lede {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
  margin-top: 1rem;
  max-width: 46ch;
}
.stage-copy .staff-motif { margin-top: 1.8rem; }
.stage-copy .staff-motif line {
  stroke: var(--brass-soft);
  opacity: 0.85;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
}
.pills li {
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(246, 242, 232, 0.28);
  border-radius: 999px;
  background: rgba(246, 242, 232, 0.08);
  backdrop-filter: blur(8px);
}

.stage-meta {
  margin-top: 2.2rem;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stage-meta .num {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--paper);
  display: block;
  line-height: 1;
}
.stage-meta .label {
  font-size: 0.9rem;
  color: rgba(246, 242, 232, 0.75);
}

@media (min-width: 821px) {
  .stage.stage-tall { min-height: calc(100vh - 6.5rem); display: flex; align-items: center; }
  .stage.stage-tall .stage-inner { width: 100%; }
}

.stage-split .stage-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 3.5rem;
  align-items: start;
}
@media (min-width: 821px) {
  .stage-split.stage-tall .stage-inner { align-items: center; }
}
@media (max-width: 820px) {
  .stage-split .stage-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stage { padding: 2.6rem 0 3.2rem; }
}

/* ---------- sections ---------- */

section {
  padding: 4rem 0;
  border-bottom: none;
}

section .kicker {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--wine);
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.band { background: var(--paper-deep); }
.band-ink {
  background: var(--ink);
  color: var(--paper);
}
.band-ink h2,
.band-ink .kicker { color: var(--brass-soft); }
.band-ink p,
.band-ink .lede { color: rgba(246, 242, 232, 0.82); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 680px) {
  .two-col { grid-template-columns: 1fr; }
}

.lede { color: var(--ink-soft); }

.staff-motif {
  width: 160px;
  height: 26px;
  display: block;
  margin: 1.6rem 0 0;
}
.staff-motif line {
  stroke: var(--brass);
  stroke-width: 1;
  opacity: 0.6;
}
.staff-motif.footer-motif {
  width: 110px;
  height: 18px;
  margin: 0;
  opacity: 0.7;
}

/* concert list */

.concert-list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.concert-list li {
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr;
  gap: 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px -22px rgba(35, 34, 42, 0.45);
}
.concert-list .when {
  font-family: 'Fraunces', serif;
  color: var(--wine);
  font-size: 1.05rem;
  font-weight: 500;
  padding-right: 1.2rem;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.concert-list .what {
  padding-left: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.concert-list .what strong { display: block; color: var(--ink); }
.concert-list .what span { color: var(--ink-soft); font-size: 0.95rem; }
.concert-list.past li { background: color-mix(in srgb, var(--paper-deep) 70%, white); }
.concert-list.past .when,
.concert-list.past .what strong { color: var(--ink-soft); font-weight: 500; }
@media (max-width: 560px) {
  .concert-list li { grid-template-columns: 1fr; gap: 0.45rem; }
  .concert-list .when { border-right: none; padding-right: 0; }
  .concert-list .what { padding-left: 0; }
}

/* team */

.team {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: flex-start;
  margin-top: 1.8rem;
}
.team article {
  width: calc(150px + 2.3rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.4rem;
  box-shadow: 0 16px 36px -24px rgba(35, 34, 42, 0.4);
}
.team article:has(details[open]) {
  width: min(36rem, 100%);
}
.team img,
.team img[data-lightbox] {
  width: 150px;
  max-width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
}
.team h3 { margin-top: 1rem; }
.team .role {
  color: var(--brass);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

/* buttons */

.btn {
  display: inline-block;
  padding: 0.82rem 1.55rem;
  background: var(--wine);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--wine);
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px -12px rgba(94, 33, 48, 0.9);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  background: var(--wine-deep);
  color: #fff;
  transform: translateY(-1px);
}
.btn:disabled { opacity: 0.7; cursor: wait; transform: none; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn.ghost:hover { border-color: var(--wine); color: var(--wine); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.band-ink .btn.ghost,
.stage .btn.ghost {
  color: var(--paper);
  border-color: rgba(246, 242, 232, 0.35);
}
.band-ink .btn.ghost:hover,
.stage .btn.ghost:hover { border-color: var(--brass-soft); color: var(--brass-soft); }

/* forms */

form.stack { display: grid; gap: 1.1rem; max-width: 480px; margin-top: 1.8rem; }
form.stack label { font-size: 0.92rem; color: var(--ink-soft); display: block; margin-bottom: 0.35rem; }
form.stack input,
form.stack textarea {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  color: var(--ink);
}
form.stack input:focus,
form.stack textarea:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 4px rgba(124, 44, 59, 0.14);
}
form.stack textarea { min-height: 130px; resize: vertical; }

/* footer */

footer.site-foot {
  padding: 2.5rem 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
footer.site-foot .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
footer.site-foot a { color: var(--ink-soft); }
footer.site-foot a:hover { color: var(--wine); }

/* photos */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}
.photo-grid figure { margin: 0; }

.frame {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
}

img[data-lightbox] {
  cursor: zoom-in;
  display: block;
  width: 100%;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
img[data-lightbox]:hover {
  transform: scale(1.015);
  box-shadow: 0 16px 32px -16px rgba(35, 34, 42, 0.45);
}

/* lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(31, 27, 22, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.lightbox button.close {
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  background: transparent;
  border: 1px solid rgba(246, 242, 232, 0.5);
  color: var(--paper);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox button.close:hover { border-color: var(--paper); }

/* bio */

details.bio { margin-top: 0.8rem; }
details.bio summary {
  list-style: none;
  cursor: pointer;
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
}
details.bio summary::-webkit-details-marker { display: none; }
details.bio[open] summary {
  border-color: var(--wine);
  color: var(--wine);
}
details.bio p {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* contact form card */

.form-card,
.panel {
  background: color-mix(in srgb, var(--paper) 92%, white);
  padding: 2rem 1.85rem 1.85rem;
  border-radius: var(--radius);
  border: 1px solid rgba(246, 242, 232, 0.45);
  box-shadow:
    0 28px 60px -24px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
}
.panel {
  box-shadow: 0 16px 36px -24px rgba(35, 34, 42, 0.35);
  border-color: var(--line);
}
.form-card-kicker {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--wine);
  font-size: 0.98rem;
  margin: 0 0 0.15rem;
}
.form-card h2 { font-size: 1.45rem; margin-bottom: 1.2rem; }
.form-card form.stack { margin-top: 0; max-width: none; gap: 0.95rem; }
.form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.form-card label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form-card .optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: #8a857f;
}
.form-card input,
.form-card textarea {
  border-radius: 10px;
  padding: 0.72rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-card input:hover,
.form-card textarea:hover { border-color: #c9bea8; }
.form-card textarea { min-height: 120px; }
.form-actions { margin: 0.35rem 0 0; }
.form-card .btn { width: 100%; text-align: center; padding: 0.9rem 1.4rem; }
.form-card .form-status { margin-top: 0.7rem; }
@media (max-width: 520px) {
  .form-card .form-row { grid-template-columns: 1fr; }
}

/* policy */

.policy { display: grid; gap: 1.1rem; margin-top: 0.4rem; }
.policy article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.policy h3 { margin-bottom: 0.35rem; }

/* reveal */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.form-status {
  margin-top: 1rem;
  font-size: 0.92rem;
  display: none;
}
.form-status.ok { color: #3E6B4F; display: block; }
.form-status.error { color: var(--wine); display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}
