@font-face {
  font-family: "Inika";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/fonts/inika-v21-latin-regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Inika";
  font-style: normal;
  font-weight: 700;
  src: url("/assets/fonts/inika-v21-latin-700.woff2") format("woff2");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Inika", sans-serif;
  background-color: #1a0a0a;
  color: #eee;
}

p {
  font-size: 14pt;
  line-height: 1.8;
}

p.small {
  font-size: 12pt;
  line-height: 1.5;
}

@media (min-width: 768px) {
  p {
    font-size: 18pt;
    line-height: 2;
  }

  p.small {
    font-size: 14pt;
    line-height: 1.8;
  }
}

/* ---------- Site header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #fff;
  background: transparent;
  transition: background-color 0.3s ease;
}

.site-header.is-scrolled,
body.has-solid-header .site-header {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.site-header .wordmark {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  font-size: 1rem;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header nav a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.site-header nav a:hover {
  opacity: 1;
}

.site-header .cta-small {
  display: inline-block;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 80px;
  padding: 0.3rem 0.9rem;
  transition: 0.3s;
}

.site-header .cta-small:hover {
  border-color: rgba(17, 209, 247, 0.625);
  background-color: rgba(27, 0, 0, 0.5);
  opacity: 1;
}

body.has-solid-header {
  padding-top: 3.5rem;
}

/* ---------- Home: shader + scroll sections ---------- */

#c {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

main {
  position: relative;
  z-index: 1;
  color: white;
}

figcaption {
  font-size: 0.8rem;
  line-height: 1.4;
}

.section-hero {
  height: 95vh;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.section-hero-inner {
  max-width: 800px;
}

.scroll-indicator {
  position: absolute;
  bottom: -4.5vh;
  left: 50vw;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-indicator span {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-indicator svg {
  animation: bounce 5s infinite;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 2;
}

.section-hero h1 {
  margin: 0 0 1rem 0;
  font-size: 2rem;
  line-height: 1;
}

.section-hero h2,
.section-hero h3 {
  margin: 0 0 1rem 0;
}

.section-presentation {
  margin: 50vh 0;
  padding: 5vh 1rem;
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.5);
}

.overlay-presentation {
  padding: 5vh 1rem;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 1rem;
  border-radius: 8px;
}

@media (min-width: 800px) {
  .overlay-presentation {
    position: absolute;
    top: 5vh;
    right: 5vh;
    width: 400px;
  }
}

.section-intro {
  margin: 50vh 0;
  padding: 100px 1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 0.5) 90%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (min-width: 800px) {
  .section-intro {
    flex-direction: row;
  }
}

.section-intro img {
  max-height: 80vh;
}

.section-intro p {
  max-width: 60ch;
}

.section-about .container {
  max-width: 960px;
  margin: 0 auto;
}

.section-about .side-by-side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.section-about figure {
  margin: 0;
}

@media (min-width: 800px) {
  .section-about .side-by-side {
    flex-direction: row;
    align-items: center;
  }

  .section-about .side-by-side > div {
    flex: 1;
  }

  .section-about figure {
    flex: 1;
  }
}

.section-gallery {
  background: rgba(0, 0, 0, 0.9);
  padding: 100px 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 2%, rgba(0, 0, 0, 0.9) 98%, rgba(0, 0, 0, 0) 100%);
}

.section-gallery figure {
  margin: 0;
}

.carousel {
  max-height: calc(100vh - 40px);
}

.carousel figure {
  height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}

.carousel figure img {
  height: calc(100% - 40px);
  object-fit: contain;
}

.carousel figure figcaption {
  text-align: center;
  padding: 10px;
}

.carousel .flickity-button {
  background: transparent;
  color: rgba(255, 255, 255, 0.2);
}

.carousel .flickity-button:hover {
  color: rgba(255, 255, 255, 0.8);
}

.carousel .flickity-page-dots .dot {
  background: #888;
}

.section-coaches h2 {
  margin: 0 0 1rem 0;
  font-size: 2rem;
  line-height: 1;
  text-align: center;
}

.section-coaches .container {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 500px), 1fr));
}

