/* PIXEL LAMP route background */

body[data-route="pixel-lamp"] {
  --bg: #ffffff;
  --bg-soft: #ffffff;
}

body[data-route="pixel-lamp"]::before {
  background-image:
    linear-gradient(#eceff3 1px, transparent 1px),
    linear-gradient(90deg, #eceff3 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.8;
  mix-blend-mode: normal;
}

body[data-route="pixel-lamp"]::after {
  opacity: 0;
}

/* PIXEL LAMP case study */

.pixel-lamp-case {
  color: #111111;
}

.pixel-lamp-wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.pixel-lamp-hero-section {
  padding-top: 0;
}

.pixel-lamp-hero-visual {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #101010;
}

.pixel-lamp-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.18) 0%, rgba(12, 12, 12, 0.32) 24%, rgba(12, 12, 12, 0.58) 72%, rgba(12, 12, 12, 0.8) 100%),
    linear-gradient(120deg, rgba(12, 12, 12, 0.7) 0%, rgba(12, 12, 12, 0.16) 42%, rgba(12, 12, 12, 0.06) 100%);
}

.pixel-lamp-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: clamp(22px, 2vw, 34px) clamp(22px, 2vw, 34px);
  mix-blend-mode: soft-light;
  opacity: 0.2;
}

.pixel-lamp-hero-media,
.pixel-lamp-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pixel-lamp-hero-image {
  object-fit: cover;
  object-position: center center;
}

.pixel-lamp-hero-copy {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: min(1320px, calc(100% - 2.8rem));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.4rem) 0;
  text-align: center;
}

.pixel-lamp-wordmark {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  width: max-content;
  max-width: 100%;
}

.pixel-lamp-wordmark.is-inline {
  display: flex;
  align-items: flex-end;
  gap: clamp(0.9rem, 2.2vw, 2rem);
}

.pixel-lamp-wordmark-main,
.pixel-lamp-wordmark-stroke {
  font-family: var(--font-body);
  font-size: clamp(3.8rem, 9vw, 7.6rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
}

.pixel-lamp-wordmark-main {
  color: #ffffff;
}

.pixel-lamp-wordmark-stroke {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.62);
}

.pixel-lamp-hero-note {
  margin: 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.18em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}

body[data-lang="zh"] .pixel-lamp-hero-note {
  letter-spacing: 0.24em;
}

body[data-lang="zh"] .pixel-lamp-wordmark-main {
  font-size: clamp(4.8rem, 13vw, 10.5rem);
  letter-spacing: normal;
}

body[data-route="pixel-lamp"][data-lang="en"] .pixel-lamp-wordmark-main,
body[data-route="pixel-lamp"][data-lang="en"] .pixel-lamp-wordmark-stroke {
  font-weight: 1000;
  -webkit-text-stroke: 1.3px currentColor;
  paint-order: stroke fill;
}

body[data-route="pixel-lamp"][data-lang="en"] .pixel-lamp-wordmark-stroke {
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.74);
}

