:root {
  /* Brand */
  --pink: #ed4878;
  --pink-deep: #d83964;
  --pink-soft: #fff0f5;

  /* shadcn/ui inspired design tokens */
  --background: #ffffff;
  --foreground: #0a0a0a;
  --card: #ffffff;
  --card-foreground: #0a0a0a;
  --primary: var(--pink);
  --primary-foreground: #ffffff;
  --secondary: #f7f7f8;
  --secondary-foreground: #0a0a0a;
  --muted: #f5f5f5;
  --muted-foreground: #6e6e73;
  --accent: #fff0f5;
  --accent-foreground: var(--pink-deep);
  --border: #e7e7ea;
  --input: #e7e7ea;
  --ring: var(--pink);
  --radius: 0.5rem;

  /* Legacy aliases (backward compat) */
  --white: var(--background);
  --text: var(--foreground);
  --gray: var(--muted-foreground);
  --line: var(--border);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ───────── shadcn/ui inspired components ───────── */

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  height: 2.75rem;
  padding: 0 1.5rem;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  user-select: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover {
  background: var(--pink-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(237, 72, 120, 0.4);
}

.btn-outline {
  border-color: var(--border);
  background: var(--background);
  color: var(--foreground);
}
.btn-outline:hover {
  background: var(--accent);
  border-color: var(--primary);
  color: var(--accent-foreground);
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
}
.btn-ghost:hover {
  background: var(--secondary);
}

.btn-lg {
  height: 3.25rem;
  padding: 0 2rem;
  font-size: 0.95rem;
}

.btn-sm {
  height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.8rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid var(--border);
  padding: 0.2rem 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.4;
  text-transform: uppercase;
}

.badge-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: transparent;
}

.badge-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
  border-color: transparent;
  text-transform: none;
  letter-spacing: 0.05em;
}

.badge-accent {
  background: var(--accent);
  color: var(--accent-foreground);
  border-color: transparent;
}

/* Separator */
.separator {
  height: 1px;
  width: 100%;
  background: var(--border);
  border: 0;
}

.separator-vertical {
  width: 1px;
  height: 1em;
  background: var(--border);
  display: inline-block;
  vertical-align: middle;
}

/* Card */
.card {
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--card-foreground);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 28px -8px rgba(237, 72, 120, 0.18);
}

