:root {
  --color-bg: #ffffff;
  --color-surface: #EAE6DD;
  --color-text: #1A1A18;
  --color-text-muted: #6B6760;
  --color-accent: #E87722;
  --color-on-accent: #F5F2EB;
  --color-border: rgba(26,26,24,0.12);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--color-accent);
  padding: 40px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 400;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* HEADER / HERO */
header {
  width: 100%;
  position: relative;
  background-color: var(--color-bg);
}

.hero-cover {
  width: 100%;
  display: block;
  height: auto;
}

.hero-sub {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

/* PHOTO GRID */
.slideshow {
  display: block;
  width: 100%;
  padding: 0;
}

.slideshow-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.slide {
  aspect-ratio: 1 / 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slideshow-nav {
  display: none;
}

.slideshow-indicators {
  display: none;
}

.indicator {
  width: 24px;
  height: 2px;
  background: rgba(26,26,24,0.2);
  cursor: pointer;
  transition: background 0.3s;
}

.indicator.active {
  background: var(--color-accent);
}

/* SECTIONS */
main section {
  padding: 96px 24px;
  max-width: 100%;
  margin: 0 auto;
}

.section-heading {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.accent-rule {
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: 40px;
}

/* ABOUT */
.about-text {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 2.0;
  color: var(--color-text);
  max-width: 640px;
  letter-spacing: 0.08em;
}

/* MEMBERS */
.members-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.member-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.member-item:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid var(--color-border);
}

.member-item:nth-child(even) {
  padding-left: 32px;
}

.member-name {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-size: 1.4rem;
  color: var(--color-text);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.member-sep {
  color: var(--color-accent);
  margin: 0 6px;
}

.member-role {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 2px;
  letter-spacing: 0.08em;
  font-weight: 400;
}

/* EVENT */
.event-card {
  background: var(--color-surface);
  border-left: 3px solid var(--color-accent);
  padding: 40px 36px;
}

.event-name {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 12px;
}

.event-date {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.event-desc {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 24px;
}

.event-venue {
  font-size: 0.88rem;
  line-height: 2;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  font-family: 'Space Mono', monospace;
  white-space: pre-line;
}

.event-link {
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.event-link:hover {
  border-color: var(--color-accent);
}

/* CONTACT */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-ig-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-text);
  transition: color 0.2s;
}

.contact-link:hover .contact-ig-icon,
.contact-link-row:hover .contact-ig-icon {
  color: var(--color-accent);
}

.contact-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-link {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-size: 1rem;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  display: inline-flex;
}

.contact-link:hover {
  color: var(--color-accent);
}

/* FOOTER */
footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-accent);
  padding: 32px 24px;
  text-align: center;
}

.footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.12em;
}

@media (max-width: 600px) {
  html {
    padding: 20px 40px;
  }

  body {
    padding: 0;
  }


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

  .member-item:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }

  .member-item:nth-child(even) {
    padding-left: 0;
  }

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

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

  main section {
    padding: 64px 20px;
  }
}
