/* /about — Mizuki character page (direction A: golden-hour splash).
   Static page: no framework, no build step. Assets: /mzki-brand/about/ (droplet drop).
   Character art = real bg=none plate renders; backgrounds/textures + the "key art" strip = generated, labelled. */

:root {
  color-scheme: dark;
  --ink: #fff6f2;
  --muted: #e8cfd6;
  --plum: #140a12;
  --plum2: #22121d;
  --pink: #f4b6c8;
  --peach: #ffc9a8;
  --blue: #5b6fb0;
  --blue2: #8fa0d8;
  --line: rgba(255, 214, 226, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--plum); color: var(--ink); }
body { font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
img, picture { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.display { font-family: Anton, "Zen Kaku Gothic New", Impact, sans-serif; letter-spacing: .02em; text-transform: uppercase; line-height: .9; font-weight: 400; }
.kana { font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 900; }
.eyebrow { margin: 0; font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--pink); font-weight: 700; }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.rule { height: 1px; width: 120px; background: linear-gradient(90deg, var(--pink), transparent); }
.outline { color: transparent; -webkit-text-stroke: 1px rgba(255, 241, 236, .6); }

/* ---------- top bar ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px); background: linear-gradient(rgba(20, 10, 18, .78), rgba(20, 10, 18, 0)); pointer-events: none; }
.bar > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .24em; font-size: .8rem; }
.brand img { width: 22px; height: 22px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset; }
.nav { display: none; gap: 26px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav a:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 0 18px; border-radius: 999px;
  background: var(--pink); color: #2a0f1c; font-weight: 700; font-size: .85rem; letter-spacing: .04em; box-shadow: 0 8px 30px rgba(244, 182, 200, .28);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(244, 182, 200, .4); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; border: 1px solid var(--line); }
@media (min-width: 900px) { .nav { display: flex; } }

/* ---------- chips ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px;
  background: rgba(20, 10, 18, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.chip b { color: var(--peach); font-weight: 700; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
html.no-io .reveal { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; display: grid; align-items: end; background: var(--plum2); }
.hero .bg { position: absolute; inset: -6%; z-index: 0; will-change: transform; transform: translate3d(0, var(--py, 0px), 0) scale(1.04); }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero .fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; opacity: .55;
  background: url(/mzki-brand/about/v6.1/fx-particles.webp) center / 720px repeat; animation: drift 40s linear infinite; }
@supports (background-image: image-set(url("a.avif") type("image/avif"))) {
  .hero .fx { background-image: image-set(url(/mzki-brand/about/v6.1/fx-particles.avif) type("image/avif"), url(/mzki-brand/about/v6.1/fx-particles.webp) type("image/webp")); }
}
@keyframes drift { to { background-position: 0 -720px; } }
.hero .scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 10, 18, .15) 0%, rgba(20, 10, 18, 0) 30%, rgba(20, 10, 18, .15) 65%, rgba(20, 10, 18, .92) 100%); }
.hero .name-bg { position: absolute; z-index: 3; left: 50%; top: 9svh; transform: translateX(-50%); font-size: clamp(5.2rem, 21vw, 19rem); color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 241, 236, .55); opacity: .8; white-space: nowrap; pointer-events: none; text-shadow: 0 0 60px rgba(244, 182, 200, .15); user-select: none; }
.hero .kana-bg { position: absolute; z-index: 3; right: -2vw; top: 22svh; writing-mode: vertical-rl; font-size: clamp(2rem, 6vw, 5rem); color: rgba(255, 255, 255, .14); letter-spacing: .3em; pointer-events: none; user-select: none; }
.hero .girl { position: absolute; z-index: 4; left: 50%; bottom: 43svh; height: min(52svh, 900px);
  transform: translateX(-50%) translate3d(var(--gx, 0px), var(--gy, 0px), 0); will-change: transform; }
.hero .girl img { height: 100%; width: auto; filter: drop-shadow(0 30px 40px rgba(40, 10, 30, .55)); }
.hero .copy { position: relative; z-index: 5; padding: 0 0 9svh; }
.hero .copy .wrap { display: grid; gap: 14px; align-items: end; grid-template-columns: 1fr; }
.hero h1 { margin: 0; font-size: clamp(1.35rem, 6vw, 1.8rem); font-weight: 900; letter-spacing: -.01em; line-height: 1.05; text-shadow: 0 2px 30px rgba(20, 10, 18, .6); }
.hero .eyebrow .long { display: none; }
.hero .chips .chip { font-size: .66rem; padding: 7px 10px; }
@media (min-width: 900px) { .hero .chips .chip { font-size: .72rem; padding: 8px 12px; } }
.hero .lede { display: none; margin: 0; max-width: 34ch; color: var(--muted); font-size: 1.05rem; text-shadow: 0 2px 24px rgba(20, 10, 18, .8); }
.scrollcue { display: none; position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.scrollcue i { width: 1px; height: 38px; background: linear-gradient(var(--pink), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 50% { transform: scaleY(.4); } }
@media (min-width: 900px) {
  .hero .girl { left: auto; right: 10vw; bottom: 0; height: min(86svh, 960px); transform: translateX(0) translate3d(var(--gx, 0px), var(--gy, 0px), 0); }
  .hero .copy { padding: 0 0 14svh; }
  .hero .copy .wrap { grid-template-columns: minmax(0, 640px) 1fr; }
  .hero h1 { font-size: clamp(1.55rem, 3vw, 2.7rem); }
  .hero .lede { display: block; }
  .scrollcue { display: flex; }
  .hero .eyebrow .long { display: inline; }
  .hero .name-bg { left: 4vw; transform: none; top: 10svh; }
  .hero .kana-bg { right: 4vw; }
}

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 38px; }
.sec-head h2 { margin: 0; font-size: clamp(2.4rem, 6vw, 5.4rem); line-height: .92; }
.sec-head h2 span { color: transparent; -webkit-text-stroke: 1px rgba(255, 241, 236, .6); }
.sec-head .note { margin: 0; color: var(--muted); font-size: .9rem; max-width: 52ch; }
.sec .bgimg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.sec .bgimg img { width: 100%; height: 100%; object-fit: cover; }
.sec .bgimg::after { content: ""; position: absolute; inset: 0; }
.sec > .wrap { position: relative; z-index: 1; }
.girl { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5)); }
.girl img { height: 100%; width: auto; }

/* meet */
.meet { background: var(--plum); }
.meet .bgimg img { opacity: .55; }
.meet .bgimg::after { background: linear-gradient(180deg, var(--plum) 0, rgba(20, 10, 18, .45) 25%, rgba(20, 10, 18, .45) 75%, var(--plum) 100%); }
.meet .wrap { display: grid; gap: 40px; align-items: center; }
.quote { font-family: "Zen Kaku Gothic New", Inter, sans-serif; font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.35; margin: 0; }
.quote em { font-style: normal; color: var(--blue2); font-size: .72em; display: block; margin-bottom: .5em; letter-spacing: .02em; }
.traits { display: grid; gap: 14px; margin-top: 28px; }
.trait { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; background: rgba(255, 255, 255, .03); }
.trait b { display: block; color: var(--peach); letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; margin-bottom: 6px; }
.trait p { margin: 0; color: var(--muted); font-size: .95rem; }
.meet .girl { justify-self: center; height: min(76vh, 720px); width: auto; }
@media (min-width: 900px) { .meet .wrap { grid-template-columns: 1fr 1fr; } .traits { grid-template-columns: 1fr 1fr; } .trait:nth-child(3) { grid-column: 1 / -1; } }

/* closet */
.closet { background: #1a0f17; }
.closet .bgimg::after { background: linear-gradient(180deg, var(--plum) 0, rgba(26, 15, 23, .72) 20%, rgba(26, 15, 23, .72) 80%, var(--plum) 100%); }
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { position: relative; aspect-ratio: 9 / 14; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); isolation: isolate;
  background: linear-gradient(180deg, rgba(91, 111, 176, .25), rgba(20, 10, 18, .9)); transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-6px) rotate(-.6deg); }
