/* ════════════════════════════════════════════════
   FONTS
   ════════════════════════════════════════════════ */

@font-face {
  font-family: 'Francesco';
  src: url('public/fonts/Francesco-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Francesco';
  src: url('public/fonts/Francesco-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Supleix';
  src: url('public/fonts/Supleix-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Supleix';
  src: url('public/fonts/Supleix-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Supleix';
  src: url('public/fonts/Supleix-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'CardinalFruit';
  src: url('public/fonts/CardinalFruit-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}


/* ════════════════════════════════════════════════
   RESET
   ════════════════════════════════════════════════ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}


/* ════════════════════════════════════════════════
   BASE
   ════════════════════════════════════════════════ */

body {
  background-color: #0e150a;
  color: #ffffff;
  font-family: 'Supleix', sans-serif;
  font-weight: 300;
  font-style: normal;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Never synthesise italics on Supleix */
body, body * {
  font-style: normal;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}


/* ════════════════════════════════════════════════
   BACKGROUND
   ════════════════════════════════════════════════ */

.page-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: -1;
  display: block;
}


/* ════════════════════════════════════════════════
   PAGE WRAPPER
   ════════════════════════════════════════════════ */

.page {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 30px;
  position: relative;
}


/* ════════════════════════════════════════════════
   PILLS (shared component)
   ════════════════════════════════════════════════ */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  font-family: 'Supleix', sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 18px;
  line-height: 23px;
  white-space: nowrap;
  padding: 2px 10px;
}

.pill-yellow {
  background: #fef600;
  color: #000000;
}

.pill-white {
  background: #ffffff;
  color: #000000;
  padding: 4px 10px 6px;
}

.pill-black {
  background: #000000;
  color: #ffffff;
  padding: 2px 10px;
}


/* ════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════ */

.header {
  display: flex;
  flex-direction: column;
  gap: 39px;
  align-items: center;
  /* top padding compensates for the fixed nav (≈58px tall) + original gap */
  padding: 97px 30px 30px;
  width: 100%;
  flex-shrink: 0;
}

/* ── Navigation ── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: fixed;
  top: 30px;
  left: 30px;
  right: 30px;
  z-index: 200;
}

/* Left: edition / date / cta stack */
.cta-2026 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.cta-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

/* Right: nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

/* ── Logo ── */
.logo-wrap {
  width: min(1259px, 100%);
  flex-shrink: 0;
}

.logo-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .logo-wrap {
    width: min(406px, 100%);
  }
}


/* ════════════════════════════════════════════════
   WHO WE ARE
   ════════════════════════════════════════════════ */

.who-we-are {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
  width: 100%;
}

/* ── Intro paragraph ── */
.intro-text {
  max-width: 901px;
  padding: 30px;
  border-radius: 40px;
  text-align: center;
}

.intro-text p {
  font-family: 'Francesco', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 41px;
  letter-spacing: -1.2px;
  color: #ffffff;
}

/* Francesco italic used only for the brand name inline */
.intro-text em {
  font-family: 'Francesco', sans-serif;
  font-style: italic;
}

/* ── Quote ── */
.quote-wrap {
  max-width: 800px;
  padding: 0 30px;
  text-align: center;
}

.quote-wrap p {
  font-family: 'Francesco', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 41px;
  letter-spacing: -1.2px;
  color: #ffffff;
}

/* ── Gallery slideshow ── */
.gallery-outer {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.gallery-outer:active {
  cursor: grabbing;
}

.gallery-track {
  display: flex;
  gap: 16px;
  padding: 0 30px;
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 auto;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
}

.gallery-slide img {
  height: 100%;
  width: auto;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

@media (max-width: 767px) {
  .gallery-slide { height: 240px; }
}

/* ── Small paragraph ── */
.small-paragraph {
  max-width: 915px;
  padding: 30px;
  border-radius: 30px;
  text-align: center;
  font-size: 18px;
  line-height: 23px;
  color: #ffffff;
}


/* ════════════════════════════════════════════════
   EDITION 2025 OVERVIEW
   ════════════════════════════════════════════════ */

.edition-overview {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
  width: 100%;
}

/* ── Section title ── */
.section-title {
  padding: 10px;
  text-align: center;
}

.section-title h2 {
  font-family: 'Francesco', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 41px;
  letter-spacing: -1.2px;
  color: #ffffff;
}

/* ── Key figures ── */
.key-figures {
  display: flex;
  flex-wrap: wrap;
  gap: 37px 80px;
  align-items: center;
  justify-content: center;
  max-width: 904px;
  padding-top: 30px;
  padding-left: 30px;
  padding-right: 30px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  width: 132px;
  text-align: center;
  color: #ffffff;
}

.stat-number {
  font-family: 'Francesco', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 80px;
  line-height: 41px;
  letter-spacing: -2.4px;
}

.stat-label {
  font-family: 'Supleix', sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 18px;
  line-height: 23px;
}

/* ── Video player ── */
.video-player {
  position: relative;
  width: min(1400px, calc(100% - 60px));
  border-radius: 30px;
  overflow: hidden;
  flex-shrink: 0;
  transform: scale(0.88);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-player.is-playing {
  transform: scale(1);
}

.video-player img,
.video-player video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 30px;
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
  border-radius: 30px;
}

.video-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  outline: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: 'Francesco', sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.video-label:hover {
  opacity: 0.75;
}

/* ── Edition description ── */
.edition-description {
  max-width: 795px;
  text-align: center;
  font-size: 18px;
  line-height: 23px;
  color: #ffffff;
  padding: 0 30px;
}

/* ── Line-up heading ── */
.lineup-heading {
  font-family: 'Francesco', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 41px;
  letter-spacing: -1.2px;
  text-align: center;
  color: #ffffff;
  width: 100%;
}


/* ════════════════════════════════════════════════
   SPEAKER GRID + CARDS
   ════════════════════════════════════════════════ */

.speakers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px 30px;
  width: 80%;
  margin: 0 auto;
}

/* Each card is a link — name / photo / role stacked with no gap */
.speaker-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex: 0 0 260px;
  width: 260px;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center center;
}

.speaker-card:hover {
  transform: scale(1.04);
}

.speaker-name {
  font-family: 'Francesco', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 26px;
  line-height: 1;
  color: #ffffff;
  display: inline-block;
  background: #000000;
  border-radius: 100px;
  padding: 10px 14px 5px;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: 0px;
}

.speaker-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: #d9d9d9;
  border-radius: 20px;
  overflow: hidden;
}

.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.speaker-role {
  font-family: 'Supleix', sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 13px;
  line-height: 1;
  color: #ffffff;
  display: inline-block;
  background: #000000;
  border-radius: 100px;
  padding: 4px 12px 5px;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-top: 0;
}


/* ════════════════════════════════════════════════
   2025 THEMES
   ════════════════════════════════════════════════ */

.themes-wrap {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
  width: 100%;
}

.themes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 80%;
  margin: 0 auto;
}

.theme-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 0px;
  border-radius: 0px;
  text-align: center;
  flex: 0 0 380px;
  width: 380px;
}

.theme-video-wrap {
  width: 85%;
  aspect-ratio: 4 / 5;
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
}

.theme-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.theme-title {
  font-family: 'Francesco', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.theme-description {
  font-family: 'Supleix', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  color: #ffffff;
  width: 100%;
}

.theme-participants {
  font-family: 'Supleix', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
  margin-top: auto;
  width: 100%;
}


/* ════════════════════════════════════════════════
   SPEAKER PROFILE PAGE
   ════════════════════════════════════════════════ */

.speaker-page {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 120px 30px 80px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.speaker-hero {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  width: 100%;
}

.speaker-hero-photo {
  flex: 0 0 320px;
  aspect-ratio: 3 / 4;
  background: #d9d9d9;
  border-radius: 20px;
  overflow: hidden;
}

.speaker-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.speaker-hero-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.speaker-page-name {
  font-family: 'Francesco', sans-serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -1.8px;
  color: #ffffff;
}

.speaker-page-role {
  font-family: 'Supleix', sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.speaker-bio {
  font-family: 'Supleix', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 28px;
  color: #ffffff;
  white-space: pre-line;
}

/* Artwork grid — natural image ratios */
.speaker-works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

.speaker-work-img {
  width: 100%;
  background: #d9d9d9;
  border-radius: 16px;
  overflow: hidden;
}

.speaker-work-img img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .speaker-hero { flex-direction: column; }
  .speaker-hero-photo { flex: none; width: 100%; }
  .speaker-page-name { font-size: 40px; }
  .speaker-works { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════
   PLAYLIST
   ════════════════════════════════════════════════ */

.playlist-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  width: 100%;
  padding: 80px 30px 0;
  box-sizing: border-box;
}

.playlist-wrap {
  width: min(700px, 100%);
}

.playlist-wrap iframe {
  display: block;
  width: 100%;
  border-radius: 16px;
}


/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */

.footer {
  display: flex;
  flex-direction: column;
  gap: 150px;
  align-items: center;
  padding: 150px 30px 60px;
  width: 100%;
}

.register-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: #ffffff;
  border-radius: 30px;
  padding: 10px 15px;
  font-family: 'Supleix', sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 18px;
  line-height: 23px;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-family: 'Supleix', sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 18px;
  line-height: 23px;
  text-align: center;
  color: #ffffff;
  white-space: nowrap;
}

.footer-link:hover {
  opacity: 0.75;
}

.register-cta {
  transition: transform 0.2s ease;
}

.register-cta:hover {
  transform: scale(1.05);
}


/* ════════════════════════════════════════════════
   SPEAKER MODAL (fullscreen pop-in from homepage)
   ════════════════════════════════════════════════ */

.speaker-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: transparent;
  backdrop-filter: blur(73px);
  -webkit-backdrop-filter: blur(73px);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  -webkit-overflow-scrolling: touch;
}

.speaker-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

/* Sticky close bar — centred at top */
.speaker-modal-close-bar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  padding: 32px 20px 16px;
  z-index: 10;
}

.speaker-modal-close {
  background: #ffffff;
  color: #000000;
  border: none;
  cursor: pointer;
  font-family: 'Supleix', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 23px;
}

/* Centred column — slides up on open */
.speaker-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 60px 100px;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  opacity: 0;
  transform: translateY(48px);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              opacity  0.45s ease;
}

.speaker-modal.is-open .speaker-modal-body {
  opacity: 1;
  transform: translateY(0);
}

/* Centred name + role header */
.speaker-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  width: 100%;
}

