/* ============================================================
   OUTLOUD — styles.css
   Brand: Montserrat, indigo #2B2D82 / cyan #00C2CB / coral #FF6B4A
   Mobile-first, no framework.
   ============================================================ */

:root {
  --indigo: #2B2D82;
  --indigo-divider: #3D3F95;
  --cyan: #00C2CB;
  --coral: #FF6B4A;
  --text-dark: #1B1B29;
  --text-muted: #55556A;
  --bg-light: #F7F8FC;
  --divider-light: #CCCCCC;
  --white: #FFFFFF;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1120px;
  --container-narrow: 760px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(27, 27, 41, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font);
  font-weight: 500;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }

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

h1, h2, h3 { line-height: 1.15; font-weight: 800; color: var(--indigo); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 1.25rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--narrow { max-width: var(--container-narrow); }

/* ---------- Accessibility ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--coral);
  color: var(--text-dark);
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

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

/* ---------- Wordmark ---------- */

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.85;
  text-transform: uppercase;
  text-decoration: none;
}
.wordmark-out {
  font-weight: 600;
  color: var(--cyan);
  font-size: 0.52em;
  letter-spacing: 0.24em;
}
.wordmark-loud {
  font-weight: 900;
  color: var(--coral);
  font-size: 1em;
  letter-spacing: 0.03em;
}

.wordmark--hero {
  align-items: center;
  font-size: clamp(4.2rem, 20vw, 9.5rem);
  margin-bottom: 1.5rem;
}

.wordmark--header { font-size: 1.3rem; }

.wordmark--inline {
  flex-direction: row;
  align-items: baseline;
  gap: 0.12em;
}
.wordmark--inline .wordmark-out,
.wordmark--inline .wordmark-loud {
  font-size: inherit;
  font-weight: 800;
  color: inherit;
  letter-spacing: 0.05em;
}
.wordmark--footer { font-size: 1.1rem; color: var(--white); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn--coral {
  background: var(--coral);
  color: var(--text-dark);
}
.btn--coral:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 107, 74, 0.35);
}
.btn--small { padding: 0.6rem 1.3rem; font-size: 0.9rem; }
.btn--outline {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}
.btn--outline:hover { background: rgba(0, 194, 203, 0.12); }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--indigo);
  border-bottom: 1px solid var(--indigo-divider);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: var(--indigo);
  border-bottom: 1px solid var(--indigo-divider);
  padding: 0.5rem 1.5rem 1.25rem;
}
.site-nav.is-open { display: flex; }
.site-nav a:not(.btn) {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--indigo-divider);
}
.site-nav a:not(.btn):hover { color: var(--cyan); }
.nav-cta { margin-top: 1rem; text-align: center; }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    background: transparent;
    border-bottom: none;
    padding: 0;
  }
  .site-nav a:not(.btn) {
    padding: 0.35rem 0;
    border-bottom: none;
  }
  .nav-cta { margin-top: 0; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 600px at 50% -10%, var(--indigo-divider) 0%, var(--indigo) 62%);
  color: var(--white);
  text-align: center;
  padding: clamp(4rem, 12vw, 8rem) 0 clamp(4.5rem, 12vw, 8.5rem);
}
.hero-inner { position: relative; z-index: 1; }

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: float 9s ease-in-out infinite;
}
.blob--cyan {
  width: 340px;
  height: 340px;
  background: var(--cyan);
  top: -80px;
  left: -60px;
}
.blob--coral {
  width: 300px;
  height: 300px;
  background: var(--coral);
  bottom: -90px;
  right: -50px;
  animation-delay: -4.5s;
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-24px); }
}

.hero-tagline {
  font-size: clamp(1.25rem, 3.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.35;
  max-width: 34ch;
  margin: 0 auto 1.8rem;
  color: var(--white);
}

.equalizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 34px;
  margin: 0 auto 2rem;
}
.equalizer span {
  width: 5px;
  border-radius: 2px;
  background: var(--cyan);
  animation: eq 1.4s ease-in-out infinite;
}
.equalizer span:nth-child(1) { height: 45%; animation-delay: 0s; }
.equalizer span:nth-child(2) { height: 75%; animation-delay: 0.15s; }
.equalizer span:nth-child(3) { height: 55%; animation-delay: 0.3s; }
.equalizer span:nth-child(4) { height: 100%; animation-delay: 0.45s; background: var(--coral); }
.equalizer span:nth-child(5) { height: 60%; animation-delay: 0.6s; }
.equalizer span:nth-child(6) { height: 85%; animation-delay: 0.75s; }
.equalizer span:nth-child(7) { height: 48%; animation-delay: 0.9s; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}

