@font-face {
  font-family: "Honig";
  src: url("Honig-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --page-bg: #f6f3bb;
  --accent: #eb7eae;
  --accent-strong: #c72a80;
  --accent-soft: rgba(224, 132, 118, 0.12);
  --text: #1f2937;
  --muted: #6b7280;
  --soft-line: #f1f2f4;
  --card: #ffffff;
  --shadow: 0 12px 35px rgba(31, 41, 55, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--page-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.page-title,
.section-title {
  font-family: "Honig", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--soft-line);
  backdrop-filter: blur(10px);
}

.header-inner,
.footer-inner {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
}

.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-shrink: 0;
  align-items: baseline;
  gap: 0.4rem;
  color: #111827;
  font-weight: 700;
  letter-spacing: 0;
  transition: opacity 180ms ease;
}

.brand:hover {
  opacity: 0.82;
}

.brand-number {
  color: var(--accent);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.brand-title {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
}

.brand-subtitle {
  margin-left: 0.25rem;
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 400;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  border-radius: 0.65rem;
  padding: 0.55rem 0.75rem;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}

.nav-link:hover {
  color: #111827;
  background: #f9fafb;
}

.nav-link.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.mobile-nav {
  display: none;
  overflow-x: auto;
  gap: 0.25rem;
  border-top: 1px solid #f9fafb;
  padding: 0.75rem 1rem;
}

.scrollbar-hide {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.site-footer {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.86);
  background: var(--accent);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding: 2.5rem 0;
}

.footer-title {
  margin: 0 0 0.5rem;
  color: #ffffff;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-note {
  align-self: flex-end;
  color: rgba(255, 255, 255, 0.9);
}

.page {
  position: relative;
  overflow: hidden;
}

.page-container {
  position: relative;
  width: min(100% - 2rem, 64rem);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.narrow {
  width: min(100% - 2rem, 48rem);
}

.medium {
  width: min(100% - 2rem, 56rem);
}

.wide {
  width: min(100% - 2rem, 72rem);
}

.page-title {
  margin: 0;
  color: var(--accent);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.title-with-spark {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(0.6rem, 2vw, 1rem);
}

.title-with-spark.text-center {
  justify-content: center;
}

.page-title-spark {
  flex: 0 1 auto;
  width: clamp(4.5rem, 14vw, 8rem);
  height: auto;
  object-fit: contain;
}

.page-lead {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.18rem);
}

.section-title {
  margin: 0;
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #6b7280;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card {
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  height: clamp(16rem, 38vw, 22rem);
  margin: 2rem 0;
  border-radius: 0.75rem;
  object-fit: cover;
}

.content-flow {
  color: #374151;
  font-size: 1rem;
  line-height: 1.75;
}

.content-flow p {
  margin: 0 0 1rem;
}

.content-flow a,
.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.text-center {
  text-align: center;
}

.dots-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(224, 132, 118, 0.18) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 14%, rgba(224, 132, 118, 0.14) 0 4px, transparent 5px),
    radial-gradient(circle at 84% 70%, rgba(224, 132, 118, 0.13) 0 3px, transparent 4px),
    radial-gradient(circle at 18% 82%, rgba(224, 132, 118, 0.12) 0 4px, transparent 5px),
    radial-gradient(circle at 52% 48%, rgba(224, 132, 118, 0.1) 0 3px, transparent 4px);
  background-size: 32rem 22rem, 24rem 30rem, 29rem 24rem, 22rem 26rem, 26rem 20rem;
  opacity: 0.82;
}

.drawing-mask {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.drawing-mask svg {
  width: min(100%, 42rem);
  height: auto;
  overflow: visible;
}

.draw-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-spark-layer] {
  pointer-events: none;
}

.start-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.start-copy {
  position: relative;
  z-index: 2;
}

.home-thread-scene {
  display: none;
}

.sponsor-modal-open .home-thread-scene {
  display: none;
}

.home-thread-hand {
  position: absolute;
  top: clamp(-1.4rem, -2.5vw, -0.4rem);
  right: clamp(-2.6rem, -3vw, -1rem);
  z-index: 3;
  width: min(100%, 23rem);
  max-width: none;
  pointer-events: none;
}

.home-thread-path {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.home-thread-path svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.thread-draw-path {
  stroke-width: 3.2;
}

.sponsor-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--soft-line);
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.sponsor-card {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5rem;
  padding: 1rem;
  color: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sponsor-card:hover,
.sponsor-card:focus-visible {
  border-color: rgba(199, 42, 128, 0.28);
  box-shadow: 0 16px 38px rgba(31, 41, 55, 0.1);
  transform: translateY(-2px);
}

.sponsor-card img {
  max-height: 2.5rem;
  width: auto;
  object-fit: contain;
  opacity: 0.72;
}

.sponsor-card:hover img,
.sponsor-card:focus-visible img {
  opacity: 0.9;
}

.sponsor-modal {
  --sponsor-modal-top: 5.75rem;
  --sponsor-modal-bottom: 1rem;
  align-items: flex-start;
  padding: var(--sponsor-modal-top) 1rem var(--sponsor-modal-bottom);
}

.sponsor-modal-dialog {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(92vw, calc(50vw + 6rem));
  max-height: calc(100vh - var(--sponsor-modal-top) - var(--sponsor-modal-bottom));
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28);
}

.modal-close.sponsor-modal-close {
  z-index: 4;
}

.sponsor-modal-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1.15rem;
  max-height: calc(100vh - var(--sponsor-modal-top) - var(--sponsor-modal-bottom));
  padding: clamp(2rem, 6vw, 3rem);
  text-align: center;
}

