:root {
  --bg: #020305;
  --panel: rgba(5, 9, 14, .72);
  --line: rgba(82, 232, 255, .34);
  --cyan: #57f6ff;
  --blue: #0b76ff;
  --magenta: #d65cff;
  --white: #f4f7fb;
  --muted: #aeb8c6;
  --gold: #d6b36a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.85;
}
img { max-width: 100%; display: block; }
main { padding-top: 58px; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .09;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 30% 20%, rgba(87,246,255,.08), transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(214,92,255,.08), transparent 30%);
  mix-blend-mode: screen;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 58px;
  padding: 0 14px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.84) 58%, rgba(0,0,0,.52) 100%);
  border-bottom: 1px solid rgba(87,246,255,.14);
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.brand-link {
  display: inline-flex;
  align-items: center;
  pointer-events: auto;
  text-decoration: none;
}
.brand-logo {
  width: min(60px, 17vw);
  height: auto;
  filter: drop-shadow(0 0 6px rgba(87,246,255,.18));
}

.hero-image {
  background: #000;
  line-height: 0;
}
.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  min-height: calc(100svh - 58px);
  object-fit: cover;
}
.hero-camo img {
  opacity: 0;
  filter: blur(20px) brightness(.55) saturate(1.35);
  transform: scale(1.035);
  clip-path: inset(0 0 100% 0);
}
.hero-camo.is-active img {
  animation: heroOpticalReveal 1.85s cubic-bezier(.16, 1, .3, 1) forwards;
}
.hero-camo::before,
.hero-camo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}
.hero-camo::before {
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(87,246,255,.72) 24%, rgba(214,92,255,.62) 29%, transparent 38% 100%),
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(87,246,255,.24) 8px 10px, transparent 10px 18px),
    radial-gradient(circle at 50% 46%, rgba(87,246,255,.30), transparent 28%);
  mix-blend-mode: screen;
  transform: translateX(-120%) skewX(-10deg);
}
.hero-camo::after {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.13) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, transparent 0 42%, rgba(0,0,0,.70) 48%, transparent 58% 100%);
  mix-blend-mode: screen;
}
.hero-camo.is-active::before {
  animation: opticalSweep 1.55s ease-out .16s forwards;
}
.hero-camo.is-active::after {
  animation: scanBurst 1.55s steps(5, end) .08s forwards;
}
.hero-camo .hero-glitch-layer {
  display: none;
}

.section-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(87,246,255,.10), transparent 34%),
    radial-gradient(circle at 80% 35%, rgba(214,92,255,.08), transparent 30%),
    #020305;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(87,246,255,.08) 50%, transparent 52% 100%),
    repeating-linear-gradient(90deg, rgba(87,246,255,.045) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg, rgba(87,246,255,.035) 0 1px, transparent 1px 38px);
  opacity: .52;
  mask-image: radial-gradient(circle at center, transparent 0 22%, #000 57%);
}
.section-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0 50%, rgba(0,0,0,.55)),
    repeating-linear-gradient(0deg, rgba(87,246,255,.06) 0 1px, transparent 1px 6px);
  mix-blend-mode: screen;
  opacity: .28;
}
.section-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}
.concept, .design, .spec, .product-link { padding: 72px 0; }

.section-heading { margin-bottom: 28px; }
.section-heading.center { text-align: center; }
.eyebrow {
  margin: 0 0 10px;
  font-family: "Cinzel", serif;
  letter-spacing: .18em;
  color: var(--cyan);
  font-size: 13px;
}
.main-copy {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(26px, 7vw, 48px);
  line-height: 1.45;
  letter-spacing: .08em;
  text-shadow: 0 0 16px rgba(87,246,255,.24);
}

.concept-layout {
  display: grid;
  gap: 28px;
}
.concept-visual {
  width: min(78vw, 360px);
  margin: 0 auto;
  filter: drop-shadow(0 0 26px rgba(87,246,255,.22));
}
.text-panel {
  padding: 20px 18px;
  background:
    linear-gradient(135deg, rgba(87,246,255,.08), transparent 30%),
    rgba(0,0,0,.62);
  border: 1px solid rgba(87,246,255,.22);
  box-shadow: 0 0 28px rgba(0,0,0,.55), inset 0 0 20px rgba(87,246,255,.04);
  color: #dde5ee;
  font-size: 13px;
}
.text-panel p { margin: 0 0 1em; }
.text-panel p:last-child { margin-bottom: 0; }