/* ---------- Track strip ---------- */

.strip {
  background: var(--cyan);
  padding: 0.9rem 0;
  position: relative;
  z-index: 2;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.strip-inner span {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--indigo);
}
.strip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--indigo);
  flex: none;
}

/* ---------- Sections ---------- */

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--format { background: var(--bg-light); }
.section--venue {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1000px 520px at 85% -10%, var(--indigo-divider) 0%, var(--indigo) 60%);
  color: var(--white);
}
.section--venue::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.section--venue > .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
}
.eyebrow--light { color: var(--indigo); }
.eyebrow--dark { color: var(--cyan); }

/* ---------- Scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- About ---------- */

.lead {
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.section--about p + p { margin-top: 1.1rem; }

.mark {
  padding: 0.05em 0.2em;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.mark--cyan { background: rgba(0, 194, 203, 0.22); }
.mark--coral { background: rgba(255, 107, 74, 0.22); }

/* ---------- Format ---------- */

.format-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}
.format-item {
  background: var(--white);
  border: 1px solid var(--divider-light);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.35rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.format-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.format-num {
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(43, 45, 130, 0.18);
  letter-spacing: -0.02em;
  min-width: 2.6rem;
  flex: none;
}
.format-body { display: flex; flex-direction: column; gap: 0.35rem; }
.format-body strong { font-size: 1.05rem; font-weight: 800; color: var(--indigo); }

.full-format {
  background: var(--white);
  border: 1px solid var(--divider-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.full-format summary {
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  color: var(--indigo);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.full-format summary::-webkit-details-marker { display: none; }
.full-format summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--cyan);
  margin-left: 1rem;
  flex: none;
}
.full-format[open] summary::after { content: "−"; }

.runsheet {
  padding: 0 1.25rem 1.5rem 1.25rem;
  list-style: none;
  counter-reset: step;
}
.runsheet > li {
  counter-increment: step;
  position: relative;
  padding-left: 2.3rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.runsheet > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.runsheet-sub {
  list-style: none;
  margin: 0.5rem 0 0.4rem;
  padding-left: 0;
  font-weight: 500;
}
.runsheet-sub li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.3rem;
}
.runsheet-sub li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

/* ---------- Apply ---------- */

.tracks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}
@media (min-width: 768px) {
  .tracks { grid-template-columns: repeat(3, 1fr); }
}
.track {
  position: relative;
  background: var(--bg-light);
  border: 1px solid var(--divider-light);
  border-top: 4px solid var(--indigo);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.track:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.track h3 { font-size: 1.25rem; font-weight: 800; color: var(--indigo); }
.track-note { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.track-num {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(43, 45, 130, 0.16);
}

.apply-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  margin-top: 1rem;
}
.deadline { font-weight: 600; font-size: 0.95rem; }
.consent { font-size: 0.85rem; color: var(--text-muted); max-width: 46ch; }
#apply-open { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
#apply-closed { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.apply-status { font-weight: 700; font-size: 1.05rem; }
.apply-follow { font-size: 0.95rem; color: var(--text-muted); }
.apply-follow a { color: var(--indigo); font-weight: 700; }

/* ---------- Venue ---------- */

.venue-date {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 0.25rem;
}
.venue-card {
  background: rgba(61, 63, 149, 0.35);
  border: 1px solid var(--indigo-divider);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .venue-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.venue-time { font-size: 1.4rem; font-weight: 800; color: var(--white); }
.venue-name { font-weight: 700; color: var(--cyan); margin-top: 0.5rem; }
.venue-address { color: rgba(255, 255, 255, 0.85); margin-top: 0.2rem; }
.venue-coming {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 40ch;
  margin-top: 0.5rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--indigo);
  color: var(--white);
  border-top: 1px solid var(--indigo-divider);
  padding: 0 0 2rem;
}
.footer-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--coral));
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding-top: clamp(2.5rem, 6vw, 3.5rem);
}
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a {
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
.footer-social a:hover { text-decoration: underline; }
.footer-consent { font-size: 0.8rem; color: rgba(255, 255, 255, 0.75); max-width: 46ch; }
.footer-copy { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    transition: none !important;
    animation: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
