:root {
  --bg: #f7f4ef;
  --bg2: #ece7de;
  --accent: #3ab4e3;
  --accent2: #8b1f1f;
  --text: #18100a;
  --muted: #7a6e64;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg);
  /* Shoji-screen grid pattern */
  background-image:
    linear-gradient(180deg, transparent 0%, rgba(236, 231, 222, 0.5) 100%),
    linear-gradient(rgba(58, 180, 227, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 180, 227, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ---- JAPANESE SUBTITLE ---- */
.ja {
  display: none !important;
}

/* Centered Japanese subtitle under section h2 */
.ja-sub {
  display: none !important;
}

/* ---- HEADER / NAV ---- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 32px;
  background: rgba(247, 244, 239, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--accent);
}

header .logo {
  max-height: 48px;
  width: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-end;
}

nav a {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -5px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s;
  transform-origin: left;
}

nav a:hover { color: var(--accent2); }
nav a:hover::after { transform: scaleX(1); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 60px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/BAND_02_4-3.jpg') center / cover no-repeat;
  opacity: 0.65;
}

/* Decorative vertical ink-line on left of hero */
.hero::after {
  content: "";
  position: absolute;
  top: 60px;
  bottom: 60px;
  left: 40px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent) 25%, var(--accent) 75%, transparent);
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  background: rgba(247, 244, 239, 0.45);
  backdrop-filter: blur(6px);
  padding: 24px 32px 36px;
  border-top: 3px solid var(--accent);
}

@media (min-width: 768px) {
  .hero-content {
    max-width: 1000px;
    padding: 40px 60px 52px;
  }
}

.hero-content .logo {
  max-width: 360px;
  margin: 0 auto 10px;
}

h1 {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
  line-height: 1.1;
}

.tagline {
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

/* ---- STICKER — hanko stamp ---- */
.sticker {
  position: absolute;
  top: 88px;
  right: 36px;
  z-index: 10;
  width: 70px;
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: var(--accent2);
  color: #fff;
  font-family: 'Shippori Mincho B1', serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  transform: rotate(-15deg);
  animation: pulse 2.4s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(139, 31, 31, 0.4);
}

.sticker .ja {
  display: block;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.1em;
  margin-top: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1;  box-shadow: 0 0 20px rgba(139, 31, 31, 0.4); }
  50%       { opacity: 0.65; box-shadow: 0 0 6px rgba(139, 31, 31, 0.15); }
}

/* ---- CTA ---- */
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta.center { justify-content: center; }

.btn {
  display: inline-block;
  padding: 11px 28px;
  border: 1px solid var(--accent);
  color: var(--text);
  font-family: 'Shippori Mincho B1', serif;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  border-radius: 0;
  text-transform: uppercase;
}

.btn:hover { background: rgba(58, 180, 227, 0.12); border-color: var(--accent); }

.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.primary:hover { background: #2a9ecf; border-color: #2a9ecf; }

.big-btn { padding: 14px 44px; font-size: 0.82rem; }

/* ---- SECTION ---- */
.section {
  padding: 88px 24px;
}

.section > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

.section.highlight {
  background: rgba(58, 180, 227, 0.05);
  border-top: 1px solid rgba(58, 180, 227, 0.3);
  border-bottom: 1px solid rgba(58, 180, 227, 0.3);
}

/* ---- SECTION HEADINGS ---- */
h2 {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-align: center;
  margin-bottom: 52px;
  color: var(--text);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* Decorative flanking lines, gold-to-red gradient */
h2::before, h2::after {
  content: "";
  flex: 0 0 56px;
  height: 1px;
}

h2::before { background: linear-gradient(90deg, transparent, var(--accent)); }
h2::after  { background: linear-gradient(90deg, var(--accent), transparent); }

/* ---- MUSIC GRID ---- */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.music-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  outline: 1px solid rgba(58, 180, 227, 0.3);
}

/* ---- LIVE CARD ---- */
.live-card {
  background: #ffffff;
  border: 1px solid rgba(58, 180, 227, 0.25);
  border-left: 4px solid var(--accent);
  border-radius: 0;
  padding: 48px 40px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 4px 24px rgba(58, 180, 227, 0.08);
}

/* Inner inset frame — like a kakejiku scroll border */
.live-card::before {
  content: "";
  position: absolute;
  top: 10px; left: 10px; right: 10px; bottom: 10px;
  border: 1px solid rgba(58, 180, 227, 0.18);
  pointer-events: none;
}

.live-card .date {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent2);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.live-card p {
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.live-card .cta { margin-top: 32px; }

/* ---- BAND GRID ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid rgba(58, 180, 227, 0.3);
  transition: border-color 0.35s, box-shadow 0.35s;
}

.card:hover img {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(58, 180, 227, 0.2);
}

/* ---- INSTAGRAM GRID ---- */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.insta-grid .instagram-media {
  border-radius: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* ---- CARD ROLE LABEL ---- */
.card-role {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---- FINAL CTA ---- */
.final-cta { text-align: center; }

/* ---- FOOTER ---- */
footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  border-top: 2px solid var(--accent);
  background: #fff;
}

footer a {
  color: var(--accent2);
  transition: opacity 0.2s;
}

footer a:hover { opacity: 0.7; }

/* ---- INNER PAGES — MAIN ---- */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px;
}

main h1 {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 48px;
  color: var(--text);
  text-transform: uppercase;
  border-left: 4px solid var(--accent);
  padding-left: 20px;
}

/* ---- FORM ---- */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

label {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-left: 2px solid var(--accent);
  border-radius: 0;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  background: rgba(58, 180, 227, 0.04);
}

button[type="submit"] {
  align-self: flex-start;
  padding: 12px 36px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 0;
  font-family: 'Shippori Mincho B1', serif;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

button[type="submit"]:hover { background: #2a9ecf; }

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
  }

  nav {
    gap: 8px 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  nav a { font-size: 0.72rem; letter-spacing: 0.06em; }

  .hero::after { display: none; }

  .sticker { top: auto; bottom: 24px; right: 16px; }

  .cta, .cta.center {
    flex-direction: column;
    align-items: stretch;
  }

  .btn, .big-btn {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }

  .live-card { padding: 28px 20px; }

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

  .section { padding: 56px 16px; }

  .insta-grid { grid-template-columns: 1fr; }

  .insta-grid .instagram-media { width: 100% !important; }

  h2 { gap: 12px; }
  h2::before, h2::after { flex: 0 0 24px; }
}

/* ---- COOKIE BANNER ---- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 3px solid var(--accent);
  box-shadow: 0 -4px 32px rgba(24, 16, 10, 0.12);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#cookie-banner.cb-visible {
  transform: translateY(0);
}

.cb-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cb-text {
  flex: 1 1 300px;
}

.cb-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'Shippori Mincho B1', serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}

.cb-ja {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 0.72em;
  color: var(--accent2);
  letter-spacing: 0.08em;
  font-weight: 400;
  text-transform: none;
}

.cb-text p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--muted);
}

.cb-text p a {
  color: var(--accent2);
  text-decoration: underline;
}

.cb-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cb-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 24px;
  border: 1px solid var(--accent);
  font-family: 'Shippori Mincho B1', serif;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
  border-radius: 0;
}

.cb-btn .cb-ja {
  display: block;
  font-size: 0.6em;
  color: inherit;
  opacity: 0.7;
  margin-top: 1px;
  letter-spacing: 0.06em;
}

.cb-accept {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.cb-accept:hover { background: #2a9ecf; border-color: #2a9ecf; }

.cb-decline {
  border-color: var(--muted);
  color: var(--muted);
}

.cb-decline:hover { background: rgba(122, 110, 100, 0.08); color: var(--text); }

@media (max-width: 640px) {
  .cb-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cb-actions {
    flex-direction: row;
    justify-content: stretch;
  }

  .cb-btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

