/* ==========================================================================
   The Phat noiZ Blues Band — modernized stylesheet
   Restored from the 2006 Wayback Machine archive (www.phatnoiz.com)
   ========================================================================== */

:root {
  --bg: #0b0f16;
  --bg-soft: #101722;
  --panel: #141d2b;
  --panel-2: #1a2536;
  --line: #26354c;
  --text: #e8eef6;
  --muted: #9fb0c5;
  --accent: #4fc3f7;
  --accent-strong: #2196f3;
  --gold: #f2b45c;
  --danger: #ff8a80;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --maxw: 1000px;
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 50% -200px, rgba(33, 150, 243, .14), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
}

img, audio, video { max-width: 100%; height: auto; }

/* ---------- layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.page {
  padding: 28px 0 56px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #10131a;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- header ---------- */
.site-header {
  background: linear-gradient(180deg, rgba(16, 23, 34, .96), rgba(16, 23, 34, .88));
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
}

.brand-photo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, .18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: .5px;
  margin: 0;
}

.brand-name .noiz { color: var(--accent); }

.brand-tagline {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- navigation ---------- */
.nav-toggle {
  display: none;
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 14px;
  font: inherit;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0 0 12px;
}

.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
}

.site-nav a:hover { background: var(--panel-2); color: var(--accent); }

.site-nav a[aria-current="page"] {
  background: var(--accent-strong);
  color: #fff;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
  padding: 40px 0 12px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 14px;
}

.hero .lede {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 22px;
}

.hero-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  width: 100%;
  height: auto;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: .95rem;
  transition: transform .12s ease, background .12s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-strong), #6ec6ff);
  color: #06121f;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--accent);
}

.btn-ghost:hover { background: var(--panel-2); }

/* ---------- sections & cards ---------- */
.section { padding: 34px 0 8px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0;
}

.section-head .more { color: var(--accent); text-decoration: none; font-size: .92rem; }
.section-head .more:hover { text-decoration: underline; }

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.card p { margin: 0 0 10px; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

.card .cover {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: block;
  margin-bottom: 12px;
}

.price {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .03em;
}

.badge {
  display: inline-block;
  background: rgba(33, 150, 243, .16);
  color: var(--accent);
  border: 1px solid rgba(79, 195, 247, .35);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

/* ---------- article / prose ---------- */
.prose { max-width: 76ch; }

.prose h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  margin: 0 0 8px;
}

.prose .kicker {
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 28px 0 10px;
}

.prose h3 { font-size: 1.12rem; margin: 22px 0 8px; }

.prose p { margin: 0 0 14px; }

.prose a { color: var(--accent); }
.prose a:hover { color: #a5e3ff; }

.lede-intro { font-size: 1.06rem; color: var(--muted); }

figure { margin: 0 0 18px; }
figure img { border-radius: 10px; border: 1px solid var(--line); }
figcaption { color: var(--muted); font-size: .85rem; margin-top: 6px; }

.float-right {
  float: right;
  margin: 6px 0 14px 20px;
  max-width: 46%;
}

.float-left {
  float: left;
  margin: 6px 20px 14px 0;
  max-width: 46%;
}

.clearfix::after { content: ""; display: block; clear: both; }

/* ---------- news timeline ---------- */
.news-item { border-left: 3px solid var(--accent-strong); padding: 4px 0 4px 16px; margin-bottom: 22px; }
.news-item time { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .06em; }
.news-item h3 { margin: 4px 0 8px; font-size: 1.12rem; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }

table.gigs {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

table.gigs th {
  text-align: left;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

table.gigs td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(38, 53, 76, .55);
  vertical-align: top;
}

table.gigs tr:hover td { background: rgba(33, 150, 243, .05); }

/* ---------- notices ---------- */
.notice {
  background: rgba(242, 180, 92, .1);
  border: 1px solid rgba(242, 180, 92, .4);
  color: #f7dcb4;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 20px;
  font-size: .95rem;
}

.notice--info {
  background: rgba(33, 150, 243, .1);
  border-color: rgba(79, 195, 247, .4);
  color: #cfeaff;
}

/* ---------- audio ---------- */
.audio-card audio { width: 100%; }

.track-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 28px;
}

.track-list li {
  padding: 7px 0;
  border-bottom: 1px dashed rgba(38, 53, 76, .7);
  break-inside: avoid;
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
}

.gallery img { width: 100%; display: block; border-radius: 6px; }

/* ---------- faq ---------- */
details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 12px;
}

details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

details p { color: var(--muted); margin: 10px 0 0; }

/* ---------- breadcrumb ---------- */
.breadcrumb {
  font-size: .85rem;
  color: var(--muted);
  padding: 14px 0 0;
}

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  margin-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 26px;
  padding: 34px 0 22px;
}

.footer-grid h2 {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 7px; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }

.footer-blurb { color: var(--muted); font-size: .93rem; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 14px 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  color: var(--muted);
  font-size: .82rem;
}

/* ---------- forms ---------- */
.form-card label { display: block; font-weight: 600; margin: 12px 0 4px; }
.form-card input[type="email"], .form-card input[type="text"], .form-card textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}
.form-card .hint { color: var(--muted); font-size: .84rem; }

/* ---------- utility ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.center { text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 22px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .track-list { columns: 1; }
}

@media (max-width: 680px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding-bottom: 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-right, .float-left { float: none; max-width: 100%; margin: 0 0 16px; }
}