/* jasonwiller.com — shared styles (matches the Squarespace design) */
:root {
  --bg: #000;
  --text: #fafafa;
  --heading: #dcdcdc;
  --muted: #a8a8a8;
  --button-bg: #dcdcdc;
  --button-text: #000;
  --gutter: clamp(16px, 4vw, 56px);
  --serif-display: "Instrument Serif", Georgia, serif;
  --serif-body: "Newsreader", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif-body);
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; }
img, video { max-width: 100%; display: block; }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px var(--gutter);
  min-height: 182px;
}
.site-logo img { width: 130px; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 39px; margin-left: auto; }
.site-nav a { text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.site-social { display: flex; gap: 24px; align-items: center; margin-left: 24px; }
.site-social svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.btn {
  display: inline-block;
  background: var(--button-bg);
  color: var(--button-text);
  border-radius: 300px;
  padding: 14px 32px;
  text-decoration: none;
  white-space: nowrap;
  margin-left: 36px;
}
.btn:hover { opacity: .85; }
.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  padding: 10px;
  cursor: pointer;
}
.menu-toggle svg { width: 28px; height: 28px; stroke: currentColor; }

@media (max-width: 1100px) {
  .site-header { flex-wrap: wrap; min-height: 0; }
  .site-logo img { width: 96px; }
  .menu-toggle { display: block; }
  .site-nav, .site-social, .site-header .btn { display: none; }
  .site-header.open .site-nav {
    display: flex; flex-direction: column; align-items: flex-start; width: 100%; gap: 18px;
    font-size: 26px; margin: 12px 0 0;
  }
  .site-header.open .site-social { display: flex; margin: 8px 0 0; }
  .site-header.open .btn { display: inline-block; margin: 12px 0 0; }
}

/* ---------- Page content ---------- */
main { padding: 0 var(--gutter) 96px; }
h1, h2 {
  font-family: var(--serif-display);
  font-weight: 400;
  margin: 0;
}
.page-title { font-size: clamp(40px, 5.6vw, 66px); line-height: 1.06; letter-spacing: -0.02em; color: var(--heading); padding: 40px 0 72px; }
.section-title { font-size: clamp(34px, 3.4vw, 46px); line-height: 1.11; letter-spacing: -0.02em; padding: 96px 0 48px; }
p { margin: 0 0 16px; }

/* Performances page: list on the left, flyers on the right */
.performances { display: grid; grid-template-columns: minmax(0, 744px) minmax(0, 270px); justify-content: space-between; gap: 48px; }
.show-list { list-style: none; margin: 0; padding: 0; }
.show-list li { margin: 0 0 16px; overflow-wrap: anywhere; }
.flyers { display: flex; flex-direction: column; gap: 48px; padding-top: 96px; }
.flyers img { width: 100%; height: auto; }
@media (max-width: 800px) {
  .section-title { padding-top: 24px; }
  .flyers { padding-top: 0; }
  .performances { grid-template-columns: 1fr; }
  .flyers { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .flyers img { width: calc(50% - 8px); }
}

/* Drum Lessons page */
.lessons-intro { display: grid; grid-template-columns: minmax(0, 800px) minmax(0, 474px); gap: 11px 32px; margin: 0 calc(-1 * var(--gutter)); padding-right: var(--gutter); align-items: start; }
.lessons-intro img { width: 100%; height: auto; }
@media (max-width: 900px) {
  .lessons-intro { grid-template-columns: 1fr; padding: 0; }
  .lessons-intro .copy { padding: 0 var(--gutter); }
}
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 9%; margin-top: 96px; align-items: start; }
.video-grid figure { margin: 0; }
.video-grid video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.video-grid figcaption { padding: 12px 10% 0; }
.video-missing { aspect-ratio: 16 / 9; border: 1px dashed var(--muted); color: var(--muted); display: grid; place-items: center; text-align: center; padding: 16px; }
@media (max-width: 700px) { .video-grid { grid-template-columns: 1fr; } }

.load-error { color: var(--muted); }