.section-coaches .coach {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 10px;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-coaches .coach img {
  max-width: 300px;
}

.section-coaches .coach h3 {
  font-size: 1.5rem;
  margin: 1rem 0 1rem 0;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.section-coaches .coach p {
  font-size: 1rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.section-coaches .coach p.link {
  margin: 0;
}

.section-coaches .coach a {
  text-decoration: underline;
  color: inherit;
}

.section-location {
  margin: 50vh 0;
  padding: 5vh 2rem;
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.9);
}

.section-location h2 {
  margin: 0 0 1rem 0;
  font-size: 4rem;
  line-height: 1;
}

.section-location .side-by-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-location img {
  flex: 1;
  overflow: hidden;
  object-fit: contain;
}

.section-location div {
  flex: 1;
  font-size: 0.8rem;
  line-height: 1.5;
  padding-right: 1rem;
}

.section-location p {
  margin-top: 0;
}

@media (min-width: 800px) {
  .section-location .side-by-side {
    flex-direction: row;
    gap: 2rem;
  }

  .section-location div {
    text-align: right;
  }
}

.section-pricing {
  margin: 50vh 0;
  padding: 5vh 1rem;
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.6);
  color: #666;
}

.section-sign-up {
  margin: 50vh 0;
  padding: 5vh 1rem;
  background-color: rgba(0, 0, 0, 0.6);
  color: #eee;
}

.section-sign-up .container {
  max-width: 960px;
  margin: 0 auto;
}

.cta {
  display: inline-block;
  background: transparent;
  color: inherit;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 80px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.5s;
}

.cta:hover {
  color: white;
  border-color: rgba(17, 209, 247, 0.625);
  background-color: #1b0000;
}

.planning {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.plan-row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

@media (max-width: 768px) {
  .plan-row {
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
  }
}

.plan-row .day {
  display: inline-block;
  width: 15ch;
  text-align: left;
}

.planning .spacer {
  height: 1rem;
}

.section-about {
  margin: 50vh 0;
  padding: 5vh 1rem;
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.6);
  color: #eee;
}

.section-about a {
  color: inherit;
}

.section-footer {
  margin: 50vh 0 0 0;
  padding: 5vh 1rem;
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.6);
  color: #eee;
}

.section-footer .container {
  max-width: 960px;
  margin: 0 auto;
}

.section-footer a {
  color: inherit;
}

.section-trailer {
  margin: 50vh 0;
  padding: 5vh 1rem;
  background-color: rgba(0, 0, 0, 0.9);
}

.section-newsletter {
  margin: 0;
  padding: 4rem 1rem;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.6);
  color: #eee;
}

.section-newsletter .container {
  margin: 0 auto;
  text-align: center;
}

.section-newsletter h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #fff;
  font-weight: 500;
}

.section-newsletter p {
  margin-bottom: 2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
  width: min(600px, 80vw);
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #fff;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #4a90e2;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-submit {
  margin-top: 1.5rem;
}

.form-submit .cta {
  width: 100%;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  background: #d54549;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit .cta:hover {
  background: #f0301d;
  transform: translateY(-1px);
}

.form-submit .cta:active {
  transform: translateY(0);
}

.form-responses {
  margin-top: 1.5rem;
}

.form-responses .response {
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  display: none;
  margin-top: 1rem;
}

#mce-error-response {
  background-color: rgba(231, 76, 60, 0.15);
  color: #ff6b6b;
  border-left: 3px solid #e74c3c;
}

#mce-success-response {
  background-color: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border-left: 3px solid #2ecc71;
}

.required {
  color: #ff6b6b;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ---------- Archive page ---------- */

.archive-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.archive-page h1 {
  font-size: 2.5rem;
  margin: 1rem 0 0.25rem;
}

.archive-page .lede {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 60ch;
  margin-bottom: 3rem;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
}

.archive-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.archive-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 209, 247, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.archive-card .thumb {
  aspect-ratio: 3 / 2;
  background: #111;
  overflow: hidden;
}

.archive-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.archive-card .body {
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.archive-card .edition-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
}

.archive-card h2 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.2;
}

.archive-card .artists {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* ---------- Project detail page ---------- */

.project-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem 5rem;
}

.project-hero {
  margin: 0 0 2rem;
}

.project-hero img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.project-header {
  margin-bottom: 2.5rem;
}

.project-header .edition-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.5rem;
}

.project-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
}

.project-header .group {
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 0.5rem;
}

.project-header .artists {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.project-body {
  max-width: 65ch;
  margin: 0 auto 3rem;
}

.project-body p {
  font-size: 1.05rem;
  line-height: 1.75;
}

.project-body h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}

.project-body a {
  color: inherit;
  text-decoration: underline;
}

.project-gallery {
  columns: 1;
  column-gap: 1rem;
}

@media (min-width: 640px) {
  .project-gallery {
    columns: 2;
  }
}

@media (min-width: 1000px) {
  .project-gallery {
    columns: 3;
  }
}

.project-gallery img {
  width: 100%;
  display: block;
  margin: 0 0 1rem;
  border-radius: 4px;
  break-inside: avoid;
}

.project-video {
  margin: 0 0 3rem;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
}

.back-link:hover {
  color: #fff;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__stage {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lightbox__stage img {
  max-width: min(100%, 1600px);
  max-height: calc(100vh - 6rem);
  object-fit: contain;
  display: block;
  border-radius: 2px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox__stage figcaption {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  text-align: center;
  max-width: 60ch;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  padding: 0;
}

.lightbox__nav--prev {
  left: 1rem;
}

.lightbox__nav--next {
  right: 1rem;
}

@media (max-width: 640px) {
  .lightbox {
    padding: 1rem;
  }
  .lightbox__nav {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.5rem;
  }
  .lightbox__nav--prev {
    left: 0.5rem;
  }
  .lightbox__nav--next {
    right: 0.5rem;
  }
}
