/* ============================================================
   Osaka Trip 2026 — Libecity 4 Friends
   ============================================================ */

:root {
  --bg: #0b0a1a;
  --bg-2: #14122b;
  --ink: #fdf7ee;
  --ink-dim: #b9b3c8;
  --pink: #ff3d8a;
  --orange: #ff8a3d;
  --yellow: #ffd23f;
  --cyan: #45e0c8;
  --purple: #8a5cff;
  --red: #ff4040;

  --grad-osaka: linear-gradient(135deg, #ff3d8a 0%, #ff8a3d 50%, #ffd23f 100%);
  --grad-night: linear-gradient(180deg, #0b0a1a 0%, #1a1538 50%, #2a1648 100%);
  --grad-usj: linear-gradient(135deg, #ff4040 0%, #ff8a3d 50%, #ffd23f 100%);
  --grad-day1: linear-gradient(135deg, #ff3d8a 0%, #8a5cff 100%);
  --grad-day2: linear-gradient(135deg, #45e0c8 0%, #8a5cff 100%);
  --grad-day3: linear-gradient(135deg, #ffd23f 0%, #ff3d8a 100%);

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --shadow-glow: 0 0 40px rgba(255,61,138,.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', system-ui, -apple-system, 'Hiragino Kaku Gothic ProN', sans-serif;
  font-feature-settings: "palt";
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  letter-spacing: .02em;
  overflow-x: hidden;
  min-height: 100vh;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
  line-break: strict;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { word-break: auto-phrase; line-break: strict; overflow-wrap: anywhere; }

/* ============================================================
   Background blobs
   ============================================================ */
.bg-stage {
  position: fixed; inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--grad-night);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .55;
  animation: float 20s ease-in-out infinite;
}
.blob-1 { width: 600px; height: 600px; background: var(--pink); top: -100px; left: -150px; }
.blob-2 { width: 500px; height: 500px; background: var(--cyan); top: 40%; right: -100px; animation-delay: -7s; }
.blob-3 { width: 450px; height: 450px; background: var(--purple); bottom: -100px; left: 30%; animation-delay: -14s; }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(40px,-30px) scale(1.05); }
  66%     { transform: translate(-30px,40px) scale(.95); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: rgba(11,10,26,.55);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-logo { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.logo-mark {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(255,61,138,.35), 0 0 0 2px rgba(255,138,61,.5);
  overflow: hidden;
  flex-shrink: 0;
}
.logo-mark img { width: 32px; height: 32px; display: block; }
.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: .04em;
  white-space: nowrap;
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 1px;
}
.logo-text em { color: var(--yellow); font-style: normal; }
.lt-eyebrow {
  font-size: .5em;
  letter-spacing: .25em;
  color: var(--cyan);
  font-weight: 400;
}
.lt-main {
  font-size: 1em;
  letter-spacing: .04em;
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px; letter-spacing: .15em;
  color: var(--ink-dim);
  transition: color .2s, background-color .2s;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  min-height: 44px;
  border-radius: 10px;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px;
  height: 2px; background: var(--grad-osaka);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.nav-links a:hover::after { transform: scaleX(1); }

@media (max-width: 720px) {
  .nav { padding: 10px 12px; gap: 8px; }
  .nav-links { gap: 2px; }
  .nav-links a {
    font-size: 14px;
    letter-spacing: .06em;
    padding: 12px 10px;
    min-height: 48px;
    min-width: 48px;
  }
  .nav-links a::after { left: 10px; right: 10px; bottom: 8px; }
  .logo-text { font-size: 18px; }
  .logo-mark { width: 40px; height: 40px; }
  .logo-mark img { width: 32px; height: 32px; }
}
@media (max-width: 480px) {
  .nav { padding: 9px 10px; gap: 6px; }
  .nav-logo { gap: 7px; }
  .logo-text { font-size: 15px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-mark img { width: 28px; height: 28px; }
  .nav-links a {
    font-size: 12px;
    padding: 12px 8px;
    letter-spacing: .04em;
    min-width: 44px;
  }
  .nav-links a::after { left: 8px; right: 8px; }
}
@media (max-width: 380px) {
  .nav { padding: 8px 8px; gap: 4px; }
  .nav-logo { gap: 6px; }
  .logo-text { font-size: 13px; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-mark img { width: 25px; height: 25px; }
  .nav-links a { font-size: 11px; padding: 12px 6px; min-width: 40px; }
  .nav-links a::after { left: 6px; right: 6px; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 32px 80px;
  position: relative;
}
@media (max-width: 720px) {
  .hero { padding: 110px 18px 90px; }
}
.hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(13px, 2.5vw, 18px); letter-spacing: .25em;
  color: var(--cyan);
  margin: 0 0 28px;
  display: inline-flex; align-items: center; gap: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}
.hero-eyebrow::before, .hero-eyebrow::after { flex-shrink: 1; min-width: 20px; }
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; width: 40px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}
.hero-eyebrow::after { background: linear-gradient(90deg, var(--cyan), transparent); }

.hero-title {
  font-family: 'Zen Maru Gothic', serif;
  font-weight: 900;
  font-size: clamp(38px, 7.5vw, 110px);
  line-height: 1.1;
  margin: 0 0 36px;
  letter-spacing: -.02em;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: normal;
}
.hero-title em { white-space: nowrap; }
.hero-title .line { display: block; }
.hero-title .line-1 { color: var(--ink); }
.hero-title .line-2 { color: var(--ink); }
.hero-title em {
  font-style: normal;
  background: var(--grad-osaka);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}
.hero-title em::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 4px;
  background: var(--grad-osaka);
  border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  animation: underline 1.2s .6s ease-out forwards;
}
@keyframes underline { to { transform: scaleX(1); } }

.hero-sub {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(18px, 2.8vw, 32px);
  letter-spacing: .12em;
  color: var(--ink);
  margin: 0 0 40px;
}
.hero-sub .dot { color: var(--pink); margin: 0 8px; }
.hero-sub-jp {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(11px, 2.2vw, 14px);
  letter-spacing: .05em;
  color: var(--ink-dim);
  margin-top: 10px;
  font-weight: 500;
  word-break: auto-phrase;
}

.hero-meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 50px;
}
.meta-card {
  display: inline-flex; flex-direction: column; align-items: center;
  padding: 16px 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  min-width: 96px;
  flex: 1 1 96px;
  max-width: 130px;
  transition: transform .2s;
}
@media (max-width: 720px) {
  .meta-card { padding: 14px 16px; min-width: 84px; }
}
.meta-card:hover { transform: translateY(-4px); }
.meta-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 7vw, 48px); line-height: 1;
  background: var(--grad-osaka);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.meta-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px; letter-spacing: .25em;
  color: var(--ink-dim);
  margin-top: 4px;
}

.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  background: var(--grad-osaka);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 12px 30px rgba(255,61,138,.4);
  transition: transform .2s, box-shadow .2s;
}
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(255,61,138,.5); }
.hero-cta svg { animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* Marquee */
.hero-marquee {
  position: absolute; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  padding: 14px 0;
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.marquee-track {
  display: inline-flex; gap: 28px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; letter-spacing: .15em;
  color: var(--ink);
}
.marquee-track span:nth-child(even) { color: var(--pink); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   Sections common
   ============================================================ */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px;
  position: relative;
  scroll-margin-top: 80px;
}
@media (max-width: 720px) {
  .section { padding: 70px 18px; scroll-margin-top: 70px; }
}
.section-head { text-align: center; margin-bottom: 60px; opacity: 0; transform: translateY(20px); transition: opacity .8s, transform .8s; }
.section-head.in { opacity: 1; transform: none; }
.section-num {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px; letter-spacing: .35em;
  color: var(--cyan);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Zen Maru Gothic', serif;
  font-weight: 900;
  font-size: clamp(26px, 5vw, 56px);
  margin: 0 0 14px;
  letter-spacing: -.02em;
  word-break: keep-all;
  line-break: strict;
}
.section-title em { white-space: nowrap; }
.section-title em {
  font-style: normal;
  background: var(--grad-osaka);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section-sub {
  color: var(--ink-dim);
  font-size: clamp(13px, 2.6vw, 16px);
  margin: 0;
}

/* ============================================================
   Members
   ============================================================ */
.members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
@media (max-width: 720px) {
  .members { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 380px) {
  .members { grid-template-columns: 1fr; }
}
.member {
  text-align: center;
  padding: 28px 16px 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s, transform .7s, border-color .3s;
}
@media (max-width: 720px) {
  .member { padding: 22px 12px 18px; border-radius: 22px; }
}
.member.in { opacity: 1; transform: none; }
.member:hover { border-color: rgba(255,255,255,.2); }
.member::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(255,61,138,.12));
  opacity: 0; transition: opacity .3s;
}
.member:hover::before { opacity: 1; }
.member-photo {
  width: clamp(96px, 22vw, 130px);
  aspect-ratio: 1;
  height: auto;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  position: relative;
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member.m-1 .member-photo { border-color: var(--pink); box-shadow: 0 10px 30px rgba(255,61,138,.4); }
.member.m-2 .member-photo { border-color: var(--orange); box-shadow: 0 10px 30px rgba(255,138,61,.4); }
.member.m-3 .member-photo { border-color: var(--cyan); box-shadow: 0 10px 30px rgba(69,224,200,.4); }
.member.m-4 .member-photo { border-color: var(--purple); box-shadow: 0 10px 30px rgba(138,92,255,.4); }

.member-name {
  font-family: 'Zen Maru Gothic', serif;
  font-weight: 900;
  font-size: clamp(18px, 4vw, 24px);
  margin: 0 0 6px;
}
.member-role {
  font-size: clamp(11px, 2.4vw, 13px);
  color: var(--ink-dim);
  margin: 0 0 10px;
  word-break: auto-phrase;
}
.member-tag {
  font-family: 'Caveat', cursive;
  font-size: clamp(15px, 3.2vw, 18px);
  color: var(--yellow);
  margin: 0;
  word-break: keep-all;
}

/* ============================================================
   Day section
   ============================================================ */
.day-section { padding-top: 120px; }
@media (max-width: 720px) {
  .day-section { padding-top: 80px; }
}
.day-head {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0; transform: translateY(20px); transition: opacity .8s, transform .8s;
}
.day-head.in { opacity: 1; transform: none; }
.day-badge {
  display: inline-flex; flex-direction: column; align-items: center;
  padding: 14px 26px;
  background: var(--grad-day1);
  border-radius: var(--radius);
  margin-bottom: 24px;
  box-shadow: 0 12px 40px rgba(255,61,138,.3);
}
.day-2 .day-badge { background: var(--grad-day2); box-shadow: 0 12px 40px rgba(69,224,200,.3); }
.day-3 .day-badge { background: var(--grad-day3); box-shadow: 0 12px 40px rgba(255,210,63,.3); }
.day-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 5vw, 32px); letter-spacing: .15em;
  color: #fff;
  white-space: nowrap;
}
.day-date {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(11px, 2.4vw, 14px); letter-spacing: .2em;
  color: rgba(255,255,255,.85);
  margin-top: 2px;
  white-space: nowrap;
}
.day-date em { font-style: normal; color: #fff; }

.day-title {
  font-family: 'Zen Maru Gothic', serif;
  font-weight: 900;
  font-size: clamp(22px, 4.5vw, 48px);
  margin: 0 0 14px;
  line-height: 1.3;
  word-break: keep-all;
  line-break: strict;
}
.day-title em { font-style: normal; color: var(--cyan); white-space: nowrap; }
.day-title .usj-text {
  background: var(--grad-usj);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: .05em;
  white-space: nowrap;
}
.day-tag {
  color: var(--ink-dim);
  font-size: clamp(11px, 2.4vw, 14px);
  margin: 0;
  word-break: auto-phrase;
}

/* ============================================================
   Timeline
   ============================================================ */
.timeline {
  list-style: none; padding: 0; margin: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 110px; top: 20px; bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--pink), var(--purple), var(--cyan));
  opacity: .4;
}
@media (max-width: 720px) {
  .timeline::before { left: 24px; }
}

.event {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 30px;
  margin-bottom: 36px;
  position: relative;
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.event.in { opacity: 1; transform: none; }
@media (max-width: 720px) {
  .event { grid-template-columns: 60px 1fr; gap: 12px; }
}

.event-time {
  display: flex; flex-direction: column; align-items: flex-end;
  text-align: right;
  padding-top: 24px;
  position: relative;
}
.event-time::after {
  content: "";
  position: absolute;
  right: -22px; top: 32px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--pink);
  z-index: 2;
}
.time-icon {
  font-size: 28px;
  margin-bottom: 4px;
}
.time-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: .08em;
  color: var(--ink-dim);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .event-time { align-items: center; padding-top: 14px; }
  .event-time::after { right: 50%; transform: translateX(50%); top: 16px; width: 11px; height: 11px; }
  .time-icon { font-size: 20px; margin-bottom: 2px; }
  .time-text { font-size: 10px; letter-spacing: .03em; }
}

.event-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: center;
  backdrop-filter: blur(20px);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  overflow: hidden;
  min-width: 0;
}
.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.18);
  box-shadow: var(--shadow);
}
.event-card.minimal {
  display: block;
  padding: 20px 28px;
  background: rgba(255,255,255,.02);
}

