/* YUIPIS: futuristic night luxury. Obsidian, silver, one crimson light (her LED).
   Motion uses transform and opacity only, so it stays smooth on mid-range phones. */

:root {
  --bg: #050405;
  --ink: #f3eeec;
  --muted: #a89d99;
  --faint: #756a66;
  --red: #ff2442;
  --rose: #e6c4bd;
  --line: rgba(255, 255, 255, 0.10);
  --chrome: linear-gradient(180deg, #ffffff 0%, #e2e2e7 26%, #75757c 48%, #f6f6f8 60%, #a3a3aa 80%, #ededf1 100%);
  --display: "Bodoni Moda", "Didot", "Bodoni 72", serif;
  --tech: "Michroma", "Helvetica Neue", Arial, sans-serif;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  --out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --in-light: cubic-bezier(0.5, 0, 0.75, 0);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --padl: max(20px, env(safe-area-inset-left));
  --padr: max(20px, env(safe-area-inset-right));
  /* light point (set by JS from DATA.hero.light) */
  --px: 50vw;
  --py: 45vh;
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

/* =====================================================================
   HERO: full-bleed portrait, edges dissolve into the page
   ===================================================================== */

.hero {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  height: calc(100vh - 124px);
  height: calc(100svh - 124px);
  min-height: 520px;
  max-height: 780px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 13%, #000 56%, transparent 93%),
    linear-gradient(to right, transparent 0%, #000 13%, #000 87%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 13%, #000 56%, transparent 93%),
    linear-gradient(to right, transparent 0%, #000 13%, #000 87%, transparent 100%);
  mask-composite: intersect;
}

/* still image or muted inline video (poster first), same box */
.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  opacity: 0;
  transform-origin: 50% 40%;
  transition: opacity 0.9s var(--out-quart);
  animation: breathe 20s ease-in-out infinite alternate;
}

.hero-media .is-loaded {
  opacity: 1;
}

@keyframes breathe {
  from { transform: scale(1.02); }
  to { transform: scale(1.08) translate3d(0, -1.2%, 0); }
}

/* outline type far behind the portrait, visible where the edges dissolve */
.hero-ghost {
  position: absolute;
  top: 6%;
  left: -0.12em;
  font-family: var(--display);
  font-size: 150px;
  line-height: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: transparent;
  -webkit-text-stroke: 1px rgba(230, 230, 240, 0.10);
  letter-spacing: 0.04em;
  pointer-events: none;
  user-select: none;
}

/* crimson light from behind the glass: sits under the portrait, glows through the faded edges */
.hero-backlight {
  position: absolute;
  left: calc(var(--lx, 0.5) * 100%);
  top: calc(var(--ly, 0.45) * 100%);
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  background: radial-gradient(circle closest-side, rgba(255, 36, 66, 0.5), rgba(180, 12, 36, 0.2) 45%, transparent 100%);
  pointer-events: none;
}

/* the same light, softly in front: continuous with the touch entrance point */
.hero-bloom {
  position: absolute;
  left: calc(var(--lx, 0.5) * 100%);
  top: calc(var(--ly, 0.45) * 100%);
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  background: radial-gradient(circle closest-side, rgba(255, 50, 80, 0.30), rgba(255, 36, 66, 0.10) 45%, transparent 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: bloomBreath 6s ease-in-out infinite alternate;
}

@keyframes bloomBreath {
  from { opacity: 0.7; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1.04); }
}

/* film grain: one static tile, jittered with transform (no repaint) */
.hero-grain {
  position: absolute;
  inset: -40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.07;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 85%);
  animation: grain 0.9s steps(3) infinite;
}

@keyframes grain {
  0% { transform: translate3d(0, 0, 0); }
  33% { transform: translate3d(-14px, 9px, 0); }
  66% { transform: translate3d(11px, -12px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.hero-top {
  position: absolute;
  z-index: 45;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(env(safe-area-inset-top) + 16px) var(--padr) 0 var(--padl);
}

.hero-id {
  font-family: var(--tech);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(243, 238, 236, 0.78);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: rgba(5, 4, 5, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--tech);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink);
}

.pill b {
  font-weight: 400;
}

.pill i,
.signal i,
.drop-kicker i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px 2px rgba(255, 36, 66, 0.75);
  animation: led 2.4s ease-in-out infinite;
}

@keyframes led {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.name-v {
  position: absolute;
  z-index: 45;
  top: calc(env(safe-area-inset-top) + 70px);
  right: var(--padr);
  writing-mode: vertical-rl;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.55em;
  color: rgba(243, 238, 236, 0.92);
  text-shadow: 0 0 14px rgba(0, 0, 0, 0.7);
}

.hero-title {
  position: absolute;
  z-index: 45;
  left: 0;
  right: 0;
  bottom: 16px;
  text-align: center;
}

.name {
  font-weight: 400;
  line-height: 0.8;
}

.name-en {
  display: inline-flex;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(80px, 28vw, 124px);
  letter-spacing: -0.015em;
  filter: drop-shadow(0 0 26px rgba(255, 36, 66, 0.32)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.85));
}

.name-en .ch {
  display: inline-block;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0.04em 0;
}

.arrive-line {
  margin-top: 14px;
  min-height: 1.6em;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.28em;
  margin-right: -0.28em;
  color: var(--rose);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(243, 238, 236, 0.7);
}

/* ---------- web entrance (Instagram bio): soft, never blocking ---------- */

body.arrive .name-en .ch {
  animation: letterIn 1s var(--out-expo) both;
  animation-delay: calc(0.08s + var(--i) * 0.055s);
}

body.arrive .arrive-line {
  animation: riseIn 0.9s var(--out-expo) 0.55s both;
}

@keyframes letterIn {
  from { opacity: 0; transform: translate3d(0, 0.22em, 0) scale(0.96); filter: blur(10px); }
  60% { filter: blur(0); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: none; }
}

/* =====================================================================
   TOUCH ENTRANCE (about 2 s). Layers ignore pointer events: links are never blocked.
   0.0 tiny LED  /  0.3 pulse + streak + scan  /  0.7 name + light reveals portrait
   1.2 to 1.8 hand-off into the hero
   ===================================================================== */

.veil,
.veil-hole,
.reveal-ring,
.scan,
.led {
  display: none;
  pointer-events: none;
}

body.entrance .veil,
body.entrance .veil-hole,
body.entrance .reveal-ring,
body.entrance .scan,
body.entrance .led {
  display: block;
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #030203;
  animation: veilOff 0.12s linear 0.72s both;
}

@keyframes veilOff {
  to { opacity: 0; }
}

/* black sheet with a soft hole at the light point; scaling it opens the hole (GPU only) */
.veil-hole {
  --vs: max(1200px, 150vmax);
  position: fixed;
  z-index: 40;
  left: var(--px);
  top: var(--py);
  width: var(--vs);
  height: var(--vs);
  margin: calc(var(--vs) / -2) 0 0 calc(var(--vs) / -2);
  background: radial-gradient(circle closest-side, rgba(3, 2, 3, 0) 0%, rgba(3, 2, 3, 0) 3%, rgba(3, 2, 3, 0.82) 7.5%, #030203 11%);
  will-change: transform, opacity;
  animation:
    holeOpen 1.05s var(--in-light) 0.72s both,
    fadeOut 0.4s var(--in-out) 1.5s forwards;
}

@keyframes holeOpen {
  from { transform: scale(1); }
  to { transform: scale(15); }
}

@keyframes fadeOut {
  to { opacity: 0; }
}

.reveal-ring {
  position: fixed;
  z-index: 41;
  left: var(--px);
  top: var(--py);
  width: 140px;
  height: 140px;
  margin: -70px 0 0 -70px;
  background: radial-gradient(circle closest-side, transparent 54%, rgba(255, 36, 66, 0.55) 67%, rgba(255, 70, 95, 0.2) 77%, transparent 90%);
  mix-blend-mode: screen;
  opacity: 0;
  will-change: transform, opacity;
  animation: ringOpen 1.05s var(--in-light) 0.72s both;
}

@keyframes ringOpen {
  0% { transform: scale(1); opacity: 0; }
  15% { opacity: 0.95; }
  100% { transform: scale(15); opacity: 0; }
}

.scan {
  position: fixed;
  z-index: 44;
  left: 0;
  right: 0;
  top: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent 0%, rgba(255, 36, 66, 0.05) 80%, rgba(255, 190, 198, 0.24) 99%, transparent 100%);
  transform: translate3d(0, -170px, 0);
  will-change: transform;
  animation: scanDown 0.85s var(--in-out) 0.34s both;
}

@keyframes scanDown {
  0% { transform: translate3d(0, -170px, 0); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translate3d(0, 100vh, 0); opacity: 0; }
}

.led {
  position: fixed;
  z-index: 46;
  left: var(--px);
  top: var(--py);
  width: 0;
  height: 0;
}

.led > span {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  will-change: transform, opacity;
}

/* one strong crimson bloom: reads from across a studio */
.led-glow {
  width: 680px;
  height: 680px;
  margin: -340px 0 0 -340px;
  background: radial-gradient(circle closest-side,
      rgba(255, 70, 95, 0.95) 0%, rgba(255, 36, 66, 0.62) 10%,
      rgba(255, 36, 66, 0.26) 30%, rgba(200, 16, 40, 0.08) 58%, transparent 80%);
  mix-blend-mode: screen;
  animation: glow 1.9s var(--out-quart) both;
}

@keyframes glow {
  0% { transform: scale(0.02); opacity: 0.9; }
  16% { transform: scale(0.05); opacity: 1; }
  45% { transform: scale(1); opacity: 1; }
  70% { transform: scale(1.05); opacity: 0.75; }
  100% { transform: scale(1.12); opacity: 0; }
}

.led-core {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  background: radial-gradient(circle closest-side, #ffffff 0%, #ffe3e7 9%, #ff4d66 22%, rgba(255, 36, 66, 0.45) 42%, transparent 72%);
  animation: core 1.7s linear both;
}

@keyframes core {
  0% { opacity: 0; transform: scale(0.4); }
  5% { opacity: 1; transform: scale(0.55); }
  9% { opacity: 0.55; }
  13% { opacity: 1; transform: scale(0.5); }
  18% { transform: scale(0.62); }
  55% { opacity: 1; transform: scale(0.7); }
  100% { opacity: 0; transform: scale(0.3); }
}

.led-pulse {
  width: 260px;
  height: 260px;
  margin: -130px 0 0 -130px;
  background: radial-gradient(circle closest-side, transparent 63%, rgba(255, 90, 110, 0.85) 68%, rgba(255, 36, 66, 0.25) 72%, transparent 80%);
  mix-blend-mode: screen;
  opacity: 0;
  animation: pulse 0.95s var(--out-expo) 0.3s both;
}

@keyframes pulse {
  0% { transform: scale(0.06); opacity: 0; }
  12% { opacity: 0.8; }
  100% { transform: scale(3.4); opacity: 0; }
}

/* anamorphic red reflection through the point */
.led-streak {
  width: 640px;
  height: 30px;
  margin: -15px 0 0 -320px;
  border-radius: 0 !important;
  background: radial-gradient(ellipse closest-side, rgba(255, 120, 135, 0.85), rgba(255, 36, 66, 0.28) 38%, transparent 72%);
  mix-blend-mode: screen;
  opacity: 0;
  animation: streak 1.2s var(--out-expo) 0.3s both;
}

@keyframes streak {
  0% { transform: scaleX(0.02) scaleY(0.6); opacity: 0; }
  20% { opacity: 0.9; }
  60% { opacity: 0.5; }
  100% { transform: scaleX(1) scaleY(0.8); opacity: 0; }
}

/* hero elements during the entrance */
body.entrance .name-en .ch {
  animation: letterIn 1.05s var(--out-expo) both;
  animation-delay: calc(0.7s + var(--i) * 0.06s);
}

body.entrance .hero-bloom {
  animation: bloomIn 0.9s var(--out-quart) 1s both, bloomBreath 6s ease-in-out 1.9s infinite alternate;
}

@keyframes bloomIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body.entrance .arrive-line {
  animation: riseIn 0.8s var(--out-expo) 1.2s both;
}

body.entrance .signal {
  animation: riseIn 0.7s var(--out-expo) 1.42s both;
}

body.entrance .hero-top,
body.entrance .name-v {
  animation: bloomIn 0.8s var(--out-quart) 1.3s both;
}

/* tap to skip: everything jumps to the settled state, overlays fade quickly */
body.skip .veil,
body.skip .veil-hole,
body.skip .reveal-ring,
body.skip .scan,
body.skip .led {
  animation: none !important;
  opacity: 0;
  transition: opacity 0.25s var(--out-quart);
}

body.skip .name-en .ch,
body.skip .arrive-line,
body.skip .signal,
body.skip .hero-top,
body.skip .name-v,
body.skip .hero-bloom {
  animation: none !important;
}

/* =====================================================================
   MAIN
   ===================================================================== */

main {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 var(--padr) calc(30px + env(safe-area-inset-bottom)) var(--padl);
}

body.has-admin main {
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
}

.section {
  margin-top: 60px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--tech);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--ink);
}

.section-title em {
  font-style: normal;
  color: var(--red);
}

.section > .section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent);
}