/* ---------- Booking pages ---------- */
.narrow { max-width: 952px; margin: 0 auto; }
.lead { font-size: clamp(19px, 1.8vw, 22.72px); line-height: 1.5; }
.booking-title { font-size: clamp(30px, 3vw, 36.16px); line-height: 1.14; letter-spacing: -0.02em; color: var(--heading); text-align: center; padding: 40px 0 64px; }
.lesson-list { list-style: none; margin: 0 auto; padding: 0; max-width: 960px; }
.lesson-list li { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 0 89px; }
.lesson-list li:last-child { padding-bottom: 0; }
.lesson-list .btn { margin: 0; padding: 22px 46px; }
@media (max-width: 600px) {
  .lesson-list li { flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 48px; }
}
.thanks-title { font-size: clamp(40px, 5.6vw, 66.4px); line-height: 1.06; letter-spacing: -0.02em; color: var(--heading); padding: 40px 0 32px; max-width: 760px; }
.sub-head { font-family: var(--serif-display); font-weight: 400; font-size: 26px; line-height: 1.17; letter-spacing: -0.01em; margin: 32px 0 24px; text-shadow: 0 0 .5px currentColor; }
.sub-head:first-child { margin-top: 0; }
.steps { list-style: none; margin: 16px 0; padding: 0 0 0 40px; }
.steps li { margin: 8px 0; }
.qr { width: 167px; height: auto; margin: 40px auto 24px; background: #fff; }

/* ---------- Discography ---------- */
.album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 6%; padding-top: 64px; align-items: start; }
.album-grid figure { margin: 0; }
.album-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.album-grid figcaption { padding: 12px 4px 0; }
@media (max-width: 800px) { .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; padding-top: 16px; } }

/* ---------- Home ---------- */
.home-intro { display: grid; grid-template-columns: minmax(0, 636px) minmax(0, 528px); justify-content: space-between; gap: 48px; padding-top: 46px; align-items: start; }
.home-intro img { width: 100%; height: auto; aspect-ratio: 636 / 785; object-fit: cover; }
.live-photos { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 474px); justify-content: space-between; gap: 48px; padding: 48px 6% 0; align-items: start; }
.live-photos img { width: 100%; height: auto; }
.live-photos img:first-child { margin-top: 163px; }
.gear { display: grid; grid-template-columns: minmax(0, 312px) minmax(0, 366px); justify-content: space-between; gap: 48px; padding: 0 12% 0 10%; margin-top: 48px; align-items: start; }
.gear .brand { height: 222px; width: auto; margin: 0 0 40px; }
.gear .brand.paiste { margin-left: 16px; }
.gear .brand.brooks { height: 175px; margin-top: 15px; margin-bottom: 35px; }
.home-logo { width: 222px; height: auto; margin: 56px auto 96px; }
@media (max-width: 900px) {
  .home-intro, .live-photos, .gear { grid-template-columns: 1fr; padding-left: 0; padding-right: 0; margin-top: 0; }
  .live-photos img:first-child { margin-top: 0; }
}
.light-band { background: #fff; color: #1c1c1c; margin: 0 calc(-1 * var(--gutter)) -96px; padding: 96px var(--gutter) 120px; }
.light-band h2 { font-family: var(--serif-display); font-weight: 400; font-size: clamp(36px, 3.4vw, 46.24px); line-height: 1.11; letter-spacing: -0.02em; text-align: center; margin: 0 0 24px; }
.light-band > p { text-align: center; margin: 0 0 56px; }
.light-band .lesson-list { max-width: 566px; border: 1px solid #e6e6e6; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.light-band .lesson-list li { padding: 24px 22px; border-top: 1px solid #e6e6e6; }
.light-band .lesson-list li:first-child { border-top: 0; }
.light-band .lesson-list p { margin: 0; }
.light-band .btn { background: #000; color: #fff; border-radius: 0; padding: 9px 12px; font-size: 13px; letter-spacing: .04em; font-weight: 600; }

/* ---------- Contact ---------- */
.contact-sub { font-family: var(--serif-display); font-weight: 400; font-size: clamp(32px, 3.4vw, 46.24px); line-height: 1.11; letter-spacing: -0.02em; color: var(--heading); margin: 0 0 40px; padding-left: 6px; }
.contact-info { margin: 0 0 72px; }
.contact-form { max-width: 528px; }
.contact-form fieldset { border: 0; margin: 0; padding: 0; }
.contact-form legend { padding: 0; margin-bottom: 12px; font-size: 14px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-form label { display: block; font-size: 13px; margin: 0 0 16px; }
.contact-form label .req { color: var(--muted); margin-left: 4px; font-size: 12px; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 16px; color: var(--text);
  background: transparent; border: 1px solid var(--text); border-radius: 24px; padding: 8px 15px; height: 42px;
}
.contact-form textarea { height: 100px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--text); outline-offset: 1px; }
.contact-form .btn { margin: 4px 0 0; border: 0; font: inherit; font-size: 16px; cursor: pointer; padding: 15px 32px; }
.contact-form .btn[disabled] { opacity: .6; cursor: wait; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 20px; min-height: 24px; }
.form-status.error { color: #ffb4b4; }
@media (max-width: 500px) { .contact-form .row { grid-template-columns: 1fr; gap: 0; } }
