/* Benita Bike's DanceArt — new static site */
:root {
  --bg: #f7f3ee;
  --bg-elevated: #fffcf7;
  --ink: #1c1714;
  --ink-muted: #4a433d;
  --accent: #7a1e3a;
  --accent-hover: #5c152b;
  --line: rgba(28, 23, 20, 0.12);
  --shadow: 0 12px 40px rgba(28, 23, 20, 0.08);
  --radius: 12px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max: 1120px;
  --focus: 2px solid var(--accent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.nav-toggle {
  margin-left: auto;
  display: none;
  padding: 0.5rem 0.75rem;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-elevated);
  cursor: pointer;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
}

.site-nav > ul > li {
  position: relative;
}

.site-nav a {
  display: block;
  padding: 0.45rem 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(122, 30, 58, 0.08);
  color: var(--accent);
}

.site-nav .sub {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 12rem;
  padding: 0.35rem 0;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-nav li:hover .sub,
.site-nav li:focus-within .sub {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav .sub a {
  padding: 0.4rem 0.85rem;
  font-size: 0.95rem;
}

.header-cta {
  flex-shrink: 0;
}

.btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn--ghost:hover {
  background: rgba(122, 30, 58, 0.08);
}

main {
  overflow-x: hidden;
}

.layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: grid;
  align-items: end;
  padding: 3rem 1.25rem;
  color: #fff;
  background: var(--ink) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 23, 20, 0.85) 0%,
    rgba(28, 23, 20, 0.35) 45%,
    transparent 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  max-width: 18ch;
}

.hero p.lead {
  font-size: 1.15rem;
  max-width: 42ch;
  margin: 0 0 1.25rem;
  opacity: 0.95;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 1rem;
}

.prose {
  max-width: 65ch;
}

.prose p {
  margin: 0 0 1rem;
}

.grid-2 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.figure figcaption {
  padding: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  border: 1px solid var(--line);
}

.embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.event-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.event-list li:last-child {
  border-bottom: 0;
}

.event-list strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.45;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.quote cite {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: normal;
  color: var(--ink-muted);
}

.link-list a {
  display: inline-block;
  margin: 0.25rem 0.5rem 0.25rem 0;
}

.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 1.25rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
}

.site-footer a {
  color: #f0d6dc;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.footer-legal__title {
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-legal__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-legal__nav a {
  font-weight: 500;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  padding: 1rem;
  background: rgba(28, 23, 20, 0.97);
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

.cookie-consent a {
  color: #f0d6dc;
}

.cookie-consent__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cookie-consent__inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.cookie-consent__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.cookie-consent__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 52ch;
  opacity: 0.95;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-consent .btn--primary {
  background: #f0d6dc;
  color: var(--ink);
}

.cookie-consent .btn--primary:hover {
  background: #fff;
  color: var(--ink);
}

.cookie-consent .btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.cookie-consent .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-consent__customize {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-consent__fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.cookie-consent__legend {
  font-weight: 600;
  margin-bottom: 0.5rem;
  padding: 0;
}

.cookie-consent__check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0;
  font-size: 0.9rem;
  cursor: pointer;
}

.cookie-consent__check input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent);
}

.legal-page {
  max-width: 48rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.legal-page h2:first-of-type {
  margin-top: 1.25rem;
}

.legal-page ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-page .last-updated {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.legal-page h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.social a {
  font-weight: 600;
  text-decoration: none;
}

.footer-meta {
  font-size: 0.9rem;
  opacity: 0.85;
}

.page-hero {
  padding: 2.5rem 0 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 50ch;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    flex-basis: 100%;
    order: 3;
    display: none;
    padding: 0.5rem 0 0;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav .sub {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    padding-left: 1rem;
    background: transparent;
  }

  .header-cta {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