.card .cbg { position: absolute; inset: 0; z-index: 0; }
.card .cbg img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.card .girl { position: absolute; left: 50%; bottom: 0; z-index: 1; height: 92%; width: auto; transform: translateX(-50%); transition: transform .6s var(--ease); }
.card .girl img { height: 100%; width: auto; }
.card:hover .girl { transform: translateX(-50%) scale(1.03); }
.card .tag { position: absolute; left: 14px; top: 14px; z-index: 2; }
.card .label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 60px 18px 18px; background: linear-gradient(transparent, rgba(20, 10, 18, .95)); }
.card .label h3 { margin: 0 0 4px; font-size: 1.5rem; }
.card .label p { margin: 0; color: var(--muted); font-size: .88rem; }
.card.locked { display: grid; place-items: center; text-align: center; }
.card.locked .cbg img { opacity: .6; }
.card.locked .lk { position: relative; z-index: 1; padding: 20px; }
.card.locked .q { font-size: 5rem; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 241, 236, .5); }
.card.locked p { color: var(--muted); font-size: .85rem; max-width: 22ch; margin: 6px auto 0; }

/* rooms */
.rooms .wrap { display: grid; gap: 28px; }
.todbar { display: flex; gap: 8px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.todbar button { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: inherit; transition: background .3s, color .3s; }
.todbar button[aria-pressed="true"] { background: var(--pink); color: #2a0f1c; border-color: transparent; }
.roomgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.room { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--plum2); }
.room .tod { position: absolute; inset: 0; }
.room .tod img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.room .tod.on img { opacity: 1; }
.room .girl { position: absolute; left: 50%; bottom: 0; z-index: 1; height: 64%; width: auto; transform: translateX(-50%); filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .55)); }
.room .girl img { height: 100%; width: auto; }
.room .rl { position: absolute; left: 14px; bottom: 14px; z-index: 2; background: rgba(20, 10, 18, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 8px 12px; border-radius: 8px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }

/* key art */
.keyart { background: var(--plum); }
.keyart .wrap { display: grid; gap: 22px; }
.stage { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--plum2); aspect-ratio: 9 / 16; max-height: 78vh; margin: 0 auto; width: 100%; max-width: 440px; }
.stage picture { display: contents; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.stage img.on { opacity: 1; }
.stage .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 44px 16px 14px; font-size: .8rem; color: var(--muted); background: linear-gradient(transparent, rgba(20, 10, 18, .9)); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.thumbs button { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 9 / 16; opacity: .6; transition: opacity .3s, transform .3s var(--ease); }
.thumbs button picture { display: contents; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-current="true"], .thumbs button:hover { opacity: 1; transform: translateY(-2px); }
@media (min-width: 900px) {
  .keyart .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 48px; }
  .keyart .sec-head { margin-bottom: 0; }
  .keyart .side { display: grid; gap: 22px; }
  .thumbs { grid-template-columns: repeat(8, 1fr); }
}

