:root {
  --bg: #fbfefe;
  --paper: #ffffff;
  --ink: #111820;
  --muted: #5c6b72;
  --line: #dcebef;
  --line-strong: #b7dce1;
  --aqua: #17c9d2;
  --teal: #14b8b4;
  --lime: #a4d83e;
  --mint: #e6fbf8;
  --soft-lime: #f4fbe7;
  --accent-text: #087b83;
  --accent-hover: #0aaeb8;
  --shadow: 0 16px 40px rgba(20, 184, 180, 0.12);
  --radius: 8px;
  --content: 1240px;
  color: var(--ink);
  font-family: "Inter", "Noto Sans JP", system-ui, sans-serif;
  background: var(--bg);
}

:root[data-theme="dark"] {
  --bg: #050b10;
  --paper: #0b151d;
  --ink: #edf8fb;
  --muted: #9fb4bd;
  --line: #20343d;
  --line-strong: #35606a;
  --aqua: #6fdcf8;
  --teal: #4bd5df;
  --lime: #c4ec6e;
  --mint: #0d242a;
  --soft-lime: #172610;
  --accent-text: #83e7f4;
  --accent-hover: #baf7ff;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.98) 36rem),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

:root[data-theme="dark"] body {
  background:
    linear-gradient(180deg, rgba(5, 11, 16, 0.92), rgba(5, 11, 16, 0.98) 36rem),
    var(--bg);
}

body.has-intro {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 0 56px;
  border-bottom: 1px solid rgba(183, 220, 225, 0.68);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

:root[data-theme="dark"] .site-header {
  border-bottom-color: rgba(53, 96, 106, 0.72);
  background: rgba(5, 11, 16, 0.84);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: clamp(170px, 16vw, 226px);
  height: auto;
}

.header-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.brand-icon {
  color: var(--teal);
  font-size: 21px;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 28px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--aqua), var(--lime));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
  content: "";
}

.site-nav a:hover::after,
body[data-page="contact"] .site-nav a[href="/contact"]::after {
  transform: scaleX(1);
}

.header-action,
.button-primary,
.button-secondary,
.text-link,
.link-panel {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 46%, rgba(230, 251, 248, 0.96), rgba(255, 255, 255, 0.96) 48%),
    #fff;
  animation: intro-panel-out 700ms ease 1450ms forwards;
}

.site-intro.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.intro-mark {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  animation:
    intro-mark-in 760ms cubic-bezier(0.16, 1, 0.3, 1) both,
    intro-mark-out 560ms ease 1180ms forwards;
}

.intro-mark img {
  display: block;
  width: min(680px, 82vw);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(23, 201, 210, 0.16));
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--aqua);
  border-radius: var(--radius);
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 700;
}

.header-action:hover {
  transform: translateY(-1px);
  background: var(--mint);
  border-color: var(--lime);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent-text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--aqua);
  background: var(--mint);
}

:root[data-theme="dark"] .theme-toggle,
:root[data-theme="dark"] .header-action {
  background: rgba(11, 21, 29, 0.82);
  color: var(--accent-text);
}

/* ── Language picker ─────────────────────────────── */
.lang-picker {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent-text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.lang-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--aqua);
  background: var(--mint);
}

:root[data-theme="dark"] .lang-toggle {
  background: rgba(11, 21, 29, 0.82);
  color: var(--accent-text);
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 130px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 200;
}

.lang-picker.is-open .lang-menu {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  transition: background 150ms ease;
}

.lang-option:hover {
  background: var(--mint);
  color: var(--accent-text);
}

.lang-option.is-active {
  background: var(--mint);
  color: var(--accent-text);
}

.lang-option.is-active::after {
  content: "✓";
  margin-left: auto;
  font-size: 11px;
}

:root[data-theme="dark"] .brand-logo,
:root[data-theme="dark"] .hero-logo img {
  filter: drop-shadow(0 0 18px rgba(111, 220, 248, 0.12));
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.hero,
.contact-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

:root[data-theme="dark"] .hero,
:root[data-theme="dark"] .contact-hero {
  background: #071017;
}

.hero {
  padding: 20px 24px 26px;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0%, transparent 43%, rgba(255, 255, 255, 0.36) 49%, rgba(255, 255, 255, 0.18) 52%, transparent 58%, transparent 100%),
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.42) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.46) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 66%, rgba(255, 255, 255, 0.38) 0 2px, transparent 3px);
  transform: translateX(-110%);
  mix-blend-mode: screen;
  animation: hero-shine 7200ms ease-in-out 2600ms infinite;
  content: "";
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("./assets/hero-pattern.png") center top / cover no-repeat;
  opacity: 0.82;
}

:root[data-theme="dark"] .hero-bg {
  opacity: 0.24;
  filter: invert(1) hue-rotate(155deg) saturate(0.45) brightness(0.62);
}