@media (max-width: 900px) {
  .event-card { grid-template-columns: 1fr; padding: 20px; gap: 18px; }
}
@media (max-width: 720px) {
  .event-card { padding: 16px; gap: 14px; border-radius: 20px; }
  .event-card.minimal { padding: 14px 18px; }
}

.event.highlight .event-card {
  background: linear-gradient(135deg, rgba(255,61,138,.08), rgba(255,138,61,.05));
  border-color: rgba(255,61,138,.25);
}
.event.highlight.super .event-card {
  background: linear-gradient(135deg, rgba(255,64,64,.12), rgba(255,210,63,.08));
  border-color: rgba(255,64,64,.35);
  box-shadow: 0 0 50px rgba(255,64,64,.15);
}
.event.farewell .event-card {
  background: linear-gradient(135deg, rgba(255,210,63,.1), rgba(255,61,138,.08));
  border-color: rgba(255,210,63,.25);
}

.event-tag {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px; letter-spacing: .2em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: var(--ink);
  margin-bottom: 14px;
  white-space: nowrap;
}
.event-tag.tag-meal { background: var(--orange); color: #fff; }
.event-tag.tag-fun { background: var(--cyan); color: #0b0a1a; }
.event-tag.tag-usj {
  background: var(--grad-usj); color: #fff;
  font-size: 13px; padding: 6px 14px;
  box-shadow: 0 6px 20px rgba(255,64,64,.4);
  white-space: nowrap;
}

.event-title {
  font-family: 'Zen Maru Gothic', serif;
  font-weight: 900;
  font-size: clamp(17px, 3.6vw, 22px);
  line-height: 1.4;
  margin: 0 0 10px;
  word-break: auto-phrase;
  line-break: strict;
}
.event-title em { font-style: normal; color: var(--ink-dim); font-weight: 500; }
.event-title.small { font-size: clamp(15px, 3.2vw, 18px); }
.event-title.huge { font-size: clamp(20px, 4.5vw, 28px); }
.event-title.huge em { color: var(--yellow); white-space: nowrap; }

.event-text {
  font-size: clamp(13px, 2.8vw, 14.5px);
  color: var(--ink);
  margin: 0 0 16px;
  opacity: .92;
  word-break: auto-phrase;
}
.event-text.dim { color: var(--ink-dim); margin-bottom: 0; opacity: .8; }
.event-text strong { color: var(--yellow); font-weight: 700; }

.event-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.meta-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px;
  padding: 6px 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: var(--ink);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.meta-pill.link {
  background: rgba(69,224,200,.15);
  border-color: rgba(69,224,200,.4);
  color: var(--cyan);
  transition: background .2s;
}
.meta-pill.link:hover { background: rgba(69,224,200,.3); }
.meta-pill.ok { background: rgba(69,224,200,.18); border-color: rgba(69,224,200,.4); color: var(--cyan); }
.meta-pill.assignee {
  font-weight: 700;
  border: none;
}
.meta-pill.assignee.chirutomo { background: var(--pink); color: #fff; }
.meta-pill.assignee.chiiko    { background: var(--orange); color: #fff; }
.meta-pill.assignee.shii      { background: var(--cyan); color: #0b0a1a; }
.meta-pill.assignee.suzu      { background: var(--purple); color: #fff; }

.event-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0,0,0,.3);
  position: relative;
}
.event-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.event-card:hover .event-photo img { transform: scale(1.05); }
.event-photo.gallery {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}
.event-photo.gallery img.logo {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 80px; height: auto;
  aspect-ratio: auto;
  background: rgba(0,0,0,.6);
  padding: 6px;
  border-radius: 8px;
  z-index: 2;
}
.event-photo.no-img {
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255,61,138,.15), rgba(138,92,255,.15));
}
.event-photo.dual {
  aspect-ratio: 4 / 5;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  background: transparent;
  overflow: visible;
}
.event-photo.dual img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
@media (max-width: 900px) {
  .event-photo.dual {
    aspect-ratio: auto;
    grid-template-rows: auto auto;
  }
  .event-photo.dual img {
    aspect-ratio: 4 / 3;
  }
}
.ascii-train { text-align: center; }
.train-emoji { font-size: 48px; margin-bottom: 8px; }
.train-text {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: .25em;
  color: var(--ink);
  font-size: 14px;
}
.emoji-stack { font-size: 52px; letter-spacing: 6px; }

.event.end .event-card { background: rgba(255,255,255,.025); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  margin-top: 80px;
  padding: 100px 32px 60px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.4));
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) {
  .footer { padding: 70px 18px 50px; margin-top: 50px; }
}
.footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,61,138,.5), transparent);
}
.footer-inner {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s, transform .8s;
}
.footer-inner.in { opacity: 1; transform: none; }
.footer-mark {
  font-size: 36px;
  background: var(--grad-osaka);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin: 0 0 20px;
}
.footer-title {
  font-family: 'Zen Maru Gothic', serif;
  font-weight: 900;
  font-size: clamp(22px, 5vw, 48px);
  margin: 0 0 18px;
  background: var(--grad-osaka);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  word-break: keep-all;
}
.footer-sub {
  font-family: 'Caveat', cursive;
  font-size: clamp(17px, 3.6vw, 22px);
  color: var(--ink);
  margin: 0 0 8px;
  word-break: keep-all;
}
.footer-meta {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(11px, 2.4vw, 13px); letter-spacing: .2em;
  color: var(--ink-dim);
  margin: 0;
}

/* ============================================================
   Reduce motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
}