.ph-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--tech);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--rose);
  background: rgba(5, 4, 5, 0.55);
  border: 1px solid rgba(230, 196, 189, 0.3);
}

/* ---------- TONIGHT'S DROP ---------- */

.drop {
  margin-top: 6px;
  margin-bottom: 26px;
}

.drop-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 14px;
  align-items: center;
  padding: 20px 18px 20px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 36, 66, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: riseIn 0.8s var(--out-expo) both;
}

.drop-card.no-media {
  grid-template-columns: 1fr;
}

.drop-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tech);
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--ink);
}

.drop-en {
  margin-top: 10px;
  font-family: var(--display);
  font-style: italic;
  font-size: 23px;
  line-height: 1.15;
}

.drop-text {
  min-width: 0;
  line-break: strict;
}

.drop-ja {
  margin-top: 6px;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.drop-quote {
  margin-top: 12px;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.drop-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding-bottom: 3px;
  font-size: 12px;
  letter-spacing: 0.12em;
  border-bottom: 1px solid rgba(255, 36, 66, 0.55);
}

.drop-cta svg {
  width: 12px;
  height: 12px;
}

.drop-media {
  position: relative;
  width: 96px;
  height: 132px;
}

.drop-media .t {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 70px;
  height: 94px;
  margin-left: -35px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.6);
}

