﻿@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --bg: #f3efe7;
  --bg-accent: #f8f5ee;
  --ink: #15110f;
  --muted: #6e5f55;
  --accent: #ff6b35;
  --accent-2: #2b59c3;
  --surface: #fffdf9;
  --border: #e2d8cb;
  --shadow: rgba(20, 16, 14, 0.18);
  --glow: rgba(255, 107, 53, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 500px at 20% -10%, rgba(255, 107, 53, 0.25), transparent 60%),
    radial-gradient(900px 400px at 90% 0%, rgba(43, 89, 195, 0.2), transparent 55%),
    var(--bg);
  min-height: 100vh;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: 1;
}

.hero {
  position: relative;
  padding: 56px 16px 32px;
  background: linear-gradient(120deg, #fff3ea 0%, #f8f5ee 60%, #f0f3ff 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero__content {
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  position: relative;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.logo-mark::after {
  inset: 16px;
  border-radius: 6px;
  border-color: rgba(255, 255, 255, 0.6);
}

.brand__text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
}

.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  margin: 8px 0;
  text-shadow: 0 10px 25px rgba(255, 107, 53, 0.12);
}

.hero__lead {
  max-width: 640px;
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 80px;
}

.controls {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 30px var(--shadow);
  margin-bottom: 24px;
  position: sticky;
  top: 12px;
  z-index: 3;
}

.range {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.range__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.range__date input[type="date"] {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 10px;
  background: var(--surface);
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
}

.range__actions {
  margin-left: auto;
  display: inline-flex;
  gap: 8px;
}

.range__label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--muted);
}

.filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter {
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.3);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 13px;
}

.btn {
  border: none;
  background: var(--accent);
  color: white;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(255, 107, 53, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--ghost {
  background: var(--accent-2);
  box-shadow: 0 6px 14px rgba(43, 89, 195, 0.25);
}

.btn--link {
  background: transparent;
  color: var(--accent-2);
  box-shadow: none;
  padding: 0;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px var(--glow);
}

.error {
  color: #b91c1c;
  margin-top: 6px;
}

.schedule {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 12px 30px var(--shadow);
}

.pager {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 16px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg-accent);
}

.schedule a {
  color: var(--accent-2);
  font-weight: 600;
  text-decoration: none;
}

.schedule a:hover {
  text-decoration: underline;
}

.mono {
  font-family: 'Space Grotesk', sans-serif;
  font-variant-numeric: tabular-nums;
}

.card-grid {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: var(--bg-accent);
}

.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(20, 16, 14, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(20, 16, 14, 0.12);
}

.event-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.event-card__date {
  font-size: 14px;
  color: var(--muted);
}

.event-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.event-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.event-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  font-size: 13px;
}

.event-card__meta-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.event-card__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  color: var(--muted);
}

.event-card__performers {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.event-card__list {
  color: var(--ink);
}

.event-card__notes {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.empty {
  padding: 20px 16px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
}

.site-footer {
  padding: 28px 16px 48px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer p {
  margin: 6px 0;
}

@media (max-width: 720px) {
  .hero {
    padding-top: 40px;
  }

  .controls {
    padding: 12px;
  }

  .range {
    align-items: flex-start;
  }

  .card-grid {
    padding: 14px;
    gap: 12px;
  }

  .event-card {
    padding: 14px;
  }

  .event-card__meta {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 860px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
