﻿/* =========================================================
   ARTIST SITE — dark / cyber / grain
   Design system
   ========================================================= */

:root {
  --bg: #060507;
  --bg-soft: #0b0b0f;
  --panel: rgba(9, 9, 12, 0.66);
  --line: rgba(238, 240, 244, 0.14);
  --line-soft: rgba(238, 240, 244, 0.08);
  --text: #edeef1;
  --muted: #8b8990;
  --muted-dim: #5f5e64;
  --blue: #820101;
  --blue-dim: rgba(130, 1, 1, 0.5);
  --red: #820101;

  --font-display: "Oxanium", "Zen Kaku Gothic New", sans-serif;
  --font-orbitron: "Orbitron", "Oxanium", sans-serif;
  --font-heading: "DNP秀英初号明朝", "DNP Shuei Mincho Pr6N", "Yu Mincho", serif;
  --font-mono: "Share Tech Mono", monospace;
  --font-body: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a, button { color: inherit; font: inherit; }
a { text-decoration: none; }
button { border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2 { font-family: var(--font-heading); }

::selection { background: rgba(130, 1, 1, 0.28); color: #fff; }

/* ---------- background photo + ambient layers ---------- */
.bg-photo {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(9, 3, 4, 0.72), rgba(6, 2, 3, 0.86)),
    radial-gradient(ellipse 95% 75% at 50% 34%, rgba(168, 20, 26, 0.3), transparent 60%),
    url("assets/bg-tvs.jpg");
  background-color: var(--bg);
  background-position: center, 50% 34%, center;
  background-size: auto, auto, cover;
  background-repeat: no-repeat;
  filter: saturate(0.7) contrast(1.06) hue-rotate(-8deg);
}

.fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.fx--static { z-index: 1; opacity: 0.26; mix-blend-mode: screen; }

.fx--grain {
  z-index: 2;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("noise.svg");
  background-size: 220px 220px;
  animation: grain-shift 0.9s steps(4) infinite;
}

.fx--scan {
  z-index: 3;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at 50% 18%, rgba(130, 1, 1, 0.1), transparent 40%),
    radial-gradient(circle at 82% 78%, rgba(130, 1, 1, 0.08), transparent 32%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px);
}

.fx--vignette {
  z-index: 4;
  background: radial-gradient(ellipse 120% 90% at 50% 42%, transparent 52%, rgba(0, 0, 0, 0.72) 100%);
}

@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -1%); }
  100% { transform: translate(1%, 2%); }
}

/* ---------- intro loader ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: #050406;
  transition: opacity 0.7s var(--ease);
}
.intro.is-hidden { opacity: 0; pointer-events: none; }

.intro__inner {
  position: relative;
  width: min(560px, 84vw);
  text-align: left;
}
.intro__bar {
  height: 1px;
  width: 100%;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.intro__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--p, 0%);
  background: linear-gradient(90deg, var(--blue-dim), var(--blue));
  box-shadow: 0 0 14px rgba(130, 1, 1, 0.5);
  transition: width 0.12s linear;
}
.intro__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1vw, 0.94rem);
  letter-spacing: 0.18em;
  color: var(--muted);
}
.intro__count { color: var(--blue); }
.intro__name {
  margin-top: 22px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  animation: intro-name 0.9s var(--ease) 0.25s forwards;
}
.intro__accent { color: var(--blue); }
@keyframes intro-name { to { opacity: 1; transform: none; } }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px clamp(16px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(5, 4, 6, 0.86), rgba(5, 4, 6, 0));
}

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 1vw, 1rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}
.menu-button .bars {
  display: grid;
  gap: 4px;
}
.menu-button .bars i {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  box-shadow: 0 0 8px rgba(130, 1, 1, 0.45);
}
.menu-button .bars i:nth-child(2) { width: 16px; }

.brand {
  justify-self: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  padding-left: 0.32em;
}

.official-links {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}
.official-links .label {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.78vw, 0.82rem);
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.official-links a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: rgba(9, 9, 12, 0.5);
  color: rgba(255, 255, 255, 0.82);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}
.official-links a:hover {
  border-color: var(--blue);
  color: #fff;
  background: rgba(130, 1, 1, 0.1);
}
.official-links svg { width: 17px; height: 17px; fill: currentColor; }

.tc-icon {
  display: inline-block;
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: url("images/twitcasting.png") no-repeat center / contain;
  mask: url("images/twitcasting.png") no-repeat center / contain;
}

/* ---------- shell ---------- */
main { position: relative; z-index: 5; }
.wrap { width: min(var(--maxw), calc(100% - clamp(32px, 8vw, 120px))); margin-inline: auto; }

.kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 0.95vw, 0.96rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--blue-dim);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: 132px 0 80px;
}
.hero__date {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: clamp(0.86rem, 1vw, 1.05rem);
  letter-spacing: 0.2em;
  color: var(--muted);
}
.hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(3rem, 12.5vw, 11rem);
  line-height: 0.84;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero__title .ln { display: block; }
.hero__title .ln--ghost {
  -webkit-text-stroke: 1px rgba(237, 238, 241, 0.34);
  letter-spacing: 0.05em;
  color: transparent;
  text-shadow: none;
}
.hero__title .ln--solid {
  font-family: var(--font-heading);
  margin-left: -4px;
  padding-top: 10px;
  color: #f4f5f7;
  text-shadow: 0 0 38px rgba(130, 1, 1, 0.22);
}
.hero__accent { color: var(--blue); }
.hero__sub {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 1.4vw, 1rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__sub b { color: var(--blue); font-weight: 400; }

/* diagonal mark */
.mark {
  position: absolute;
  top: clamp(120px, 18vh, 220px);
  right: clamp(8px, 4vw, 60px);
  width: clamp(84px, 12vw, 150px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--blue);
  transform: rotate(16deg);
}
.mark__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(130, 1, 1, 0.5);
  animation: mark-spin 22s linear infinite;
}
.mark__ring::before,
.mark__ring::after {
  content: "";
  position: absolute;
  background: rgba(130, 1, 1, 0.5);
}
.mark__ring::before { inset: 50% 0 auto; height: 1px; }
.mark__ring::after { inset: 0 50% auto auto; width: 1px; }
.mark__core {
  width: 26%;
  aspect-ratio: 1;
  border: 1px solid var(--blue);
  transform: rotate(45deg);
  box-shadow: 0 0 16px rgba(130, 1, 1, 0.4);
}
.mark__txt {
  position: absolute;
  bottom: -22px;
  left: 0;
  font-family: var(--font-mono);
  font-size: clamp(0.6rem, 0.7vw, 0.72rem);
  letter-spacing: 0.18em;
  color: var(--muted-dim);
  white-space: nowrap;
  transform: rotate(-16deg);
}
@keyframes mark-spin { to { transform: rotate(360deg); } }

/* ---------- section frame ---------- */
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section--line { border-top: 1px solid var(--line-soft); }

.sec-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: clamp(28px, 5vw, 56px); }
.sec-head h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(25px, 2.4vw, 34px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.sec-head .idx {
  font-family: var(--font-heading);
  font-size: clamp(0.82rem, 1vw, 1rem);
  color: rgba(180, 176, 184, 0.55);
  letter-spacing: 0.1em;
}

/* ---------- profile ---------- */
.profile { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.profile__photo {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(130, 1, 1, 0.08), transparent 50%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0 2px, transparent 2px 9px),
    var(--bg-soft);
  filter: saturate(0.9) contrast(1.04);
}
.profile__photo::after {
  content: "PROFILE / 1:1";
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-family: var(--font-mono);
  font-size: clamp(0.66rem, 0.76vw, 0.78rem);
  letter-spacing: 0.16em;
  color: var(--muted-dim);
}
.profile__photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.profile__photo:has(img)::after { display: none; }
.profile__corner { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-top: 1px solid var(--blue); border-right: 1px solid var(--blue); }

.profile__title {
  margin: 6px 0 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
}
.profile__body { margin: 0; max-width: 56ch; color: rgba(237, 238, 241, 0.78); font-family: "fot-cezanne-pron", var(--font-body); font-feature-settings: "palt"; line-height: 2.1; font-size: clamp(0.70rem, 1.08vw, 1.12rem); }
.profile__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.profile__tags span {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 0.84vw, 0.86rem);
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 5px 11px;
}

/* ---------- movie / youtube ---------- */
.movie__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-bottom: 20px; }
.movie__top > div { flex: 1 1 auto; min-width: 0; }
.movie__now { font-family: var(--font-mono); font-size: clamp(0.78rem, 1vw, 0.94rem); letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }
.movie__title { margin: 4px 0 0; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 2.2rem); line-height: 1.05; letter-spacing: 0.04em; }

