:root {
    --ink: #140c16;
    --cream: #fff6e8;
    --pink: #ff2d95;
    --pink-deep: #d41472;
    --yellow: #ffe14d;
    --orange: #ff7a18;
    --green: #7cff3a;
    --night: #120816;
    --card: #1c1220;
    --line: rgba(255, 246, 232, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Outfit, "Noto Sans SC", "Noto Sans JP", system-ui, sans-serif;
    background: var(--night);
    color: var(--cream);
    line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: var(--yellow); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
}
.skip {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--yellow);
    color: var(--ink);
    padding: 8px 12px;
    z-index: 20;
}
.skip:focus { left: 12px; top: 12px; }
.site-bar {
    position: sticky;
    top: 0;
    z-index: 25;
    background: rgba(18, 8, 22, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.site-bar-inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 8px 0;
    padding-top: max(8px, env(safe-area-inset-top));
}
.site-header, .page, .site-footer {
    width: min(1120px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}
.brand {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.16em;
    color: var(--cream);
    text-decoration: none;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.brand img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.site-bar-panel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex: 1;
    min-width: 0;
}
.nav-toggle {
    display: none;
    margin-left: auto;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    min-width: 44px;
    padding: 8px 12px;
    border: 0;
    border-radius: 12px;
    background: var(--yellow);
    color: var(--ink);
    cursor: pointer;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.08em;
    font-size: 1.05rem;
}
.nav-toggle-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 18px;
}
.nav-toggle-box span { display: block; height: 2px; background: var(--ink); }
.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}
.site-nav a {
    color: var(--cream);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.82rem;
    opacity: 0.8;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 6px;
}
.site-nav a[aria-current="page"], .site-nav a:hover { opacity: 1; color: var(--yellow); }
.video-pause {
    background: transparent;
    border: 1px solid rgba(255, 246, 232, 0.35);
    color: var(--cream);
    border-radius: 999px;
    padding: 8px 14px;
    min-height: 44px;
    cursor: pointer;
    font: inherit;
    font-size: 0.85rem;
}
.video-pause[hidden] { display: none; }
body.nav-open { overflow: hidden; }
.hero-copy {
    padding: 10px 0 28px;
}
.hero-copy h1 {
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(2rem, 6vw, 3.6rem);
    line-height: 1.05;
    margin: 0 0 12px;
}
.lede { max-width: 68ch; color: #ffe9d2; }
.toolbar, .suggest {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end;
    margin: 0 0 18px;
}
label.field { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; }
input, select, textarea, button {
    font: inherit;
}
input, select, textarea {
    background: #0e1016;
    border: 1px solid var(--line);
    color: var(--cream);
    padding: 10px 12px;
    border-radius: 12px;
    min-width: 0;
    min-height: 44px;
}
.btn {
    border: 0;
    cursor: pointer;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.08em;
    font-size: 1.15rem;
    padding: 12px 16px 10px;
    border-radius: 14px;
    color: var(--ink);
    text-decoration: none;
    display: inline-block;
}
.btn-pink { background: var(--pink); }
.btn-yellow { background: var(--yellow); }
.btn-orange { background: var(--orange); }
.btn-green { background: var(--green); }
.grid { display: grid; gap: 12px; }
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    align-items: center;
}
.rank { font-family: "Bebas Neue", sans-serif; font-size: 1.8rem; color: var(--yellow); text-align: center; }
.title { font-weight: 700; }
.meta { color: #cbb9c4; font-size: 0.92rem; }
.stores, .hearts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.stores a {
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--cream);
}
.heart {
    border: 1px solid var(--line);
    background: #120816;
    color: var(--cream);
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
    min-width: 64px;
}
.heart[aria-pressed="true"] { background: var(--pink); color: var(--ink); border-color: var(--pink); }
.status { min-height: 1.4em; font-size: 0.92rem; }
.site-footer { padding: 28px 0 48px; color: #cbb9c4; font-size: 0.85rem; }
.sr-only {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}

.video-hero {
    position: relative;
    min-height: min(72vh, 720px);
    min-height: min(72dvh, 720px);
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--cream);
}
.video-hero .hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.video-hero .poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-hero .video-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.video-hero .video-bg.is-on { opacity: 1; }
.video-hero .video-bg-frame {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.video-hero iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}
.video-hero .shade {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(18,8,22,0.25), rgba(18,8,22,0.88));
}
.video-hero .inner {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 40px;
}
.logo {
    height: 64px;
    width: auto;
    display: block;
    margin-bottom: 12px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.events {
    width: 100%;
    margin: 0;
    padding: 36px 0 8px;
}
.events-intro {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 20px;
}
.events h2, .stands h2, .page h2 {
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.event {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0;
    width: 100%;
    margin: 0 0 8px;
    min-height: min(68vh, 760px);
    background: var(--card);
    border-radius: 0;
    overflow: hidden;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.flyer-wrap { position: relative; min-height: min(68vh, 760px); background: #000; }
.flyer-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: min(68vh, 760px); }
.overlay {
    position: absolute; left: 12px; right: 12px; bottom: 12px;
    background: rgba(18, 8, 22, 0.82);
    border-radius: 14px;
    padding: 14px;
}
.overlay h3 { margin: 0 0 6px; font-family: Fraunces, Georgia, serif; }
.overlay p, .overlay a { margin: 0 0 4px; font-size: 0.92rem; }
.details-btn { margin-top: 10px; }

.event-dialog {
    width: min(860px, calc(100vw - 24px));
    max-height: min(92dvh, 900px);
    border: 0;
    border-radius: 22px;
    padding: 0;
    background: var(--cream);
    color: var(--ink);
    overflow: auto;
}
.event-dialog::backdrop { background: rgba(18, 8, 22, 0.72); }
.event-dialog-bar {
    display: flex;
    justify-content: flex-end;
    padding: 10px 12px 0;
    position: sticky;
    top: 0;
    background: var(--cream);
    z-index: 1;
}
.event-dialog-close {
    border: 0;
    background: var(--yellow);
    color: var(--ink);
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.08em;
    font-size: 1.05rem;
    border-radius: 999px;
    padding: 8px 14px;
    min-height: 44px;
    cursor: pointer;
}
.event-dialog-body { padding: 0 18px 22px; }
.event-dialog-flyer {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;
}
.event-dialog-copy h2 {
    font-family: Fraunces, Georgia, serif;
    margin: 0 0 12px;
    font-size: clamp(1.4rem, 4vw, 2rem);
}
.event-dialog-copy h3 { margin: 16px 0 6px; font-size: 1rem; }
.event-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; }
.event-dl div { margin: 0; }
.event-dl dt { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #6b5c66; }
.event-dl dd { margin: 2px 0 0; font-weight: 600; }
.event-dialog-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.event-dialog-links .btn { color: var(--ink); }
.map { min-height: min(68vh, 760px); }
.map iframe { width: 100%; height: 100%; min-height: min(68vh, 760px); border: 0; display: block; }
.stands {
    width: 100%;
    margin: 0;
    padding: 56px 0 40px;
    background:
        linear-gradient(180deg, rgba(255, 45, 149, 0.08), transparent 28%),
        #160c18;
    border-top: 1px solid var(--line);
}
.stands-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}
.stands-intro {
    max-width: 68ch;
    margin-bottom: 28px;
}
.stands h2 { margin: 0 0 10px; }
.values {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px 28px;
    border-top: 1px solid var(--line);
    padding-top: 8px;
}
.value {
    background: transparent;
    border-radius: 0;
    padding: 20px 0 8px;
    border: 0;
}
.value-num {
    display: block;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.12em;
    color: var(--yellow);
    font-size: 1.05rem;
    margin-bottom: 8px;
}
.value h3 { margin: 0 0 8px; font-size: 1.05rem; }
.value p { margin: 0; color: #e8d4c4; font-size: 0.92rem; }
.dj-card { grid-template-columns: 1fr auto; }
.empty { color: #cbb9c4; }

.heart { min-height: 44px; min-width: 44px; }
.btn { min-height: 44px; }
.show-more { width: 100%; margin-top: 8px; }
.suggest .field, .toolbar .field { flex: 1 1 160px; }
.suggest .btn { width: auto; }

@media (max-width: 1100px) {
    .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .site-header, .page, .site-footer, .events-intro, .stands-inner, .video-hero .inner, .site-bar-inner {
        width: calc(100% - 24px);
    }
    .events { width: 100%; }
    .card { grid-template-columns: 44px 1fr; }
    .heart { grid-column: 1 / -1; justify-self: start; }
    .event { grid-template-columns: 1fr; min-height: 0; margin: 0 0 12px; }
    .overlay {
        position: static;
        margin: 0;
        border-radius: 0;
        background: rgba(18, 8, 22, 0.96);
    }
    .flyer-wrap { min-height: 0; }
    .flyer-wrap img { min-height: 180px; max-height: 42vh; }
    .map, .map iframe { min-height: 220px; }
    .video-hero { min-height: min(58dvh, 520px); padding-top: 12px; }
    .logo { height: 48px; }
    .suggest, .toolbar { flex-direction: column; align-items: stretch; }
    .suggest .btn { width: 100%; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn, .hero-actions .video-pause { text-align: center; width: 100%; }
    .values { grid-template-columns: 1fr 1fr; }
    .nav-toggle { display: inline-flex; }
    .site-bar-inner { position: relative; }
    .site-bar-panel {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        z-index: 26;
        flex-direction: column;
        align-items: stretch;
        background: rgba(18, 8, 22, 0.96);
        padding: 12px 16px 18px;
        border-bottom: 1px solid var(--line);
    }
    .site-bar.is-open .site-bar-panel { display: flex; }
    .site-nav { flex-direction: column; gap: 0; }
    .site-nav a { width: 100%; }
}
@media (max-width: 560px) {
    .values { grid-template-columns: 1fr; }
    .stores a { padding: 8px 10px; }
    .event-dl { grid-template-columns: 1fr; }
    .event-dialog-links .btn { width: 100%; text-align: center; }
    .brand span { font-size: 1.1rem; }
    .page { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
    .hero-copy h1 { font-size: clamp(1.7rem, 9vw, 2.4rem); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .video-hero .video-bg { display: none; }
}
