/* LA Laptop Orchestra - Website */

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

:root {
  --bg: #0a0a0a;
  --fg: #ffffff;
  --fg-dim: #666666;
  --font: helvetica-neue-lt-pro, 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow: hidden;
  height: 100vh;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.4;
  overflow: hidden;
  height: 100vh;
}

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

a:hover {
  text-decoration: underline;
}

/* =====================
   NAVIGATION
   ===================== */

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 25px 30px;
  border-bottom: 1px dashed var(--fg);
}

.nav a {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* =====================
   LAYOUT
   ===================== */

.site {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr 1.618fr;
  flex: 1;
  overflow: hidden;
}

.left-column {
  padding: 20px;
  border-right: 1px dashed var(--fg-dim);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.right-column {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  overflow-y: auto;
}

/* =====================
   HERO (Left Column)
   ===================== */

.hero {
  position: relative;
  margin-bottom: 10px;
}

/*
 * Ghost block (dotted outline SVG)
 * viewBox width is set so ORCHESTRA fills it at the given font-size.
 * SVG width: 100% makes it scale to container, matching solid text.
 */
.ghost-block {
  width: 100%;
  height: auto;
  display: block;
}

.ghost-block .ghost-line {
  font-family: helvetica-neue-lt-pro, 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 50px;
  font-weight: 700;
  fill: none;
  stroke: var(--fg);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
}

/*
 * IMPORTANT: The font-size here is determined by ONE RULE:
 * "ORCHESTRA" must fill the full width of its container (left column).
 * All other large text (LA, LAPTOP, PUBLIC MUSIC RITUAL, ghost text)
 * uses this same font-size. Since left column is ~38% of viewport,
 * we use ~4.2vw to make ORCHESTRA fill that width.
 */
.solid-block {
  position: relative;
  margin-top: -2em; /* Nudge up to overlap more with ghost */
}

.solid-block .solid-line {
  display: block;
  font-family: var(--font);
  /*
   * THE RULE: This font-size makes ORCHESTRA fill the container width.
   * Adjust this value until ORCHESTRA exactly fills the left column.
   * All other large text (ghost-block, tagline) must match this size.
   */
  font-size: 4.2vw;
  font-weight: 700;
  line-height: 1;
  color: var(--fg);
}

/* Black dotted outline overlaid on solid text */
.solid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.solid-overlay .overlay-line {
  font-family: helvetica-neue-lt-pro, 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 50px;
  font-weight: 700;
  fill: none;
  stroke: #000;
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
}

.url-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font);
  font-size: clamp(8px, 1vw, 11px);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 10px 0;
}

/*
 * Tagline block - MUST use same font-size as solid-line (ORCHESTRA rule)
 * Wraps to 2 lines: "PUBLIC MUSIC" / "RITUAL"
 */
.tagline-block {
  position: relative;
  margin-bottom: 10px;
}

.tagline-solid {
  position: relative;
  z-index: 2;
}

.tagline-solid .tagline-line {
  display: block;
  font-family: var(--font);
  font-weight: 500;
  /* SAME font-size as solid-line - ORCHESTRA fills container width */
  font-size: 3.2vw;
  line-height: 1;
}

.tagline-overlay {
  display: none; /* Hidden for now - needs repositioning */
}

.tagline-overlay .overlay-line {
  font-family: helvetica-neue-lt-pro, 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 50px;
  font-weight: 700;
  fill: none;
  stroke: #000;
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
}

.ghost-tagline {
  position: absolute;
  top: -0.15em;
  left: 5px;
  width: 100%;
  height: auto;
  z-index: -1;
  pointer-events: none;
}

.ghost-tagline .ghost-line {
  font-family: helvetica-neue-lt-pro, 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  /* SAME size as ghost-block - ORCHESTRA rule */
  font-size: 50px;
  font-weight: 700;
  fill: none;
  stroke: var(--fg);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
}

/* Event info footer */
.event-info-footer {
  margin-top: auto;
  border: 2px dashed var(--fg);
  padding: 15px 20px;
}

.info-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 15px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--fg-dim);
  margin-bottom: 12px;
}

.info-cell {
  font-family: var(--font);
}

.info-cell.info-center {
  display: flex;
  justify-content: center;
}

.info-cell.info-right {
  text-align: right;
}

