/* ==========================================================================
   K. Davis — Music Venue — static clone of Wix "Music Ven (Eclectic)"
   Design tokens extracted from the Wix template theme (color_1x, font_0x)
   ========================================================================== */

:root {
  --ink: #754b39;            /* color_14 / 15 — main text */
  --accent: #98786b;         /* color_18 / 38 — buttons, links */
  --soft: #baa59c;           /* color_39 — muted accents */
  --line: #ddd2ce;           /* color_40 — hairline / borders */
  --surface: #f1efe9;        /* color_12 / 44 — section + footer bg */
  --white: #ffffff;          /* color_11 */

  --font-display: 'Space Grotesk', 'Avenir', sans-serif;
  --font-body: 'Syne', 'Avenir', sans-serif;

  --header-h: 64px;
  --max: 1100px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;                 /* font_8 */
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.02em;
}
a { color: var(--accent); text-decoration: none; }
/*a:hover { opacity: .8; }*/
img { max-width: 100%; display: block; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; color: inherit; }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(56px, 8vw, 96px); }

/* alias helpers */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--accent);
}
.kicker {
  font-family: var(--font-body);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--accent);
}
.lead { font-size: 20px; line-height: 1.6; }        /* font_7 */
.sub { color: color-mix(in srgb, var(--ink) 72%, white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;                 /* button font */
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .03em;
  border: 1px solid var(--accent);
  border-radius: 0;
  transition: background .2s, color .2s, border-color .2s;
  text-align: center;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); opacity: 1; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--block { width: 100%; }
.btn.small { padding: 8px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 50;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .14em;
  color: var(--white);
  transition: color .3s;
}
.site-header .nav-links { display: flex; align-items: center; gap: 34px; }
.site-header .nav-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-block: 6px;
  transition: color .3s;
}
.site-header .nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  border-bottom: 1px solid currentColor;
  transition: right .25s;
}
.site-header .nav-links a:hover { opacity: 1; }
.site-header .nav-links a:hover::after { right: 0; }

/* header solid state after scrolling */
.site-header.is-solid {
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-solid .brand,
.site-header.is-solid .nav-links a { color: var(--ink); }

/* hamburger */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  color: var(--white);
  align-items: center;
  justify-content: center;
  transition: color .3s;
}
.site-header.is-solid .menu-toggle { color: var(--ink); }
.menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s, opacity .3s; }

/* mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.nav-drawer.open { opacity: 1; visibility: visible; }
.nav-drawer a {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 9vw, 44px);
  color: var(--ink);
  padding-block: 14px;
  letter-spacing: -.01em;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image: linear-gradient(rgba(50,27,18,.55), rgba(50,27,18,.55)), url('../assets/img/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: calc(var(--header-h) + 48px) 280px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(48px, 9vw, 96px);
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--white);
  max-width: 9ch;
  margin-inline: auto;
}
.hero .tagline {
  margin-top: 22px;
  font-size: clamp(18px, 2.4vw, 22px);
  color: rgba(255,255,255,.9);
  max-width: 34ch;
  margin-inline: auto;
}
.hero .btn { margin-top: 34px; }

/* hero image strip */
.hero__strip {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  gap: 0;
}
.hero__strip .thumb { flex: 1; height: clamp(150px, 22vh, 240px); overflow: hidden; position: relative; }
.hero__strip .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
/*.hero__strip .thumb:hover img { transform: scale(1.06); }*/