.pixel-lamp-scroll-mark {
  position: absolute;
  z-index: 2;
  right: clamp(1.25rem, 3vw, 2.2rem);
  bottom: clamp(1.2rem, 2.6vw, 2.1rem);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.5rem;
  line-height: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.pixel-lamp-mono {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pixel-lamp-section {
  padding-top: clamp(1.2rem, 2vw, 1.8rem);
}

.pixel-lamp-section-title {
  margin: 0;
  color: #111111;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
}

.pixel-lamp-section-title.is-centered {
  text-align: center;
}

.pixel-lamp-section-title.is-light {
  color: #ffffff;
}

.pixel-lamp-section-subtitle {
  margin: 0.6rem 0 0;
  color: #4b5563;
  font-size: clamp(1.02rem, 1.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.6;
}

.pixel-lamp-section-subtitle.is-centered {
  text-align: center;
}

.pixel-lamp-body-copy {
  margin: 0;
  color: #374151;
  font-size: 1.04rem;
  line-height: 1.8;
}

.pixel-lamp-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 4px solid #111111;
  background: #ffffff;
  box-shadow: 8px 8px 0 #111111;
}

.pixel-lamp-meta-card {
  padding: 1.35rem 1.4rem;
  border-right: 4px solid #111111;
}

.pixel-lamp-meta-card:last-child {
  border-right: 0;
}

.pixel-lamp-meta-label {
  margin: 0 0 0.45rem;
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pixel-lamp-meta-value {
  margin: 0;
  color: #111111;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.55;
}

.pixel-lamp-problem-grid,
.pixel-lamp-ai-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.3fr) minmax(0, 0.7fr);
  gap: 2.4rem 3rem;
  align-items: start;
}

.pixel-lamp-problem-body,
.pixel-lamp-ai-list,
.pixel-lamp-next-list {
  display: grid;
  gap: 1rem;
}

.pixel-lamp-problem-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.pixel-lamp-problem-item {
  display: grid;
  grid-template-columns: 1.85rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.pixel-lamp-problem-index {
  width: 1.85rem;
  height: 1.85rem;
  display: grid;
  place-items: center;
  background: #111111;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
}

.pixel-lamp-problem-item strong,
.pixel-lamp-ai-item h4,
.pixel-lamp-engineering-card h4,
.pixel-lamp-next-item strong {
  display: block;
  margin: 0 0 0.3rem;
  color: #111111;
  font-size: 1.04rem;
  font-weight: 800;
}

.pixel-lamp-problem-item p,
.pixel-lamp-ai-item p,
.pixel-lamp-engineering-card p,
.pixel-lamp-next-item p {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
}

.pixel-lamp-quote-card,
.pixel-lamp-tradeoff-card {
  margin-top: 1.3rem;
  padding: 1.6rem 1.7rem;
  border: 4px solid #111111;
  box-shadow: 8px 8px 0 #111111;
}

.pixel-lamp-quote-card {
  background: #eff6ff;
  color: #111111;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 800;
  line-height: 1.65;
}

.pixel-lamp-standard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.pixel-lamp-standard-card,
.pixel-lamp-engineering-card {
  padding: 1.35rem;
  border: 2px solid #111111;
  background: #ffffff;
}

.pixel-lamp-standard-index {
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border: 2px solid #111111;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 1rem;
  font-weight: 800;
}

.pixel-lamp-standard-card h3,
.pixel-lamp-module-card h3,
.pixel-lamp-architecture-layer h3 {
  margin: 0 0 0.45rem;
  color: #111111;
  font-size: 1.18rem;
  font-weight: 900;
}

.pixel-lamp-standard-card p,
.pixel-lamp-module-card p,
.pixel-lamp-architecture-layer p {
  margin: 0;
  color: #4b5563;
  line-height: 1.72;
}

.pixel-lamp-tradeoff-card {
  background: #f8fafc;
}

.pixel-lamp-tradeoff-title {
  margin: 0 0 1rem;
  color: #111111;
  font-size: 1.15rem;
  font-weight: 900;
}

.pixel-lamp-tradeoff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pixel-lamp-tradeoff-drop,
.pixel-lamp-tradeoff-choose,
.pixel-lamp-tradeoff-note {
  margin: 0;
}

.pixel-lamp-tradeoff-drop {
  color: #dc2626;
  font-weight: 800;
}

.pixel-lamp-tradeoff-drop-text {
  text-decoration-line: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
  text-decoration-skip-ink: none;
}

.pixel-lamp-tradeoff-choose {
  margin-top: 0.3rem;
  color: #15803d;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.55;
}

.pixel-lamp-tradeoff-note {
  margin-top: 0.35rem;
  color: #6b7280;
  font-size: 0.92rem;
}

.pixel-lamp-band {
  padding-block: clamp(3rem, 7vw, 5rem);
  background: #ffffff;
  border-top: 4px solid #111111;
  border-bottom: 4px solid #111111;
}

.pixel-lamp-band-intro {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pixel-lamp-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.8rem;
  margin-top: 1.8rem;
}

.pixel-lamp-module-card {
  position: relative;
  padding-left: 1.3rem;
}

.pixel-lamp-module-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.36rem;
  background: #111111;
}

.pixel-lamp-media-frame {
  margin: 0;
  overflow: hidden;
  border: 4px solid #111111;
  background: #ffffff;
  box-shadow: 8px 8px 0 #111111;
}

.pixel-lamp-media-frame-console {
  margin-top: 1.8rem;
}

.pixel-lamp-media-image {
  display: block;
  width: 100%;
  height: auto;
}

.pixel-lamp-ai-list {
  margin-top: 1.4rem;
}

.pixel-lamp-ai-item {
  padding-left: 1rem;
  border-left: 4px solid #111111;
}

.pixel-lamp-demo-link {
  display: inline-block;
  margin-top: 0.8rem;
  max-width: 100%;
  color: #111111;
  font-size: clamp(0.94rem, 1.32vw, 1.18rem);
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
  border-bottom: 2px solid rgba(17, 17, 17, 0.22);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.pixel-lamp-demo-link:hover,
.pixel-lamp-demo-link:focus-visible {
  color: #111111;
  border-color: #111111;
  transform: translateX(2px);
}

.pixel-lamp-demo-link-text {
  white-space: normal;
  text-decoration: none;
}

.pixel-lamp-demo-link-text::after {
  content: "\00a0↗";
  white-space: nowrap;
}

.pixel-lamp-inline-tag {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.7rem 1rem;
  background: #111111;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pixel-lamp-pipeline {
  display: grid;
  gap: 1.1rem;
  padding: 1.25rem;
  border: 4px solid #111111;
  background: #ffffff;
  box-shadow: 8px 8px 0 #111111;
}

.pixel-lamp-pipeline-head {
  display: grid;
  gap: 0.35rem;
}

.pixel-lamp-pipeline-heading {
  margin: 0;
  color: #111111;
  font-size: 1.08rem;
  font-weight: 900;
}

.pixel-lamp-pipeline-summary {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.65;
}

.pixel-lamp-pipeline-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.7rem;
}

.pixel-lamp-pipeline-node {
  flex: 1 1 156px;
  min-width: 156px;
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem;
  border: 2px solid #111111;
  background: #f8fafc;
  color: #111111;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.pixel-lamp-pipeline-node:hover,
.pixel-lamp-pipeline-node:focus-visible {
  transform: translateY(-1px);
  background: #f3f4f6;
}

.pixel-lamp-pipeline-node.is-active {
  background: #111111;
  color: #ffffff;
  box-shadow: 6px 6px 0 rgba(17, 17, 17, 0.16);
}

.pixel-lamp-pipeline-node-title {
  display: block;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.25;
}

.pixel-lamp-pipeline-node-desc {
  display: -webkit-box;
  overflow: hidden;
  color: #6b7280;
  font-size: 0.82rem;
  line-height: 1.5;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.pixel-lamp-pipeline-node.is-active .pixel-lamp-pipeline-node-desc {
  color: rgba(255, 255, 255, 0.72);
}

.pixel-lamp-pipeline-node-tag {
  justify-self: start;
  padding: 0.28rem 0.62rem;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: #4b5563;
  font-size: 0.74rem;
  font-weight: 700;
}

.pixel-lamp-pipeline-node.is-active .pixel-lamp-pipeline-node-tag {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
}

.pixel-lamp-pipeline-arrow {
  align-self: center;
  color: rgba(17, 17, 17, 0.34);
  font-size: 1.2rem;
  line-height: 1;
}

.pixel-lamp-pipeline-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 1rem;
  align-items: start;
}

.pixel-lamp-pipeline-copy {
  display: grid;
  gap: 0.9rem;
}

.pixel-lamp-pipeline-detail-title {
  margin: 0;
  color: #111111;
  font-size: 1.1rem;
  font-weight: 900;
}

.pixel-lamp-pipeline-detail-text {
  margin: 0;
  color: #4b5563;
  line-height: 1.72;
}

.pixel-lamp-pipeline-kvs {
  display: grid;
  gap: 0.7rem;
}

.pixel-lamp-pipeline-kv {
  display: grid;
  gap: 0.18rem;
  padding: 0.85rem 0.95rem;
  border: 2px dashed rgba(17, 17, 17, 0.18);
  background: #f8fafc;
}

.pixel-lamp-pipeline-kv-label {
  color: #111111;
  font-size: 0.8rem;
  font-weight: 800;
}

.pixel-lamp-pipeline-kv-value {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.55;
}

.pixel-lamp-pipeline-preview {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0.9rem;
  border: 2px solid #111111;
  background: #f8fafc;
}

.pixel-lamp-pipeline-preview-label {
  color: #111111;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pixel-lamp-pipeline-canvas {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  border: 2px solid #111111;
  background: #000000;
  image-rendering: pixelated;
}

.pixel-lamp-pipeline-preview-hint {
  margin: 0;
  color: #6b7280;
  font-size: 0.82rem;
  line-height: 1.55;
}

.pixel-lamp-architecture-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.pixel-lamp-architecture-layer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border: 4px solid #111111;
  background: #ffffff;
  box-shadow: 8px 8px 0 #111111;
}

.pixel-lamp-architecture-layer:nth-child(2) {
  width: 92%;
  margin-inline: auto;
  background: #f3f4f6;
}

.pixel-lamp-architecture-layer:nth-child(3) {
  width: 84%;
  margin-inline: auto;
  background: #e5e7eb;
}

.pixel-lamp-architecture-layer p {
  max-width: 28rem;
  text-align: right;
}

.pixel-lamp-engineering-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.pixel-lamp-results {
  padding-block: clamp(3rem, 7vw, 5rem);
  background: transparent;
}

.pixel-lamp-results-inner {
  text-align: center;
}

.pixel-lamp-results-copy {
  max-width: 54rem;
  margin: 1rem auto 1.6rem;
  color: #374151;
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
  line-height: 1.8;
}

.pixel-lamp-results-layout {
  display: grid;
  gap: 1.1rem;
}

.pixel-lamp-results-still-row {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 0.85rem;
}

.pixel-lamp-results-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  width: 100%;
}