.drop-media .t img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drop-media .t1 { transform: translateX(-24px) rotate(-9deg); }
.drop-media .t2 { transform: translateX(24px) rotate(9deg); }
.drop-media .t3 { z-index: 1; top: 22px; }

.drop-media.video .t3 {
  top: 0;
  width: 96px;
  height: 128px;
  margin-left: -48px;
}

.drop-media .play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
}

/* ---------- 01 / CONNECT: social dock ---------- */

.connect {
  margin-top: 4px;
}

.connect-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.connect-head .section-title {
  margin: 0;
}

.connect-id {
  font-family: var(--tech);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.dock {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 6px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  isolation: isolate;
}

/* light behind the glass */
.dock::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 15%;
  right: 15%;
  top: 30%;
  bottom: -30%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 36, 66, 0.16), transparent);
  pointer-events: none;
}

.dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 70px;
  border-radius: 18px;
  transition: transform 0.45s var(--spring), background-color 0.3s var(--out-quart);
  touch-action: manipulation;
}

.dock-item::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 36%, rgba(255, 36, 66, 0.42), rgba(255, 36, 66, 0.08) 55%, transparent 75%);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s var(--out-quart), transform 0.45s var(--spring);
}

.dock-icon {
  position: relative;
  width: 24px;
  height: 24px;
  color: var(--ink);
  transition: transform 0.45s var(--spring), filter 0.3s;
}