.sponsor-modal-logo {
  width: min(50vw, calc(100vw - 4rem));
  max-width: calc(100vw - 4rem);
  height: min(50vw, max(4rem, calc(100vh - var(--sponsor-modal-top) - var(--sponsor-modal-bottom) - 12rem)));
  display: block;
  object-fit: contain;
}

.sponsor-modal-content h3 {
  margin: 0;
  color: #1f2937;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.sponsor-modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  color: #ffffff;
  background: var(--accent-strong);
  font-weight: 700;
  line-height: 1.2;
}

.sponsor-modal-link[hidden] {
  display: none;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}

.tab-button {
  border: 0;
  border-radius: 0.75rem;
  padding: 0.65rem 1.25rem;
  color: #4b5563;
  background: #f3f4f6;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease;
}

.tab-button:hover {
  background: #e5e7eb;
}

.tab-button.active {
  color: #ffffff;
  background: var(--accent);
}

.schedule-card {
  padding: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 3rem;
}

.event-list {
  display: grid;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.event-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 0.75rem;
  padding: 0.8rem 1rem;
  background: rgba(249, 250, 251, 0.9);
}

.event-title {
  font-weight: 700;
}

.event-time {
  flex-shrink: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.overview-card {
  padding: 1.25rem;
}

.overview-card h3 {
  margin: 0 0 0.75rem;
  color: #111827;
}

.overview-card ul {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  color: #5f6875;
  font-size: 0.9rem;
  list-style: none;
}

.play-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.play-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.play-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
}

.meta {
  margin: 0.25rem 0 0.75rem;
  color: #6b7280;
  font-size: 0.9rem;
}

.muted-text {
  color: var(--muted);
}

.play-copy p,
.workshop-copy p {
  margin: 0;
  color: #5f6875;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 0;
  border-radius: 0.75rem;
  padding: 0.6rem 1rem;
  color: #ffffff;
  background: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  transition: opacity 160ms ease, background 160ms ease;
}

.button:hover {
  background: var(--accent-strong);
}

.play-image {
  min-height: 15rem;
  background: #f3f4f6;
}

.play-image img,
.workshop-image img,
.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workshop-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.workshop-card {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) 2fr;
}

.workshop-image {
  min-height: 13rem;
  background: #f3f4f6;
}

.workshop-copy {
  padding: 1.5rem;
}

.info-box {
  margin: 3rem 0 0;
  border-color: var(--accent-soft);
  padding: 1.5rem;
  background: var(--page-bg);
}