.hero::after,
.contact-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.95) 60%);
  content: "";
}

:root[data-theme="dark"] .hero::after,
:root[data-theme="dark"] .contact-hero::after {
  background: radial-gradient(circle at 50% 30%, rgba(18, 34, 42, 0.36), rgba(5, 11, 16, 0.92) 64%);
}

.hero-inner,
.contact-hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--content);
  margin: 0 auto;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-portrait {
  position: relative;
  width: clamp(112px, 10vw, 132px);
  aspect-ratio: 1;
  padding: 5px;
  border: 2px solid rgba(23, 201, 210, 0.72);
  border-right-color: rgba(164, 216, 62, 0.84);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 740px;
  margin-top: 24px;
}

.hero-logo,
.contact-hero h1 {
  margin: 8px 0 0;
  font-size: clamp(50px, 6.2vw, 76px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-logo {
  display: flex;
  justify-content: center;
}

.hero-logo img {
  display: block;
  width: min(680px, 88vw);
  max-height: 128px;
  object-fit: contain;
}

.hero-logo-text {
  display: block;
}

.hero-lead,
.contact-hero p {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.9;
}

.social-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 680px);
  margin: 18px auto 18px;
}

.social-row a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 14px;
}

.social-row a:hover {
  border-color: var(--aqua);
  background: #fff;
  color: var(--accent-text);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.social-row a i {
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}

.social-row a span {
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.primary-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 980px);
}

.link-panel {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  justify-content: stretch;
  gap: 14px;
  min-height: 62px;
  overflow: hidden;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-align: left;
  isolation: isolate;
}

.link-panel::after {
  position: absolute;
  inset: -1px;
  z-index: 2;
  pointer-events: none;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 0%, transparent 38%, rgba(255, 255, 255, 0.16) 45%, rgba(255, 255, 255, 0.95) 50%, rgba(230, 251, 248, 0.5) 55%, transparent 64%, transparent 100%);
  transform: translateX(-118%);
  opacity: 0;
  content: "";
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.link-panel i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  width: 38px;
  height: 38px;
  color: var(--accent-text);
  font-size: 24px;
  line-height: 1;
}

.link-panel > span:not(.link-shine) {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.link-shine {
  position: absolute;
  inset: -42% auto -42% -66%;
  z-index: 0;
  width: 42%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-20deg) translateX(0);
  opacity: 0;
}

.link-panel strong,
.link-panel small {
  display: block;
  overflow-wrap: anywhere;
}

.link-panel small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.link-panel:hover {
  transform: translateY(-2px);
  border-color: var(--aqua);
  background: #fff;
  box-shadow: var(--shadow);
}

:root[data-theme="dark"] .link-panel:hover {
  background: rgba(13, 36, 42, 0.92);
}

.link-panel:hover .link-shine {
  opacity: 0.76;
  transform: skewX(-20deg) translateX(360%);
  transition:
    transform 760ms ease,
    opacity 160ms ease;
}

.link-panel:hover::after {
  transform: translateX(118%);
  opacity: 1;
  transition:
    transform 860ms ease,
    opacity 160ms ease;
}

.link-panel-emphasis {
  border-color: var(--lime);
}

.section {
  max-width: var(--content);
  margin: 0 auto;
  padding: 54px 24px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 28px;
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.16;
  letter-spacing: 0.02em;
}

.section-heading h2:not(.section-title) {
  margin: 6px 0 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.inline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

#credits .inline-heading {
  align-items: flex-start;
}

#credits .section-title {
  white-space: nowrap;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.section-actions .text-link {
  margin-top: 0;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1.22fr);
  gap: 54px;
}

