/* =========================================================
   Sounds of Europe — Friedberg
   Design tokens derived from the event poster:
   pale periwinkle sky, deep indigo night, layered teal
   sunburst, lime-green map of Europe.
   ========================================================= */

:root {
  --navy-deep: #14123a;
  --navy: #1c1b4d;
  --lavender: #aab0dc;
  --lavender-light: #d7dbf1;
  --teal-deep: #0d4f48;
  --teal: #187f70;
  --teal-light: #4fb99e;
  --lime: #c6d93f;
  --lime-deep: #a8bc2a;
  --ink: #14132e;
  --paper: #faf9f4;
  --white: #ffffff;

  --font-display: "Baloo 2", "Segoe UI Rounded", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 45px -20px rgba(20, 18, 58, 0.35);
  --max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: var(--navy);
}

p { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--teal-deep);
  margin-bottom: 14px;
}

/* --- star-ring motif, echoes the "O" in the poster logo --- */
.star-ring {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}
.star-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle 2px at 50% 6%, currentColor 98%, transparent 100%),
    radial-gradient(circle 2px at 76% 15%, currentColor 98%, transparent 100%),
    radial-gradient(circle 2px at 92% 38%, currentColor 98%, transparent 100%),
    radial-gradient(circle 2px at 92% 66%, currentColor 98%, transparent 100%),
    radial-gradient(circle 2px at 76% 88%, currentColor 98%, transparent 100%),
    radial-gradient(circle 2px at 50% 97%, currentColor 98%, transparent 100%),
    radial-gradient(circle 2px at 24% 88%, currentColor 98%, transparent 100%),
    radial-gradient(circle 2px at 8% 66%, currentColor 98%, transparent 100%),
    radial-gradient(circle 2px at 8% 38%, currentColor 98%, transparent 100%),
    radial-gradient(circle 2px at 24% 15%, currentColor 98%, transparent 100%);
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 18, 58, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand-logo {
  height: 26px;
  width: auto;
  display: block;
}
.brand .star-ring { color: var(--lime); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--lavender-light);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.nav-cta {
  background: var(--lime) !important;
  color: var(--navy-deep) !important;
}
.nav-cta:hover { background: var(--lime-deep) !important; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: var(--navy-deep); }
.btn-primary:hover { box-shadow: 0 12px 24px -10px rgba(198,217,63,0.6); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { box-shadow: 0 12px 24px -10px rgba(20,18,58,0.5); }
.btn-block { width: 100%; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 55%, var(--teal-deep) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 64px 0 90px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 30% 0%, rgba(170,176,220,0.35), transparent 60%),
    radial-gradient(50% 40% at 90% 10%, rgba(79,185,158,0.35), transparent 60%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 5vw, 4rem);
  margin-bottom: 0.3em;
}
.hero h1 em {
  font-style: normal;
  color: var(--lime);
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--lavender-light);
  max-width: 46ch;
}
.hero .eyebrow { color: var(--lime); }
.patron-note {
  color: var(--lime);
  font-weight: 700;
  font-size: 0.95rem;
  margin: -14px 0 22px;
  letter-spacing: 0.01em;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 30px;
}
.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}
.poster-frame {
  transform: rotate(3deg);
  background: var(--white);
  padding: 10px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-width: 340px;
}
.poster-frame img { border-radius: 8px; }

/* ---------------- Ribbon (signature element) ---------------- */
.ribbon-wrap {
  position: relative;
  height: 74px;
  overflow: hidden;
  background: var(--paper);
}
.ribbon {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 50%;
  transform: translateY(-50%) rotate(-2.2deg);
  background: var(--lime);
  color: var(--navy-deep);
  padding: 12px 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
}
.ribbon span { padding: 0 1.4em; }
.ribbon span::after { content: "•"; margin-left: 1.4em; opacity: 0.55; }

