:root {
  --bg-1: #fff9fc;
  --bg-2: #f7f6ff;
  --bg-3: #eef5ff;
  --text: #493e58;
  --muted: #7e748f;
  --card: rgba(255, 255, 255, 0.66);
  --card-strong: rgba(255, 255, 255, 0.86);
  --line: rgba(160, 146, 182, 0.23);
  --accent: #e9a7c0;
  --accent-deep: #b880b6;
  --blue: #97bde7;
  --shadow: 0 24px 70px rgba(167, 140, 175, 0.2);
  --glow-left: rgba(240, 179, 213, 0.46);
  --glow-right: rgba(175, 210, 255, 0.36);
  --video-dark: rgba(73, 62, 88, 0.72);
  --switch-glow: rgba(240, 179, 213, 0.52);
  --switch-face: linear-gradient(135deg, #ffffff, #ffeaf4 48%, #f5dcff);
}

body[data-theme="rain"] {
  --bg-1: #f9fbff;
  --bg-2: #eef5ff;
  --bg-3: #f8f2fb;
  --accent: #a9c7ec;
  --accent-deep: #768fbe;
  --blue: #8bb8e8;
  --glow-left: rgba(169, 199, 236, 0.44);
  --glow-right: rgba(195, 180, 225, 0.36);
  --video-dark: rgba(75, 85, 120, 0.72);
  --switch-glow: rgba(139, 184, 232, 0.46);
  --switch-face: linear-gradient(135deg, #ffffff, #e8f5ff 48%, #dbe8ff);
}

body[data-theme="strawberry"] {
  --bg-1: #fff8fb;
  --bg-2: #fff0f7;
  --bg-3: #f5f7ff;
  --accent: #f0a5bd;
  --accent-deep: #c36d9a;
  --blue: #a7c8ff;
  --glow-left: rgba(240, 165, 189, 0.5);
  --glow-right: rgba(167, 200, 255, 0.38);
  --video-dark: rgba(112, 70, 98, 0.72);
  --switch-glow: rgba(238, 112, 148, 0.48);
  --switch-face: linear-gradient(135deg, #fff9fb, #ffd9e4 46%, #dff8e8);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, var(--glow-left), transparent 33%),
    radial-gradient(circle at 88% 12%, var(--glow-right), transparent 28%),
    linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 48%, var(--bg-3) 100%);
  overflow-x: hidden;
  transition: background 0.6s ease, color 0.35s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, transparent, black 16%, black 78%, transparent);
  opacity: 0.34;
  z-index: 0;
}

a { color: inherit; }

.stars,
.petals,
.glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.stars {
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.88) 0 1px, transparent 2px),
    radial-gradient(circle at 30% 80%, rgba(255,255,255,0.84) 0 1px, transparent 2px),
    radial-gradient(circle at 55% 16%, rgba(255,255,255,0.78) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 42%, rgba(255,255,255,0.82) 0 1px, transparent 2px),
    radial-gradient(circle at 90% 74%, rgba(255,255,255,0.82) 0 1px, transparent 2px),
    radial-gradient(circle at 83% 20%, rgba(255,255,255,0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 40% 52%, rgba(255,255,255,0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 24% 56%, rgba(255,255,255,0.7) 0 1px, transparent 2px);
  opacity: 0.5;
}

.petals {
  inset: 0;
  overflow: hidden;
  opacity: 0.9;
  filter: drop-shadow(0 8px 18px rgba(208, 147, 184, 0.18));
}

.petals span {
  position: absolute;
  top: -12vh;
  left: var(--x);
  width: var(--w);
  height: calc(var(--w) * 1.55);
  opacity: 0;
  transform: translate3d(0, -16vh, 0) rotate(var(--r));
  animation: petalFall var(--d) linear infinite;
  animation-delay: var(--delay);
}

.petals span::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 82% 18% 76% 22% / 72% 24% 76% 28%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255,255,255,0.96), transparent 28%),
    linear-gradient(145deg, rgba(255, 237, 247, 0.96), rgba(245, 157, 202, 0.58) 55%, rgba(177, 205, 255, 0.34));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.52),
    inset 6px 3px 12px rgba(255,255,255,0.34);
  filter: blur(var(--blur));
  transform-origin: 48% 18%;
  animation: petalFlutter var(--flutter) ease-in-out infinite alternate;
}

