@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

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

:root {
  --zen-sand: #e8e0d0;
  --zen-stone: #8a8070;
  --earth-dark: #3a3830;
  --stage-dark: #2a2830;
  --aurora-green: #40d8a8;
  --aurora-purple: #8860c8;
  --aurora-pink: #e060a0;
  --text-light: #e8e0e8;
}

html, body {
  background: var(--zen-sand);
  color: var(--earth-dark);
  font-family: "Noto Sans JP", "Sora", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .hero-title, .stage-title, .section-title, .footer-title, .schedule-title {
  font-family: "Sora", "Noto Sans JP", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.eyebrow, .stage-label, .footer-eyebrow {
  font-family: "Roboto Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--zen-stone);
  text-transform: lowercase;
}

/* HERO --- split-screen */
.hero {
  display: grid;
  grid-template-columns: 55% 45%;
  height: 100vh;
  min-height: 720px;
  width: 100%;
  overflow: hidden;
}

.hero-management {
  position: relative;
  background: var(--zen-sand);
  padding: 60px 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(138, 128, 112, 0.35);
  overflow: hidden;
}

.hero-management__inner {
  max-width: 480px;
  margin-top: auto;
  margin-bottom: auto;
}

.hero-title {
  font-size: clamp(40px, 6.5vw, 86px);
  line-height: 0.96;
  font-weight: 700;
  color: var(--earth-dark);
  margin: 24px 0 28px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--earth-dark);
  opacity: 0.78;
  max-width: 420px;
}

.hero-meta {
  margin-top: 36px;
  font-family: "Roboto Mono", monospace;
  font-size: 13px;
  color: var(--zen-stone);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.meta-item .meta-key {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 6px;
  color: var(--earth-dark);
  opacity: 0.55;
}

.meta-divider { color: var(--zen-stone); opacity: 0.5; }

.zen-garden {
  width: 100%;
  height: auto;
  max-height: 80px;
}

.zen-stones {
  width: 100%;
  height: auto;
  max-height: 60px;
  margin-top: auto;
}

/* STAGE --- aurora panel */
.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--stage-dark);
  color: var(--text-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aurora {
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from var(--angle), var(--aurora-green), var(--aurora-purple), var(--aurora-pink), var(--aurora-green));
  filter: blur(60px) saturate(1.1);
  opacity: 0.55;
  animation: aurora 12s linear infinite;
  pointer-events: none;
}

.aurora--full {
  inset: -10%;
  opacity: 0.45;
  filter: blur(80px) saturate(1.2);
}

@keyframes aurora {
  to { --angle: 360deg; }
}

.hero-stage__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 360px;
  padding: 40px;
}

.stage-label {
  color: rgba(232, 224, 232, 0.75);
  margin-bottom: 18px;
}

.stage-title {
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 0.95;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(136, 96, 200, 0.5);
}

.stage-sub {
  margin-top: 22px;
  color: rgba(232, 224, 232, 0.85);
  font-size: 16px;
  line-height: 1.6;
}

.stage-pulse {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.stage-pulse span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aurora-green);
  box-shadow: 0 0 16px var(--aurora-green);
  animation: pulse 1.6s ease-in-out infinite;
}
.stage-pulse span:nth-child(2) { background: var(--aurora-purple); box-shadow: 0 0 16px var(--aurora-purple); animation-delay: 0.3s; }
.stage-pulse span:nth-child(3) { background: var(--aurora-pink); box-shadow: 0 0 16px var(--aurora-pink); animation-delay: 0.6s; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.4); opacity: 1; }
}

/* GARDEN --- management scroll */
.garden {
  background: var(--zen-sand);
  padding: 100px 0 120px;
}

.garden__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 0;
}

.garden-head {
  grid-column: 1 / 2;
  margin-bottom: 60px;
  max-width: 480px;
}

.section-title {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  margin: 14px 0 18px;
  font-weight: 600;
  color: var(--earth-dark);
}

.section-sub {
  color: var(--earth-dark);
  opacity: 0.75;
  font-size: 16px;
  max-width: 440px;
}

.vtuber-cards {
  grid-column: 1 / 2;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 480px;
}

.vtuber-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  padding: 22px;
  background: rgba(255, 252, 244, 0.5);
  border: 1px solid rgba(138, 128, 112, 0.28);
  border-radius: 0;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.vtuber-card.is-shaking {
  animation: shake-error 0.2s ease-in-out;
}

