:root {
  --bg: #f6f1e7;
  --panel: #fffdf8;
  --text: #1f1c17;
  --muted: #6b6256;
  --line: #e3d8c5;
  --accent: #8f4b2c;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, #fff8e6 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, #efe4cf 0%, transparent 35%),
    var(--bg);
  line-height: 1.6;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  padding: 0.55rem 0.65rem;
  background: rgba(251, 246, 236, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #deceb6;
}

.top-nav a {
  display: inline-block;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-family: "Sanchez", Georgia, serif;
  font-size: 0.92rem;
  text-decoration: none;
  color: #5a321f;
  border: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: #f3e8d3;
  border-color: #d8c3a2;
  color: #3c2012;
}

.top-nav a[aria-current="page"] {
  background: #f3e8d3;
  border-color: #d8c3a2;
  color: #3c2012;
}

.hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 12, 7, 0.25) 0%, rgba(18, 12, 7, 0.65) 100%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.03) 8px,
      transparent 8px,
      transparent 16px
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fdfaf3;
  padding: 1.5rem;
  animation: rise-in 700ms ease-out both;
}

.hero h1 {
  margin: 0;
  font-family: "Sanchez", Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: 0.03em;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.48);
}

.hero p {
  margin-top: 0.45rem;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f4e8cf;
}

.page-content {
  width: min(980px, 92vw);
  margin: -2rem auto 2.5rem;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1rem;
  box-shadow: 0 8px 30px rgba(46, 36, 27, 0.08);
  animation: rise-in 700ms ease-out both;
}

.card h2 {
  margin: 0 0 0.3rem;
  font-family: "Sanchez", Georgia, serif;
  color: var(--accent);
  font-size: 1.6rem;
}

.card p {
  margin: 0.15rem 0 0.75rem;
  color: var(--muted);
}

.card a {
  color: var(--accent);
  font-weight: 600;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.card a:hover,
.card a:focus-visible {
  color: #6d341c;
}

.booking-links {
  display: grid;
  gap: 0.35rem;
}

.booking-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
}

.booking-link svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  color: var(--accent);
}

.gigs-block + .gigs-block {
  margin-top: 1rem;
}

.gigs-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.gigs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

.gigs-table th,
.gigs-table td {
  text-align: left;
  padding: 0.68rem 0.75rem;
  border-bottom: 1px solid #eee4d4;
  color: var(--text);
}

.gigs-table th {
  background: #f5ecdc;
  font-family: "Sanchez", Georgia, serif;
  font-size: 0.95rem;
  color: #5a321f;
}

.gigs-table tbody tr:nth-child(even) {
  background: #fffcf5;
}

.gigs-table tbody tr:last-child td {
  border-bottom: 0;
}

.gigs-table td:first-child {
  white-space: nowrap;
  font-weight: 600;
  color: #5a321f;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-family: "Sanchez", Georgia, serif;
  color: var(--accent);
  font-size: 1.1rem;
}

.media-grid {
  display: grid;
  gap: 0.9rem;
}

.media-block {
  min-width: 0;
}

.embed-frame {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.embed-frame iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 352px;
}

.video-frame iframe {
  aspect-ratio: 16 / 9;
  min-height: unset;
}

.compact-spotify iframe {
  min-height: 152px;
  height: 152px;
}

.site-footer {
  padding: 1.4rem 1rem 2rem;
  text-align: center;
  color: #6f6659;
  font-size: 0.95rem;
}

.gallery-page .page-content {
  margin: 1.2rem auto 2.5rem;
}

.gallery-intro {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 1rem;
}

.photo-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(46, 36, 27, 0.08);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.photo-card figcaption {
  padding: 0.4rem 0.55rem 0.5rem;
  font-size: 0.82rem;
  color: #6b6256;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 720px) {
  .card {
    padding: 1.4rem;
  }

  .page-content {
    gap: 1.2rem;
  }

  .media-grid {
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
  }

  .gigs-block + .gigs-block {
    margin-top: 1.2rem;
  }
}