.petals span:nth-child(3n)::before {
  border-radius: 22% 78% 24% 76% / 28% 76% 24% 72%;
  background:
    radial-gradient(circle at 68% 22%, rgba(255,255,255,0.92), transparent 26%),
    linear-gradient(215deg, rgba(255, 244, 250, 0.94), rgba(255, 183, 215, 0.5) 58%, rgba(206, 225, 255, 0.3));
}

.petals span:nth-child(1)  { --x: 2%;  --w: 12px; --d: 17s; --delay: -3s;  --drift: 16vw;  --r: 18deg;   --end: 240deg; --blur: 0px;   --flutter: 2.9s; }
.petals span:nth-child(2)  { --x: 9%;  --w: 18px; --d: 21s; --delay: -11s; --drift: 22vw;  --r: -28deg;  --end: 310deg; --blur: 0.2px; --flutter: 3.6s; }
.petals span:nth-child(3)  { --x: 15%; --w: 10px; --d: 14s; --delay: -5s;  --drift: -9vw;  --r: 46deg;   --end: 260deg; --blur: 0.4px; --flutter: 2.4s; }
.petals span:nth-child(4)  { --x: 23%; --w: 15px; --d: 19s; --delay: -1s;  --drift: 12vw;  --r: -8deg;   --end: 290deg; --blur: 0px;   --flutter: 3.2s; }
.petals span:nth-child(5)  { --x: 31%; --w: 9px;  --d: 16s; --delay: -9s;  --drift: -14vw; --r: 72deg;   --end: 250deg; --blur: 0.5px; --flutter: 2.5s; }
.petals span:nth-child(6)  { --x: 38%; --w: 20px; --d: 24s; --delay: -15s; --drift: 20vw;  --r: -42deg;  --end: 330deg; --blur: 0.2px; --flutter: 4s; }
.petals span:nth-child(7)  { --x: 46%; --w: 13px; --d: 15s; --delay: -7s;  --drift: -10vw; --r: 22deg;   --end: 280deg; --blur: 0px;   --flutter: 2.7s; }
.petals span:nth-child(8)  { --x: 54%; --w: 17px; --d: 22s; --delay: -13s; --drift: 13vw;  --r: -34deg;  --end: 300deg; --blur: 0.2px; --flutter: 3.5s; }
.petals span:nth-child(9)  { --x: 61%; --w: 11px; --d: 18s; --delay: -4s;  --drift: -16vw; --r: 38deg;   --end: 255deg; --blur: 0.4px; --flutter: 2.8s; }
.petals span:nth-child(10) { --x: 68%; --w: 19px; --d: 25s; --delay: -17s; --drift: 18vw;  --r: -18deg;  --end: 340deg; --blur: 0.1px; --flutter: 4.2s; }
.petals span:nth-child(11) { --x: 75%; --w: 12px; --d: 16s; --delay: -6s;  --drift: -8vw;  --r: 58deg;   --end: 275deg; --blur: 0.3px; --flutter: 2.6s; }
.petals span:nth-child(12) { --x: 82%; --w: 16px; --d: 20s; --delay: -10s; --drift: 10vw;  --r: -52deg;  --end: 315deg; --blur: 0px;   --flutter: 3.8s; }
.petals span:nth-child(13) { --x: 88%; --w: 10px; --d: 15s; --delay: -2s;  --drift: -13vw; --r: 24deg;   --end: 265deg; --blur: 0.5px; --flutter: 2.3s; }
.petals span:nth-child(14) { --x: 94%; --w: 21px; --d: 26s; --delay: -19s; --drift: -21vw; --r: -26deg;  --end: 335deg; --blur: 0.2px; --flutter: 4.5s; }
.petals span:nth-child(15) { --x: 6%;  --w: 8px;  --d: 13s; --delay: -8s;  --drift: 9vw;   --r: 70deg;   --end: 230deg; --blur: 0.6px; --flutter: 2.2s; }
.petals span:nth-child(16) { --x: 26%; --w: 14px; --d: 23s; --delay: -16s; --drift: 24vw;  --r: -64deg;  --end: 320deg; --blur: 0.2px; --flutter: 3.9s; }
.petals span:nth-child(17) { --x: 57%; --w: 9px;  --d: 14s; --delay: -12s; --drift: -12vw; --r: 44deg;   --end: 245deg; --blur: 0.5px; --flutter: 2.4s; }
.petals span:nth-child(18) { --x: 78%; --w: 15px; --d: 21s; --delay: -20s; --drift: 15vw;  --r: -12deg;  --end: 305deg; --blur: 0.1px; --flutter: 3.4s; }