@keyframes shake-error {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); background: rgba(224, 96, 160, 0.15); }
  75% { transform: translateX(3px); background: rgba(224, 96, 160, 0.15); }
}

.vtuber-card__avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--zen-stone);
  position: relative;
}

.avatar {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* Duotone color blocks per VTuber (placeholder photo treatment) */
.avatar[data-img="aoi"]  { background-image: linear-gradient(135deg, #b8a890 0%, #8a7860 100%); }
.avatar[data-img="ren"]  { background-image: linear-gradient(135deg, #a89580 0%, #786858 100%); }
.avatar[data-img="mio"]  { background-image: linear-gradient(135deg, #c8b098 0%, #6a5848 100%); }
.avatar[data-img="haru"] { background-image: linear-gradient(135deg, #b89880 0%, #927860 100%); }
.avatar[data-img="yuki"] { background-image: linear-gradient(135deg, #d8c8b0 0%, #988068 100%); }
.avatar[data-img="kage"] { background-image: linear-gradient(135deg, #98886e 0%, #585040 100%); }

.management-avatar {
  filter: grayscale(100%) sepia(30%) contrast(1.1);
}
.stage-avatar {
  filter: grayscale(100%) sepia(0%) hue-rotate(220deg) saturate(2) contrast(1.2);
}

.vtuber-card__name {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--earth-dark);
  letter-spacing: -0.01em;
}
.vtuber-card__name .ja {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: var(--zen-stone);
  margin-left: 8px;
  font-size: 14px;
}

.vtuber-card__role {
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  color: var(--zen-stone);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.vtuber-card__data {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: "Roboto Mono", monospace;
  font-size: 13px;
}
.vtuber-card__data li { display: flex; flex-direction: column; }
.vtuber-card__data .k { color: var(--zen-stone); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.vtuber-card__data .v { color: var(--earth-dark); font-weight: 700; transition: color 0.3s ease; }

.vtuber-card.is-shaking .v.vtuber-status { color: var(--aurora-pink); }

/* Schedule */
.schedule {
  grid-column: 1 / 2;
  margin-top: 80px;
  max-width: 480px;
}

.schedule-head { margin-bottom: 26px; }

.schedule-title {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  margin-top: 10px;
  color: var(--earth-dark);
}

.schedule-list {
  list-style: none;
  border-top: 1px solid rgba(138, 128, 112, 0.3);
}

.schedule-item {
  display: grid;
  grid-template-columns: 64px 56px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(138, 128, 112, 0.22);
}

.schedule-item .time {
  font-family: "Roboto Mono", monospace;
  font-weight: 700;
  font-size: 14px;
  color: var(--earth-dark);
}
.schedule-item .ja {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--zen-stone);
  font-size: 14px;
}
.schedule-item .desc {
  color: var(--earth-dark);
  opacity: 0.85;
  font-size: 14px;
}

/* Philosophy */
.philosophy {
  grid-column: 1 / 2;
  margin-top: 80px;
  max-width: 480px;
}
.philosophy-text {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--earth-dark);
  opacity: 0.85;
}

/* AURORA FOOTER --- merging halves */
.aurora-footer {
  position: relative;
  padding: 140px 40px 80px;
  background: var(--stage-dark);
  color: var(--text-light);
  text-align: center;
  overflow: hidden;
}

.aurora-footer__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.footer-eyebrow {
  color: rgba(232, 224, 232, 0.7);
  margin-bottom: 22px;
}

.footer-title {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(64, 216, 168, 0.4);
}

.footer-sub {
  margin-top: 22px;
  color: rgba(232, 224, 232, 0.85);
  font-size: 17px;
  line-height: 1.6;
}

.footer-meta {
  margin-top: 60px;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  color: rgba(232, 224, 232, 0.55);
  letter-spacing: 0.06em;
}

/* Responsive */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .hero-management { padding: 50px 30px; }
  .hero-stage { position: relative; height: 70vh; min-height: 480px; border-top: 1px solid rgba(138,128,112,0.35); }
  .garden__inner { grid-template-columns: 1fr; padding: 0 30px; }
  .garden-head, .vtuber-cards, .schedule, .philosophy { grid-column: 1; max-width: none; }
  .vtuber-card { grid-template-columns: 60px 1fr; padding: 18px; }
  .vtuber-card__avatar { width: 60px; height: 60px; }
  .schedule-item { grid-template-columns: 56px 48px 1fr; gap: 12px; }
  .aurora-footer { padding: 90px 24px 60px; }
}
