/* KanØwurmz website styles
   Colours come from the logo: near-black, the pale "bone" lettering,
   and the warm skin/red tones of the face. */

:root {
  --black: #0f0e0d;
  --char: #191715;
  --char-2: #23201d;
  --line: #34302b;
  --bone: #ece3cc;
  --bone-dim: #bdb299;
  --muted: #8d8473;
  --warm: #d39b52;
  --red: #b5392a;
  --red-hover: #cc4433;
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { background: var(--black); color: var(--bone); font: 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h2 { font: 700 44px/1.05 var(--head); margin-bottom: 20px; }
h3 { font: 600 24px/1.2 var(--head); }
section { padding: 88px 0; }
.lead { font-size: 21px; color: var(--bone-dim); max-width: 60ch; }

.button { display: inline-block; font: 600 18px/1 var(--head); letter-spacing: .04em; text-decoration: none; padding: 14px 24px; border-radius: 3px; border: 2px solid var(--bone); transition: background .15s, color .15s; }
.button.primary { background: var(--red); border-color: var(--red); color: #fff; }
.button.primary:hover { background: var(--red-hover); border-color: var(--red-hover); }
.button:not(.primary):hover { background: var(--bone); color: var(--black); }

/* Placeholders: dashed boxes and highlighted text that still need real content */
.todo { background: #4a3a12; color: #f3d48a; padding: 0 4px; border-radius: 2px; }
[data-photo] { background: var(--char-2) center / cover no-repeat; position: relative; }
[data-photo] .photo-note { position: absolute; inset: 12px; border: 1px dashed #5a5248; display: grid; place-items: center; text-align: center; padding: 12px; font-size: 14px; line-height: 1.4; color: var(--muted); }
[data-photo].has-photo .photo-note { display: none; }
.hero-photo .photo-note { inset: 92px 24px auto auto; width: 300px; height: auto; }
.video-card .photo-note { align-items: end; padding-bottom: 18px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .2s; }
.site-header.scrolled, .site-header.open { background: rgba(15, 14, 13, .97); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 38px; width: auto; opacity: 0; transition: opacity .2s; }
.site-header.scrolled .brand img, .site-header.open .brand img { opacity: 1; }
.site-nav { display: flex; gap: 26px; align-items: center; }
.site-nav a { font: 600 18px var(--head); letter-spacing: .03em; text-decoration: none; color: var(--bone-dim); }
.site-nav a:hover { color: var(--bone); }
.site-nav .button { padding: 9px 16px; font-size: 17px; color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--bone); font: 600 16px var(--head); padding: 8px 14px; border-radius: 3px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; padding: 0; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,14,13,.35) 0%, rgba(15,14,13,0) 30%, rgba(15,14,13,.55) 70%, var(--black) 100%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 64px; }
.hero-logo { width: min(400px, 78vw); margin-bottom: 22px; box-shadow: 0 16px 50px rgba(0,0,0,.6); }
.hero h1 { font: 600 30px/1.25 var(--head); max-width: 26ch; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Gigs ---------- */
.gigs { background: var(--char); }
.gig-list { list-style: none; border-top: 1px solid var(--line); }
.gig { display: grid; grid-template-columns: 150px 1fr auto; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.gig-date { color: var(--muted); font-size: 16px; }
.gig-date b { display: block; font: 700 28px/1 var(--head); color: var(--bone); }
.gig-venue { font-size: 20px; font-weight: 600; }
.gig-venue small { display: block; font-size: 16px; font-weight: 400; color: var(--muted); }
.gig.is-private .gig-venue { color: var(--bone-dim); }
.guest-tag { display: inline-block; margin-left: 10px; font-size: 14px; font-weight: 600; color: var(--warm); }
.gig-time { color: var(--bone-dim); }
.gig-empty { padding: 20px 0; color: var(--muted); }
.recent { margin-top: 30px; color: var(--bone-dim); font-size: 16px; }
.recent strong { color: var(--bone); }

/* ---------- About + photo strip ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about p + p { margin-top: 1em; }
.about p { color: var(--bone-dim); }
.about-photo { aspect-ratio: 4 / 3; border-radius: 3px; }
.photo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 56px; }
.photo-strip > div { aspect-ratio: 1; border-radius: 3px; }

/* ---------- Band ---------- */
.band { background: var(--char); }
.members { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; margin-top: 12px; }
.member .portrait { aspect-ratio: 4 / 5; border-radius: 3px; margin-bottom: 14px; }
.member h3 { margin-bottom: 2px; }
.member .role { color: var(--warm); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.member p { color: var(--bone-dim); font-size: 16px; }
.member.guest { grid-column: 1 / -1; display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; padding: 22px; background: var(--char-2); border-radius: 3px; }
.member.guest .portrait { margin: 0; }

/* ---------- Songbook ---------- */
.songbook { columns: 3; column-gap: 44px; margin-top: 36px; }
.song-group { break-inside: avoid; margin-bottom: 30px; }
.song-group h3 { color: var(--warm); margin-bottom: 6px; }
.song-group ul { list-style: none; }
.song-group li { padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 16px; display: flex; justify-content: space-between; gap: 12px; }
.song-group li span { color: var(--muted); font-size: 14px; text-align: right; }

/* ---------- Video ---------- */
.video { background: var(--char); }
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 12px; }
.video-card { display: block; text-decoration: none; }
.video-card .thumb { aspect-ratio: 16 / 9; border-radius: 3px; margin-bottom: 10px; }
.video-card .thumb::before { content: ""; position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--red); z-index: 1; }
.video-card .thumb::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -13px 0 0 -6px; border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; z-index: 2; }
.video-card span { font-weight: 600; }
.video-card:hover span { color: var(--warm); }
.hope { margin-top: 40px; font-size: 16px; color: var(--muted); max-width: 70ch; }
.hope a { color: var(--bone-dim); }

/* ---------- Booking ---------- */
.book-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.book p { color: var(--bone-dim); }
.book ul { margin: 18px 0 0 20px; color: var(--bone-dim); }
.book li { margin: 4px 0; }
.contact { background: var(--char); border: 1px solid var(--line); border-radius: 3px; padding: 30px; }
.contact dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 16px 0 24px; }
.contact dt { color: var(--muted); }
.contact dd { overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { text-decoration: none; color: var(--bone-dim); }
.site-footer a:hover { color: var(--warm); }

/* ---------- Smaller screens ---------- */
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px 24px 26px; background: var(--black); border-bottom: 1px solid var(--line); }
  .site-header.open .site-nav { display: flex; }
  .about-grid, .book-grid { grid-template-columns: 1fr; gap: 36px; }
  .members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .songbook { columns: 2; }
  .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  section { padding: 64px 0; }
  h2 { font-size: 36px; }
  .hero h1 { font-size: 25px; }
  .gig { grid-template-columns: 1fr; gap: 4px; }
  .gig-date b { display: inline; font-size: 22px; margin-right: 6px; }
  .members { grid-template-columns: 1fr; }
  .member.guest { grid-template-columns: 110px 1fr; gap: 16px; padding: 16px; }
  .songbook { columns: 1; }
  .videos { grid-template-columns: 1fr; }
  .contact dl { grid-template-columns: 1fr; gap: 2px; }
  .contact dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