/* Photo ← → Bio side by side (same structure as standalone page) */
.speaker-modal-hero {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  width: 100%;
}

.speaker-modal-photo {
  flex: 0 0 300px;
  aspect-ratio: 3 / 4;
  background: #d9d9d9;
  border-radius: 20px;
  overflow: hidden;
}

.speaker-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.speaker-modal-bio {
  flex: 1;
  font-family: 'Supleix', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 28px;
  color: #ffffff;
  white-space: pre-line;
  text-align: left;
  padding-top: 8px;
}

@media (max-width: 700px) {
  .speaker-modal-body  { padding: 24px 24px 80px; }
  .speaker-modal-hero  { flex-direction: column; }
  .speaker-modal-photo { flex: none; width: 100%; }
}


/* ════════════════════════════════════════════════
   PAGE MODAL CONTENT (Support Us / Contact)
   ════════════════════════════════════════════════ */

.page-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 50px;
  max-width: 800px;
  width: 100%;
}

.page-modal-title {
  font-family: 'Francesco', sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 8vw, 90px);
  line-height: 0.95;
  letter-spacing: -2px;
  color: #ffffff;
}

.page-modal-intro {
  font-family: 'Supleix', sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.8);
  white-space: pre-line;
  max-width: 600px;
}

/* Support Us ways */
.support-ways {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.support-way {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
}

.support-way:last-child { border-bottom: none; }

.support-way-title {
  font-family: 'Francesco', sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  color: #ffffff;
}

.support-way-desc {
  font-family: 'Supleix', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.75);
  white-space: pre-line;
  max-width: 540px;
}

