/* Shared by index.html and workshops.html. Page-specific styles stay in
   each page's own <style> block, which loads after this file. */

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

:root {
  --bg:      #0d0d0d;
  --surface: #161616;
  --surf2:   #1e1e1e;
  --accent:  #cc0011;
  --acc2:    #990010;
  --text:    #f2f2f2;
  --muted:   #7a7a7a;
  --border:  #2a2a2a;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── STICKY HEADER ──────────────────────────────────────── */
#sticky-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .75rem 2rem;
  background: rgba(13,13,13,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.sh-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: .06em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.sh-logo em { color: var(--accent); font-style: normal; }

.sh-nav {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  flex: 1;
}
.sh-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .73rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s;
}
.sh-nav a:hover { color: var(--text); }

/* ── BUTTON ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, transform .1s;
}
.btn:hover { background: var(--acc2); transform: translateY(-1px); }
.btn-sm { padding: .5rem 1.3rem; font-size: .72rem; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

/* ── SECTION HELPERS ────────────────────────────────────── */
.container { max-width: 960px; margin: 0 auto; }

.s-label {
  display: block;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}
.s-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: .03em;
  line-height: 1;
  margin-bottom: 1.2rem;
}
.s-rule { width: 3rem; height: 2px; background: var(--accent); margin-bottom: 2rem; }

/* ── WORKSHOP SCHEDULE ──────────────────────────────────── */
.ws-intro { color: var(--muted); max-width: 700px; }

.ws-note {
  max-width: 700px;
  margin-top: 1.5rem;
  padding: 1rem 1.3rem;
  border-left: 2px solid var(--accent);
  background: var(--surface);
  color: var(--muted);
  font-size: .9rem;
}
.ws-note strong { color: var(--text); }
.ws-note p { margin-bottom: .6rem; }
.ws-note ul { list-style: none; }
.ws-note li + li { margin-top: .4rem; }

.ws-day { margin-top: 2.5rem; }
.ws-day-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: .8rem;
}
.ws-day-label span {
  margin-left: .5rem;
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.ws-item {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) auto 1rem;
  gap: 1.2rem;
  align-items: center;
  padding: 1rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s;
}
.ws-item + .ws-item { margin-top: .6rem; }
.ws-item:hover { border-color: var(--accent); }

.ws-when { display: flex; flex-direction: column; gap: .15rem; }
.ws-time {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: .04em;
  line-height: 1;
}
.ws-studio {
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.ws-what { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.ws-author {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.ws-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: .03em;
  line-height: 1.05;
}
.ws-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  line-height: 1;
}
.ws-arrow { color: var(--muted); transition: color .2s, transform .2s; }
.ws-item:hover .ws-arrow { color: var(--accent); transform: translateX(3px); }
.ws-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .3rem; }
.ws-tag {
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.ws-tag-sold { background: var(--accent); color: var(--text); }
.ws-item.sold-out .ws-price { color: var(--muted); }

.ws-festival {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.3rem;
  border: 1px dashed var(--border);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  letter-spacing: .04em;
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s;
}
.ws-festival:hover { border-color: var(--accent); }
.ws-festival span {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .05em;
}

/* ── HAMBURGER ───────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dropdown nav for headers marked .sh-collapsed, whose links don't fit in
   one row on a normal laptop screen (workshops.html: one link per workshop).
   The 1460px cut-off is just wider than that page's full row of links. */
@media (max-width: 1460px) {
  #sticky-header.sh-collapsed .hamburger { display: flex; }
  #sticky-header.sh-collapsed .sh-nav {
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(13,13,13,.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  #sticky-header.sh-collapsed .sh-nav.open { max-height: 480px; }
  #sticky-header.sh-collapsed .sh-nav li { border-top: 1px solid var(--border); }
  #sticky-header.sh-collapsed .sh-nav a {
    display: block;
    padding: 1rem 2rem;
    font-size: .78rem;
  }
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 700px) {
  .hamburger { display: flex; }
  .btn-sm { display: none; }

  .sh-nav {
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(13,13,13,.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .sh-nav.open { max-height: 480px; }
  .sh-nav li { border-top: 1px solid var(--border); }
  .sh-nav a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: .78rem;
  }
  #sticky-header.sh-collapsed .sh-nav a { padding: 1rem 1.5rem; }

  .ws-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .4rem 1rem;
    padding: .9rem 1rem;
  }
  .ws-when { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: .7rem; }
  .ws-arrow { display: none; }
}
@media (max-width: 400px) {
  .sh-logo { font-size: 1.1rem; }
}
