/* CENCE2LAB final rich mobile LP */
:root {
  --bg: #05070d;
  --ink: #f9f3df;
  --muted: #cfc4da;
  --cyan: #00f5ff;
  --pink: #ff3ccf;
  --purple: #9a5cff;
  --yellow: #ffd94a;
  --green: #35ff8a;
  --red: #ff4b4b;
  --orange: #ff9b3d;
  --panel: rgba(5, 10, 20, .86);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #05070d;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 60, 207, .22), transparent 28%),
    radial-gradient(circle at 78% 12%, rgba(0, 245, 255, .14), transparent 26%),
    radial-gradient(circle at 55% 65%, rgba(154, 92, 255, .16), transparent 35%),
    linear-gradient(180deg, #060711 0%, #090b15 45%, #030409 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.016) 1px, transparent 1px);
  background-size: 38px 38px;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: .1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

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

img {
  max-width: 100%;
  display: block;
}

code {
  color: #bffcff;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 80px rgba(0,0,0,.72);
}

.hero__bg {
  position: absolute;
  inset: 0 0 auto;
  height: 310px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.46)),
    url("../images/profile/header.png");
  background-size: cover;
  background-position: center;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,8,14,.1) 0%, rgba(5,8,14,.30) 32%, rgba(5,8,14,.90) 62%, rgba(5,8,14,.98) 100%),
    radial-gradient(circle at 54% 22%, rgba(255,60,207,.25), transparent 24%),
    radial-gradient(circle at 22% 45%, rgba(0,245,255,.12), transparent 28%);
}

.hero__inner,
.site {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
}

.hero__inner {
  padding: 18px 0 46px;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chips span {
  padding: 8px 10px;
  border: 1px solid rgba(0,245,255,.34);
  background: rgba(3,7,16,.62);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .12em;
  box-shadow: 0 0 18px rgba(0,245,255,.12), inset 0 0 12px rgba(0,245,255,.08);
}

.chips span:nth-child(2n) {
  color: var(--pink);
  border-color: rgba(255,60,207,.34);
}

.profile {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  margin-top: 176px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)), rgba(4,7,15,.76);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(0,0,0,.52), 0 0 24px rgba(154,92,255,.12);
}

.profile__icon {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 999px;
  border: 4px solid rgba(10,14,24,.92);
  box-shadow: 0 0 0 2px rgba(255,255,255,.12), 0 0 28px rgba(154,92,255,.34);
}

.profile__handle {
  margin: 0 0 8px;
  color: #cfc7ff;
  font-size: 15px;
  font-weight: 900;
}

.profile h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -.05em;
  color: white;
  text-shadow: 0 0 18px var(--pink), 0 0 42px var(--purple);
}

.profile p {
  color: #ede7ff;
  line-height: 1.85;
  font-weight: 800;
}

.heroNav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.heroNav a {
  min-width: 128px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid currentColor;
  color: var(--cyan);
  background: rgba(0,0,0,.36);
  font-weight: 1000;
  text-align: center;
  box-shadow: 0 0 16px rgba(0,245,255,.18);
}

.heroNav a:nth-child(2) {
  color: var(--pink);
}

.heroNav a:nth-child(3) {
  color: var(--yellow);
}

.heroNav a:nth-child(4) {
  color: var(--green);
}

.heroTitle {
  margin-top: 30px;
}

.heroTitle p {
  display: inline-block;
  margin: 0;
  color: #ff92df;
  font-size: 12px;
  letter-spacing: .3em;
  font-weight: 1000;
  text-shadow: 0 0 12px var(--pink);
}

.heroTitle strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: clamp(42px, 8vw, 92px);
  line-height: .95;
  letter-spacing: -.06em;
  filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 16px var(--pink)) drop-shadow(0 0 42px var(--purple));
}

.heroTitle span {
  display: block;
  margin-top: 12px;
  color: #f1ccff;
  font-weight: 800;
}

.marquee {
  margin: 30px 0 32px;
  border-block: 1px solid rgba(255,255,255,.18);
  color: var(--pink);
  background: rgba(255,60,207,.08);
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 0 22px rgba(255,60,207,.20), inset 0 0 18px rgba(255,60,207,.12);
  border-radius: 16px;
}

.marquee span {
  display: inline-block;
  padding: 11px 0;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .16em;
  text-shadow: 0 0 12px currentColor;
  animation: marquee 32s linear infinite;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.intro {
  margin: 34px 0 18px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(4,7,15,.74);
  box-shadow: 0 16px 34px rgba(0,0,0,.42), inset 0 0 18px rgba(255,255,255,.03);
}

.kicker {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .16em;
}

.intro h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

.intro p {
  margin: 12px 0 0;
  color: #e8dff4;
  line-height: 1.9;
  font-weight: 760;
}

.features {
  display: grid;
  gap: 18px;
}

.feature {
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.05), transparent 40%), rgba(5,10,20,.86);
  box-shadow: 0 22px 48px rgba(0,0,0,.56), inset 0 0 36px rgba(0,0,0,.5);
  overflow: hidden;
  padding: 20px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  text-shadow: 0 0 16px var(--accent);
}

.feature p {
  color: #e8dff4;
  line-height: 1.8;
  font-weight: 760;
}

