/*
Theme Name: ENTAPARK FES 2026
Theme URI: https://entaparkfes.example/
Author: ENTAPARK FES
Description: Official theme for ENTAPARK FES 2026.
Version: 1.0.0
Text Domain: entaparkfes
*/

:root {
  --ink: #12304a;
  --night: #0b2438;
  --cream: #fffaf0;
  --yellow: #f6c945;
  --pink: #ef6a68;
  --blue: #57c5d8;
  --purple: #6d7fc5;
  --orange: #f29b5b;
  --green: #55a984;
  --line: rgba(18, 48, 74, 0.18);
  --gradient-fes: linear-gradient(
    100deg,
    var(--purple) 0%,
    var(--pink) 60%,
    var(--orange) 100%
  );
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 81px;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  background: var(--cream);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 208px;
  padding: 16px 22px;
  font:
    500 11px/1 "DM Mono",
    monospace;
  letter-spacing: 1px;
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.button:hover {
  box-shadow: 0 10px 24px rgba(23, 11, 59, 0.22);
  transform: translate(4px, -4px);
}
.button span {
  font-size: 18px;
}
.button-yellow {
  color: var(--ink);
  background: var(--yellow);
}
.button-pink {
  color: #fff;
  background: var(--pink);
  box-shadow: 0 6px 16px rgba(224, 87, 142, 0.28);
}
.button-outline {
  color: var(--ink);
  border: 1px solid var(--ink);
}

body.has-artist-modal {
  overflow: hidden;
}
.artist-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  padding: clamp(16px, 4vw, 48px);
  overflow-y: auto;
  place-items: center;
  background: rgba(11, 36, 56, 0.78);
  animation: artist-modal-fade-in 0.25s ease-out;
}
.artist-modal[hidden] {
  display: none;
}
.artist-modal-panel {
  position: relative;
  width: min(100%, 860px);
  overflow: hidden;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 10px 10px 0 var(--yellow);
  outline: none;
  animation: artist-modal-panel-in 0.3s ease-out;
}
@keyframes artist-modal-fade-in {
  from {
    background: rgba(11, 36, 56, 0);
  }
}
@keyframes artist-modal-panel-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}
.artist-modal-image {
  height: min(68vh, 660px);
  background: var(--night);
}
.artist-modal-image img,
.artist-modal-image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.artist-modal-image-placeholder {
  display: grid;
  place-items: center;
  color: transparent;
  font:
    64px/1 "Anton",
    sans-serif;
}
.artist-modal-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 24px clamp(24px, 4vw, 38px) 28px;
}
.artist-modal-content .section-kicker {
  margin: 0 0 6px;
  color: var(--pink);
  font:
    500 12px/1 "DM Mono",
    monospace;
  letter-spacing: 1px;
}
.artist-modal-content h2 {
  margin: 0;
  overflow-wrap: anywhere;
  font:
    clamp(24px, 2.8vw, 36px) / 1.15 "Anton",
    "Noto Sans JP",
    sans-serif;
  letter-spacing: 0;
}
.artist-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin: 20px 0 0;
}
.artist-modal-meta div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.artist-modal-meta dt {
  color: var(--pink);
  font:
    500 10px/1 "DM Mono",
    monospace;
  letter-spacing: 1px;
}
.artist-modal-meta dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}
.artist-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
}
.artist-modal-close span {
  position: absolute;
  top: 19px;
  left: 9px;
  width: 20px;
  height: 2px;
  background: var(--ink);
}
.artist-modal-close span:first-child {
  transform: rotate(45deg);
}
.artist-modal-close span:last-child {
  transform: rotate(-45deg);
}
.artist-modal-close:hover {
  color: var(--cream);
  background: var(--pink);
}
.artist-modal-close:hover span {
  background: currentColor;
}

@media (max-width: 640px) {
  .artist-modal {
    padding: 14px;
    place-items: center;
  }
  .artist-modal-panel {
    min-height: 0;
  }
  .artist-modal-image {
    height: min(56vh, 480px);
  }
  .artist-modal-content {
    padding: 20px 22px 24px;
  }
  .artist-modal-meta {
    gap: 10px 20px;
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .artist-modal,
  .artist-modal-panel {
    animation: none;
  }
}
