:root {
  --bg: #FBF8F4;
  --card: #FFFFFF;
  --ink: #2B2420;
  --grey: #676767;
  --line: #E8E1D8;
  --orange: #E27039;      /* the "r" in the davyrockett logo */
  --orange-dark: #C4561F;
  --dark: #2E2A27;
  --head: "Questrial", "Helvetica Neue", Arial, sans-serif;
  --body: "Atkinson Hyperlegible", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
h1, h2, h3 { font-family: var(--head); font-weight: 400; margin: 0; }
h2 {
  font-size: 2.1rem;
  letter-spacing: .02em;
  text-transform: lowercase;
  margin-bottom: 1.4rem;
}
h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--orange);
  margin-top: .5rem;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
.muted { color: var(--grey); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 244, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
}
.site-header .brand img { height: 26px; width: auto; }
.site-header nav { display: flex; gap: 22px; }
.site-header nav a {
  font-family: var(--head);
  color: var(--grey);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: .03em;
}
.site-header nav a:hover { color: var(--orange); }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 56px; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 40px;
  align-items: center;
}
.hero-art { display: flex; align-items: flex-end; gap: 4px; }
.hero-art .vertical-logo {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 4.6rem/1 "Helvetica Neue", Arial, sans-serif;
  color: var(--grey);
  letter-spacing: -.02em;
  margin: 0;
}
.hero-art .vertical-logo span { color: var(--orange); }
.hero-art img { width: 70%; max-width: 300px; }