.movie__frame {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}
.movie__frame::before { content: ""; display: block; padding-top: 56.25%; }
.movie__frame iframe, .movie__frame #ytplayer { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.movie__frame .corner { position: absolute; width: 22px; height: 22px; z-index: 2; pointer-events: none; }
.movie__frame .corner.tl { top: 8px; left: 8px; border-top: 1px solid var(--blue-dim); border-left: 1px solid var(--blue-dim); }
.movie__frame .corner.br { bottom: 8px; right: 8px; border-bottom: 1px solid var(--blue-dim); border-right: 1px solid var(--blue-dim); }

.rail { --rail-gap: 12px; overflow: hidden; margin-top: 2px; padding-block: 8px 2px; touch-action: pan-y; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.rail__track { display: flex; gap: var(--rail-gap); width: max-content; animation: rail-flow 72s linear infinite; }
@media (hover: hover) {
  .rail:hover .rail__track { animation-play-state: paused; }
}
.rail.is-dragging .rail__track { cursor: grabbing; }
@keyframes rail-flow { to { transform: translateX(calc(-50% - (var(--rail-gap) / 2))); } }

.thumb {
  flex: 0 0 clamp(200px, 22vw, 290px);
  display: grid;
  grid-template-rows: auto 48px;
  border: 1px solid var(--line);
  background: rgba(9, 9, 12, 0.5);
  color: var(--text);
  text-align: left;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.thumb:hover { transform: translateY(-3px); }
.thumb:hover, .thumb.is-active { border-color: var(--blue); }
.thumb.is-active { box-shadow: inset 0 0 0 1px rgba(130, 1, 1, 0.4); }
.thumb__img { display: block; width: 100%; aspect-ratio: 16/9; background: var(--thumb) center / cover, var(--bg-soft); filter: saturate(0.78) contrast(1.06); position: relative; }
.thumb__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(9, 9, 12, 0.5)); }
.thumb__cap { display: flex; align-items: center; min-width: 0; height: 48px; gap: 8px; padding: 10px 11px 0; border-top: 1px solid rgba(238, 240, 244, 0.05); background: rgba(9, 9, 12, 0.5); font-family: var(--font-display); font-size: clamp(0.8rem, 0.95vw, 0.96rem); line-height: 1; white-space: nowrap; overflow: hidden; position: relative; z-index: 1; }
.thumb__cap::before { content: "▷"; color: var(--blue); font-size: clamp(0.7rem, 0.78vw, 0.82rem); flex: 0 0 auto; }
.thumb__title { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* ---------- gallery (horizontal slide — sou) ---------- */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 30vw, 380px);
  gap: clamp(12px, 2vw, 22px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  cursor: grab;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery.is-drag { cursor: grabbing; scroll-snap-type: none; }
.shot {
  scroll-snap-align: start;
  aspect-ratio: 3/4;
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 10px),
    var(--bg-soft);
  filter: saturate(0.9) contrast(1.04);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot__no { position: absolute; top: 10px; left: 12px; font-family: var(--font-mono); font-size: clamp(0.68rem, 0.78vw, 0.8rem); letter-spacing: 0.14em; color: var(--muted); }
.shot__cap { position: absolute; bottom: 10px; left: 12px; right: 12px; font-family: var(--font-mono); font-size: clamp(0.66rem, 0.76vw, 0.78rem); letter-spacing: 0.12em; color: var(--muted-dim); }
.gallery__hint { margin-top: 6px; font-family: var(--font-mono); font-size: clamp(0.72rem, 0.84vw, 0.86rem); letter-spacing: 0.16em; color: var(--muted-dim); }

/* ---------- contact ---------- */
.contact { display: grid; gap: 26px; }
.contact__mail {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(16px, 1.15vw, 19px);
  letter-spacing: 0.01em;
  color: var(--text);
  width: fit-content;
  border-bottom: 1px solid var(--blue-dim);
  padding-bottom: 2px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.contact__mail:hover { color: var(--blue); border-color: var(--blue); }
.contact__sns { display: flex; flex-wrap: wrap; gap: 10px; }
.contact__sns a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  background: rgba(9, 9, 12, 0.5);
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 1vw, 1rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.contact__sns a:hover { border-color: var(--blue); color: #fff; }
.contact__sns svg { width: 16px; height: 16px; fill: currentColor; }
.contact__sns .tc-icon { width: 16px; height: 16px; }

/* ---------- slide-in sidebar ---------- */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 38;
  background: rgba(4, 2, 3, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: min(400px, 87vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 26px clamp(22px, 4vw, 40px) 34px;
  background:
    linear-gradient(rgba(9, 3, 4, 0.97), rgba(11, 3, 4, 0.97)),
    url("noise.svg") repeat;
  background-size: auto, 200px 200px;
  border-right: 1px solid rgba(130, 1, 1, 0.32);
  box-shadow: 32px 0 90px rgba(0, 0, 0, 0.62);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
}
.sidebar::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--blue), transparent);
  opacity: 0.5;
}
body.nav-open .sidebar { transform: none; }

.sidebar__top { display: flex; align-items: center; justify-content: space-between; }
.sidebar__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.25vw, 1.3rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #fff;
  padding-left: 0.34em;
}
.sidebar__brand .hero__accent {
  font: inherit;
  font-size: 1em;
  line-height: inherit;
  letter-spacing: inherit;
}
.sidebar__close {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: clamp(0.74rem, 0.86vw, 0.9rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.sidebar__close i {
  position: relative;
  width: 14px;
  height: 14px;
}
.sidebar__close i::before,
.sidebar__close i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
}
.sidebar__close i::before { transform: rotate(45deg); }
.sidebar__close i::after { transform: rotate(-45deg); }
.sidebar__close:hover { color: var(--blue); }

.sidebar__nav { display: flex; flex-direction: column; margin-top: clamp(34px, 6vh, 56px); }
.sidebar__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-orbitron);
  font-weight: 700;
  font-size: clamp(15px, 2.4vw, 34px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.25s var(--ease), padding-left 0.3s var(--ease);
}
.sidebar__nav a:hover { color: var(--blue); padding-left: 12px; }
.sidebar__idx {
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 1vw, 1rem);
  letter-spacing: 0.1em;
  color: var(--muted-dim);
}