/* Tabular numbers utility */
.tabular {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ───────── Fade-in animation (scroll-triggered) ───────── */

/* テキスト・セクション用: シンプルでさっぱり、ふわっと */
.fade-in {
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(0.97);
  transition:
    opacity 1.3s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 1.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition-delay: var(--fade-delay, 0ms);
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* ジャケット・カード用: ブラー + 大きめの動き、時間は文字とほぼ同じ */
.fade-jacket {
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(0.92);
  filter: blur(12px);
  transition:
    opacity 1.8s cubic-bezier(0.65, 0, 0.35, 1),
    transform 1.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.6s cubic-bezier(0.5, 0, 0.5, 1);
  transition-delay: var(--fade-delay, 0ms);
  will-change: opacity, transform, filter;
  backface-visibility: hidden;
}

.fade-jacket.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-jacket {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* PC (768px 以上) では更に短縮。文字はジャケットより明確に早く終わる */
@media (min-width: 768px) {
  .fade-in {
    transition-duration: 0.85s;
  }
  .fade-jacket {
    transition-duration: 1.2s, 1.2s, 1.0s; /* opacity, transform, filter */
  }
}

/* ───────── Header ───────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2.5rem;
  /* グリッドで logo 左 / nav 中央 / socials 右 */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  z-index: 100;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.header > .logo {
  justify-self: start;
}

.header > nav {
  justify-self: center;
}

.header > .header-socials {
  justify-self: end;
}

.page-home .header {
  color: var(--white);
}

.page-home .header.scrolled {
  background: var(--white);
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.page-sub .header {
  background: var(--white);
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: opacity 0.2s;
}

.nav a:hover {
  opacity: 0.55;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
}

/* ───────── Header social icons ───────── */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.header-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: inherit;
  opacity: 0.72;
  transition: opacity 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.header-social-icon:hover,
.header-social-icon:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.header-social-icon svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .header-socials {
    display: none;
  }
  .header-right {
    gap: 0;
  }
}

/* ───────── Hero (HOME) ───────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--pink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 4rem;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-name {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.hero-name-en {
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  letter-spacing: 0.4em;
  font-weight: 400;
  opacity: 0.95;
  margin-bottom: 3rem;
}

.hero-tagline {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  line-height: 2;
  max-width: 26rem;
}

.hero-image {
  background-image: url("../images/artist.jpeg");
  background-size: cover;
  background-position: center;
  background-color: var(--pink);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  z-index: 3;
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: currentColor;
  margin: 0.75rem auto 0;
  animation: scroll 1.8s ease-in-out infinite;
}

@keyframes scroll {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ───────── About section (HOME) ───────── */
.about {
  padding: 8rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--pink);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.section-heading {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

.about-body {
  font-size: 1rem;
  line-height: 2.1;
  max-width: 36rem;
  color: #333;
}

.about-body p + p {
  margin-top: 1.25rem;
}

/* ───────── Featured works on home ───────── */
.featured {
  padding: 4rem 2.5rem 8rem;
  max-width: 1400px;
  margin: 0 auto;
}

.featured-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.view-all {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.25rem;
  transition: color 0.2s;
}

.view-all:hover {
  color: var(--pink);
}

/* ───────── Works grid ───────── */
.page-section {
  padding: 9rem 2.5rem 5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.works-category {
  margin-bottom: 6rem;
}

.works-category:last-child {
  margin-bottom: 0;
}

.category-head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.category-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.category-desc {
  font-size: 0.85rem;
  color: var(--gray);
  letter-spacing: 0.1em;
}

/* ───────── Featured video (HOME) ───────── */
.featured-video {
  background: #000;
  padding: 6rem 2.5rem;
  color: var(--white);
}

.featured-video-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.featured-video-head {
  margin-bottom: 2.5rem;
}

.featured-video-head .section-label {
  color: var(--pink);
}

.featured-video-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-top: 0.5rem;
  letter-spacing: -0.01em;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #111;
  overflow: hidden;
}

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

.video-meta {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: #bbb;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.video-meta a {
  color: var(--white);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  transition: color 0.2s;
}

.video-meta a:hover {
  color: var(--pink);
}

.page-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1;
}

.page-sub-title {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--pink);
  margin-bottom: 4rem;
  font-weight: 600;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 3rem 2rem;
}

.work-item {
  cursor: pointer;
  display: block;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.work-item:hover {
  border-color: var(--primary);
  box-shadow: 0 16px 32px -12px rgba(237, 72, 120, 0.22);
  transform: translateY(-2px);
}

.work-image-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--pink-soft);
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}

.work-info {
  padding: 1.25rem 1.25rem 1.4rem;
}

.work-info .work-tag {
  margin-bottom: 0.6rem;
}

.work-image-wrap--text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background:
    linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: var(--white);
  position: relative;
  transition: filter 0.4s;
  border-bottom: 1px solid transparent;
}

.work-image-wrap--text::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.12), transparent 60%);
  pointer-events: none;
}

.work-item:hover .work-image-wrap--text {
  filter: brightness(1.08);
}