.glow {
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.56;
  transition: background 0.6s ease;
  animation: slowGlow 10s ease-in-out infinite alternate;
}

.glow-left {
  left: -150px;
  top: 14%;
  background: var(--glow-left);
}

.glow-right {
  right: -160px;
  top: 55%;
  background: var(--glow-right);
  animation-delay: 2s;
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.1rem 0 3rem;
  position: relative;
  z-index: 2;
}

.topbar {
  position: sticky;
  top: 0.75rem;
  z-index: 20;
  margin-bottom: 1rem;
  padding: 0.68rem 0.82rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(255,255,255,0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 18px 45px rgba(151, 139, 173, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--accent-deep);
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: block;
  flex: 0 0 38px;
  border-radius: 50%;
  overflow: hidden;
  background-color: rgba(255,255,255,0.72);
  background-image: url("assets/favicon/apple-touch-icon.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255,255,255,0.92);
  box-shadow: 0 10px 20px rgba(184, 128, 182, 0.16);
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.82rem;
  flex-wrap: nowrap;
}

.nav {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 0.52rem 0.72rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  background: rgba(255,255,255,0.75);
  color: var(--accent-deep);
}

.music-toggle {
  position: relative;
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 48px;
  border: 1px solid rgba(255,255,255,0.88);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255, 236, 247, 0.82)),
    radial-gradient(circle at 35% 25%, rgba(255,255,255,0.9), transparent 44%);
  color: var(--accent-deep);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.82),
    0 10px 24px rgba(151, 139, 173, 0.1);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.music-toggle:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 16px 28px rgba(151, 139, 173, 0.15);
}

.music-toggle-icon {
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 0.82;
  text-align: center;
  transform: translateY(-1px);
}

.music-toggle-icon::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 11px;
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 1px 0 rgba(255,255,255,0.78);
  transform: rotate(-45deg) scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.music-toggle.is-playing {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(224, 242, 255, 0.84)),
    radial-gradient(circle at 36% 26%, rgba(255,255,255,0.95), transparent 46%);
  color: #6f91b9;
}

.music-toggle.is-muted .music-toggle-icon::after {
  transform: rotate(-45deg) scaleX(1);
}

.music-toggle.is-muted::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  border: 1px solid rgba(233, 167, 192, 0.36);
  opacity: 0;
  pointer-events: none;
  animation: musicHintGlow 2.8s ease-in-out infinite;
}

.theme-switch {
  --switch-index: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 38px);
  align-items: center;
  gap: 0;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.88);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.82),
    0 10px 24px rgba(151, 139, 173, 0.1);
}

.theme-switch::before {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.28rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--switch-face);
  box-shadow:
    0 10px 18px rgba(151, 139, 173, 0.16),
    0 0 24px var(--switch-glow);
  transform: translateX(calc(var(--switch-index) * 38px));
  transition: transform 0.28s ease, background 0.3s ease;
}

.theme-mini {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.35rem;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1;
  border-radius: 999px;
  transition: transform 0.18s ease, opacity 0.18s ease, color 0.18s ease, text-shadow 0.18s ease;
  opacity: 0.55;
  color: #9a8aaa;
  text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}

.theme-mini:hover {
  transform: translateY(-1px);
  opacity: 0.85;
}

.theme-mini.is-active {
  opacity: 1;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.95),
    0 0 12px rgba(255,255,255,0.8);
}

.theme-moon {
  color: #d59c62;
}

.theme-rain {
  color: #6f91b9;
}

.theme-strawberry {
  color: #e25582;
}

.theme-mini.is-active.theme-moon {
  color: #d99441;
}

.theme-mini.is-active.theme-rain {
  color: #527fab;
}

.theme-mini.is-active.theme-strawberry {
  color: #dc3f71;
}