/* ---------- Section headers ---------- */
.sec-head { text-align: center; max-width: 720px; margin-inline: auto; }
.sec-head h2 { font-size: clamp(34px, 5.5vw, 56px); margin-top: 14px; letter-spacing: -.03em; }
.sec-head .sub { margin-top: 18px; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  padding-block: 18px;
  border-block: 1px solid var(--line);
}
.marquee-track { display: inline-block; animation: marquee 22s linear infinite; }
.marquee-item {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 40px);
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.marquee-item + .marquee-item::before { content: " · "; color: var(--accent); padding-inline: .6em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Story / text sections ---------- */
.story .inner { max-width: 780px; margin-inline: auto; text-align: center; }
.story p { margin-top: 20px; line-height: 1.6; }
.story .btn { margin-top: 34px; }
.story--left .inner { text-align: left; margin-inline: 0; }
.story--surface { background: var(--surface); border-block: 1px solid var(--line); }

.intro-photo img { width: 100%; height: clamp(260px, 48vw, 520px); object-fit: cover; }

/* ---------- Scene cards ---------- */
.scene-grid {
  margin-top: clamp(34px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.card figure { margin: 0; overflow: hidden; aspect-ratio: 5 / 3; }
.card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover figure img { transform: scale(1.06); }
.card h3 { font-size: 26px; margin-top: 22px; letter-spacing: -.02em; }
.card p { margin-top: 12px; line-height: 1.6; color: color-mix(in srgb, var(--ink) 78%, white); }

/* ---------- Events ---------- */
.events-list {
  margin-top: clamp(30px, 4vw, 56px);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.event-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: clamp(20px, 3.5vw, 48px);
  align-items: start;
  padding-block: clamp(26px, 3.5vw, 44px);
  border-bottom: 1px solid var(--line);
}
.event-row .date {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .05em;
  padding-top: 4px;
  color: var(--accent);
  white-space: nowrap;
}
.event-row h3 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.02em; }
.event-row .venue { margin-top: 6px; font-size: 16px; color: color-mix(in srgb, var(--ink) 78%, white); }
.event-row .desc { margin-top: 14px; max-width: 62ch; line-height: 1.6; }
.event-row .meta { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.event-row .thumb { display: block; border-radius: 0; }
.event-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.event-row .thumb { width: 160px; aspect-ratio: 4/3; overflow: hidden; }
.event-cta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; justify-content: flex-start; min-width: 140px; }

.share { display: inline-flex; gap: 14px; margin-top: 6px; align-items: center; }
.share svg { width: 16px; height: 16px; fill: var(--soft); transition: fill .2s; }
.share a:hover svg { fill: var(--accent); }

/* ---------- Forms ---------- */
.contact { position: relative; color: var(--white); }
.contact__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image: linear-gradient(rgba(52,28,19,.78), rgba(52,28,19,.78)), url('../assets/img/cta-bg.jpg');
  background-size: cover;
  background-position: center;
}
.contact .eyebrow { color: rgba(255,255,255,.65); }
.contact .inner {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.contact h2 { color: var(--white); }
.contact .lead { color: rgba(255,255,255,.88); margin-top: 16px; }
.form {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 13px; letter-spacing: .08em; color: var(--accent); margin-bottom: 6px; }
.form input, .form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, background .2s;
}
.form input:focus, .form textarea:focus { border-color: var(--accent); }
.form input::placeholder, .form textarea::placeholder { color: var(--soft); }
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { margin-top: 6px; grid-column: 1 / -1; }
.form-note { margin-top: 16px; font-size: 14px; color: var(--ink); display: none; }
.form-note.visible { display: block; }

.contact .form label { color: rgba(255,255,255,.75); }
.contact .form input, .contact .form textarea {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.45);
  color: var(--white);
}
.contact .form input:focus, .contact .form textarea:focus { border-color: var(--white); background: rgba(255,255,255,.14); }
.contact .form input::placeholder, .contact .form textarea::placeholder { color: rgba(255,255,255,.45); }
.contact .form-note { color: var(--white); }