/* Contact details */
.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.contact-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.contact-label {
  font-family: 'Supleix', sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.contact-value {
  font-family: 'Francesco', sans-serif;
  font-weight: 400;
  font-size: 28px;
  color: #ffffff;
  text-decoration: none;
}

.contact-value:hover { opacity: 0.7; }


/* ════════════════════════════════════════════════
   MOBILE MENU FAB + OVERLAY
   ════════════════════════════════════════════════ */

/* FAB — hidden on desktop, shown on mobile */
.menu-fab {
  display: none;
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 100px;
  padding: 6px 18px 8px;
  font-family: 'Supleix', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 23px;
  cursor: pointer;
  white-space: nowrap;
}

/* Fullscreen menu overlay — same backdrop as speaker modal */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 350;
  background: transparent;
  backdrop-filter: blur(73px);
  -webkit-backdrop-filter: blur(73px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.menu-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.45s ease,
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-overlay.is-open .menu-overlay-inner {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay-link {
  font-family: 'Francesco', sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-overlay-link:hover { opacity: 0.6; }

/* Show FAB, hide top-right nav-links on mobile */
@media (max-width: 767px) {
  .nav-links { display: none; }
  .menu-fab  { display: block; }
}

/* Screen-reader only — visually hidden but accessible */
.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;
}