.mangaStrip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.mangaStrip img {
  flex: 0 0 min(82vw, 360px);
  scroll-snap-align: start;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 16px 38px rgba(0,0,0,.56), 0 0 22px color-mix(in srgb, var(--accent) 18%, transparent);
  cursor: zoom-in;
}

.gifBox {
  display: grid;
  grid-template-columns: minmax(240px, 480px) 1fr;
  gap: 18px;
  align-items: center;
}

.gifBox img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 16px 38px rgba(0,0,0,.56), 0 0 22px color-mix(in srgb, var(--accent) 18%, transparent);
  cursor: zoom-in;
}

.works {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.work {
  grid-column: span 12;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.05), transparent 40%), rgba(5,10,20,.86);
  box-shadow: 0 22px 48px rgba(0,0,0,.56), inset 0 0 36px rgba(0,0,0,.5);
  overflow: hidden;
}

.work__head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 20px;
  align-items: start;
}

.work__thumb {
  width: 220px;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.16);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 38px rgba(0,0,0,.45), 0 0 22px color-mix(in srgb, var(--accent) 24%, transparent);
}

.status {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid currentColor;
  color: var(--accent);
  background: rgba(0,0,0,.34);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .08em;
  box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 42%, transparent), inset 0 0 9px color-mix(in srgb, var(--accent) 20%, transparent);
  text-shadow: 0 0 9px currentColor;
}

.work h3 {
  margin: 12px 0 10px;
  color: white;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -.045em;
  text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 70%, transparent);
}

.work__catch {
  margin: 0 0 10px;
  color: #fff7d8;
  font-weight: 1000;
}

.work__desc {
  margin: 0;
  color: #e7def1;
  font-weight: 760;
  line-height: 1.75;
}

.tags,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color: #dffcff;
  background: rgba(255,255,255,.06);
  font-size: 11px;
  font-weight: 900;
}

.action {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid currentColor;
  color: var(--accent);
  background: rgba(0,0,0,.38);
  font-size: 13px;
  font-weight: 1000;
  box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 30%, transparent), inset 0 0 10px color-mix(in srgb, var(--accent) 14%, transparent);
}

.gallery {
  padding: 0 20px 20px;
}

.gallery__title {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .16em;
  text-shadow: 0 0 10px currentColor;
}

.gallery__strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery__strip::-webkit-scrollbar,
.mangaStrip::-webkit-scrollbar {
  height: 8px;
}

.gallery__strip::-webkit-scrollbar-thumb,
.mangaStrip::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent) 50%, #111);
  border-radius: 999px;
}

.shot {
  flex: 0 0 min(82vw, 520px);
  scroll-snap-align: start;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: #05070d;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(0,0,0,.56), 0 0 22px color-mix(in srgb, var(--accent) 18%, transparent);
}

.shot img {
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.downloadWall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.downloadWall article {
  min-height: 170px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #e8dec8, #bfb29c);
  color: #1e1713;
  box-shadow: 0 14px 34px rgba(0,0,0,.54);
  transform: rotate(var(--r, -1deg));
}

.downloadWall article:nth-child(2n) {
  --r: 1.4deg;
}

.downloadWall article:nth-child(3n) {
  --r: -2deg;
}

.downloadWall strong {
  display: block;
  font-size: 26px;
  margin-bottom: 8px;
}

.downloadWall span {
  font-weight: 800;
}

.footer {
  margin-top: 46px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(0,245,255,.34);
  background: rgba(3,7,14,.82);
  color: #eaffff;
  box-shadow: 0 0 28px rgba(0,245,255,.18), inset 0 0 28px rgba(0,245,255,.08);
  line-height: 1.85;
  font-weight: 800;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.88);
}

.lightbox.isOpen {
  display: flex;
}

.lightbox img {
  max-width: 96vw;
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 0 40px rgba(255,60,207,.28);
}

.lightbox__close {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: white;
  background: rgba(0,0,0,.7);
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
  }

  .hero__bg {
    height: 230px;
  }

  .hero__inner,
  .site {
    width: calc(100% - 16px);
  }

  .hero__inner {
    padding-top: 12px;
  }

  .chips {
    gap: 6px;
  }

  .chips span {
    padding: 7px 8px;
    font-size: 10px;
  }

  .profile {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 120px;
    padding: 16px;
  }

  .profile__icon {
    width: 106px;
    height: 106px;
  }

  .profile h1 {
    font-size: 34px;
  }

  .profile p {
    font-size: 14px;
  }

  .heroNav a {
    width: calc(50% - 5px);
    min-width: 0;
  }

  .heroTitle strong {
    font-size: 42px;
  }

  .heroTitle span {
    font-size: 14px;
  }

  .intro {
    padding: 18px;
  }

  .gifBox {
    grid-template-columns: 1fr;
  }

  .work__head {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .work__thumb {
    width: 180px;
    max-width: 70%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }

  .work h3 {
    font-size: 30px;
  }

  .work__desc {
    font-size: 14px;
  }

  .gallery {
    padding: 0 16px 16px;
  }

  .shot {
    flex-basis: 86vw;
  }

  .downloadWall {
    grid-template-columns: 1fr;
  }

  .downloadWall article {
    min-height: 120px;
    transform: none;
  }
}

@media (min-width: 1000px) {
  .work:nth-child(2n) .work__head {
    grid-template-columns: 1fr 220px;
  }

  .work:nth-child(2n) .work__thumb {
    order: 2;
  }

  .shot {
    flex-basis: 420px;
  }
}