.work-placeholder-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.work-placeholder-sub {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  margin-top: 0.75rem;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

.work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-item:hover .work-image {
  transform: scale(1.05);
}

.work-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.work-meta {
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.08em;
}

.work-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--accent-foreground);
  background: var(--accent);
  border-radius: 9999px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ───────── Contact ───────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-lead {
  font-size: 1rem;
  line-height: 2;
  color: #333;
  max-width: 32rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-list dt {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.contact-list dd {
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-list dd a {
  border-bottom: 1px solid var(--text);
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
}

.contact-list dd a:hover {
  color: var(--pink);
  border-color: var(--pink);
}

.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

/* ───────── Inquiry checklist (Contact ページ右カラム) ───────── */
.inquiry-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--accent-foreground);
  background: var(--accent);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.inquiry-section h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

.inquiry-lead {
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
  line-height: 1.85;
  font-size: 0.9rem;
}

.inquiry-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.inquiry-list li {
  display: flex;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.inquiry-list li:first-child {
  border-top: 1px solid var(--border);
}

.inquiry-num {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  min-width: 1.5rem;
  padding-top: 0.1rem;
}

.inquiry-list li > div {
  flex: 1;
  min-width: 0;
}

.inquiry-list h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.inquiry-list li p {
  font-size: 0.82rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}

/* ───────── Contact 下段: EMAIL / FOR BUSINESS / SOCIAL ───────── */
.contact-footer {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 3rem;
}

.footer-block {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
}

.footer-block a:not(.btn) {
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  border-bottom: 1px solid var(--foreground);
  padding-bottom: 0.15rem;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}

.footer-block a:not(.btn):hover {
  color: var(--primary);
  border-color: var(--primary);
}

.footer-block p {
  font-size: 0.88rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 860px) {
  .contact-footer {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
  }
}

/* ───────── CTA section ───────── */
.cta-section {
  padding: 7rem 2.5rem;
  background: var(--accent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.4rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--accent-foreground);
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.cta-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-body {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.9;
  max-width: 36rem;
  margin: 0 auto 2.25rem;
}

/* ───────── Section: secondary (vocaloid on home) ───────── */
.section-vocaloid {
  padding: 6rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-vocaloid-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.section-vocaloid-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.section-vocaloid-head p {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.video-card {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: #000;
  margin-bottom: 2.5rem;
}

/* ───────── Detail page (work) ───────── */
.detail-section {
  padding: 8rem 2.5rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--muted-foreground);
  margin-bottom: 3rem;
  font-weight: 600;
  transition: color 0.2s;
  text-transform: uppercase;
}

.back-link:hover { color: var(--primary); }

.detail-header {
  margin-bottom: 3.5rem;
}

.detail-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 1.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.detail-title {
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 1rem;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.detail-artist {
  font-size: 1.1rem;
  color: var(--foreground);
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.detail-subtitle {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 800px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.detail-cover {
  aspect-ratio: 1;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--muted);
}

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

.detail-cover.is-placeholder {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 2rem;
  border: 0;
  position: relative;
}

.detail-cover.is-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.16), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.12), transparent 60%);
  pointer-events: none;
}

.detail-cover-text {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.detail-cover-sub {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  margin-top: 0.6rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  align-self: start;
}

.detail-info-block .label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  display: block;
}

.credits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.credits-list > div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
}

.credits-list dt {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--foreground);
  text-transform: none;
}

.credits-list dt::after {
  content: " :";
}

.credits-list dd {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.embeds-section {
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
  margin-top: 1rem;
}

.embeds-title {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.embeds-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.embeds-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.embed-card {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  background: var(--card);
  overflow: hidden;
}

.embed-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.embed-card-title {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
}

.embed-body {
  background: var(--muted);
}

.embed-frame-yt {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.embed-frame-yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-frame-spotify iframe {
  display: block;
  width: 100%;
  height: 152px;
  border: 0;
}

.embed-frame-apple iframe {
  display: block;
  width: 100%;
  height: 175px;
  border: 0;
}

.embed-empty {
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.85rem;
}

.embed-empty code {
  background: var(--background);
  border: 1px solid var(--border);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.78rem;
}

.detail-left {
  align-self: start;
}

.detail-copyright {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  font-size: 0.72rem;
  color: var(--muted-foreground);
  letter-spacing: 0.03em;
  line-height: 1.7;
}

.detail-copyright p {
  margin: 0;
}

.detail-copyright p + p {
  margin-top: 0.2rem;
}

@media (max-width: 768px) {
  .detail-section {
    padding: 6rem 1.25rem 3rem;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ───────── Footer ───────── */
.footer {
  padding: 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gray);
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer-sep {
  opacity: 0.45;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--accent);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ───────── Responsive ───────── */
@media (max-width: 860px) {
  .header {
    padding: 1.1rem 1.25rem;
  }
  .nav {
    gap: 1.25rem;
  }
  .nav a {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 55vh auto;
  }
  .hero-image {
    order: -1;
    min-height: 55vh;
  }
  .hero-text {
    padding: 3rem 1.5rem 5rem;
  }
  .about,
  .featured,
  .page-section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .about {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .page-section {
    padding-top: 7rem;
    padding-bottom: 4rem;
  }
  .featured {
    padding-bottom: 5rem;
  }
  .featured-video {
    padding: 4rem 1.25rem;
  }
  .works-category {
    margin-bottom: 4rem;
  }
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer {
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 600px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0.85rem;
  }
  .work-info {
    padding: 0.85rem 0.85rem 1rem;
  }
  .work-title {
    font-size: 0.92rem;
    line-height: 1.35;
  }
  .work-meta {
    font-size: 0.7rem;
  }
  .work-tag {
    font-size: 0.58rem;
    padding: 0.2rem 0.55rem;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 480px) {
  .nav {
    gap: 1rem;
  }
  .logo {
    font-size: 1.1rem;
  }
  .detail-title {
    white-space: normal;
  }
}