.notice {
  margin-bottom: 2rem;
  border-radius: 1rem;
  padding: 0.8rem 1rem;
  color: #374151;
  background: var(--accent-soft);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.divider {
  height: 1px;
  margin: 3rem 0;
  border: 0;
  background: #e5e7eb;
}

.section-stack {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.feature-card {
  padding: clamp(1.5rem, 4vw, 2rem);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 18rem;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1rem;
}

.feature-row.reverse {
  grid-template-columns: 18rem 1fr;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-copy p {
  margin: 0 0 1rem;
  color: #5f6875;
  line-height: 1.75;
}

.feature-image {
  overflow: hidden;
  border-radius: 0.75rem;
  background: #f3f4f6;
}

.feature-image img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}

.behind-card {
  padding: 1.5rem;
}

.behind-row {
  display: grid;
  grid-template-columns: 18rem 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.behind-images {
  display: grid;
  gap: 1rem;
}

.behind-images img {
  width: 100%;
  height: 11rem;
  border-radius: 0.75rem;
  object-fit: cover;
  background: #f3f4f6;
}

.gallery-header {
  margin-bottom: 3rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-card h3 {
  margin: 0;
  border-bottom: 1px solid var(--soft-line);
  padding: 1rem;
  color: #111827;
  font-size: 1rem;
}

.gallery-stage {
  background: #f9fafb;
}

.gallery-image {
  position: relative;
  aspect-ratio: 16 / 9;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  color: #4b5563;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(31, 41, 55, 0.12);
  font-size: 1.75rem;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-arrow.prev {
  left: 0.75rem;
}

.gallery-arrow.next {
  right: 0.75rem;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem;
}

.gallery-dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #d1d5db;
}

.gallery-dot.active {
  background: var(--accent);
}

.legal section + section {
  margin-top: 2rem;
}

.legal h2 {
  margin: 0 0 0.5rem;
}

.legal h3 {
  margin: 1rem 0 0.25rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(5px);
}

.modal[hidden] {
  display: none;
}

.modal-dialog {
  position: relative;
  overflow: hidden;
  width: min(100%, 42rem);
  max-height: 90vh;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  color: #374151;
  background: rgba(255, 255, 255, 0.88);
  font-size: 1.6rem;
  line-height: 1;
}

.modal-media {
  position: relative;
  height: 18rem;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-titlebar {
  position: absolute;
  inset: auto 0 0;
  padding: 4rem 1.5rem 1.5rem;
  color: #ffffff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
}

.modal-titlebar h2 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  line-height: 1.1;
}

.modal-titlebar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.modal-body {
  overflow-y: auto;
  max-height: calc(90vh - 18rem);
  padding: 1.5rem;
}

.modal-body h3 {
  margin: 0 0 0.75rem;
  color: var(--accent);
}

.modal-body p {
  margin: 0;
  color: #374151;
  line-height: 1.75;
}

@media (max-width: 1060px) {
  .desktop-nav {
    display: none;
  }

  .sponsor-modal {
    --sponsor-modal-top: 8rem;
  }

  .mobile-nav {
    display: flex;
  }

  .header-inner {
    min-height: 4rem;
  }
}

@media (min-width: 1100px) {
  .start-container {
    min-height: calc(100vh - 4.5rem);
  }

  .start-layout {
    grid-template-columns: minmax(0, 46rem) clamp(18rem, 26vw, 24rem);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
  }

  .home-thread-scene {
    position: fixed;
    top: 4.5rem;
    right: max(1rem, calc((100vw - 72rem) / 2));
    z-index: 12;
    display: block;
    width: clamp(18rem, 26vw, 24rem);
    height: calc(100vh - 4.5rem);
    pointer-events: none;
  }
}

@media (max-width: 820px) {
  .brand-subtitle {
    display: none;
  }

  .footer-inner,
  .play-grid,
  .overview-grid,
  .gallery-grid,
  .feature-row,
  .feature-row.reverse,
  .behind-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
    gap: 2rem;
  }

  .footer-note {
    align-self: auto;
  }

  .sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .play-grid {
    display: grid;
  }

  .play-card,
  .workshop-card {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-copy {
    order: 0;
  }
}

@media (max-width: 560px) {
  .page-container {
    width: min(100% - 1.25rem, 64rem);
    padding: 2.5rem 0;
  }

  .header-inner,
  .footer-inner {
    width: min(100% - 1.25rem, 72rem);
  }

  .mobile-nav {
    padding-inline: 0.625rem;
  }

  .nav-link {
    min-height: 2.25rem;
    padding: 0.5rem 0.7rem;
  }

  .event-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .hero-image,
  .modal-media {
    height: 14rem;
  }

  .modal-body {
    max-height: calc(90vh - 14rem);
  }
}