.pixel-lamp-results-card {
  margin: 0;
}

.pixel-lamp-results-card.is-top-row.is-board {
  --pixel-lamp-results-ratio: 2896 / 3552;
  flex: 0.8153 1 0%;
}

.pixel-lamp-results-card.is-top-row.is-photo {
  --pixel-lamp-results-ratio: 3024 / 4032;
  flex: 0.75 1 0%;
}

.pixel-lamp-results-card.is-top-row.is-portrait {
  --pixel-lamp-results-ratio: 960 / 1706;
  flex: 0.5627 1 0%;
}

.pixel-lamp-results-media {
  box-sizing: border-box;
  overflow: hidden;
  border: 4px solid #111111;
  background: #ffffff;
  box-shadow: 8px 8px 0 #111111;
}

.pixel-lamp-results-card.is-top-row .pixel-lamp-results-media {
  width: 100%;
  aspect-ratio: var(--pixel-lamp-results-ratio);
}

.pixel-lamp-results-image,
.pixel-lamp-results-video {
  display: block;
  width: 100%;
  height: auto;
  background: #ffffff;
}

.pixel-lamp-results-card.is-top-row .pixel-lamp-results-image,
.pixel-lamp-results-card.is-top-row .pixel-lamp-results-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
}

.pixel-lamp-results-card.is-top-row .pixel-lamp-results-video-trigger {
  height: 100%;
}

.pixel-lamp-results-caption {
  margin: 0.7rem 0 0;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pixel-lamp-results-video-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.pixel-lamp-results-video-overlay {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 7, 7, 0.72);
  color: #ffffff;
  backdrop-filter: blur(10px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.pixel-lamp-results-video-trigger:hover .pixel-lamp-results-video-overlay,
.pixel-lamp-results-video-trigger:focus-visible .pixel-lamp-results-video-overlay {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(7, 7, 7, 0.86);
  transform: translateY(-2px);
}

.pixel-lamp-results-video-icon {
  font-size: 0.88rem;
  line-height: 1;
}

.pixel-lamp-results-video-action {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pixel-lamp-next {
  max-width: 960px;
}

.pixel-lamp-next-title {
  display: inline-block;
  padding-bottom: 0.7rem;
  border-bottom: 4px solid #111111;
}

.pixel-lamp-next-item {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.pixel-lamp-next-mark {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border: 2px solid #111111;
  background: #ffffff;
  box-shadow: 4px 4px 0 #111111;
  font-size: 0.9rem;
  font-weight: 800;
}