.next-gig {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 30px;
  box-shadow: 0 10px 30px rgba(60, 40, 20, .06);
  min-height: 250px;
}
.eyebrow {
  font-family: var(--head);
  text-transform: lowercase;
  letter-spacing: .12em;
  color: var(--orange-dark);
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tag {
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  padding: 1px 10px;
  font-size: .78rem;
  letter-spacing: .06em;
  font-family: var(--body);
  font-weight: 700;
  text-transform: uppercase;
}
.next-gig .when {
  font-family: var(--head);
  font-size: 2.2rem;
  line-height: 1.15;
  margin: 12px 0 6px;
}
.next-gig .what { font-size: 1.35rem; font-weight: 700; }
.next-gig .time { color: var(--grey); font-size: 1.1rem; }
.next-gig .where { margin-top: 4px; }
.next-gig .more {
  display: inline-block;
  margin-top: 18px;
  padding: 0 0 2px;
  background: none;
  border: 0;
  border-bottom: 2px solid var(--orange);
  font: 1rem var(--head);
  color: var(--ink);
  cursor: pointer;
}
.next-gig .more:hover { color: var(--orange-dark); }

/* ---------- Gigs ---------- */
.gigs { padding-top: 24px; }
.gigs-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.view-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  padding: 3px;
}
.view-switch button {
  border: 0;
  background: none;
  border-radius: 999px;
  padding: 6px 16px;
  font: 700 .95rem var(--body);
  color: var(--grey);
  cursor: pointer;
}
.view-switch button[aria-pressed="true"] { background: var(--orange); color: #fff; }

.cal { max-width: 720px; }
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cal-title { font-family: var(--head); font-size: 1.4rem; }
.cal-nav {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.cal-dow {
  text-align: center;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 4px 0;
}
.cal-day {
  min-height: 74px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 5px 6px;
  text-align: left;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}
.cal-day.blank { background: none; border-color: transparent; }
.cal-day.past { color: #B5ADA4; background: none; }
.cal-day .num { font-size: .9rem; }
.cal-day.is-today .num { color: var(--orange-dark); font-weight: 700; }
.cal-day.has-gig {
  cursor: pointer;
  background: #FCE9DF;
  border-color: #F2C3AA;
}
.cal-day.has-gig .num { font-weight: 700; }
.cal-day .venue {
  font-size: .75rem;
  line-height: 1.2;
  color: var(--orange-dark);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cal-day.selected { background: var(--orange); border-color: var(--orange); color: #fff; }
.cal-day.selected .venue, .cal-day.selected .num { color: #fff; }
.cal-detail { margin-top: 16px; min-height: 92px; }
.cal-hint { list-style: none; color: var(--grey); padding: 14px 0; }
.gig-list { list-style: none; margin: 0; padding: 0; }
.gig {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.gig:first-child { border-top: 1px solid var(--line); }
.date-block {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 0 8px;
  line-height: 1.1;
}
.date-block .mon {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-dark);
  font-weight: 700;
}
.date-block .day { font-family: var(--head); font-size: 1.9rem; }
.date-block .dow { font-size: .78rem; color: var(--grey); }
.gig .title { font-weight: 700; font-size: 1.1rem; }
.gig .details { color: var(--grey); }
.gig.today .date-block { background: var(--orange); border-color: var(--orange); }
.gig.today .date-block * { color: #fff; }
.empty {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 22px;
  color: var(--grey);
}
.subscribe { margin-top: 22px; font-size: .95rem; color: var(--grey); }

/* ---------- Music ---------- */
.music { background: var(--dark); color: #F4EEE7; }
.music h2 { color: #fff; }
.albums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.album {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 0 22px;
  align-items: start;
}
.album .tracks { grid-column: 1 / -1; }
.album .cover {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.album .cover img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.album h3 { font-size: 1.5rem; margin: 4px 0 2px; }
.album .buy { color: #F2A27A; font-size: .95rem; }
.tracks { list-style: none; padding: 0; margin: 14px 0 0; }
.track {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.track button.play {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.track button.play svg { width: 16px; height: 16px; fill: currentColor; }
.track .name { font-weight: 700; }
.track .bar {
  height: 4px;
  background: rgba(255, 255, 255, .18);
  border-radius: 2px;
  margin-top: 6px;
  cursor: pointer;
  position: relative;
}
.track .bar span {
  position: absolute; inset: 0 auto 0 0;
  width: 0;
  background: var(--orange);
  border-radius: 2px;
}
.track .t { color: #BDB3A8; font-size: .9rem; font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: right; }

/* ---------- Video ---------- */
.video {
  background: #221E1B;
  color: #fff;
}
.video h2 { color: #fff; }
.videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.vid { margin: 0; }
.vid .frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.vid button {
  all: unset;
  cursor: pointer;
  position: absolute; inset: 0;
}
.vid button img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.vid button::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 58px; height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50% / 26px no-repeat;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
}
.vid button:focus-visible { outline: 3px solid var(--orange); }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid figcaption { margin-top: 8px; font-size: .95rem; color: #E6DED5; }

/* ---------- Bio ---------- */
.bio .wrap {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.bio p { margin: 0 0 1.1em; }
.bio blockquote {
  margin: 0 0 1.4em;
  padding-left: 18px;
  border-left: 3px solid var(--orange);
  font-family: var(--head);
  font-size: 1.15rem;
  line-height: 1.5;
}
.bio blockquote cite { display: block; font-family: var(--body); font-style: normal; color: var(--grey); font-size: .9rem; margin-top: 4px; }
.bio-photo { will-change: transform; }  /* site.js slides it down the column as you scroll (parallax) */

/* ---------- Contact ---------- */
.contact { background: var(--card); border-top: 1px solid var(--line); text-align: center; }
.contact h2::after { margin-left: auto; margin-right: auto; }
.contact .email {
  font-family: var(--head);
  font-size: clamp(1.4rem, 5vw, 2.4rem);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--orange);
}
.social { display: flex; justify-content: center; gap: 18px; margin-top: 28px; }
.social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--grey);
  text-decoration: none;
}
.social svg { width: 22px; height: 22px; fill: currentColor; }
.social a:hover { color: var(--orange); }

footer { padding: 26px 0 40px; color: var(--grey); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { color: var(--grey); }

/* ---------- Press kit page ---------- */
.press section { padding: 40px 0; border-bottom: 1px solid var(--line); }
.press .item { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: center; }
.press .item img { max-height: 360px; margin: 0 auto; }
.press .item.wide img { max-height: none; border-radius: 8px; }
.press .download {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .site-header .wrap { height: auto; padding-top: 10px; padding-bottom: 8px; flex-direction: column; gap: 6px; }
  .site-header .brand img { height: 22px; }
  .site-header nav { gap: 16px; }
  html { scroll-padding-top: 90px; }
  .hero { padding-top: 28px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { justify-content: center; }
  .hero-art .vertical-logo { font-size: 3rem; }
  .hero-art img { width: 52%; }
  .next-gig { padding: 22px; min-height: 0; }
  .next-gig .when { font-size: 1.7rem; }
  .albums, .videos, .bio .wrap, .press .item { grid-template-columns: 1fr; }
  .videos { gap: 26px; }
  .bio-photo { max-width: 240px; margin: 0 auto; }
  .album { grid-template-columns: 120px 1fr; }
  .cal-day { min-height: 48px; align-items: center; justify-content: center; padding: 4px 0; }
  .cal-day .venue { display: none; }
  .cal-day.has-gig::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
  .cal-day.selected::after { background: #fff; }
  h2 { font-size: 1.8rem; }
}