.info-day,
.info-date {
  font-size: clamp(14px, 2.5vw, 22px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.info-time,
.info-year {
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 700;
  line-height: 1;
}

.footer-qr {
  width: clamp(50px, 8vw, 80px);
  height: auto;
}

.info-address {
  display: flex;
  justify-content: space-between;
  font-family: var(--font);
  font-size: clamp(10px, 1.6vw, 15px);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* =====================
   CONTENT SECTIONS (Right Column)
   ===================== */

.content-section {
  padding-bottom: 40px;
}

.section-title {
  font-family: var(--font);
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 400;
  margin-bottom: 25px;
  line-height: 1;
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* About */
.about-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}

/* Performances */
.perf-group {
  margin-bottom: 30px;
}

.perf-group:last-child {
  margin-bottom: 0;
}

.perf-label {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
  color: var(--fg-dim);
}

.perf-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.perf-item {
  padding: 15px 20px;
  background: rgba(255,255,255,0.03);
  transition: background 0.2s;
}

.perf-item:hover {
  background: rgba(255,255,255,0.06);
}

.perf-item.upcoming {
  border-left: 3px solid var(--fg);
}

.perf-item.past {
  opacity: 0.6;
}

.perf-date {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 300;
  color: var(--fg-dim);
  margin-bottom: 4px;
}

.perf-name {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
}

.perf-venue {
  font-size: 13px;
  font-weight: 300;
  color: var(--fg-dim);
  margin-top: 4px;
}

/* Score */
.section-intro {
  font-size: 14px;
  font-weight: 300;
  color: var(--fg-dim);
  margin-bottom: 25px;
  line-height: 1.5;
}

/* Score Canvas - r/place style collaborative form */
.score-canvas {
  background: var(--fg);
  padding: 15px;
  margin-bottom: 20px;
}

.score-row {
  margin-bottom: 8px;
}

.score-row:last-child {
  margin-bottom: 0;
}

.row-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  color: var(--bg);
  padding: 0 2px 4px;
}

.row-ticks span {
  position: relative;
}

.row-ticks span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 4px;
  background: var(--bg);
}

.row-blocks {
  position: relative;
  height: 50px;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.15);
}

.row-blocks .score-block {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 10px;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.2s;
}

.score-block.claimed {
  background: var(--bg);
  color: var(--fg);
  border-right: 1px solid rgba(255,255,255,0.2);
}

.score-block.claimed:hover {
  background: #1a1a1a;
}

.score-block.available {
  background: transparent;
  border: 2px dashed rgba(0,0,0,0.2);
  border-left: none;
}

.score-block.available:hover {
  background: rgba(0,0,0,0.1);
  border-color: rgba(0,0,0,0.4);
}

.block-name {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.block-type {
  font-size: 10px;
  font-weight: 300;
  opacity: 0.7;
  text-transform: uppercase;
  margin-top: 2px;
}

.score-legend {
  display: flex;
  align-items: center;
  gap: 25px;
  padding-top: 15px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 300;
}

.legend-block {
  width: 20px;
  height: 20px;
}

.legend-block.claimed {
  background: var(--bg);
  border: 1px solid var(--fg);
}

.legend-block.available {
  background: var(--fg);
  border: 2px dashed var(--fg-dim);
}

.score-cta {
  margin-left: auto;
}

.btn-register {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  background: var(--fg);
  color: var(--bg);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-register:hover {
  background: var(--fg-dim);
  text-decoration: none;
}

/* Resources */
.resources-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.resources-list a {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 10px 15px;
  border: 1px solid var(--fg);
}

.resources-list a:hover {
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-item {
  padding: 20px;
  background: rgba(255,255,255,0.03);
  transition: background 0.2s;
}

.contact-item:hover {
  background: rgba(255,255,255,0.06);
}

.contact-label {
  font-size: 11px;
  font-weight: 300;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.contact-value {
  font-family: var(--font);
  font-size: 18px;
}

/* Footer */
.site-footer {
  padding: 30px 40px;
  border-top: 1px solid var(--fg);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-dim);
}

/* =====================
   RESPONSIVE
   ===================== */

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

  .left-column {
    border-right: none;
    border-bottom: 1px solid var(--fg);
    padding-bottom: 40px;
  }

  .nav a {
    font-size: 16px;
    padding: 0 12px;
  }

  .nav-dash {
    font-size: 16px;
  }

  .hero {
    min-height: 320px;
  }

  .ghost-line.ghost-la {
    font-size: 60px;
  }

  .ghost-line.ghost-laptop {
    font-size: 120px;
  }

  .ghost-line.ghost-orchestra {
    font-size: 140px;
  }
}

@media (max-width: 600px) {
  .nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-dash {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }


  .event-info-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .event-info-right {
    text-align: center;
  }

  .score-header {
    grid-template-columns: 1fr auto;
  }

  .score-time,
  .score-type {
    display: none;
  }

  .hero {
    min-height: 240px;
  }

  .ghost-text {
    top: -20px;
    left: -10px;
  }

  .ghost-line.ghost-la {
    font-size: 50px;
  }

  .ghost-line.ghost-laptop {
    font-size: 95px;
  }

  .ghost-line.ghost-orchestra {
    font-size: 110px;
  }

  .info-address {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
}