.card {
  background: var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.68);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero {
  min-height: 560px;
  padding: clamp(1.15rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -150px;
  bottom: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(233, 167, 192, 0.24) 42%, transparent 70%);
  pointer-events: none;
  animation: haloPulse 8s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  inset: 2rem;
  border-radius: 28px;
  pointer-events: none;
  opacity: 0.62;
  background:
    radial-gradient(circle at 14% 22%, rgba(255,255,255,0.8) 0 4px, transparent 5px),
    radial-gradient(circle at 82% 32%, rgba(255,255,255,0.72) 0 3px, transparent 4px),
    radial-gradient(circle at 68% 78%, rgba(255,255,255,0.66) 0 3px, transparent 4px);
  animation: orbitDrift 9s ease-in-out infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  letter-spacing: 0.32em;
  font-size: 0.78rem;
  color: var(--accent-deep);
  margin: 0 0 1rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.98;
  margin: 0 0 1rem;
  font-weight: 600;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-family: "Noto Serif JP", "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
}

.card p,
.music-link span,
.footer,
.tiny,
.video-meta,
.en-copy {
  color: var(--muted);
}

.intro {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.45;
  max-width: 54ch;
  margin-bottom: 1.7rem;
  color: var(--muted);
}

.jp-copy {
  font-family: "Noto Serif JP", serif;
  line-height: 1.95;
}

.en-copy {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.6;
  color: var(--muted);
}

.button-row,
.video-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.92rem 1.22rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 25px rgba(151, 139, 173, 0.12);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  font: inherit;
}

.button:hover,
.music-link:hover,
.social-icon-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(151, 139, 173, 0.18);
}

.button.primary {
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(244, 217, 231, 0.98));
  color: var(--accent-deep);
  font-weight: 800;
}

.button.ghost {
  background: rgba(255,255,255,0.52);
}

.hero-portrait {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  perspective: 900px;
}

.moon {
  position: absolute;
  left: 63%;
  top: 2%;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff, #d5e5ff 70%, rgba(213,229,255,0.1) 71%);
  box-shadow: 0 0 38px rgba(214, 227, 255, 0.95);
  opacity: 0.95;
  animation: floatMoon 6s ease-in-out infinite;
}

.portrait-inner {
  position: relative;
  width: min(380px, 78vw);
  aspect-ratio: 1 / 1.18;
  border-radius: 44% 44% 48% 48% / 28% 28% 58% 58%;
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 34px 70px rgba(162, 145, 190, 0.2);
  overflow: hidden;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.16s ease-out;
}

.real-portrait {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  background:
    radial-gradient(circle at 52% 24%, rgba(255, 245, 252, 0.95), rgba(255, 255, 255, 0.75) 30%, rgba(255,255,255,0.02) 31%),
    linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.2));
}

.noype-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 42% 42% 48% 48% / 26% 26% 58% 58%;
  box-shadow: 0 8px 30px rgba(193, 167, 196, 0.2);
}

.floating-note {
  position: absolute;
  right: 2.2rem;
  bottom: 2rem;
  z-index: 3;
  max-width: 235px;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(255,255,255,0.82);
  box-shadow: 0 18px 38px rgba(151, 139, 173, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: drift 5.6s ease-in-out infinite;
}

.floating-note strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-deep);
}

.section {
  margin-top: 1.1rem;
  padding: clamp(1.3rem, 4vw, 2.2rem);
}

.quote {
  margin: 1.1rem auto 0;
  padding: 1.4rem 1.5rem;
  width: min(900px, 100%);
  text-align: center;
}

.quote-jp {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  color: var(--accent-deep);
  margin: 0 0 0.5rem;
  line-height: 1.7;
}

.quote-en {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 2.3vw, 1.65rem);
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.about-copy p {
  max-width: 720px;
  margin-bottom: 1.2rem;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  min-height: 340px;
  aspect-ratio: 16 / 9;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.78);
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,0.95), transparent 20%),
    radial-gradient(circle at 76% 70%, rgba(233,167,192,0.28), transparent 24%),
    linear-gradient(135deg, var(--video-dark), rgba(184, 128, 182, 0.56), rgba(151, 189, 231, 0.54));
  box-shadow: 0 24px 60px rgba(151, 139, 173, 0.2);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  position: absolute;
  inset: 0;
}

.video-side {
  width: min(920px, 100%);
  margin: 0 auto;
  border-radius: 30px;
  padding: clamp(1.25rem, 3vw, 1.65rem);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.72), rgba(255,255,255,0.48)),
    radial-gradient(circle at 92% 12%, rgba(233, 167, 192, 0.16), transparent 32%);
  border: 1px solid rgba(255,255,255,0.78);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-side h2 {
  font-family: "Noto Serif JP", "Cormorant Garamond", serif;
}