.sidebar__foot { margin-top: auto; padding-top: 34px; }
.sidebar__label {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 0.84vw, 0.86rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.sidebar__sns { display: flex; gap: 10px; margin-top: 14px; }
.sidebar__sns a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: rgba(9, 9, 12, 0.5);
  color: rgba(255, 255, 255, 0.82);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}
.sidebar__sns a:hover { border-color: var(--blue); color: #fff; background: rgba(130, 1, 1, 0.12); }
.sidebar__sns svg { width: 18px; height: 18px; fill: currentColor; }
.sidebar__sns .tc-icon { width: 18px; height: 18px; }

/* menu button -> X while open */
body.nav-open .menu-button .bars i { width: 24px; }
body.nav-open .menu-button .bars i:first-child { transform: translateY(3px) rotate(45deg); }
body.nav-open .menu-button .bars i:last-child { transform: translateY(-3px) rotate(-45deg); }
.menu-button .bars i { transition: transform 0.3s var(--ease), width 0.3s var(--ease); }

/* ---------- footer ---------- */
.site-foot {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 30px 0 40px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 0.84vw, 0.86rem);
  letter-spacing: 0.14em;
  color: var(--muted-dim);
  text-transform: uppercase;
}

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .bg-photo {
    background-position: center, 50% 34%, center top;
    background-size: auto, auto, auto 100svh;
  }

  .brand { display: none; }
  .official-links .label { display: none; }
  .site-header { grid-template-columns: auto 1fr; gap: 12px; padding: 16px 18px; }
  .official-links { gap: 8px; }
  .official-links a { width: 30px; height: 30px; }

  .hero { min-height: 92svh; padding: 116px 0 64px; }
  .mark { top: 86px; right: 6px; width: 76px; }
  .mark__txt { display: none; }

  .profile { grid-template-columns: 1fr; gap: 24px; }
  .profile__photo { width: min(260px, 70%); }

  .movie__frame {
    width: 100vw;
    margin-left: 50%;
    border-inline: 0;
    transform: translateX(-50%);
  }
  .rail {
    --rail-gap: 5px;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
  }
  .thumb {
    flex-basis: calc((100vw - 5px) / 2);
    grid-template-rows: auto 54px;
  }
  .thumb__cap {
    align-items: flex-end;
    height: 54px;
    padding: 10px 9px 11px;
    font-size: clamp(0.72rem, 0.84vw, 0.86rem);
  }

  .gallery { grid-auto-columns: 70%; }
  .contact__sns a { padding: 11px 14px; font-size: clamp(0.76rem, 0.9vw, 0.92rem); }
}
