/* =========================================================
   THE CONFIDANTE — site stylesheet
   Design concept: a late-night listening room. Warm espresso
   dark, brass line-work, wine-red accents, one recurring
   "groove line" motif standing in for voice/sound.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Instrument+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --ink: #2B2620;        /* soft charcoal, warmed */
  --ink-2: #35302A;
  --cream: #F6EFE3;      /* warm ivory for light sections */
  --parchment: #EFE6D8;
  --parchment-dim: #C9BBA6;
  --brass: #8B5E34;      /* cognac / bronze — hairlines, labels */
  --terracotta: #C1603F; /* primary accent — CTAs */
  --terracotta-bright: #D3714E;
  --dusty-rose: #B98072; /* soft accent — hover, tags */
  --olive: #6B6F4C;      /* rare accent */
  --wine: #C1603F;       /* alias kept for existing solid-btn class */
  --wine-bright: #D3714E;
  --smoke: #A69783;
  --line: rgba(139, 94, 52, 0.30);

  --display: 'Fraunces', serif;
  --body: 'Instrument Sans', sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* warm amber wash + 35mm film grain, echoing the stage-haze reference photos */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(139,94,52,0.14), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(193,96,63,0.10), transparent 60%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--brass); text-decoration: none; }
a:hover { color: var(--wine-bright); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--parchment);
  margin: 0;
}

/* ---------- groove line (signature element) ---------- */
.groove {
  width: 100%;
  height: 28px;
  overflow: visible;
  margin: 28px 0;
}
.groove path {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.75;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 2.2s ease-out forwards;
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .groove path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- header / nav ---------- */
header.site {
  position: relative;
  z-index: 2;
  padding: 28px 0 0;
}
.nav-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--parchment);
}
.wordmark span { color: var(--brass); }

nav.primary ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
nav.primary a { color: var(--parchment-dim); }
nav.primary a.active,
nav.primary a:hover { color: var(--brass); }

/* ---------- hero ---------- */
.hero {
  padding: 90px 0 40px;
}
.hero .eyebrow { display: block; margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.98;
  max-width: 11ch;
}
.hero .tagline {
  margin-top: 22px;
  max-width: 46ch;
  color: var(--parchment-dim);
  font-size: 19px;
}
.hero .cta-row {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 24px;
  border: 1px solid var(--brass);
  border-radius: 2px;
  color: var(--parchment);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover {
  background: var(--brass);
  color: var(--ink);
}
.btn.solid {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--parchment);
}
.btn.solid:hover {
  background: var(--wine-bright);
  border-color: var(--wine-bright);
  color: var(--parchment);
}

/* ---------- sections ---------- */
section { padding: 64px 0; position: relative; z-index: 1; }
section.bordered { border-top: 1px solid var(--line); }

/* light section — cream, for a day/night contrast beat (turntable-living-room warmth
   against the darker stage-haze sections) */
section.light {
  background: var(--cream);
  color: var(--ink);
}
section.light h1, section.light h2, section.light h3 { color: var(--ink); }
section.light .prose, section.light .card p { color: #5A4E3F; }
section.light .card, section.light .placeholder { border-color: rgba(139,94,52,0.35); }
section.light .eyebrow { color: var(--brass); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }

.prose { max-width: 62ch; color: var(--parchment-dim); }
.prose p { margin: 0 0 16px; }

/* ---------- placeholder blocks ---------- */
.placeholder {
  border: 1px dashed var(--line);
  border-radius: 3px;
  padding: 22px;
  color: var(--smoke);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
}
.placeholder strong { color: var(--brass); }

/* ---------- listen / music module ---------- */
.listen-panel {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(185,138,78,0.05), transparent);
}
.listen-panel .label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
}
.listen-panel h3 { font-size: 24px; margin-top: 6px; }

/* ---------- cards / grid ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }

.card {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--parchment-dim); margin: 0; }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  background: var(--ink-2);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(0.35) saturate(1.15) contrast(1.05) brightness(0.95);
  transition: filter 0.3s;
}
.gallery-item:hover img { filter: sepia(0.15) saturate(1.1) contrast(1.05); }
.gallery-item .tag {
  position: absolute;
  bottom: 10px; left: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--smoke);
  background: rgba(27,23,18,0.7);
  padding: 4px 8px;
  border-radius: 2px;
}

/* ---------- table (dates / repertoire) ---------- */
table.setlist {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 14px;
}
table.setlist th {
  text-align: left;
  color: var(--brass);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
table.setlist td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--parchment-dim);
  vertical-align: top;
}
table.setlist tr:last-child td { border-bottom: none; }

/* ---------- contact ---------- */
.contact-block {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.contact-item .eyebrow { margin-bottom: 8px; }
.contact-item a, .contact-item span {
  font-family: var(--display);
  font-size: 22px;
}

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  margin-top: 40px;
  position: relative; z-index: 1;
}
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
footer.site p {
  margin: 0;
  color: var(--smoke);
  font-family: var(--mono);
  font-size: 12px;
}
footer .socials a { margin-left: 18px; color: var(--parchment-dim); }
footer .socials a:hover { color: var(--brass); }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  nav.primary ul { gap: 16px; flex-wrap: wrap; }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-block { gap: 28px; }
  .listen-panel { flex-direction: column; align-items: flex-start; }
}
