/* =================================================================
   PROJECT VISUALS — designed scenes (no real branded UI)
   ================================================================= */

/* Common */
.viz {
  position: absolute; inset: 0;
  overflow: hidden;
}
.viz-watermark {
  position: absolute;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 260px;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px currentColor;
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
}
.viz-tag {
  position: absolute;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px;
}
.viz-tag.red { color: var(--red); }
.viz-tag .sq { width: 6px; height: 6px; background: currentColor; display: inline-block; }
.viz-tag .dot { width: 6px; height: 6px; background: currentColor; border-radius: 50%; display: inline-block; }
.viz-coord {
  position: absolute;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  opacity: 0.55;
}
.viz-line {
  position: absolute;
  background: var(--red);
}
.viz-arrow {
  position: absolute;
  display: flex; align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.viz-arrow::before {
  content: ""; display: block;
  width: 28px; height: 1px; background: currentColor; margin-right: 6px;
}

/* ---------- 01 · OFFICIAL IP CHANNEL ---------- */
.viz-ch2 {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(229,165,22,.14), transparent 50%),
    linear-gradient(180deg, #0f0f12 0%, #0a0a0c 100%);
  color: #fff;
}
.viz-ch2::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.viz-ch2 .ch-watermark {
  position: absolute;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 320px;
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.18);
  bottom: -60px;
  right: -30px;
}
.viz-ch2 .tile {
  position: absolute;
  background: linear-gradient(135deg, #1c1c22, #2a2a32);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.viz-ch2 .tile::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent 4px, rgba(255,255,255,.03) 4px, rgba(255,255,255,.03) 5px);
}
.viz-ch2 .tile::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 24px; height: 24px;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,.85);
  clip-path: polygon(28% 18%, 28% 82%, 80% 50%);
}
.viz-ch2 .tile.t1 { width: 52%; aspect-ratio: 16/9; top: 8%;  left: 8%;   transform: rotate(-2deg); }
.viz-ch2 .tile.t2 { width: 38%; aspect-ratio: 16/9; top: 16%; right: 6%;  transform: rotate(3deg); }
.viz-ch2 .tile.t3 { width: 32%; aspect-ratio: 16/9; bottom: 18%; left: 22%; transform: rotate(-1deg); border-color: var(--red); }
.viz-ch2 .tile.t3::after { background: var(--red); }
.viz-ch2 .ch-bar {
  position: absolute; left: 8%; bottom: 8%; right: 8%;
  height: 4px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
}
.viz-ch2 .ch-bar::after {
  content: "";
  position: absolute; inset: 0 64% 0 0;
  background: var(--red);
}
.viz-ch2 .ch-bar::before {
  content: "";
  position: absolute; top: -1px; bottom: -1px;
  width: 18%; left: -18%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  animation: sweep 3.5s linear infinite;
}
.viz-ch2 .rec {
  position: absolute; top: 12px; left: 12px;
  color: var(--red);
}
.viz-ch2 .rec::before { background: currentColor; animation: pulse 1.2s infinite; }
.viz-ch2 .meta { top: 12px; right: 12px; color: rgba(255,255,255,.55); }
.viz-ch2 .coord-tl { top: 12px; left: 56%; opacity:.4; color:#fff; }
.viz-ch2 .coord-br { right: 12px; bottom: 22px; color: rgba(255,255,255,.4); }

/* ---------- 02 · LIVE PRODUCTION ---------- */
.viz-live2 {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(255,255,255,.06), transparent 50%),
    linear-gradient(180deg, #0a0a0c 0%, #1a0608 100%);
  color: #fff;
}
.viz-live2 .beam {
  position: absolute;
  top: -5%;
  width: 80px;
  height: 110%;
  background: linear-gradient(180deg, rgba(229,165,22,.45) 0%, rgba(229,165,22,.0) 80%);
  filter: blur(8px);
  transform-origin: top center;
  animation: beamSway 4s ease-in-out infinite alternate;
}
.viz-live2 .beam.b1 { left: 14%; transform: rotate(-8deg); }
.viz-live2 .beam.b2 { left: 44%; transform: rotate(2deg); width: 60px; background: linear-gradient(180deg, rgba(255,255,255,.4) 0%, transparent 75%); animation-delay: -1.5s; }
.viz-live2 .beam.b3 { left: 70%; transform: rotate(10deg); animation-delay: -2.5s; }
@keyframes beamSway {
  from { transform: translateX(-8px) rotate(-10deg); opacity: .6; }
  to   { transform: translateX(8px) rotate(10deg); opacity: 1; }
}
.viz-live2 .live-watermark {
  position: absolute;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 200px;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,.06);
  bottom: 36%;
  left: 50%;
  transform: translateX(-50%);
}
.viz-live2 .stage-edge {
  position: absolute; left: 0; right: 0; bottom: 28%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
}
.viz-live2 .crowd {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 32%;
  background:
    radial-gradient(ellipse at 8% 100%, #000 22%, transparent 24%),
    radial-gradient(ellipse at 18% 100%, #000 24%, transparent 26%),
    radial-gradient(ellipse at 28% 100%, #000 26%, transparent 28%),
    radial-gradient(ellipse at 38% 100%, #000 28%, transparent 30%),
    radial-gradient(ellipse at 48% 100%, #000 28%, transparent 30%),
    radial-gradient(ellipse at 58% 100%, #000 26%, transparent 28%),
    radial-gradient(ellipse at 68% 100%, #000 28%, transparent 30%),
    radial-gradient(ellipse at 78% 100%, #000 24%, transparent 26%),
    radial-gradient(ellipse at 88% 100%, #000 22%, transparent 24%);
}
.viz-live2 .crowd::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--red);
  box-shadow: 0 -10px 30px rgba(229,165,22,.5);
}
.viz-live2 .on-air {
  position: absolute; top: 14px; left: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--red);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px;
  border: 1px solid currentColor;
}
.viz-live2 .on-air .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1s infinite; }
.viz-live2 .eq {
  position: absolute; top: 14px; right: 14px;
  display: flex; align-items: flex-end; gap: 3px;
  height: 36px;
}
.viz-live2 .eq span {
  width: 3px;
  background: rgba(255,255,255,.8);
  animation: eqJump 1s ease-in-out infinite;
}
.viz-live2 .eq span:nth-child(odd) { background: var(--red); }
@keyframes eqJump {
  0%,100% { height: 8px; }
  50%     { height: 30px; }
}
.viz-live2 .marquee {
  position: absolute; left: 0; right: 0; bottom: 33%;
  white-space: nowrap;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.18);
  animation: marquee 14s linear infinite;
  overflow: hidden;
}
.viz-live2 .marquee span { padding-right: 32px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.viz-live2 .ts {
  position: absolute; right: 14px; bottom: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.14em;
  color: rgba(255,255,255,.6);
}

/* ---------- 03 · CHARACTER SNS ---------- */
.viz-char2 {
  background:
    linear-gradient(180deg, #F5EFE2, #EEE5D2);
  color: var(--ink);
}
.viz-char2::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(11,11,12,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,11,12,.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.viz-char2 .crosshair {
  position: absolute;
  width: 100%; height: 100%;
  background:
    linear-gradient(to right, transparent calc(50% - 0.5px), var(--line-strong) calc(50% - 0.5px), var(--line-strong) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(to bottom, transparent calc(50% - 0.5px), var(--line-strong) calc(50% - 0.5px), var(--line-strong) calc(50% + 0.5px), transparent calc(50% + 0.5px));
  opacity: .35;
}
/* the "character" — geometric face composition */
.viz-char2 .face {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -52%);
  width: 52%; aspect-ratio: 1;
}
.viz-char2 .face .head {
  position: absolute; inset: 0;
  background: var(--ink);
  border-radius: 50%;
}
/* round, minimal ears — circles partially tucked behind the head */
.viz-char2 .face .ear-l, .viz-char2 .face .ear-r {
  position: absolute; top: -6%;
  width: 26%; height: 26%;
  background: var(--ink);
  border-radius: 50%;
}
.viz-char2 .face .ear-l { left: 4%; }
.viz-char2 .face .ear-r { right: 4%; }
/* eyes — small clean white dots */
.viz-char2 .face .eye {
  position: absolute;
  width: 12%; height: 12%;
  top: 42%;
  background: var(--paper);
  border-radius: 50%;
}
.viz-char2 .face .eye::after { content: none; }
.viz-char2 .face .eye.l { left: 24%; }
.viz-char2 .face .eye.r { right: 24%; }
/* a single red design-accent dot — replaces blush + mouth */
.viz-char2 .face .accent-dot {
  position: absolute;
  width: 10%; height: 10%;
  top: 62%; right: 22%;
  background: var(--red);
  border-radius: 50%;
}
/* subtle measurement guide on top of head (instead of literal mouth) */
.viz-char2 .face .head-guide {
  position: absolute;
  left: 38%; right: 38%;
  top: 8%;
  border-top: 1px dashed rgba(244,241,234,.35);
}

.viz-char2 .annot {
  position: absolute;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.viz-char2 .annot::before {
  content: ""; display: block;
  width: 24px; height: 1px; background: currentColor;
  margin-bottom: 4px;
}
.viz-char2 .a-tl { top: 16px; left: 14px; color: var(--red); }
.viz-char2 .a-tr { top: 16px; right: 14px; text-align: right; }
.viz-char2 .a-tr::before { margin-left: auto; }
.viz-char2 .a-bl { bottom: 14px; left: 14px; }
.viz-char2 .a-br { bottom: 14px; right: 14px; text-align: right; }
.viz-char2 .a-br::before { margin-left: auto; }
.viz-char2 .badge {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px; letter-spacing: 0.18em;
  padding: 4px 10px;
  border: 1px solid var(--ink);
  background: var(--paper);
}
/* measurement label on head */
.viz-char2 .measure {
  position: absolute;
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--red);
  padding: 2px 4px;
  background: rgba(244,241,234,.8);
}

/* ---------- 04 · BRAND SNS ---------- */
.viz-brand2 {
  background: #fff;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 4px;
}
.viz-brand2 .b-cell {
  position: relative;
  overflow: hidden;
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
}
.viz-brand2 .b-cell .lbl {
  position: absolute;
  bottom: 4px; left: 5px;
  color: rgba(0,0,0,.55);
  font-size: 7px;
}
.viz-brand2 .b-cell.dark .lbl { color: rgba(255,255,255,.7); }
/* cell types */
.viz-brand2 .ph1 { grid-column: 1 / span 2; grid-row: 1 / span 2;
  background: linear-gradient(135deg, #F0E6D2 0%, #D4BE9C 50%, #B8A079 100%);
}
.viz-brand2 .ph1::after { /* light highlight blob */
  content: "";
  position: absolute; left: 14%; top: 14%; width: 36%; height: 36%;
  background: radial-gradient(circle, rgba(255,255,255,.6) 0%, transparent 70%);
}
.viz-brand2 .sw-red { background: var(--red); }
.viz-brand2 .sw-red.dark .lbl { color: rgba(255,255,255,.85); }
.viz-brand2 .type {
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.viz-brand2 .grad-1 { background: linear-gradient(135deg, #fff 0%, #F0E0BF 50%, #D8B07A 100%); }
.viz-brand2 .sw-ink { background: var(--ink); }
.viz-brand2 .pattern {
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 6px, rgba(0,0,0,.12) 6px, rgba(0,0,0,.12) 7px),
    #F5EFE0;
}
.viz-brand2 .ph2 { grid-column: 3 / span 2; grid-row: 3 / span 2;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,255,255,.5), transparent 60%),
    linear-gradient(135deg, #E5D6BD 0%, #B89A75 100%);
}
.viz-brand2 .ph2::after {
  content: "";
  position: absolute; right: 18%; bottom: 18%; width: 30%; height: 30%;
  background: var(--red);
  opacity: 0.25;
  border-radius: 50%;
  mix-blend-mode: multiply;
}
.viz-brand2 .price {
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 6px 8px;
  color: var(--ink);
}
.viz-brand2 .price .big {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.viz-brand2 .corner-tag {
  position: absolute;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px; letter-spacing: 0.16em;
  color: var(--muted);
}
.viz-brand2 .corner-tag.tl { top: 4px; left: 8px; }
.viz-brand2 .corner-tag.br { right: 8px; bottom: 4px; color: var(--red); }

/* =================================================================
   SECTION MARKERS — big chapter intro between sections
   ================================================================= */
.sect-marker {
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}
.sect-marker .inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.sect-marker .num {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(96px, 14vw, 220px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  white-space: nowrap;
}
.sect-marker .label-block {
  text-align: center;
  display: grid; gap: 8px;
}
.sect-marker .label-block .en {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.24em;
}
.sect-marker .label-block .jp {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.sect-marker .sweep-line {
  height: 1px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.sect-marker .sweep-line::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 40%;
  background: var(--red);
  animation: sweepLine 4s ease-in-out infinite;
}
@keyframes sweepLine {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

/* =================================================================
   SECONDARY MARQUEE (reverse direction)
   ================================================================= */
.ticker.reverse { background: var(--ink); color: #fff; border-color: rgba(255,255,255,.1); }
.ticker.reverse .ticker-track { animation-direction: reverse; }
.ticker.reverse .ticker-track .star { color: var(--red); }

/* =================================================================
   HEADER live clock + scroll progress
   ================================================================= */
.scroll-progress {
  position: fixed;
  left: 0; top: 0; right: 0;
  height: 2px;
  z-index: 60;
  background: transparent;
  pointer-events: none;
  mix-blend-mode: normal;
}
.scroll-progress .bar {
  height: 100%;
  background: var(--red);
  width: 0%;
  transition: width .12s linear;
}
.live-clock {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

/* side scroll meter (right edge) */
.scroll-meter {
  position: fixed;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink);
  mix-blend-mode: difference;
  color: #fff;
  pointer-events: none;
}
.scroll-meter .stop {
  display: flex; align-items: center; gap: 8px;
  opacity: .35;
  transition: opacity .3s;
}
.scroll-meter .stop.active { opacity: 1; color: var(--red); }
.scroll-meter .stop .tick {
  width: 18px; height: 1px; background: currentColor;
}
.scroll-meter .stop.active .tick { width: 28px; }

/* corner ornaments on hero */
.hero-corners {
  position: absolute; inset: 100px 32px 32px 32px;
  pointer-events: none;
  z-index: 1;
}
.hero-corners > span {
  position: absolute; width: 16px; height: 16px;
  border-color: var(--ink);
}
.hero-corners > span.tl { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.hero-corners > span.tr { top: 0; right: 0; border-top: 1px solid; border-right: 1px solid; }
.hero-corners > span.bl { bottom: 0; left: 0; border-bottom: 1px solid; border-left: 1px solid; }
.hero-corners > span.br { bottom: 0; right: 0; border-bottom: 1px solid; border-right: 1px solid; }