/* what she is */
.whatis { background: var(--plum); }
.whatis .wrap { display: grid; gap: 34px; }
.whatis-body { display: grid; gap: 18px; max-width: 62ch; }
.whatis .quote { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.whatis-next { margin: 0; color: var(--muted); font-size: 1.05rem; }
@media (min-width: 900px) { .whatis .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; } .whatis .sec-head { margin-bottom: 0; } }

/* voice */
.voice { background: #0e0a14; }
.voice .bgimg img { object-position: center 30%; }
.voice .bgimg::after { background: linear-gradient(90deg, rgba(14, 10, 20, .92) 0, rgba(14, 10, 20, .7) 50%, rgba(14, 10, 20, .35) 100%); }
.voice .wrap { display: grid; gap: 34px; align-items: center; }
.wave { display: flex; align-items: center; gap: 4px; height: 64px; margin-bottom: 14px; }
.wave i { width: 4px; border-radius: 2px; background: linear-gradient(var(--pink), var(--blue2)); height: 20%; animation: wave 1.4s ease-in-out infinite; }
.wave i:nth-child(odd) { animation-duration: 1.1s; }
.wave i:nth-child(3n) { animation-duration: 1.7s; }
.wave i:nth-child(4n) { animation-delay: .3s; }
@keyframes wave { 50% { height: 100%; } }
.line { font-family: "Zen Kaku Gothic New", Inter, sans-serif; font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin: 0; line-height: 1.45; }
.line .tag { color: var(--blue2); font-size: .8em; }
.line .act { color: var(--muted); font-size: .85em; }
.voice .girl { justify-self: center; height: min(70vh, 640px); width: auto; }
.voice .girl img { height: 100%; width: auto; }
@media (min-width: 900px) { .voice .wrap { grid-template-columns: 1.1fr .9fr; } }

/* enter */
.enter { padding: clamp(90px, 14vw, 180px) 0; text-align: center; background: var(--plum); }
.enter .bgimg::after { background: radial-gradient(60% 60% at 50% 50%, rgba(20, 10, 18, .3), rgba(20, 10, 18, .92)); }
.enter .wrap { display: grid; justify-items: center; gap: 18px; }
.enter h2 { margin: 0; font-size: clamp(3rem, 9vw, 8rem); line-height: .9; }
.enter p { margin: 0; color: var(--muted); max-width: 44ch; }
.enter .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
footer { padding: 28px 0 64px; text-align: center; color: var(--muted); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
footer .wrap { display: grid; gap: 8px; }
footer a { color: var(--blue2); }
footer a:hover { color: #fff; }
footer .fine { font-size: .68rem; opacity: .7; }
footer .gh { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
footer .gh svg { display: block; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .fx, .wave i, .scrollcue i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .bg, .hero .girl { transform: none !important; }
  .card, .card .girl, .btn, .thumbs button { transition: none; }
  .room .tod img, .stage img { transition: opacity .01s; }
}