/* newsletter */
.news { display: flex; flex-wrap: wrap; gap: 0; max-width: 380px; margin-inline: auto; }
.news input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 15px;
  outline: none;
}
.news input:focus { border-color: var(--accent); }
.news button { border: 1px solid var(--ink); border-left: 0; background: var(--ink); color: var(--white); padding: 11px 20px; font-size: 15px; letter-spacing: .04em; }
.news button:hover { background: var(--accent); border-color: var(--accent); }
.check {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink);
  margin-top: 14px; justify-content: center;
  text-align: left;
}
.news .check { flex-basis: 100%; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface);
  color: var(--ink);
  padding-top: clamp(48px, 6vw, 80px);
}
.site-footer h4 { font-size: 20px; font-family: var(--font-body); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(36px, 5vw, 64px);
}
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 4vw, 40px); letter-spacing: .06em; color: var(--ink); }
.footer-grid p { font-size: 16px; margin-top: 12px; max-width: 30ch; color: color-mix(in srgb, var(--ink) 82%, white); }
.footer-social { display: flex; gap: 14px; margin-top: 22px; }
.footer-social img { width: 32px; height: 32px; object-fit: contain; }
.footer-links a, .footer-contact a { display: block; font-size: 16px; color: var(--ink); margin-bottom: 10px; }
.footer-contact a { display: flex; gap: 8px; } /* keep simple */
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: color-mix(in srgb, var(--ink) 70%, white);
}
.footer-bottom ul { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a { color: var(--ink); font-size: 14px; }

/* ---------- Inner pages ---------- */
.page-hero {
  background: var(--white);
  padding-top: calc(var(--header-h) + clamp(40px, 8vh, 80px));
  padding-bottom: clamp(28px, 5vh, 48px);
  text-align: center;
}
.page-hero h1 { font-size: clamp(40px, 7vw, 72px); letter-spacing: -.03em; }
.page-hero .lead { margin-top: 18px; max-width: 640px; margin-inline: auto; }

.page-head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.page-head .eyebrow { margin-top: 8px; }

/* about team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(30px, 4vw, 56px);
  text-align: center;
}
.team-member .avatar {
  width: 120px; height: 120px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 34px;
  display: flex; align-items: center; justify-content: center;
}
.team-member h3 { font-size: 20px; margin-top: 18px; letter-spacing: 0; }
.team-member .role { font-size: 14px; color: var(--accent); margin-top: 4px; letter-spacing: .08em; text-transform: uppercase; }

/* event detail page */
.detail-hero { background: var(--white); padding-top: calc(var(--header-h) + 40px); }
.detail-hero .kicker { color: var(--accent); letter-spacing: .2em; text-transform: uppercase; font-size: 14px; }
.detail-hero h1 { font-size: clamp(34px, 6vw, 60px); margin-top: 14px; letter-spacing: -.03em; max-width: 18ch; }
.detail-hero .venue { margin-top: 16px; font-size: 19px; }
.detail-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(30px, 4vw, 56px) 0; }
.detail-body .figure { margin: 0; overflow: hidden; }
.detail-body .figure img { width: 100%; height: clamp(240px, 42vw, 440px); object-fit: cover; }
.detail-body .desc { margin-top: 28px; font-size: 18px; line-height: 1.7; }
.detail-body .desc p + p { margin-top: 18px; }
.detail-side { border: 1px solid var(--line); background: var(--surface); padding: 26px; position: sticky; top: calc(var(--header-h) + 20px); }
.detail-side dl { margin: 0; }
.detail-side dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-top: 18px; }
.detail-side dt:first-child { margin-top: 0; }
.detail-side dd { margin: 6px 0 0; font-size: 16px; line-height: 1.5; }
.detail-side .btn { margin-top: 24px; width: 100%; }
.detail-side .share { margin-top: 18px; }

/* legal + prose pages */
.prose { max-width: 760px; margin-inline: auto; padding-bottom: clamp(40px, 6vw, 80px); }
.prose h2 { font-size: 26px; margin-top: 34px; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li, .prose .updated { margin-top: 14px; line-height: 1.7; color: color-mix(in srgb, var(--ink) 88%, white); }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li { margin-top: 6px; }

.page-body { padding-top: clamp(20px, 4vh, 40px); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .event-row { grid-template-columns: 1fr; gap: 16px; }
  .event-row .thumb { width: 100%; aspect-ratio: 16/9; }
  .event-cta { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 6px; }
  .event-cta .btn { min-width: 0; }
  .detail-body { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none !important; }
  .menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .story .btn { width: 100%; }
  .form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .card figure img, .hero__strip .thumb img { animation: none; transition: none; }
}