.dock-icon svg {
  width: 100%;
  height: 100%;
}

.dock-label {
  position: relative;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.3s;
}

.dock-item:active,
.dock-item.is-pressed {
  transform: scale(0.93);
  transition-duration: 0.12s;
}

.dock-item:active::before,
.dock-item.is-pressed::before,
.dock-item:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.dock-item:active .dock-icon,
.dock-item.is-pressed .dock-icon {
  filter: drop-shadow(0 0 6px rgba(255, 36, 66, 0.9));
}

.dock-item:active .dock-label,
.dock-item.is-pressed .dock-label {
  color: var(--ink);
}

.dock-item:focus-visible {
  outline: none;
}

@media (hover: hover) {
  .dock-item:hover::before { opacity: 0.6; transform: scale(1); }
  .dock-item:hover .dock-icon { transform: translateY(-2px); }
}

/* restrained contact actions */
.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 10px;
  border-radius: 16px;
  border: 1px solid rgba(243, 238, 236, 0.16);
  background: rgba(255, 255, 255, 0.015);
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.45s var(--spring), border-color 0.3s;
  touch-action: manipulation;
}

.btn svg {
  flex: none;
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.btn:active {
  transform: scale(0.97);
  border-color: rgba(255, 36, 66, 0.5);
  transition-duration: 0.12s;
}

/* ---------- 02 / MY WORLD: two rooms ---------- */

.rooms {
  display: grid;
  gap: 44px;
}

.room {
  position: relative;
  display: block;
}

/* AFTER DARK: full-bleed, crimson night, chrome type */
.room-night {
  margin: 0 calc(-1 * var(--padr)) 0 calc(-1 * var(--padl));
  height: 470px;
  overflow: hidden;
}

.room-night .room-img {
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 62%, transparent 100%);
}

.room-night .room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: saturate(1.1) contrast(1.05);
}

.room-night::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 50% at 20% 90%, rgba(255, 36, 66, 0.22), transparent 70%);
  pointer-events: none;
}

.room-night .room-copy {
  position: absolute;
  z-index: 2;
  left: var(--padl);
  right: var(--padr);
  bottom: 22px;
}

