/* ============================================================
   Burugu — Minimal DJ Website
   Combines Derrick Gee (top announcement + portrait + strikethrough)
   with Lovie (centered narrow column, 1px hairline accordion with
   plus/minus icon, centered social & email sign-off).
   ============================================================ */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
}

:root {
  --bg: #faf9f6;
  --fg: #111111;
  --muted: #5f5b55;
  --accent: #c9341b;
  --column-max: 560px;
  --gutter: 6vw;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* Accordion tokens (Lovie 1px hairline + 14px plus icon) */
  --acc-pad-y: 15px;
  --acc-icon-size: 14px;
  --acc-line: 1px;
}

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

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

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease, opacity 0.15s ease;
}

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

/* Derrick Gee detail: italics render as strikethrough for SOLD OUT / past shows */
em {
  font-style: normal;
  text-decoration: line-through;
  color: var(--muted);
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px var(--gutter) 16px;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
}

.site-mark {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.site-title:hover {
  color: var(--fg);
  opacity: 0.75;
}

/* ---------- Centered Single Column ---------- */
.column {
  width: 100%;
  max-width: var(--column-max);
  margin: 0 auto;
  padding: 8px var(--gutter) 40px;
}

/* ---------- Intro (Tour Block) ---------- */
.intro {
  margin: 44px 0 34px;
}

/* When there are no upcoming shows the tour block is hidden, so restore the
   space between the header and the portrait. */
.intro[hidden] + .hero-image {
  margin-top: 32px;
}

.tour-announce {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

.section-label {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.noscript-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- About ---------- */
/* The bottom border closes the about block and doubles as the top
   rule of the accordion below it, so the two sections share one line. */
.about {
  margin: 0;
  padding: 18px 0 22px;
  border-top: 1px solid var(--fg);
  border-bottom: 1px solid var(--fg);
}

.about .section-label {
  margin-bottom: 14px;
}

.about-body p {
  margin: 0 0 14px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.about-body p:last-child {
  margin-bottom: 0;
}

/* ---------- Show rows ---------- */
.show-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.show-row {
  display: grid;
  grid-template-columns: 10.5rem 1fr;
  align-items: baseline;
  gap: 14px;
}

.show-date {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: var(--muted);
  white-space: nowrap;
}

/* Stack the date above the venue on narrow screens, where a date with a time
   would otherwise squeeze the venue into a narrow column. */
@media (max-width: 520px) {
  .show-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.show-body {
  min-width: 0;
  overflow-wrap: break-word;
}

.show-row--next .show-date {
  color: var(--accent);
}

/* ---------- Hero Portrait ---------- */
.hero-image {
  margin: 0 0 28px;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Accordion (Lovie 1px lines + plus/minus icon) ---------- */
.accordion-section {
  margin-bottom: 36px;
}

.accordion {
  list-style: none;
  margin: 0;
  padding: 0;
}

.accordion-item {
  margin: 0;
  padding: 0;
}

.accordion-divider {
  width: 100%;
  height: var(--acc-line);
  background-color: var(--fg);
}

.accordion-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.accordion-trigger {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  border: 0;
  padding: var(--acc-pad-y) 0;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.accordion-trigger:hover .accordion-title {
  color: var(--accent);
}

.accordion-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.accordion-title {
  flex: 1;
  padding-right: 16px;
}

/* Plus / Minus Icon */
.plus {
  position: relative;
  width: var(--acc-icon-size);
  height: var(--acc-icon-size);
  flex: 0 0 var(--acc-icon-size);
}

.plus__horizontal,
.plus__vertical {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: var(--acc-line);
  background-color: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.plus__vertical {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-item.is-open .plus__vertical {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

/* Accordion Dropdown Content */
.accordion-dropdown {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.accordion-item.is-open .accordion-dropdown {
  grid-template-rows: 1fr;
}

.accordion-description {
  overflow: hidden;
  font-size: 0.94rem;
  line-height: 1.6;
}

.accordion-item.is-open .accordion-description {
  padding-bottom: 18px;
}

.accordion-description p {
  margin: 0 0 12px;
}

.accordion-description p:last-child,
.accordion-description ul:last-child {
  margin-bottom: 0;
}

.accordion-description ul {
  margin: 0 0 12px;
  padding-left: 18px;
}

.accordion-description li {
  margin-bottom: 6px;
}

.past-heading {
  margin-top: 14px !important;
  margin-bottom: 4px !important;
}

/* ---------- Lovie-style Centered Socials & Email ---------- */
.socials {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.8;
  text-transform: uppercase;
  margin: 36px 0 16px;
}

.socials p {
  margin: 0 0 6px;
}

.socials-email {
  font-weight: 500;
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 20px var(--gutter) 44px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

/* ---------- Mobile & Reduced Motion ---------- */
@media (min-width: 768px) {
  .column {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  .site-header {
    padding: 18px var(--gutter) 12px;
  }
  .accordion-trigger {
    padding: 14px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .accordion-dropdown,
  .plus__horizontal,
  .plus__vertical {
    transition: none;
  }
}