.video-meta {
  line-height: 1.82;
  margin-bottom: 1.65rem;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.music-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--card-strong);
  box-shadow: 0 12px 24px rgba(151, 139, 173, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.music-link strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.icon {
  width: 60px;
  height: 60px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: transparent;
  border: none;
  flex-shrink: 0;
}

.icon-image img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.social-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.social-icon-button {
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 12px 25px rgba(151, 139, 173, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.social-icon-button img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.footer {
  text-align: center;
  padding: 1.5rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}


@keyframes letterFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes letterSway {
  0%, 100% {
    rotate: -2deg;
  }
  50% {
    rotate: 2deg;
  }
}

@keyframes floatMoon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes petalFall {
  0% {
    transform: translate3d(0, -14vh, 0) rotate(var(--r));
    opacity: 0;
  }
  8% {
    opacity: 0.72;
  }
  52% {
    opacity: 0.82;
  }
  100% {
    transform: translate3d(var(--drift), 112vh, 0) rotate(var(--end));
    opacity: 0;
  }
}

@keyframes petalFlutter {
  from {
    transform: translateX(-7px) rotateY(0deg) rotateZ(-14deg) scaleX(0.9);
  }
  to {
    transform: translateX(7px) rotateY(58deg) rotateZ(18deg) scaleX(1.06);
  }
}

@keyframes musicHintGlow {
  0%, 100% {
    opacity: 0;
    transform: scale(0.96);
    box-shadow: 0 0 0 rgba(233, 167, 192, 0);
  }
  45% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 20px rgba(233, 167, 192, 0.36);
  }
}

@keyframes slowGlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(28px, -18px, 0) scale(1.08); }
}

@keyframes haloPulse {
  0%, 100% { transform: scale(1); opacity: 0.68; }
  50% { transform: scale(1.08); opacity: 0.95; }
}

@keyframes orbitDrift {
  from { transform: translateY(0); opacity: 0.48; }
  to { transform: translateY(-14px); opacity: 0.78; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 960px) {

  .about-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-art {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 100%;
}

  .about-letter {
  position: relative;
  z-index: 1;
  width: min(350px, 100%);
  height: auto;
  display: block;
  margin-left: -70px;
  filter: drop-shadow(0 20px 40px rgba(151, 139, 173, 0.2));
  transform-origin: center center;
  animation:
    letterFloat 3.9s ease-in-out infinite,
    letterSway 5.4s ease-in-out infinite;
}

  .hero,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-portrait {
    order: -1;
  }

  .floating-note {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1rem;
    max-width: none;
  }
}

@media (max-width: 900px) {
  .topbar {
    align-items: center;
    border-radius: 999px;
    flex-direction: row;
  }

  .topbar-right {
    width: auto;
    justify-content: flex-end;
  }

  .nav {
    display: none !important;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 1rem, 100%);
    padding-top: 0.6rem;
  }

  .hero,
  .section {
    padding: 1.25rem;
  }

  .button-row,
  .video-actions {
    gap: 0.7rem;
  }

  .button {
    width: 100%;
  }

  .video-frame {
    min-height: 220px;
  }

  .topbar-right {
    gap: 0.6rem;
  }

  .topbar {
    padding: 0.55rem 0.62rem;
  }

  .brand {
    gap: 0.55rem;
    letter-spacing: 0.11em;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .music-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .theme-switch {
    grid-template-columns: repeat(3, 34px);
  }

  .theme-switch::before {
    width: 34px;
    height: 34px;
    transform: translateX(calc(var(--switch-index) * 34px));
  }

  .theme-mini {
    width: 34px;
    height: 34px;
    font-size: 1.18rem;
  }

  .social-icon-button {
    width: 62px;
    height: 62px;
  }

  .social-icon-button img {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 420px) {
  .topbar {
    gap: 0.45rem;
  }

  .topbar-right {
    gap: 0.45rem;
  }

  .brand span:last-child {
    font-size: 0.76rem;
  }

  .music-toggle {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .theme-switch {
    grid-template-columns: repeat(3, 32px);
    padding: 0.24rem;
  }

  .theme-switch::before {
    left: 0.24rem;
    top: 0.24rem;
    width: 32px;
    height: 32px;
    transform: translateX(calc(var(--switch-index) * 32px));
  }

  .theme-mini {
    width: 32px;
    height: 32px;
    font-size: 1.08rem;
  }
}


.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: clamp(1.5rem, 4vw, 2.4rem);
  align-items: center;
}

.about-art {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 100%;
}

.about-letter-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.about-letter-wrap::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 214, 233, 0.34) 0%,
    rgba(167, 200, 255, 0.18) 46%,
    transparent 72%
  );
  filter: blur(10px);
  z-index: 0;
}