.room-no {
  display: block;
  font-family: var(--tech);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.room-night .room-name {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 54px;
  line-height: 0.95;
  letter-spacing: -0.01em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
}

.room-night .room-ja {
  position: absolute;
  z-index: 2;
  top: 48px;
  right: var(--padr);
  writing-mode: vertical-rl;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.5em;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
}

.room-night .room-rule {
  display: block;
  width: 36px;
  height: 1px;
  margin-top: 14px;
  background: var(--red);
  box-shadow: 0 0 10px rgba(255, 36, 66, 0.8);
}

/* OFF DUTY: quiet daylight, framed print, soft pearl */
.room-day {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: stretch;
  min-height: 380px;
  padding: 22px 0 0;
}

.room-day .room-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 2px;
}

.room-day .room-ja {
  writing-mode: vertical-rl;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 34px;
  letter-spacing: 0.3em;
  color: #efe6e1;
}

.room-day .room-no {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.room-day .room-frame {
  position: relative;
  padding: 10px 10px 44px;
  border-radius: 4px;
  background: linear-gradient(180deg, #1c1818, #141112);
  border: 1px solid rgba(255, 240, 235, 0.08);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  transform: rotate(1.2deg);
}

.room-day .room-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
}

.room-day .room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) sepia(0.12) brightness(1.08) contrast(0.95);
}

.room-day .room-name {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  color: var(--rose);
}

/* ---------- 03 / LATEST ---------- */

.latest-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.latest-card.is-placeholder {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.2);
}

.latest-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(55% 80% at 30% 40%, rgba(255, 36, 66, 0.22), transparent 70%),
    radial-gradient(45% 70% at 80% 70%, rgba(220, 220, 230, 0.10), transparent 70%),
    #0c0809;
}

.latest-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 238, 236, 0.45);
  background: rgba(5, 4, 5, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.play svg {
  width: 40%;
  height: 40%;
  margin-left: 8%;
}

.latest-body {
  display: flex;
  flex-direction: column;
  padding: 14px 16px 16px;
}

.latest-kicker {
  font-family: var(--tech);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.latest-title {
  margin-top: 4px;
  font-family: var(--mincho);
  font-size: 16px;
  font-weight: 500;
}

.latest-note {
  margin-top: 2px;
  font-size: 12px;
  color: var(--faint);
}

/* ---------- 04 / UNDER MY SKIN ---------- */

.skin {
  position: relative;
  display: block;
  margin: 0 calc(-1 * var(--padr)) 0 calc(-1 * var(--padl));
  min-height: 300px;
  overflow: hidden;
}

.skin-photo {
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 55%, transparent 100%);
}

.skin-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 50%;
}

.skin-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 196px var(--padr) 6px var(--padl);
}

.skin-ja {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.12em;
}

.skin-en {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-style: italic;
  font-size: 17px;
  color: var(--rose);
}

.skin-en::after {
  content: "";
  width: 13px;
  height: 13px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6c4bd' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E");
}

.skin-tech {
  margin-top: 10px;
  font-family: var(--tech);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--faint);
}

/* ---------- credit ---------- */

.credit {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--faint);
}

.credit a {
  padding: 6px 10px;
}

.chip-link {
  font-size: 11px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 3px;
}

/* ---------- admin demo control (?admin) ---------- */

.admin {
  position: fixed;
  left: var(--padl);
  right: var(--padr);
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 60;
  max-width: 456px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 20px;
  background: rgba(20, 16, 17, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.admin.is-collapsed {
  left: auto;
  right: var(--padr);
  padding: 4px;
  border-radius: 999px;
}

.admin.is-collapsed .admin-seg {
  display: none;
}

.admin.is-collapsed .admin-title {
  margin: 0;
  padding: 6px 10px;
}

.admin.is-collapsed .admin-full {
  display: none;
}

.admin.is-collapsed .admin-title small {
  margin-left: 0;
}

.admin-title {
  display: block;
  margin: 0 4px 8px;
  cursor: pointer;
  font-family: var(--tech);
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--muted);
}

.admin-title small {
  margin-left: 6px;
  font-family: var(--gothic);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--red);
}

.admin-seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.admin-seg button {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  cursor: pointer;
}

.admin-seg button[aria-checked="true"] {
  border-color: rgba(255, 36, 66, 0.7);
  background: rgba(255, 36, 66, 0.18);
}

/* ---------- reduced motion: settled state, no loops ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .hero-media img,
  .hero-media video {
    transform: scale(1.03);
  }
}