.detail-grid { display: grid; gap: 34px; }
.detail-card {
  position: relative;
  padding: 16px 14px 18px;
  background:
    linear-gradient(90deg, rgba(87,246,255,.12), transparent 34%),
    rgba(0,0,0,.62);
  border: 1px solid rgba(87,246,255,.25);
  box-shadow: 0 0 30px rgba(0,0,0,.56);
  overflow: hidden;
}
.detail-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.detail-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 38%, rgba(255,255,255,.18) 48%, transparent 58% 100%);
  transform: translateX(-120%);
  opacity: 0;
}
.detail-card.is-active::before { animation: holoSweep 1.2s ease-out .25s forwards; }
.detail-card::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  opacity: .75;
}
.detail-card .pixel-reveal {
  width: min(84vw, 330px);
  margin: 0 auto 16px;
}
.detail-card .pixel-reveal img {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(255,255,255,.14);
  background: #050505;
}
.detail-num {
  display: inline-block;
  flex: 0 0 auto;
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: .06em;
  color: transparent;
  background: linear-gradient(180deg, var(--magenta), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 18px rgba(87,246,255,.35);
}
.detail-card h3 {
  margin: 0;
  font-family: "Cinzel", serif;
  letter-spacing: .11em;
  color: var(--cyan);
  font-size: 18px;
  line-height: 1.2;
}
.jp-title {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  color: #fff;
  font-size: 15px;
  letter-spacing: .06em;
  line-height: 1.4;
}
.detail-body p {
  margin: 0;
  color: #d9e0ea;
  font-size: 14px;
  line-height: 1.88;
}

.spec-layout { display: grid; gap: 28px; }
.spec-list {
  margin: 0;
  padding: 0;
  background: rgba(0,0,0,.58);
  border-top: 1px solid rgba(214,179,106,.5);
}
.spec-list div {
  display: grid;
  grid-template-columns: 36% 64%;
  border-bottom: 1px dotted rgba(255,255,255,.32);
}
.spec-list dt, .spec-list dd {
  margin: 0;
  padding: 11px 8px;
  font-size: 12px;
}
.spec-list dt { color: var(--gold); }
.spec-list dd { color: #fff; }

.product-link {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(87,246,255,.12), transparent 34%),
    #020305;
}
.product-link-inner {
  padding: 34px 18px 38px;
  border: 1px solid rgba(87,246,255,.25);
  background:
    linear-gradient(135deg, rgba(87,246,255,.09), transparent 34%),
    rgba(0,0,0,.62);
  box-shadow: 0 0 30px rgba(0,0,0,.56), inset 0 0 24px rgba(87,246,255,.04);
}
.product-link-title {
  margin: 0 0 22px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(22px, 6vw, 34px);
  line-height: 1.45;
  letter-spacing: .08em;
}
.product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 320px);
  padding: 14px 26px;
  color: #fff;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  border: 1px solid rgba(87,246,255,.72);
  background:
    linear-gradient(90deg, rgba(87,246,255,.18), rgba(214,92,255,.12)),
    rgba(0,0,0,.72);
  box-shadow: 0 0 22px rgba(87,246,255,.18), inset 0 0 18px rgba(87,246,255,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-button:hover {
  transform: translateY(-2px);
  border-color: rgba(214,92,255,.82);
  box-shadow: 0 0 28px rgba(87,246,255,.26), inset 0 0 18px rgba(214,92,255,.10);
}

.site-footer {
  padding: 28px 18px 36px;
  text-align: center;
  background: #000;
  color: #9aa3ad;
  font-size: 10px;
}
.site-footer p { margin: 0 0 4px; }

.glitch-reveal,
.reveal-fade,
.reveal-rise { opacity: 0; }
.reveal-fade.is-active { animation: fadeIn .9s ease-out forwards; }
.reveal-rise.is-active { animation: riseIn .9s cubic-bezier(.16, 1, .3, 1) forwards; }
.delay-1 { animation-delay: .14s !important; }
.delay-2 { animation-delay: .28s !important; }
.delay-3 { animation-delay: .42s !important; }
.delay-4 { animation-delay: .56s !important; }

.glitch-reveal {
  position: relative;
  display: inline-block;
  filter: blur(12px);
  clip-path: inset(0 100% 0 0);
}
.glitch-reveal.is-active { animation: camoReveal 1.25s cubic-bezier(.16, 1, .3, 1) forwards; }
.glitch-reveal::before,
.glitch-reveal::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.glitch-reveal.is-active::before {
  color: var(--cyan);
  transform: translateX(-2px);
  animation: rgbShift .9s steps(2, end) forwards;
}
.glitch-reveal.is-active::after {
  color: var(--magenta);
  transform: translateX(2px);
  animation: rgbShift .9s steps(2, end) forwards;
}

@keyframes camoReveal {
  0% { opacity: 0; filter: blur(18px); clip-path: inset(0 100% 0 0); }
  28% { opacity: .35; filter: blur(8px); clip-path: inset(0 55% 0 0); text-shadow: 0 0 18px rgba(87,246,255,.7); }
  58% { opacity: .8; filter: blur(3px); clip-path: inset(0 14% 0 0); text-shadow: 0 0 22px rgba(87,246,255,.55), 0 0 34px rgba(214,92,255,.35); }
  76% { opacity: 1; filter: blur(1px); clip-path: inset(0 0 0 0); transform: skewX(-4deg); }
  100% { opacity: 1; filter: blur(0); clip-path: inset(0 0 0 0); transform: skewX(0); text-shadow: 0 0 12px rgba(87,246,255,.25); }
}
@keyframes rgbShift {
  0%, 15% { opacity: 0; }
  20%, 70% { opacity: .75; }
  75%, 100% { opacity: 0; }
}
@keyframes fadeIn { to { opacity: 1; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(28px); filter: blur(8px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes holoSweep { 0% { opacity: 0; transform: translateX(-120%); } 20% { opacity: .55; } 100% { opacity: 0; transform: translateX(120%); } }
@keyframes heroOpticalReveal {
  0% { opacity: 0; filter: blur(22px) brightness(.45) saturate(1.6); transform: scale(1.05); clip-path: inset(0 0 100% 0); }
  18% { opacity: .28; filter: blur(14px) brightness(.75) saturate(1.8); clip-path: inset(0 0 72% 0); }
  42% { opacity: .72; filter: blur(7px) brightness(1.18) saturate(1.8); transform: scale(1.025) skewX(-1.2deg); clip-path: inset(0 0 34% 0); }
  68% { opacity: 1; filter: blur(2px) brightness(1.06) saturate(1.25); transform: scale(1.01) skewX(.8deg); clip-path: inset(0 0 0 0); }
  82% { opacity: 1; filter: blur(0) brightness(1.18) saturate(1.05); transform: scale(1.004); clip-path: inset(0 0 0 0); }
  100% { opacity: 1; filter: blur(0) brightness(1) saturate(1); transform: scale(1); clip-path: inset(0 0 0 0); }
}
@keyframes opticalSweep {
  0% { opacity: 0; transform: translateX(-120%) skewX(-10deg); }
  14% { opacity: .85; }
  52% { opacity: .96; transform: translateX(18%) skewX(-10deg); }
  100% { opacity: 0; transform: translateX(120%) skewX(-10deg); }
}
@keyframes scanBurst {
  0% { opacity: 0; transform: translateY(-18%); }
  15% { opacity: .85; }
  35% { opacity: .38; transform: translateY(8%); }
  55% { opacity: .72; transform: translateY(-3%); }
  100% { opacity: 0; transform: translateY(0); }
}

@media (min-width: 769px) {
  main { padding-top: 68px; }
  .site-header { height: 68px; padding: 0 24px; }
  .brand-logo { width: 74px; }
  .hero-image img { min-height: auto; aspect-ratio: 16 / 9; }
  .concept, .design, .spec, .product-link { padding: 110px 0; }
  .concept-layout {
    grid-template-columns: 1.05fr .95fr;
    grid-template-areas:
      "heading visual"
      "text visual";
    align-items: center;
    gap: 38px 64px;
  }
  .concept-layout .section-heading { grid-area: heading; }
  .concept-visual { grid-area: visual; width: min(36vw, 470px); }
  .text-panel { grid-area: text; font-size: 15px; padding: 28px 30px; }
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }
  .detail-card {
    display: grid;
    grid-template-columns: 42% 1fr;
    grid-template-areas:
      "image head"
      "image body";
    gap: 12px 22px;
    align-items: start;
    padding: 22px;
    min-height: 270px;
  }
  .detail-card.wide { grid-column: span 2; grid-template-columns: 38% 1fr; }
  .detail-card .pixel-reveal {
    grid-area: image;
    width: 100%;
    margin: 0;
  }
  .detail-card .pixel-reveal img {
    width: 100%;
    margin: 0;
  }
  .detail-head {
    grid-area: head;
    margin-bottom: 0;
    align-self: end;
  }
  .detail-body { grid-area: body; }
  .detail-num {
    position: static;
    font-size: 42px;
    opacity: .95;
  }
  .detail-card h3 { font-size: 24px; }
  .jp-title { font-size: 17px; }
  .detail-body p { font-size: 15px; }
  .spec-layout {
    grid-template-columns: .8fr 1.2fr;
    align-items: start;
    gap: 70px;
  }
  .spec-list dt, .spec-list dd { font-size: 14px; padding: 14px 16px; }
}

@media (max-width: 768px) {
  .glitch-reveal { filter: blur(8px); }
  .glitch-reveal.is-active { animation-duration: 1.05s; }
  .glitch-reveal.is-active::before,
  .glitch-reveal.is-active::after { display: none; }
  .hero-image img { min-height: calc(100svh - 58px); }
  .hero-camo.is-active img { animation-duration: 1.45s; }
  .detail-card { padding: 16px 14px 20px; }
  .detail-head { gap: 10px; margin-bottom: 14px; }
  .detail-num { font-size: 28px; }
  .detail-card .pixel-reveal { width: min(82vw, 320px); margin: 0 auto 16px; }
  .detail-card h3 { font-size: 18px; }
  .jp-title { font-size: 15px; }
  .detail-body p { font-size: 14px; line-height: 1.9; }
  .product-link-inner { padding: 28px 14px 32px; }
  .product-button { min-width: 100%; padding: 13px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .hero-camo img, .glitch-reveal, .reveal-fade, .reveal-rise { opacity: 1 !important; filter: none !important; clip-path: none !important; transform: none !important; }
}


/* v4: 光学迷彩演出はTOPではなく、DESIGN内のトピック名だけに適用 */
.topic-camo {
  position: relative;
  display: inline-block;
  opacity: 0;
  filter: blur(14px);
  clip-path: inset(0 100% 0 0);
  will-change: opacity, filter, clip-path, transform;
}
.topic-camo.is-active {
  animation: topicOpticalCamo 1.28s cubic-bezier(.16, 1, .3, 1) forwards;
}
.topic-camo::before,
.topic-camo::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.topic-camo.is-active::before {
  color: var(--cyan);
  transform: translateX(-3px);
  animation: topicRgb .88s steps(2, end) forwards;
}
.topic-camo.is-active::after {
  color: var(--magenta);
  transform: translateX(3px);
  animation: topicRgb .88s steps(2, end) forwards;
}
.topic-camo.delay-topic.is-active {
  animation-delay: .16s;
}
.topic-camo.delay-topic.is-active::before,
.topic-camo.delay-topic.is-active::after {
  animation-delay: .16s;
}
.detail-card.is-active .topic-camo {
  /* detail-card全体が表示された後でも、topicだけ個別に復元させる */
}

@keyframes topicOpticalCamo {
  0% {
    opacity: 0;
    filter: blur(18px) brightness(.65);
    clip-path: inset(0 100% 0 0);
    text-shadow: none;
  }
  22% {
    opacity: .34;
    filter: blur(10px) brightness(1.35) saturate(1.5);
    clip-path: inset(0 58% 0 0);
    text-shadow: 0 0 18px rgba(87,246,255,.75), 0 0 22px rgba(214,92,255,.45);
  }
  48% {
    opacity: .82;
    filter: blur(3px) brightness(1.55) saturate(1.4);
    clip-path: inset(0 8% 0 0);
    transform: skewX(-5deg);
    text-shadow: 0 0 24px rgba(87,246,255,.75), 0 0 36px rgba(214,92,255,.48);
  }
  62% {
    opacity: 1;
    filter: blur(1px) brightness(1.95);
    clip-path: inset(0 0 0 0);
    transform: translateX(2px) skewX(3deg);
  }
  78% {
    opacity: 1;
    filter: blur(0) brightness(1.25);
    transform: translateX(-1px) skewX(0deg);
  }
  100% {
    opacity: 1;
    filter: blur(0) brightness(1);
    clip-path: inset(0 0 0 0);
    transform: translateX(0) skewX(0);
    text-shadow: 0 0 12px rgba(87,246,255,.28);
  }
}
@keyframes topicRgb {
  0%, 12% { opacity: 0; }
  18%, 54% { opacity: .86; }
  60%, 70% { opacity: .32; transform: translateX(0); }
  74%, 100% { opacity: 0; }
}

@media (max-width: 768px) {
  .topic-camo { filter: blur(9px); }
  .topic-camo.is-active { animation-duration: 1.05s; }
  .topic-camo.is-active::before,
  .topic-camo.is-active::after { display: block; opacity: 0; }
}


/* v12: 公式サイトの切り替えに近い、グラデーション＋ピクセルブロック表示演出 */
.pixel-reveal {
  position: relative;
  overflow: hidden;
  display: block;
  isolation: isolate;
  background: #020305;
}

.pixel-reveal img {
  opacity: 0;
  transform: scale(1.018);
  filter: brightness(.82) saturate(1.25);
  clip-path: inset(0 100% 0 0);
  will-change: opacity, transform, filter, clip-path;
}

.pixel-reveal::before,
.pixel-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}

.pixel-reveal::before {
  background:
    linear-gradient(90deg,
      rgba(3,4,9,.98) 0%,
      rgba(70,0,90,.92) 25%,
      rgba(232,23,121,.90) 45%,
      rgba(83,239,255,.92) 63%,
      rgba(6,93,255,.88) 84%,
      rgba(2,3,5,.98) 100%);
  transform: translateX(-105%);
  mix-blend-mode: screen;
}

.pixel-reveal::after {
  background:
    linear-gradient(90deg, rgba(0,0,0,.88), transparent 42%, rgba(87,246,255,.35), transparent 68%),
    repeating-conic-gradient(
      from 0deg,
      rgba(0,0,0,.92) 0 25%,
      rgba(87,246,255,.55) 0 50%,
      rgba(214,92,255,.45) 0 75%,
      transparent 0 100%
    );
  background-size: 100% 100%, 28px 28px;
  mix-blend-mode: screen;
  filter: contrast(1.25);
  clip-path: inset(0 0 0 100%);
}

.pixel-reveal.is-active img {
  animation: pixelImageReveal 1.08s cubic-bezier(.16, 1, .3, 1) forwards;
}

.pixel-reveal.is-active::before {
  animation: pixelGradientSweep .95s cubic-bezier(.16, 1, .3, 1) forwards;
}

.pixel-reveal.is-active::after {
  animation: pixelBlocks .86s steps(7, end) .18s forwards;
}

.pixel-delay-0.is-active { animation-delay: .02s; }
.pixel-delay-1.is-active img,
.pixel-delay-1.is-active::before,
.pixel-delay-1.is-active::after { animation-delay: .06s; }
.pixel-delay-2.is-active img,
.pixel-delay-2.is-active::before,
.pixel-delay-2.is-active::after { animation-delay: .16s; }
.pixel-delay-3.is-active img,
.pixel-delay-3.is-active::before,
.pixel-delay-3.is-active::after { animation-delay: .26s; }

@keyframes pixelImageReveal {
  0% {
    opacity: 0;
    transform: scale(1.035);
    filter: blur(8px) brightness(.55) saturate(1.45);
    clip-path: inset(0 100% 0 0);
  }
  28% {
    opacity: .2;
    filter: blur(5px) brightness(.8) saturate(1.65);
    clip-path: inset(0 70% 0 0);
  }
  52% {
    opacity: .78;
    transform: scale(1.018);
    filter: blur(2px) brightness(1.35) saturate(1.45);
    clip-path: inset(0 18% 0 0);
  }
  72% {
    opacity: 1;
    transform: scale(1.006);
    filter: blur(0) brightness(1.12) saturate(1.12);
    clip-path: inset(0 0 0 0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: none;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes pixelGradientSweep {
  0% {
    opacity: 0;
    transform: translateX(-105%);
  }
  12% {
    opacity: .95;
  }
  55% {
    opacity: .92;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(105%);
  }
}

@keyframes pixelBlocks {
  0% {
    opacity: 0;
    clip-path: inset(0 0 0 100%);
    transform: translateX(-18px);
    background-position: 0 0, 0 0;
  }
  18% {
    opacity: .95;
    clip-path: inset(0 0 0 68%);
    background-position: 0 0, 18px 0;
  }
  34% {
    opacity: .72;
    clip-path: inset(0 0 0 42%);
    background-position: 0 0, 0 18px;
  }
  52% {
    opacity: .96;
    clip-path: inset(0 0 0 18%);
    background-position: 0 0, 28px 28px;
  }
  72% {
    opacity: .42;
    clip-path: inset(0 0 0 0);
    background-position: 0 0, 12px 12px;
  }
  100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .pixel-reveal::after {
    background-size: 100% 100%, 22px 22px;
  }
  .pixel-reveal.is-active img {
    animation-duration: .94s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pixel-reveal img {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
  .pixel-reveal::before,
  .pixel-reveal::after {
    display: none !important;
  }
}
