:root {
  --logo-color: #0083e0;
  --accent: #ee4114;
  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
}

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

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html, body {
  height: 100%;
}

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

body {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  background: #eceae6;
  overflow-x: hidden;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(236, 234, 230, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.site-header__nav {
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #2b2b2b;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.site-header__link {
  position: relative;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2b2b2b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}

.site-header__link:hover {
  color: var(--accent);
}

.site-header__link:hover::after,
.site-header__link.is-active::after {
  width: 100%;
}

.site-header__link.is-active {
  color: var(--accent);
}

.site-header__cta {
  padding: 0.7rem 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 101;
}

.site-header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #2b2b2b;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.site-header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header__backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.site-header__backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 860px) {
  .site-header__toggle {
    display: flex;
  }

  .site-header__menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    padding: 6rem 2.5rem 3rem;
    background: #fdfcfb;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .site-header__menu.is-open {
    transform: translateX(0);
  }

  .site-header__link {
    font-size: 1rem;
  }

  .site-header__cta {
    margin-top: 0.5rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eceae6;
  overflow: hidden;
}

.hero__noise {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.35;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero__logo {
  position: relative;
  z-index: 2;
  width: min(60vw, 768px);
}

.hero__logo svg {
  width: 100%;
  height: auto;
  display: block;
  filter: blur(0.3px);
}

.hero__logo .cls-1 {
  fill: var(--logo-color);
  transition: fill 0.4s ease;
}

.hero__date {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
  color: var(--logo-color);
  transition: color 0.4s ease;
}

.hero__date-days {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.hero__date-month {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.4em;
}

/* ---------- Tickets ---------- */
.tickets {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 8%;
  background: #fff;
  overflow: hidden;
}

.tickets__content {
  max-width: 480px;
  text-align: center;
}

.tickets__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6e6e6e;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 1.1rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(238, 65, 20, 0);
  transition: background 0.3s ease, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  background: #d6390d;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(238, 65, 20, 0.35);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(238, 65, 20, 0.3);
}

.tickets__decor {
  position: absolute;
  top: 3rem;
  right: 8%;
  width: clamp(90px, 12vw, 150px);
  height: auto;
  opacity: 0.9;
  animation: floatY 4.5s ease-in-out infinite;
}

/* ---------- About ---------- */
.about {
  position: relative;
  padding: 4rem 8% 7rem;
  background: #fff;
  overflow: hidden;
}

.about__decor {
  position: absolute;
  left: -30px;
  bottom: -10px;
  width: clamp(120px, 16vw, 200px);
  height: auto;
  opacity: 0.9;
  pointer-events: none;
  animation: floatY 5.5s ease-in-out infinite;
}

.about__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.about__title {
  text-align: center;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4a4a4a;
  margin-bottom: 1.75rem;
}

.about__text {
  text-align: justify;
  color: #555;
  line-height: 1.8;
  font-size: 1rem;
}

/* ---------- Promo video ---------- */
.promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 6rem);
  flex-wrap: wrap;
  padding: 6rem 8%;
  background: #0083e0;
}

.promo__content {
  text-align: center;
}

.promo__brand {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ee4114;
}

.promo__tagline {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ee4114;
  margin-top: 0.35rem;
}

.promo__video {
  position: relative;
  width: min(90vw, 480px);
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.promo__video:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.promo__video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.promo__video:hover .promo__video-thumb {
  transform: scale(1.06);
}

.promo__video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  transition: background 0.2s ease, transform 0.2s ease;
}

.promo__video-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}

.promo__video:hover .promo__video-play {
  background: #ee4114;
  transform: translate(-50%, -50%) scale(1.08);
}

.promo__video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Schedule ---------- */
.schedule {
  padding: 5rem 8% 20rem;
  background: #151414;
}

.schedule__title {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #f13fc4;
  margin-bottom: 3rem;
}

.schedule__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.schedule__day-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 0.6rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid #4fd8e0;
}

.schedule__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.schedule__list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 0.15rem 0.3rem;
  margin: 0 -0.3rem;
  border-radius: 3px;
  transition: padding-left 0.25s ease, background 0.25s ease;
}

.schedule__list li:hover {
  padding-left: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
}

.schedule__time {
  flex: 0 0 auto;
  color: #4fd8e0;
  font-weight: 600;
}

.schedule__desc {
  color: #d8d8d8;
  transition: color 0.25s ease;
}

.schedule__list li:hover .schedule__desc {
  color: #fff;
}

.schedule__desc strong {
  color: #fff;
}

/* ---------- Section divider ---------- */
.section-divider {
  position: relative;
  background: #fff;
  padding: 1.25rem 0;
}