.profile-text {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.profile-text p,
.contact-teaser p,
.contact-note p,
.form-note {
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 800;
}

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

.profile-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-card,
.shop-card,
.work-card,
.contact-form,
.contact-note {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.info-card,
.shop-card,
.work-card,
.credit-list,
.contact-teaser {
  overflow: hidden;
}

.info-card::after,
.shop-card::after,
.work-card::after,
.credit-list::after,
.contact-teaser::after {
  position: absolute;
  inset: -1px;
  pointer-events: none;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 0%, transparent 38%, rgba(255, 255, 255, 0.12) 45%, rgba(255, 255, 255, 0.9) 50%, rgba(230, 251, 248, 0.42) 55%, transparent 64%, transparent 100%);
  transform: translateX(-118%);
  opacity: 0;
  content: "";
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.info-card:hover::after,
.shop-card:hover::after,
.work-card:hover::after,
.credit-list:hover::after,
.contact-teaser:hover::after {
  transform: translateX(118%);
  opacity: 1;
  transition:
    transform 880ms ease,
    opacity 180ms ease;
}

.info-card {
  min-height: 160px;
  padding: 24px;
}

.info-card i {
  color: var(--teal);
  font-size: 32px;
}

.info-card h3,
.shop-card h3,
.work-card h3 {
  margin: 18px 0 8px;
  font-size: 17px;
}

.info-card p,
.shop-card p,
.work-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.carousel-shell {
  overflow: hidden;
}

.discography-carousel,
.works-carousel {
  display: flex;
  grid-template-columns: none;
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.discography-carousel::-webkit-scrollbar,
.works-carousel::-webkit-scrollbar {
  height: 0;
}

.discography-carousel .work-card,
.works-carousel .work-card {
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
}

.work-card {
  overflow: hidden;
  background: #fff;
}

:root[data-theme="dark"] .link-panel,
:root[data-theme="dark"] .info-card,
:root[data-theme="dark"] .shop-card,
:root[data-theme="dark"] .work-card,
:root[data-theme="dark"] .contact-form,
:root[data-theme="dark"] .contact-note,
:root[data-theme="dark"] .credit-list,
:root[data-theme="dark"] .modal-panel {
  background: rgba(11, 21, 29, 0.88);
  border-color: var(--line);
}

.work-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mint);
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.work-card:hover .work-image img {
  transform: scale(1.04);
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--accent-text);
  transform: translate(-50%, -50%);
}

.work-body {
  padding: 18px;
}

.work-note {
  margin-top: 8px !important;
  color: var(--accent-text) !important;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.65 !important;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 700;
}

.tag-new {
  border-color: rgba(164, 216, 62, 0.72);
  background: rgba(164, 216, 62, 0.2);
  color: #536e10;
}

:root[data-theme="dark"] .tag-new {
  color: #e4ffc1;
}

.section-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.section-control-text {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--accent-text);
  cursor: pointer;
  font-size: 14px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.icon-button:hover {
  border-color: var(--teal);
  background: var(--mint);
  transform: translateY(-1px);
}

:root[data-theme="dark"] .icon-button,
:root[data-theme="dark"] .filter-tabs button,
:root[data-theme="dark"] .button-secondary,
:root[data-theme="dark"] .modal-close {
  background: #0b151d;
  color: var(--accent-text);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-tabs button {
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.filter-tabs button.is-active {
  border-color: transparent;
  background: linear-gradient(90deg, var(--teal), var(--lime));
  color: #fff;
}

.credit-affiliations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: -10px 0 22px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(230, 251, 248, 0.7), rgba(255, 255, 255, 0.92)),
    #fff;
}

.credit-affiliations span {
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.credit-affiliations b {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(183, 220, 225, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.credit-list {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: max-height 220ms ease;
}

.credit-list.is-collapsed {
  max-height: 430px;
}

.credit-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.05fr) minmax(260px, 1.2fr) minmax(170px, 0.7fr) minmax(48px, auto);
  gap: 22px;
  align-items: start;
  min-height: 86px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.credit-row > div {
  min-width: 0;
}

a.credit-row {
  color: inherit;
  text-decoration: none;
}

.credit-row:hover {
  background: rgba(230, 251, 248, 0.42);
}

:root[data-theme="dark"] .credit-affiliations,
:root[data-theme="dark"] .contact-teaser {
  background:
    linear-gradient(90deg, rgba(13, 36, 42, 0.84), rgba(11, 21, 29, 0.92)),
    #0b151d;
}

:root[data-theme="dark"] .credit-affiliations b,
:root[data-theme="dark"] .tag,
:root[data-theme="dark"] .play-badge {
  background: rgba(5, 11, 16, 0.72);
  border-color: var(--line-strong);
  color: var(--accent-text);
}

:root[data-theme="dark"] .social-row a {
  background: rgba(11, 21, 29, 0.88);
  border-color: var(--line);
  color: var(--ink);
}

:root[data-theme="dark"] .social-row a:hover,
:root[data-theme="dark"] .credit-row:hover {
  background: rgba(13, 36, 42, 0.58);
}

.credit-row:last-child {
  border-bottom: 0;
}

.credit-row strong,
.credit-row span {
  display: block;
}

.credit-row strong {
  line-height: 1.45;
}

.credit-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.credit-row .tags {
  align-items: flex-start;
  margin-top: 1px;
}

.credit-date {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: right;
  white-space: nowrap;
}

.credit-controls {
  justify-content: center;
}

[hidden] {
  display: none !important;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.shop-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 24px;
}

.shop-card i {
  color: var(--teal);
  font-size: 34px;
}

.shop-card .button-secondary {
  margin-top: auto;
}

.contact-teaser {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  margin-bottom: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(230, 251, 248, 0.92), rgba(244, 251, 231, 0.82)),
    #fff;
}

.teaser-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  border: 0;
  background: linear-gradient(90deg, var(--teal), var(--lime));
  color: #fff;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--accent-text);
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 34px 56px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer .brand {
  color: var(--ink);
}

.site-footer .brand-logo {
  width: 180px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-hero {
  padding: 82px 24px 70px;
}

.contact-hero-inner {
  max-width: 980px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 48px;
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 800;
}

.contact-hero h1 {
  max-width: none;
  font-size: clamp(34px, 4.8vw, 68px);
  white-space: nowrap;
}

.contact-hero p {
  margin-left: 0;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
  gap: 34px;
  align-items: start;
}

.contact-note,
.contact-form {
  padding: 28px;
}

.contact-note {
  position: sticky;
  top: 102px;
}

.contact-note h2 {
  margin: 8px 0 18px;
}

.contact-note ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.contact-note li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 700;
}

.contact-note li i {
  margin-top: 4px;
  color: var(--teal);
}

.contact-form {
  display: grid;
  gap: 20px;
  background: #fff;
}

.form-row {
  display: grid;
  gap: 18px;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label,
fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
}

label span,
legend {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

:root[data-theme="dark"] input,
:root[data-theme="dark"] select,
:root[data-theme="dark"] textarea {
  background: #071017;
  border-color: var(--line);
  color: var(--ink);
}

:root[data-theme="dark"] input::placeholder,
:root[data-theme="dark"] textarea::placeholder {
  color: #718892;
}

textarea {
  padding-top: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(23, 201, 210, 0.14);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.checkbox-grid input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--teal);
}

.form-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form-note {
  margin: 0;
  font-size: 12px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 32, 0.42);
}

:root[data-theme="dark"] .modal-backdrop {
  background: rgba(0, 0, 0, 0.62);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: min(760px, 90vh);
  overflow: auto;
  padding: 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 90px rgba(17, 24, 32, 0.2);
}

.modal-panel h2 {
  margin: 8px 0 10px;
  font-size: 32px;
}

.modal-panel p {
  color: var(--muted);
  line-height: 1.8;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.modal-summary {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mint);
}

:root[data-theme="dark"] .modal-summary {
  background: rgba(5, 11, 16, 0.72);
}

.modal-summary p {
  margin: 0;
  font-size: 13px;
}

@keyframes intro-mark-in {
  from {
    transform: translateY(14px) scale(0.96);
    opacity: 0;
    filter: blur(8px);
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes intro-mark-out {
  to {
    transform: translateY(-10px) scale(1.02);
    opacity: 0;
    filter: blur(6px);
  }
}

@keyframes intro-panel-out {
  to {
    visibility: hidden;
    opacity: 0;
  }
}

@keyframes hero-shine {
  0%,
  74% {
    transform: translateX(-110%);
    opacity: 0;
  }

  82% {
    opacity: 0.8;
  }

  100% {
    transform: translateX(110%);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .site-intro {
    display: none;
  }

  body.has-intro {
    overflow: auto;
  }
}

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    padding: 0 24px;
  }

  .brand-logo {
    width: clamp(150px, 42vw, 190px);
  }

  .header-tools {
    justify-self: end;
  }

  .theme-toggle,
  .lang-toggle {
    width: 42px;
    padding: 0;
  }

  .theme-toggle span,
  .lang-toggle span {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    justify-self: end;
  }

  .site-nav,
  .header-action {
    display: none;
  }

  .site-header.is-open {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .site-header.is-open .site-nav {
    display: flex;
    grid-column: 1 / -1;
  }

  .site-header.is-open .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0;
  }

  .site-nav a {
    padding: 14px 0;
  }

  .site-nav a::after {
    bottom: 8px;
    transform-origin: left;
  }

  .primary-links,
  .works-grid,
  .shop-grid,
  .profile-layout,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .social-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discography-carousel,
  .works-carousel {
    display: flex;
  }

  .discography-carousel .work-card,
  .works-carousel .work-card {
    flex-basis: min(86vw, 420px);
  }

  .profile-text {
    padding-right: 0;
    border-right: 0;
  }

  .contact-note {
    position: static;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 34px 24px;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding-top: 22px;
  }

  .hero-inner {
    min-height: 0;
  }

  .hero-logo {
    font-size: clamp(48px, 15vw, 64px);
  }

  .primary-links,
  .profile-cards,
  .two-columns,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .social-row {
    grid-template-columns: 1fr;
  }

  .inline-heading,
  .contact-teaser {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .section-actions {
    justify-content: flex-start;
  }

  .filter-tabs {
    justify-content: flex-start;
  }

  .credit-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #credits .section-title {
    white-space: normal;
  }

  .credit-date {
    text-align: left;
  }

  .contact-form,
  .contact-note,
  .modal-panel {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .contact-hero h1 {
    font-size: 25px;
  }
}

@media (max-width: 360px) {
  .contact-hero h1 {
    font-size: 21px;
  }
}