/* ---------------- Sections ---------------- */
section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--lavender-light); }
.section-dark { background: var(--navy-deep); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 62ch; margin-bottom: 42px; }
.section-head p { color: #46456a; font-size: 1.05rem; }
.section-dark .section-head p { color: var(--lavender-light); }

.grid {
  display: grid;
  gap: 26px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-form { grid-template-columns: 1.4fr 1fr; align-items: flex-start; }
.grid-info { grid-template-columns: 1.3fr 0.9fr; align-items: flex-start; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card .star-ring { color: var(--teal); margin-bottom: 14px; }
.card .card-icon { font-size: 1.9rem; line-height: 1; margin-bottom: 14px; display: block; }
.card p:last-child { margin-bottom: 0; }
.card a.card-link {
  font-weight: 800;
  color: var(--teal-deep);
  text-decoration: none;
}
.card a.card-link:hover { text-decoration: underline; }

/* ---------------- Logo cards (Förderer & Sponsoren) ---------------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.logo-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.logo-card:hover { transform: translateY(-3px); }
.logo-card-img {
  height: 90px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-card-img img {
  max-height: 90px;
  max-width: 100%;
  object-fit: contain;
}
.logo-card-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--navy);
}
.logo-card-link {
  font-size: 0.85rem;
  color: var(--teal-deep);
  font-weight: 700;
}
.logo-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.logo-section-head h2 { margin-bottom: 0; }

@media (max-width: 900px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .logo-grid { grid-template-columns: 1fr; }
}

.singers-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow);
}
.singers-note .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--teal);
  line-height: 1;
}

/* ---------------- Funders teaser strip ---------------- */
.funders {
  background: var(--white);
  border-top: 1px solid #e7e5da;
  border-bottom: 1px solid #e7e5da;
}
.funders-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.funders-teaser h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.funders-teaser p {
  color: #46456a;
  margin: 0;
  max-width: 52ch;
}

/* ---------------- CTA banner ---------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--teal-deep), var(--teal));
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
}
.cta-banner h2 { color: var(--white); margin-bottom: 6px; }
.cta-banner p { color: var(--lavender-light); margin: 0; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--lavender-light);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; color: var(--lavender-light); }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.86rem;
  color: #9a9ac2;
}

/* ---------------- Forms ---------------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; gap: 20px; margin-bottom: 20px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
label {
  display: block;
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 7px;
  color: var(--navy);
}
input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 2px solid #dcdaf0;
  background: var(--paper);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(24,127,112,0.35);
  border-color: var(--teal);
}
textarea { resize: vertical; min-height: 110px; }
.hint { font-size: 0.85rem; color: #6a6890; margin-top: 6px; }
.required::after { content: " *"; color: var(--teal-deep); }

.form-feedback {
  display: none;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: #eaf5f0;
  border: 2px solid var(--teal-light);
  color: var(--teal-deep);
  font-weight: 700;
}
.form-feedback.visible { display: block; }
.form-feedback.error {
  background: #fbeceb;
  border-color: #e2a39c;
  color: #9a3a30;
}

/* ---------------- Info list / page header ---------------- */
.page-header {
  background: linear-gradient(180deg, var(--navy-deep), var(--teal-deep));
  color: var(--white);
  padding: 70px 0 60px;
}
.page-header h1 { color: var(--white); font-size: clamp(2.1rem, 4vw, 2.9rem); }
.page-header p { color: var(--lavender-light); max-width: 60ch; font-size: 1.08rem; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--lavender-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  opacity: 0.85;
}
.breadcrumb:hover { opacity: 1; }

.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }

.timeline {
  border-left: 3px solid var(--teal-light);
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.timeline .year {
  font-family: var(--font-display);
  color: var(--teal-deep);
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.people-card {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
}

/* ---------------- Artist cards ---------------- */
.artist-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.artist-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 30px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 36px;
  box-shadow: var(--shadow);
}
.artist-photo-wrap {
  position: relative;
  width: 160px;
  height: 160px;
}
.artist-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px -10px rgba(20,18,58,0.35);
  border: 4px solid var(--paper);
}
.artist-flag {
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-size: 1.6rem;
  line-height: 1;
  background: var(--white);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px -3px rgba(20,18,58,0.4);
}
.artist-body h2 { font-size: 1.5rem; margin-bottom: 0.3em; }
.artist-body .eyebrow { margin-bottom: 6px; }
.artist-body p { color: #46456a; }
.artist-body p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .artist-card { grid-template-columns: 1fr; text-align: left; }
  .artist-photo-wrap { margin: 0 auto; }
}

.avatar {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  flex: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

/* ---------------- Utility ---------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.9rem; }
.divider { height: 1px; background: #e2e0d3; margin: 40px 0; border: 0; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .poster-frame { max-width: 260px; margin: 0 auto; }
  .grid-3, .grid-4, .grid-2, .grid-form, .grid-info { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .form-row.two { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--navy-deep);
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 12px 20px 20px; gap: 4px; }
  .main-nav a { display: block; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