.about-letter {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  height: auto;
  display: block;
  margin-left: -54px;
  filter: drop-shadow(0 20px 40px rgba(151, 139, 173, 0.2));
  transform-origin: center center;
  animation:
    letterFloat 3.9s ease-in-out infinite,
    letterSway 5.4s ease-in-out infinite;
}

@media (min-width: 961px) {
  .about-layout {
    grid-template-columns: minmax(0, 1.42fr) minmax(240px, 0.58fr);
    gap: clamp(2.2rem, 5vw, 4rem);
  }

  .about-art,
  .about-letter-wrap {
    justify-content: center;
  }

  .about-letter {
    width: min(330px, 100%);
    margin-left: 0;
  }
}

/* v16 mobile-only About layout: text first, centered floating letter after full copy */
@media (max-width: 760px) {
  .about-single {
    overflow: hidden;
  }

  .about-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.45rem;
  }

  .about-copy {
    width: 100%;
  }

  .about-copy p {
    max-width: none;
    margin-bottom: 1.05rem;
  }

  .about-copy .bilingual .jp-copy {
    font-size: clamp(1.15rem, 4.6vw, 1.32rem);
    line-height: 1.9;
  }

  .about-copy .bilingual .en-copy {
    font-size: clamp(1rem, 3.7vw, 1.12rem);
    line-height: 1.55;
  }

  .about-art {
    width: 100%;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.2rem;
  }

  .about-letter-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .about-letter-wrap::before {
    left: 50%;
    width: min(72vw, 300px);
    height: min(72vw, 300px);
    transform: translateX(-50%);
  }

  .about-letter {
    width: min(72vw, 320px);
    max-width: 100%;
    margin-left: 0;
  }
}


/* ---------- Bilingual blocks: JP primary, EN as soft translation ---------- */
.bilingual {
  margin-bottom: 1.55rem;
}

.bilingual:last-child {
  margin-bottom: 0;
}

.bilingual .jp-copy {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.18rem, 1.7vw, 1.42rem);
  line-height: 1.95;
  color: var(--text);
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.bilingual .en-copy {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted);
  opacity: 0.85;
  font-style: italic;
  padding-left: 0.9rem;
  border-left: 1px solid var(--line);
  margin: 0;
}

/* Quote section: keep JP dominant, EN as quiet echo */
.quote-jp {
  font-weight: 500;
}

.quote-en {
  font-size: clamp(0.95rem, 1.4vw, 1.12rem);
  font-style: italic;
  opacity: 0.78;
  margin-top: 0.35rem;
}

/* Video meta inherits .bilingual but keeps its bottom spacing */
.video-meta.bilingual {
  margin-bottom: 1.65rem;
}


/* ---------- Latest Release card (Spotify-driven) ---------- */
.latest-release[hidden] {
  display: none;
}

.release-shell {
  margin-top: 0.9rem;
}

.release-card {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: clamp(1.25rem, 3vw, 2.2rem);
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease;
}

.release-card:hover {
  transform: translateY(-3px);
}

.release-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.78);
  box-shadow: 0 22px 44px rgba(151, 139, 173, 0.22);
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(244, 217, 231, 0.4));
}

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

.release-info {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.release-meta {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 700;
  margin: 0;
}

.release-title {
  font-family: "Noto Serif JP", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0;
  color: var(--text);
}

.release-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(244, 217, 231, 0.92));
  color: var(--accent-deep);
  font-weight: 800;
  font-size: 0.95rem;
  align-self: flex-start;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.release-card:hover .release-cta {
  box-shadow: 0 18px 32px rgba(151, 139, 173, 0.18);
}

@media (max-width: 620px) {
  .release-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .release-art {
    max-width: 280px;
    margin: 0 auto;
  }

  .release-info {
    align-items: center;
  }

  .release-cta {
    align-self: center;
  }
}

