/* =========================================================
   Flying Yogurt — site-wide styles
   Bold, dark, gig-poster aesthetic. No framework dependency.
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #0b0b0d;
  --bg-alt: #131316;
  --surface: #1c1c21;
  --surface-2: #232329;
  --border: #2f2f37;

  --text: #f4f1ea;
  --text-muted: #b7b2a6;
  --text-faint: #8b877e;

  --accent: #f2731f;
  --accent-light: #ff9a4d;
  --accent-dark: #c2540f;

  --focus: #ffd166;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 6px 16px rgba(0, 0, 0, 0.35);

  --container: 1080px;
  --header-h: 72px;
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-light);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #14140f;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.6em;
}

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 48px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-head p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.section-head--spaced {
  margin-top: 56px;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 0.9em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--accent);
  color: #16140f;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--accent-light);
  color: #16140f;
}

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

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent-light);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 11, 13, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-brand:hover,
.nav-brand:focus-visible {
  color: var(--text);
}

.nav-brand img {
  height: 38px;
  width: 38px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span {
  top: 19px;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-links.is-open {
    max-height: 320px;
  }

  .nav-links a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .nav-links a[aria-current="page"] {
    border-bottom-color: var(--border);
    background: var(--surface);
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 24px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(242, 115, 31, 0.25), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  color: var(--text);
}

.hero-copy h1 span {
  color: var(--accent);
}

.hero-copy .lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 11, 13, 0.65));
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    max-width: 420px;
    margin: 0 auto;
    order: -1;
  }
}

/* ---------- video ---------- */
.video-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.about-card .num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.6rem;
}

@media (max-width: 760px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- band grid ---------- */
.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 980px) {
  .band-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .band-grid {
    grid-template-columns: 1fr;
  }
}

.member-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.member-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.member-body h3 {
  margin-bottom: 0;
}

.member-role {
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.member-instruments {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 6px 0 0;
}

/* ---------- accordion (shared: band Q&A + performance venues) ---------- */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
}

.accordion-item + .accordion-item {
  margin-top: 10px;
}

.accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  color: var(--text);
  border: 0;
  text-align: left;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
}

.accordion-toggle:hover,
.accordion-toggle:focus-visible {
  background: var(--surface-2);
}

.accordion-toggle .chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
  color: var(--accent);
}

.accordion-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--bg-alt);
}

.accordion-panel-inner {
  padding: 18px;
}

.qa dt {
  font-weight: 700;
  color: var(--text);
  margin-top: 14px;
}

.qa dt:first-child {
  margin-top: 0;
}

.qa dd {
  margin: 4px 0 0;
  color: var(--text-muted);
}

/* ---------- performance video link cards ---------- */
.song-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 620px) {
  .song-grid {
    grid-template-columns: 1fr;
  }
}

.song-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.song-link:hover,
.song-link:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
  color: var(--text);
}

.song-link .icon-yt {
  color: #ff4d4d;
  flex-shrink: 0;
}

.song-link .song-title {
  flex: 1;
  font-weight: 600;
  font-size: 0.95rem;
}

.song-link .icon-ext {
  color: var(--text-faint);
  flex-shrink: 0;
}

.youtube-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #cc1f1f, #7a0f0f);
  color: #fff;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.youtube-cta:hover,
.youtube-cta:focus-visible {
  color: #fff;
}

.youtube-cta .icon-yt-big {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
}

.youtube-cta h3 {
  margin-bottom: 4px;
}

.youtube-cta p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

/* ---------- repertoire / set list ---------- */
.repertoire-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 760px) {
  .repertoire-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .repertoire-grid {
    grid-template-columns: 1fr;
  }
}

.repertoire-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.repertoire-item .song {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}

.repertoire-item .artist {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 2px;
}

.repertoire-item--more {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-style: dashed;
  border-color: var(--accent);
  background: transparent;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-light);
}

/* ---------- events table ---------- */
.events-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

table.events {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

table.events th {
  text-align: left;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent);
  background: var(--surface-2);
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

table.events td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}

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

table.events td:first-child,
table.events td strong {
  color: var(--text);
}

.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

@media (max-width: 700px) {
  table.events thead {
    display: none;
  }

  table.events,
  table.events tbody,
  table.events tr,
  table.events td {
    display: block;
    width: 100%;
  }

  table.events tr {
    padding: 16px 18px;
  }

  table.events td {
    border: 0;
    padding: 4px 0;
  }

  table.events td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent);
    margin-bottom: 2px;
  }
}

/* ---------- contact form ---------- */
.contact-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-faint);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-top: 16px;
}

.contact-methods {
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin: 32px auto 0;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.contact-method svg {
  color: var(--accent);
  flex-shrink: 0;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  padding: 56px 0 32px;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-col h4 {
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-col a {
  color: var(--text-muted);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--accent-light);
}

.social-links li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.85rem;
}