.section-photo {
  position: relative;
  z-index: 2;
  max-width: 1024px;
  margin: -300px auto -300px;
  padding: 0 1rem;
}

.section-photo__placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d9d9d9;
  border: 2px dashed #aaa;
  color: #777;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.section-photo img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* ---------- Speakers ---------- */
.speakers {
  padding: 20rem 8% 8rem;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ff59c8;
}

.speakers__title {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #7a1030;
  margin-bottom: 3rem;
}

.speakers__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.speaker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease;
}

.speaker:hover {
  transform: translateY(-6px) scale(1.04);
  background: rgba(0, 0, 0, 0.32);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

.speaker svg {
  width: 38%;
  height: 38%;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 768px) {
  .schedule {
    padding-bottom: 4rem;
  }

  .section-photo {
    margin: -60px auto -60px;
  }

  .speakers {
    padding-top: 4rem;
    min-height: auto;
  }

  .speaker {
    width: 110px;
    height: 110px;
  }
}

/* ---------- FAQ ---------- */
.faq {
  padding: 6rem 8% 7rem;
  background: #7a0404;
}

.faq__title {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 3.5rem;
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.3s ease;
}

.faq__item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.faq__item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0.3rem;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease;
}

.faq__item:hover .faq__question {
  color: #ffcdbf;
}

.faq__icon {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq__item.is-open .faq__icon {
  transform: rotate(-135deg);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer-inner {
  overflow: hidden;
}

.faq__answer p {
  padding-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  font-size: 0.9rem;
}

.faq__answer strong {
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 3.5rem 8% 2.5rem;
  background: #111;
}

.site-footer__brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer__social {
  display: flex;
  gap: 1rem;
}

.site-footer__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}

.site-footer__icon svg {
  width: 18px;
  height: 18px;
}

.site-footer__icon:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-4px);
}

.site-footer__copy {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.25s ease;
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent);
}

/* ---------- Scroll reveal ---------- */
.reveal,
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible,
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.schedule__day.reveal-item:nth-child(1) { transition-delay: 0s; }
.schedule__day.reveal-item:nth-child(2) { transition-delay: 0.1s; }
.schedule__day.reveal-item:nth-child(3) { transition-delay: 0.2s; }

.speaker.reveal-item:nth-child(1) { transition-delay: 0s; }
.speaker.reveal-item:nth-child(2) { transition-delay: 0.08s; }
.speaker.reveal-item:nth-child(3) { transition-delay: 0.16s; }
.speaker.reveal-item:nth-child(4) { transition-delay: 0.24s; }
.speaker.reveal-item:nth-child(5) { transition-delay: 0.32s; }

.faq__item.reveal-item:nth-child(1) { transition-delay: 0s; }
.faq__item.reveal-item:nth-child(2) { transition-delay: 0.06s; }
.faq__item.reveal-item:nth-child(3) { transition-delay: 0.12s; }
.faq__item.reveal-item:nth-child(4) { transition-delay: 0.18s; }
.faq__item.reveal-item:nth-child(5) { transition-delay: 0.24s; }
.faq__item.reveal-item:nth-child(6) { transition-delay: 0.3s; }

/* ---------- Motion keyframes ---------- */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUpCentered {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.hero__logo {
  animation: fadeUp 1s var(--ease) both;
}

.hero__date {
  animation: fadeUpCentered 1s var(--ease) 0.25s both;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Enrollment page ---------- */
.enroll-hero {
  padding: 160px 8% 3rem;
  background: #fff;
  text-align: center;
}

.enroll-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.enroll-hero__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6e6e6e;
  margin-bottom: 1.25rem;
}

.enroll-hero__text {
  max-width: 620px;
  margin: 0 auto;
  color: #555;
  line-height: 1.8;
  font-size: 1rem;
}

.payment {
  padding: 2rem 8% 5rem;
  background: #fff;
}

.payment__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.payment__card {
  background: #f5f3f0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.payment__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.payment__card-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  color: #0083e0;
}

.payment__card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.payment__card-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2b2b2b;
  letter-spacing: 0.02em;
  word-break: break-all;
  margin-bottom: 0.4rem;
}

.payment__card-name {
  font-size: 0.8rem;
  color: #777;
  line-height: 1.4;
}

.enroll-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 5rem 8% 7rem;
  background: #0083e0;
  text-align: center;
}

.enroll-cta__title {
  color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 600px;
}

.enroll-cta__text {
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.enroll-back {
  display: block;
  text-align: center;
  padding: 2rem 8% 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  text-decoration: none;
  transition: color 0.2s ease;
}

.enroll-back:hover {
  color: var(--accent);
}
