﻿:root {
  --bg: #ffffff;
  --paper: #f5f5f2;
  --ink: #101010;
  --muted: #777a80;
  --line: #e8e5de;
  --accent: #1f6bff;
  --accent-soft: #edf4ff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(16, 16, 16, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(31, 107, 255, 0.08), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #faf9f6 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body::selection {
  background: var(--ink);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-mark {
  display: block;
  width: clamp(126px, 10.5vw, 170px);
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
}

.nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  background: var(--ink);
  color: #fff;
}

.nav-links a.active {
  background: var(--ink);
  color: #fff;
}

.nav-links a:hover,
.text-link,
.category-title a,
.service-card a {
  color: var(--accent);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 56px;
  align-items: center;
  min-height: 760px;
  overflow: hidden;
  isolation: isolate;
}

.interactive-hero {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at calc(48% + var(--hero-x, 0px)) calc(36% + var(--hero-y, 0px)), rgba(31, 107, 255, 0.2), transparent 30rem),
    linear-gradient(135deg, rgba(235, 247, 255, 0.98), rgba(255, 255, 255, 0.86) 58%, rgba(240, 248, 255, 0.92));
}

.hero-copy,
.hero-board {
  position: relative;
  z-index: 2;
}

.hero-bg-layer {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  transition: transform 260ms ease-out;
}

.layer-orb-one {
  width: 52vw;
  height: 52vw;
  left: 45%;
  top: -18%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.92), transparent 26%),
    radial-gradient(circle, rgba(31, 107, 255, 0.22), rgba(31, 107, 255, 0.04) 54%, transparent 70%);
  filter: blur(16px);
  transform: translate3d(calc(var(--hero-x, 0px) * -1.2), calc(var(--hero-y, 0px) * -0.8), 0);
}

.layer-orb-two {
  width: 40vw;
  height: 40vw;
  left: -10%;
  bottom: -24%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(18, 21, 29, 0.08), transparent 66%);
  transform: translate3d(calc(var(--hero-x, 0px) * 0.7), calc(var(--hero-y, 0px) * 0.9), 0);
}

.layer-grid {
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(16, 16, 16, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 16, 16, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 58% 45%, #000, transparent 62%);
  transform: translate3d(calc(var(--hero-x, 0px) * 0.28), calc(var(--hero-y, 0px) * 0.28), 0);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-title {
  max-width: 760px;
  font-size: clamp(52px, 6vw, 82px);
  line-height: 0.98;
}

.hero-title span {
  display: block;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.button.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.button.ghost {
  background: #fff;
}

.hero-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  perspective: 1200px;
  transform: translate3d(calc(var(--hero-x, 0px) * 0.32), calc(var(--hero-y, 0px) * 0.24), 0);
  transition: transform 260ms ease-out;
}

.board-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fafc, #dbeafe);
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 240ms ease, box-shadow 240ms ease;
  will-change: transform;
}

.board-card:hover {
  box-shadow: 0 30px 90px rgba(16, 16, 16, 0.16);
}

.board-card.large {
  grid-row: span 2;
  min-height: 456px;
  background:
    linear-gradient(145deg, rgba(255, 247, 237, 0.92), rgba(219, 234, 254, 0.95) 70%),
    repeating-linear-gradient(90deg, rgba(16, 16, 16, 0.04), rgba(16, 16, 16, 0.04) 1px, transparent 1px, transparent 18px);
}

.board-card.dark {
  background: #151922;
  color: #fff;
}

.floating-stage {
  animation: float-stage 8s ease-in-out infinite;
}

.statement-band {
  width: 100%;
  max-width: none;
  padding: 56px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  overflow: hidden;
}

.statement-band p {
  width: min(1180px, 100%);
  margin: 0 auto;
  font-size: clamp(28px, 5vw, 70px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.board-card span,
.media-placeholder,
.detail-media-main span {
  font-weight: 800;
}

.board-card em,
.detail-media-main em {
  margin-top: 6px;
  color: currentColor;
  font-size: 13px;
  opacity: 0.68;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading.inline,
.category-title,
.detail-head,
.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading.inline p {
  max-width: 430px;
  color: var(--muted);
}

.service-grid,
.case-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.info-grid article,
.qr-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover,
.info-grid article:hover,
.qr-card:hover {
  border-color: rgba(31, 107, 255, 0.28);
  box-shadow: var(--shadow);
}

.service-card p,
.info-grid p,
.contact-list,
.footer p {
  color: var(--muted);
}

.service-index {
  display: block;
  margin-bottom: 38px;
  color: var(--accent);
  font-weight: 800;
}

.brand-wall {
  width: 100vw;
  margin-left: calc((100vw - min(1180px, calc(100vw - 40px))) / -2);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.brand-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: brand-scroll 18s linear infinite;
  will-change: transform;
}

.brand-wall span {
  flex: 0 0 240px;
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: center;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #12151d;
  color: var(--muted);
  font-weight: 700;
  padding: 18px 30px;
}

.brand-wall img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
}

.brand-wall:hover .brand-track {
  animation-play-state: paused;
}

@keyframes brand-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

.category-block {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.category-title {
  margin-bottom: 18px;
}

.case-card {
  display: block;
  border-radius: 18px;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 220ms ease;
  will-change: transform;
}

.case-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.case-grid .case-card {
  width: max-content;
  max-width: 100%;
}

.media-placeholder {
  position: relative;
  display: block;
  height: 300px;
  width: max-content;
  max-width: 100%;
  min-height: 0;
  margin-bottom: 14px;
  border-radius: 18px;
  background: var(--paper);
  color: rgba(17, 19, 24, 0.72);
  overflow: hidden;
  transition: transform 320ms ease, box-shadow 320ms ease, filter 320ms ease;
}

.media-placeholder::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(17, 19, 24, 0.22);
  border-radius: 12px;
}

.case-media img,
.case-media video {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.detail-video-shell {
  position: relative;
  width: 100%;
}

.detail-video-shell video {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #101010;
}

.case-media::after {
  display: none;
}

.case-card:hover .media-placeholder {
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--shadow);
  filter: saturate(1.08);
}

.media-placeholder.warm {
  background: linear-gradient(135deg, #fff7ed, #fee2e2);
}

.media-placeholder.cool {
  background: linear-gradient(135deg, #ecfeff, #dbeafe);
}

.media-placeholder.light {
  background: linear-gradient(135deg, #f8fafc, #e5e7eb);
}

.media-placeholder.dark {
  background: linear-gradient(135deg, #111318, #334155);
  color: #fff;
}

.case-card.video .media-placeholder::before {
  display: none;
}

.case-card.video:hover .media-placeholder::before {
  display: none;
}

.case-card.video .media-placeholder::after {
  border-color: rgba(255, 255, 255, 0.28);
}

.case-card.video .media-placeholder {
  color: transparent;
}

.case-card.video .case-media video {
  opacity: 1;
}

.video-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: clamp(48px, 5.4vw, 78px);
  height: clamp(48px, 5.4vw, 78px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.18), transparent 34%),
    rgba(14, 17, 23, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.video-play-button::before {
  content: "";
  position: absolute;
  left: 53%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: clamp(10px, 1.05vw, 16px) solid transparent;
  border-bottom: clamp(10px, 1.05vw, 16px) solid transparent;
  border-left: clamp(16px, 1.55vw, 25px) solid #fff;
  transform: translate(-42%, -50%);
}

.video-play-button:hover {
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.22), transparent 34%),
    rgba(14, 17, 23, 0.9);
  transform: translate(-50%, -50%) scale(1.06);
}

.case-media.is-playing .video-play-button,
.detail-video-shell.is-playing .video-play-button {
  opacity: 0;
  pointer-events: none;
}

.case-card strong,
.case-card small {
  display: block;
}

.case-grid .case-card strong,
.case-grid .case-card small {
  display: none;
}

.case-card small {
  color: var(--muted);
}

.about-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-strip p {
  color: var(--muted);
}

.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer strong {
  color: var(--ink);
}

.page-hero {
  min-height: calc(100vh - 112px);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0;
}

.filter-tabs a {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

.filter-tabs a.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.all-cases {
  grid-template-columns: repeat(3, 1fr);
}

.cases-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-top: 36px;
}

.case-filter-sidebar {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 122px);
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 60px rgba(16, 16, 16, 0.08);
  backdrop-filter: blur(16px);
}

.case-filter-sidebar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.case-filter-search {
  display: block;
  margin-bottom: 14px;
}

.case-filter-search span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.case-filter-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.case-filter-search input:focus {
  border-color: var(--ink);
}

.case-filter-reset,
.filter-category-button,
.filter-brand-button,
.filter-type-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.case-filter-reset {
  min-height: 42px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.case-filter-list {
  display: grid;
  gap: 8px;
}

.filter-category-group {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.filter-brand-group {
  padding-top: 4px;
}

.filter-category-button,
.filter-brand-button,
.filter-type-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  border-radius: 10px;
  text-align: left;
}

.filter-category-button {
  padding: 0 10px;
  font-weight: 900;
}

.filter-brand-button {
  padding: 0 10px;
  color: var(--ink);
  font-weight: 800;
}

.filter-category-button em,
.filter-brand-button em,
.filter-type-button em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.filter-brand-list {
  display: none;
  padding: 4px 0 8px 10px;
}

.filter-category-group.open .filter-brand-list {
  display: grid;
  gap: 4px;
}

.filter-type-list {
  display: none;
  padding: 4px 0 8px 12px;
}

.filter-brand-group.open .filter-type-list {
  display: grid;
  gap: 4px;
}

.filter-type-button {
  padding: 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.filter-category-group.active .filter-category-button,
.filter-brand-group.active .filter-brand-button,
.filter-type-button.active,
.filter-category-button:hover,
.filter-brand-button:hover,
.filter-type-button:hover {
  background: var(--ink);
  color: #fff;
}

.filter-category-group.active .filter-category-button em,
.filter-brand-group.active .filter-brand-button em,
.filter-type-button.active em,
.filter-category-button:hover em,
.filter-brand-button:hover em,
.filter-type-button:hover em {
  color: rgba(255, 255, 255, 0.72);
}

.cases-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.cases-result-head strong {
  font-size: 22px;
}

.cases-result-head span {
  color: var(--muted);
}

.case-detail {
  padding-top: 46px;
}

.detail-head {
  margin-top: 34px;
}

.detail-media-main {
  display: grid;
  min-height: 520px;
  margin-top: 34px;
  place-items: center;
  align-content: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fafc, #dbeafe);
  text-align: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.detail-media-main img,
.detail-media-main > video {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #101010;
}

.detail-section {
  padding-top: 50px;
}

.video-box {
  display: grid;
  min-height: 420px;
  place-items: center;
  padding: 24px;
  border-radius: 24px;
  background: #111318;
  color: #fff;
  text-align: center;
}

.video-box span {
  font-size: 46px;
  font-weight: 900;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.preview-item {
  display: grid;
  min-height: 160px;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--muted);
  font: inherit;
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

.contact-list {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.qr-placeholder {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--muted);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition: opacity 620ms ease var(--delay, 0ms), transform 620ms ease var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

@keyframes float-stage {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
  }

  .hero,
  .about-strip,
  .contact-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-board {
    grid-template-columns: 1fr;
  }

  .board-card.large {
    grid-row: auto;
    min-height: 280px;
  }

  .service-grid,
  .case-grid,
  .all-cases,
  .info-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .cases-layout {
    grid-template-columns: 1fr;
  }

  .case-filter-sidebar {
    position: relative;
    top: auto;
    max-height: none;
  }

  .brand-wall {
    margin-left: -20px;
  }

  .section-heading.inline,
  .category-title,
  .detail-head,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 42px;
    line-height: 1.02;
  }

  .hero-title {
    font-size: 44px;
  }

  .media-placeholder {
    min-height: 0;
  }
}

/* Portfolio-style home experience */
.home-page {
  background: #f5f5f4;
  color: #1c1917;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

.home-page.is-loading {
  overflow: hidden;
}

.home-page h1,
.home-page h2 {
  font-family: "PT Serif", "Noto Serif SC", serif;
  font-weight: 400;
}

.home-page .site-header {
  background: rgba(245, 245, 244, 0.72);
  border-bottom-color: rgba(28, 25, 23, 0.08);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(120, 113, 108, 0.24), transparent 32rem),
    #1c1917;
  color: #fafaf9;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.preloader-kicker {
  color: #a8a29e;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.preloader-progress {
  font-family: "PT Serif", serif;
  font-size: clamp(72px, 11vw, 150px);
  line-height: 0.9;
}

.preloader-progress em {
  color: #a8a29e;
  font-size: 0.24em;
  font-style: normal;
}

.preloader p {
  margin: 0;
  color: #d6d3d1;
}

.preloader-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.preloader-actions button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(250, 250, 249, 0.24);
  border-radius: 999px;
  background: rgba(250, 250, 249, 0.08);
  color: #fafaf9;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.preloader-actions button:hover {
  background: #fafaf9;
  color: #1c1917;
  transform: translateY(-2px);
}

.custom-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(28, 25, 23, 0.58);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: width 180ms ease, height 180ms ease, opacity 180ms ease, border-color 180ms ease, background 180ms ease;
  mix-blend-mode: difference;
}

.custom-cursor span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.custom-cursor.is-visible {
  opacity: 1;
}

.custom-cursor.is-active {
  width: 70px;
  height: 70px;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
}

.portfolio-hero {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 75px);
  grid-template-columns: minmax(280px, 0.92fr) minmax(250px, 0.48fr) minmax(300px, 0.6fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(72px, 8vw, 120px) max(20px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at calc(50% + var(--hero-x, 0px)) calc(42% + var(--hero-y, 0px)), rgba(214, 211, 209, 0.9), transparent 31rem),
    linear-gradient(135deg, #fafaf9 0%, #f5f5f4 45%, #e7e5e4 100%);
  border-bottom: 1px solid rgba(28, 25, 23, 0.08);
}

.portfolio-hero .hero-copy {
  align-self: center;
}

.hero-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
  color: #78716c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-hero .eyebrow {
  color: #57534e;
}

.portfolio-hero .hero-title {
  max-width: 760px;
  margin-bottom: 24px;
  color: #1c1917;
  font-size: clamp(54px, 7.8vw, 118px);
  line-height: 0.9;
}

.split-title {
  position: relative;
}

.split-title::before,
.split-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  color: #44403c;
  transform: translate(var(--split-x, 0), var(--split-y, 0));
  transition: opacity 180ms ease;
}

.portfolio-hero:hover .split-title::before {
  opacity: 0.18;
  --split-x: 8px;
  --split-y: -5px;
}

.portfolio-hero:hover .split-title::after {
  opacity: 0.12;
  --split-x: -7px;
  --split-y: 6px;
}

.portfolio-hero .lead {
  max-width: 560px;
  color: #57534e;
}

.beam-button {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-color: transparent;
}

.beam-button::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -2;
  width: 160%;
  aspect-ratio: 1;
  background: conic-gradient(from 0deg, transparent 0 340deg, #fff 360deg);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.beam-button::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: calc(var(--radius) - 1px);
  background: inherit;
}

.beam-button:hover::before {
  opacity: 1;
  animation: beam-rotate 1.15s linear infinite;
}

.hero-work-index {
  position: relative;
  z-index: 2;
  display: grid;
  align-self: end;
  gap: 12px;
}

.hero-work-index a {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 22px;
  border: 1px solid rgba(28, 25, 23, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 220ms ease, color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.hero-work-index a::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.6), transparent 34%);
  transition: opacity 180ms ease;
}

.hero-work-index a:hover {
  color: #fafaf9;
  background: #1c1917;
  border-color: #1c1917;
  transform: translateX(8px);
}

.hero-work-index a:hover::before {
  opacity: 0.2;
}

.hero-work-index span,
.hero-work-index strong,
.hero-work-index em {
  position: relative;
}

.hero-work-index span {
  color: #78716c;
  font-size: 12px;
  font-weight: 900;
}

.hero-work-index strong {
  font-size: 20px;
}

.hero-work-index em {
  color: currentColor;
  font-size: 13px;
  font-style: normal;
  opacity: 0.68;
}

.hero-showcase {
  position: relative;
  z-index: 1;
  min-height: 560px;
  transform: translate3d(calc(var(--hero-x, 0px) * 0.34), calc(var(--hero-y, 0px) * 0.22), 0);
  transition: transform 220ms ease-out;
}

.hero-showcase-panel {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(214, 211, 209, 0.62)),
    #e7e5e4;
  background-size: cover;
  background-position: center;
  box-shadow: 0 34px 90px rgba(28, 25, 23, 0.16);
  will-change: transform;
}

.hero-showcase-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(28, 25, 23, 0.36));
}

.hero-showcase-panel video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .nav-links a.active,
.home-page .nav-links a:hover {
  color: #fff;
}

.panel-a {
  inset: 0 auto auto 4%;
  width: 62%;
  height: 66%;
  animation: drift-a 7s ease-in-out infinite;
}

.panel-b {
  right: 0;
  top: 18%;
  width: 54%;
  height: 50%;
  animation: drift-b 8s ease-in-out infinite;
}

.panel-c {
  left: 18%;
  bottom: 0;
  width: 70%;
  height: 42%;
  animation: drift-c 9s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 999px;
  pointer-events: none;
}

.orbit-one {
  width: 52vw;
  height: 52vw;
  right: -18vw;
  top: -26vw;
}

.orbit-two {
  width: 30vw;
  height: 30vw;
  left: -12vw;
  bottom: -12vw;
}

.layer-noise {
  inset: 0;
  opacity: 0.14;
  background-image:
    repeating-linear-gradient(0deg, rgba(28, 25, 23, 0.05), rgba(28, 25, 23, 0.05) 1px, transparent 1px, transparent 4px);
}

@keyframes beam-rotate {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes drift-a {
  50% {
    transform: translate3d(-10px, 16px, 0) rotate(-1.5deg);
  }
}

@keyframes drift-b {
  50% {
    transform: translate3d(12px, -14px, 0) rotate(1.2deg);
  }
}

@keyframes drift-c {
  50% {
    transform: translate3d(-6px, -12px, 0) rotate(0.8deg);
  }
}

@media (pointer: coarse) {
  .custom-cursor {
    display: none;
  }
}

@media (max-width: 1050px) {
  .portfolio-hero {
    grid-template-columns: 1fr;
  }

  .hero-work-index {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-showcase {
    min-height: 420px;
  }
}

@media (max-width: 700px) {
  .portfolio-hero {
    padding-top: 56px;
  }

  .portfolio-hero .hero-title {
    font-size: 48px;
  }

  .hero-work-index {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 320px;
  }
}

/* Light case-library redesign */
.light-library {
  --bg: #f7f7f4;
  --paper: #ffffff;
  --ink: #111111;
  --muted: #747474;
  --line: rgba(17, 17, 17, 0.1);
  --accent: #111111;
  --shadow: 0 24px 80px rgba(17, 17, 17, 0.08);
  background:
    radial-gradient(circle at 18% 0%, rgba(17, 17, 17, 0.055), transparent 28rem),
    linear-gradient(180deg, #fbfbf8 0%, #f4f4ef 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

.light-library .site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(251, 251, 248, 0.8);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(18px);
}

.light-library .brand-mark {
  border-radius: 12px;
  background: #111;
}

.light-library .nav-links {
  align-items: center;
  color: #555;
}

.light-library .nav-links a {
  padding: 10px 15px;
  border-radius: 999px;
}

.light-library .nav-links a.active,
.light-library .nav-links a:hover {
  background: #111;
  color: #fff;
}

.library-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding: clamp(58px, 8vw, 110px) 0 34px;
}

.library-hero h1,
.cases-page h1 {
  max-width: 980px;
  margin: 0 0 18px;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: 0;
}

.library-hero .lead {
  max-width: 760px;
}

.library-hero-actions {
  display: flex;
  gap: 12px;
  padding-bottom: 8px;
}

.library-tabs {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 34px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.library-tabs a {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #666;
  font-size: 14px;
  font-weight: 700;
}

.library-tabs a.active,
.library-tabs a:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.light-library .section {
  padding: 54px 0;
}

.light-library .section-heading.inline {
  align-items: end;
}

.light-library .section-heading h2 {
  font-size: clamp(34px, 4.2vw, 58px);
}

.light-library .eyebrow {
  color: #777;
  letter-spacing: 0.14em;
}

.light-library .button {
  border-radius: 999px;
}

.light-library .button.primary {
  background: #111;
  border-color: #111;
}

.light-library .button.ghost {
  background: rgba(255, 255, 255, 0.7);
}

.light-library .brand-wall {
  margin-top: 12px;
}

.light-library .brand-wall span {
  border-radius: 16px;
  background: #121212;
}

.light-library .category-block {
  padding: 36px 0 48px;
}

.light-library .category-title {
  margin-bottom: 16px;
}

.light-library .category-title a,
.light-library .text-link {
  color: #111;
  font-weight: 800;
}

.qr-image-crop {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.qr-image-crop img {
  position: absolute;
  width: 134.55%;
  max-width: none;
  height: auto;
  transform: translate(-12.67%, -24.93%);
}

.light-library .case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  align-items: stretch;
  background: rgba(17, 17, 17, 0.12);
  border: 1px solid rgba(17, 17, 17, 0.12);
}

.light-library .case-card {
  position: relative;
  display: block;
  min-width: 0;
  border-radius: 0;
  background: #111;
  overflow: hidden;
  transform: none;
}

.light-library .media-placeholder {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  max-width: none;
  margin: 0;
  border-radius: 0;
  background: #111;
  overflow: hidden;
}

.light-library .case-media img,
.light-library .case-media video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transition: transform 520ms ease, filter 520ms ease;
}

.light-library .case-card:hover .media-placeholder {
  transform: none;
  box-shadow: none;
}

.light-library .case-card:hover img,
.light-library .case-card:hover video {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.light-library .case-card strong,
.light-library .case-card small,
.light-library .case-grid .case-card strong,
.light-library .case-grid .case-card small {
  position: absolute;
  left: 16px;
  right: 16px;
  z-index: 4;
  display: block;
  color: #fff;
}

.light-library .case-card strong {
  bottom: 42px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
}

.light-library .case-card small {
  bottom: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.light-library .case-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
  pointer-events: none;
}

.light-library .video-play-button {
  width: clamp(42px, 4vw, 58px);
  height: clamp(42px, 4vw, 58px);
}

.light-library .video-play-button::before {
  border-top-width: clamp(8px, 0.85vw, 12px);
  border-bottom-width: clamp(8px, 0.85vw, 12px);
  border-left-width: clamp(13px, 1.2vw, 19px);
}

.cases-hero-head {
  padding-top: 34px;
}

.light-library .cases-page {
  width: min(1360px, calc(100% - 40px));
  min-height: auto;
  padding-top: 58px;
}

.light-library .cases-layout {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  margin-top: 34px;
}

.light-library .case-filter-sidebar {
  top: 92px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 22px 70px rgba(17, 17, 17, 0.08);
}

.light-library .case-filter-search input {
  background: rgba(255, 255, 255, 0.82);
}

.light-library .filter-category-button,
.light-library .filter-brand-button,
.light-library .filter-type-button {
  border-radius: 999px;
}

.light-library .filter-category-group.active .filter-category-button,
.light-library .filter-brand-group.active .filter-brand-button,
.light-library .filter-type-button.active,
.light-library .filter-category-button:hover,
.light-library .filter-brand-button:hover,
.light-library .filter-type-button:hover {
  background: #111;
}

.light-library .cases-result-head {
  margin-bottom: 0;
  padding: 0 0 18px;
  border-bottom: 0;
}

.light-library .all-cases {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.light-library .about-strip {
  border-color: rgba(17, 17, 17, 0.1);
}

.light-library .footer {
  border-color: rgba(17, 17, 17, 0.1);
}

@media (max-width: 1100px) {
  .light-library .all-cases,
  .light-library .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .library-hero {
    grid-template-columns: 1fr;
  }

  .library-hero-actions {
    padding-bottom: 0;
  }
}

@media (max-width: 760px) {
  .light-library .site-header {
    display: flex;
  }

  .light-library .cases-layout {
    grid-template-columns: 1fr;
  }

  .light-library .case-filter-sidebar {
    position: relative;
    top: auto;
    max-height: none;
  }

  .light-library .all-cases,
  .light-library .case-grid {
    grid-template-columns: 1fr;
  }
}

/* Adspace-inspired homepage rebuild */
.adspace-home {
  --acid: #b7ff24;
  --acid-soft: #e8ff9c;
  --black: #050703;
  --charcoal: #0c0f0a;
  --soft-white: #f7f7f2;
  --ad-line: rgba(255, 255, 255, 0.12);
  background: var(--soft-white);
  color: #10120d;
}

.adspace-home .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  grid-template-columns: minmax(0, 1fr) auto minmax(120px, 1fr);
  background: rgba(5, 7, 3, 0.66);
  border-bottom: 1px solid rgba(183, 255, 36, 0.12);
  color: #f8f8f2;
  backdrop-filter: blur(14px);
}

.adspace-home .brand-mark {
  width: 36px;
  height: 28px;
  border: 1px solid rgba(183, 255, 36, 0.78);
  border-radius: 3px;
  background: transparent;
  color: var(--acid);
  font-size: 12px;
}

.adspace-home .brand small {
  color: rgba(248, 248, 242, 0.56);
}

.adspace-home .nav-links {
  color: rgba(248, 248, 242, 0.68);
}

.adspace-home .nav-links a {
  padding: 8px 12px;
}

.adspace-home .nav-links a.active,
.adspace-home .nav-links a:hover {
  background: var(--acid);
  color: #050703;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  background: #f8f8f2;
  color: #050703;
  font-size: 13px;
  font-weight: 900;
}

.ad-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 6vw, 92px);
  min-height: calc(100vh - 72px);
  padding: clamp(66px, 8vw, 112px) max(22px, calc((100vw - 1180px) / 2)) 72px;
  background:
    radial-gradient(circle at calc(72% + var(--hero-x, 0px)) calc(42% + var(--hero-y, 0px)), rgba(183, 255, 36, 0.34), transparent 28rem),
    radial-gradient(circle at 12% 50%, rgba(183, 255, 36, 0.13), transparent 22rem),
    #050703;
  color: #f8f8f2;
  overflow: hidden;
}

.ad-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 65% 42%, #000, transparent 70%);
  pointer-events: none;
}

.ad-glow-one {
  width: 42vw;
  height: 42vw;
  right: 4vw;
  top: 5vw;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(183, 255, 36, 0.22), transparent 64%);
  filter: blur(20px);
}

.ad-glow-two {
  width: 28vw;
  height: 28vw;
  left: -12vw;
  bottom: -10vw;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(183, 255, 36, 0.16), transparent 68%);
  filter: blur(16px);
}

.ad-hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.pill-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 20px;
  padding: 0 12px;
  border: 1px solid rgba(183, 255, 36, 0.52);
  border-radius: 999px;
  color: var(--acid);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-label.light {
  border-color: rgba(16, 18, 13, 0.14);
  color: #10120d;
}

.ad-hero h1 {
  max-width: 660px;
  margin: 0 0 24px;
  color: #f8f8f2;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9;
}

.ad-hero h1 span,
.case-story h2 em {
  display: block;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-style: italic;
  font-weight: 400;
}

.ad-hero .lead {
  max-width: 520px;
  color: rgba(248, 248, 242, 0.68);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.adspace-home .button {
  min-height: 42px;
  border-radius: 999px;
  font-size: 13px;
}

.adspace-home .button.primary {
  background: var(--acid);
  border-color: var(--acid);
  color: #050703;
}

.adspace-home .button.ghost {
  background: transparent;
  border-color: currentColor;
}

.hero-mosaic {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
  width: min(600px, 100%);
  align-self: center;
  transform: translate3d(calc(var(--hero-x, 0px) * 0.18), calc(var(--hero-y, 0px) * 0.14), 0);
}

.adspace-home .ad-hero {
  display: grid;
  min-height: auto;
  height: max(720px, calc(100vw * 1483 / 2560));
  grid-template-columns: 1fr;
  place-items: center;
  padding: clamp(76px, 8vw, 118px) 22px clamp(76px, 8vw, 118px);
  isolation: isolate;
}

.adspace-home .ad-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 48%, rgba(5, 7, 3, 0.24), rgba(5, 7, 3, 0.32) 34%, rgba(5, 7, 3, 0.08) 58%, rgba(5, 7, 3, 0.36) 100%),
    linear-gradient(180deg, rgba(5, 7, 3, 0.1), rgba(5, 7, 3, 0.28));
  pointer-events: none;
}

.adspace-home .ad-hero-copy {
  z-index: 4;
  display: grid;
  justify-items: center;
  max-width: min(860px, calc(100vw - 44px));
  padding: 34px 28px;
  text-align: center;
}

.hero-brand-lockup {
  display: block;
  margin: 0 0 24px;
  color: #fff;
  text-align: left;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.32));
}

.hero-brand-lockup img {
  display: block;
  width: clamp(104px, 9vw, 144px);
  height: auto;
}

.hero-brand-lockup strong,
.hero-brand-lockup small {
  display: block;
}

.hero-brand-lockup strong {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.hero-brand-lockup small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1;
}

.adspace-home .ad-hero h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(46px, 6.6vw, 94px);
  line-height: 1;
  letter-spacing: 0.015em;
}

.adspace-home .ad-hero .lead {
  max-width: 820px;
  line-height: 1.75;
}

.adspace-home .ad-hero .hero-lead {
  max-width: 980px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 1.65vw, 25px);
  font-weight: 500;
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.hero-lead span {
  display: block;
}

.adspace-home .hero-actions {
  justify-content: center;
}

.phone-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 132vw;
  height: 138vh;
  z-index: 0;
  perspective: none;
  transform:
    translate(-50%, -50%)
    translate3d(calc(var(--hero-x, 0px) * 0.08), calc(var(--hero-y, 0px) * 0.06), 0)
    rotate(-27deg)
    scale(1.08);
  transform-origin: center;
  transition: transform 260ms ease-out;
}

.phone-frame {
  position: absolute;
  width: clamp(270px, 20vw, 390px);
  aspect-ratio: 9 / 19.2;
  padding: clamp(9px, 0.72vw, 13px);
  border: 1px solid #8f928b;
  border-radius: clamp(34px, 2.8vw, 52px);
  background:
    linear-gradient(90deg, #4c504b 0%, #f7f8f3 8%, #9b9e97 16%, #f5f6f1 48%, #777b74 86%, #242720 100%),
    #c8cbc4;
  box-shadow:
    0 34px 84px rgba(0, 0, 0, 0.72),
    0 8px 0 rgba(0, 0, 0, 0.34),
    inset 0 0 0 2px rgba(255, 255, 255, 0.28);
  transform-style: preserve-3d;
  overflow: hidden;
}

.phone-frame::before {
  content: "";
  position: absolute;
  left: 50%;
  top: clamp(9px, 1vw, 15px);
  z-index: 3;
  width: 36%;
  height: clamp(18px, 1.7vw, 30px);
  border-radius: 999px;
  background: #020302;
  transform: translateX(-50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-frame::after {
  content: "";
  position: absolute;
  inset: clamp(9px, 0.8vw, 13px);
  z-index: 2;
  border-radius: clamp(24px, 2.4vw, 38px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.phone-frame .phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 100%, rgba(183, 255, 36, 0.24), transparent 42%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: clamp(24px, 2.4vw, 38px);
  background: #050703;
  overflow: hidden;
}

.phone-screen img,
.phone-screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) brightness(0.9) contrast(1.06);
}

.phone-a {
  left: -4%;
  top: 20%;
  transform: rotate(0deg) scale(1.08);
}

.phone-b {
  left: 15%;
  top: -10%;
  transform: rotate(0deg) scale(1.02);
}

.phone-c {
  left: 36%;
  top: 18%;
  transform: rotate(0deg) scale(1.2);
}

.phone-d {
  left: 55%;
  top: -8%;
  transform: rotate(0deg) scale(1.04);
}

.phone-e {
  right: 2%;
  top: 16%;
  transform: rotate(0deg) scale(1.1);
}

.phone-f {
  left: 18%;
  bottom: -16%;
  transform: rotate(0deg) scale(1.06);
}

.phone-g {
  left: -5%;
  bottom: -10%;
  transform: rotate(0deg) scale(1.04);
}

.phone-h {
  right: 23%;
  bottom: -17%;
  transform: rotate(0deg) scale(0.94);
}

.phone-i {
  right: -4%;
  bottom: -5%;
  transform: rotate(0deg) scale(1.02);
}

.phone-reference-stage {
  left: 50%;
  top: 50%;
  width: 100vw;
  height: calc(100vw * 1483 / 2560);
  aspect-ratio: 2560 / 1483;
  perspective: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 3, 0.1), rgba(5, 7, 3, 0.24)),
    url("assets/reference/hero-phone-bg.png") center / 100% 100% no-repeat,
    #050703;
  transform:
    translate(-50%, -50%)
    translate3d(calc(var(--hero-x, 0px) * 0.04), calc(var(--hero-y, 0px) * 0.03), 0);
}

.phone-reference-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(5, 7, 3, 0.18), rgba(5, 7, 3, 0.02) 44%, rgba(5, 7, 3, 0.25) 100%);
}

.phone-cut {
  position: absolute;
  display: block;
  height: auto;
  user-select: none;
  pointer-events: none;
  filter: saturate(1.04) contrast(1.04);
}

.phone-left-main {
  left: 0;
  top: 8.34%;
  width: 32.91%;
}

.phone-top-left {
  left: 18.2%;
  top: 0;
  width: 26.91%;
}

.phone-center {
  left: 29.42%;
  top: 19.36%;
  width: 36.78%;
  z-index: 2;
}

.phone-top-right {
  left: 48.97%;
  top: 0;
  width: 31.17%;
}

.phone-right-lime {
  left: 66.98%;
  top: 26.03%;
  width: 33.02%;
}

.phone-bottom-left {
  left: 0;
  top: 61.42%;
  width: 21.68%;
}

.phone-bottom-mid {
  left: 19.16%;
  top: 60.75%;
  width: 26.71%;
}

.phone-bottom-right {
  left: 60.78%;
  top: 74.77%;
  width: 26.33%;
}

.phone-far-right-top {
  left: 84.2%;
  top: 0;
  width: 15.8%;
}

.mosaic-tile,
.metric-card,
.proof-visual > div,
.statement-image,
.quote-media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #151812;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.mosaic-tile {
  aspect-ratio: 1;
  min-height: 0;
  background-size: cover;
  background-position: center;
}

.hero-mosaic > * {
  aspect-ratio: 1;
  min-height: 0;
}

.mosaic-tile::after,
.proof-visual > div::after,
.statement-image::after,
.quote-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.36));
  pointer-events: none;
}

.mosaic-tile video,
.proof-visual video,
.statement-image video,
.quote-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metric-card {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: clamp(16px, 2vw, 24px);
  background: #f8f8f2;
  color: #050703;
}

.metric-card span {
  color: #68705d;
  font-size: 12px;
  font-weight: 800;
}

.metric-card strong {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
}

.metric-card strong::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 8px;
  border-radius: 999px;
  background: var(--acid);
}

.metric-a { grid-column: 1 / 3; grid-row: 2 / 4; }
.metric-b { grid-column: 5 / 7; grid-row: 1 / 3; }
.metric-c { grid-column: 4 / 6; grid-row: 5 / 7; }
.mosaic-tile.tall { grid-column: 3 / 5; grid-row: 1 / 4; }
.mosaic-tile.square { grid-column: 5 / 7; grid-row: 3 / 5; }
.mosaic-tile.wide { grid-column: 1 / 4; grid-row: 4 / 7; }
.mosaic-tile.small { grid-column: 6 / 7; grid-row: 5 / 7; }

.adspace-home .metric-a,
.adspace-home .metric-b,
.adspace-home .metric-c,
.adspace-home .mosaic-tile.tall,
.adspace-home .mosaic-tile.square,
.adspace-home .mosaic-tile.wide,
.adspace-home .mosaic-tile.small {
  grid-column: auto;
  grid-row: auto;
}

.mosaic-tile.neon {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(183, 255, 36, 0.38), transparent 46%),
    #11150d;
}

.orbital-mark,
.orbital-badge {
  display: grid;
  place-items: center;
  width: 86px;
  aspect-ratio: 1;
  border: 1px solid rgba(183, 255, 36, 0.58);
  border-radius: 999px;
  color: var(--acid);
  font-weight: 900;
}

.logo-ribbon {
  background: #10120d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
}

.adspace-home .brand-wall {
  width: 100%;
  margin: 0;
  mask-image: none;
}

.adspace-home .brand-track {
  animation-duration: 28s;
}

.adspace-home .brand-wall span {
  min-height: 54px;
  flex-basis: 180px;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
  opacity: 1;
}

.ad-proof {
  display: grid;
  grid-template-columns: 1fr 1fr 1.08fr;
  gap: 20px;
}

.proof-card {
  min-height: 260px;
  padding: 28px;
  border-radius: 10px;
}

.proof-card.dark {
  background: #10120d;
  color: #f8f8f2;
}

.proof-card p {
  color: var(--acid);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-card h2 {
  max-width: 320px;
  margin-bottom: 34px;
  font-size: clamp(24px, 2.8vw, 38px);
}

.proof-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.proof-card li {
  display: grid;
  gap: 4px;
}

.proof-card li strong {
  color: var(--acid);
  font-size: 24px;
}

.proof-card li span {
  color: rgba(248, 248, 242, 0.62);
  font-size: 13px;
}

.proof-visual {
  position: relative;
  min-height: 300px;
  padding: 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--acid), var(--acid-soft));
}

.proof-visual > div {
  height: 100%;
  min-height: 264px;
  background-size: cover;
  background-position: center;
}

.proof-visual .button {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 32px;
}

.ad-statement {
  display: grid;
  justify-items: center;
  gap: 26px;
  text-align: center;
}

.statement-image {
  z-index: 1;
  width: min(980px, 100%);
  aspect-ratio: 16 / 8.2;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 28px -20px rgba(5, 7, 3, 0.34);
}

.statement-video-shell {
  cursor: zoom-in;
}

.statement-video-shell .statement-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.statement-video-shell .statement-video:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: -6px;
}

.statement-video-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font: 300 34px/1 Arial, sans-serif;
  cursor: pointer;
}

body.statement-video-open {
  overflow: hidden;
}

.statement-video-shell.is-video-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  border-radius: 0;
  background: #000;
  cursor: default;
}

.statement-video-shell.is-video-fullscreen::after {
  display: none;
}

.statement-video-shell.is-video-fullscreen .statement-video {
  object-fit: contain;
}

.statement-video-shell.is-video-fullscreen .statement-video-close {
  display: block;
}

.ad-statement .statement-title {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1380px;
  margin: 4px auto 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: clamp(25px, 2.9vw, 42px);
  font-style: normal;
  font-weight: 900;
  font-stretch: condensed;
  line-height: 1.34;
  letter-spacing: 0.005em;
  text-align: center;
}

.statement-title-line {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

@media (min-width: 761px) {
  .statement-title-line {
    white-space: nowrap;
  }
}

.statement-title-line + .statement-title-line {
  margin-top: 0.08em;
}

.statement-title-line-primary::before {
  display: none;
}

.statement-title-accent {
  color: inherit;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .ad-statement .statement-title {
    font-size: clamp(27px, 8vw, 40px);
    line-height: 1.38;
    letter-spacing: 0.01em;
  }

  .statement-title-line-primary::before {
    display: none;
  }
}

.ad-services {
  background: #050703;
  color: #f8f8f2;
}

.center-heading {
  margin-bottom: 34px;
  text-align: center;
}

.ad-services .eyebrow,
.selected-library .eyebrow,
.ad-cta .eyebrow {
  color: #7c8371;
}

.ad-services .service-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ad-services .service-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #080b06;
  color: #f8f8f2;
  box-shadow: none;
}

.ad-services .service-card.featured {
  background: #151c0e;
  border-color: rgba(183, 255, 36, 0.48);
}

.ad-services .service-card span {
  display: inline-grid;
  width: 28px;
  aspect-ratio: 1;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--acid);
  color: #050703;
  font-size: 12px;
  font-weight: 900;
}

.ad-services .service-card p {
  color: rgba(248, 248, 242, 0.58);
  font-size: 14px;
}

.ad-services .service-grid {
  display: none;
}

.service-orbit {
  position: relative;
  width: min(740px, 100%);
  aspect-ratio: 1;
  margin: 26px auto 0;
  border-radius: 999px;
  background:
    radial-gradient(circle, transparent 0 18%, rgba(183, 255, 36, 0.06) 18.2% 18.6%, transparent 18.8% 34%, rgba(183, 255, 36, 0.08) 34.2% 34.6%, transparent 34.8% 50%, rgba(183, 255, 36, 0.1) 50.2% 50.6%, transparent 50.8%),
    radial-gradient(circle at 50% 50%, #050703 0 56%, rgba(183, 255, 36, 0.28) 57%, rgba(183, 255, 36, 0.1) 64%, transparent 72%);
  box-shadow: 0 0 110px rgba(183, 255, 36, 0.22);
}

.service-orbit::before,
.service-orbit::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 999px;
  border: 1px dashed rgba(183, 255, 36, 0.18);
}

.service-orbit::after {
  inset: 31%;
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 205px;
  aspect-ratio: 1;
  place-items: center;
  align-content: center;
  gap: 10px;
  border-radius: 999px;
  background: #050703;
  color: var(--acid);
  text-align: center;
  transform: translate(-50%, -50%);
}

.orbit-core span {
  display: grid;
  width: 58px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(183, 255, 36, 0.6);
  border-radius: 999px;
  font-weight: 900;
}

.orbit-core strong {
  max-width: 140px;
  color: var(--acid);
  font-size: 20px;
  line-height: 1.08;
}

.orbit-node {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 148px;
  color: var(--acid);
  transform: translate(-50%, -50%);
}

.orbit-node::before {
  content: "";
  width: 34px;
  aspect-ratio: 1;
  margin-bottom: 8px;
  border: 3px solid var(--acid);
  border-radius: 999px;
  background: #050703;
  box-shadow: 0 0 0 rgba(183, 255, 36, 0);
  transition: box-shadow 220ms ease, background 220ms ease, transform 220ms ease;
}

.orbit-node:hover::before {
  background: var(--acid);
  box-shadow: 0 0 24px rgba(183, 255, 36, 0.95), 0 0 70px rgba(183, 255, 36, 0.48);
  transform: scale(1.08);
}

.orbit-node span {
  color: rgba(183, 255, 36, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.orbit-node h3 {
  margin: 0;
  color: var(--acid);
  font-size: 20px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.orbit-node p {
  margin: 0;
  color: rgba(248, 248, 242, 0.72);
  font-size: 13px;
}

.node-one { left: 50%; top: 12%; text-align: center; justify-items: center; }
.node-two { left: 82%; top: 37%; }
.node-three { left: 70%; top: 78%; }
.node-four { left: 29%; top: 78%; text-align: right; justify-items: end; }
.node-five { left: 18%; top: 37%; text-align: right; justify-items: end; }

.case-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 7vw, 92px);
  align-items: center;
}

.story-copy h2 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(32px, 4.7vw, 58px);
  line-height: 1;
}

.story-copy p:not(.pill-label) {
  max-width: 520px;
  color: #676b60;
}

.story-art {
  min-height: 390px;
  padding: 28px;
  border-radius: 12px;
  overflow: hidden;
}

.story-art.lime {
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.7), transparent 20rem),
    linear-gradient(135deg, var(--acid), var(--acid-soft));
}

.story-art > div {
  position: relative;
  height: 100%;
  min-height: 330px;
}

.story-art .case-card {
  position: absolute;
  width: 46%;
  aspect-ratio: 9 / 13;
  border-radius: 12px;
  box-shadow: 0 22px 52px rgba(5, 7, 3, 0.18);
  overflow: hidden;
}

.story-art .case-card:nth-child(1) { left: 7%; top: 12%; transform: rotate(-4deg); }
.story-art .case-card:nth-child(2) { right: 8%; top: 25%; transform: rotate(5deg); }
.story-art .case-card:nth-child(3) { left: 28%; bottom: 5%; transform: rotate(-1deg); }

.story-art.video-stack .case-card {
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  z-index: 1;
  cursor: pointer;
  opacity: 0.82;
  transform: translate(-50%, -50%) scale(0.88);
  will-change: left, top, transform;
  transition:
    left 520ms cubic-bezier(0.22, 1, 0.36, 1),
    top 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 360ms ease,
    box-shadow 360ms ease,
    filter 360ms ease;
}

.story-art.video-stack .case-card.is-stack-left {
  left: 28%;
  top: 52%;
  z-index: 1;
  transform: translate(-50%, -50%) rotate(-6deg) scale(0.88);
}

.story-art.video-stack .case-card.is-stack-right {
  left: 72%;
  top: 52%;
  z-index: 2;
  transform: translate(-50%, -50%) rotate(6deg) scale(0.88);
}

.story-art.video-stack .case-card.is-stack-active {
  left: 50%;
  top: 48%;
  z-index: 10;
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1.05);
  box-shadow: 0 34px 72px rgba(5, 7, 3, 0.3);
  filter: saturate(1.08);
}

.story-art.video-stack .case-card:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .story-art.video-stack .case-card {
    transition: none;
  }
}

.story-art .media-placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
}

.story-art .case-media img,
.story-art .case-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.story-art .case-card strong,
.story-art .case-card small {
  display: none !important;
}

.ad-quote {
  background:
    radial-gradient(circle at 78% 48%, rgba(183, 255, 36, 0.28), transparent 24rem),
    #050703;
  color: #f8f8f2;
}

.quote-layout {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
}

.quote-media {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  transform: rotate(-3deg);
}

.quote-layout blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(28px, 4vw, 52px);
  font-style: italic;
  line-height: 1.08;
}

.quote-layout cite {
  display: block;
  margin-top: 28px;
  color: rgba(248, 248, 242, 0.58);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-style: normal;
}

.selected-library h2 {
  font-size: clamp(34px, 5vw, 64px);
}

.adspace-home .ad-selected-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border: 0;
  background: transparent;
}

.adspace-home .ad-selected-grid .case-card,
.adspace-home .story-art .case-card {
  border-radius: 10px;
}

.adspace-home .ad-selected-grid .media-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
}

.ad-cta {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(62px, 8vw, 112px) 20px;
  background: var(--acid);
  color: #050703;
  text-align: center;
}

.ad-cta .orbital-badge {
  width: clamp(160px, 17vw, 240px);
  aspect-ratio: auto;
  margin-top: 0;
  margin-bottom: 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ad-cta .orbital-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ad-cta h2 {
  max-width: 620px;
  margin: 0 0 8px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
}

.ad-cta .button.ghost {
  color: #050703;
}

.ad-footer {
  width: 100%;
  max-width: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin: 0;
  padding: 54px max(22px, calc((100vw - 1180px) / 2));
  border: 0;
  background:
    radial-gradient(circle at 50% 120%, rgba(183, 255, 36, 0.26), transparent 26rem),
    #050703;
  color: rgba(248, 248, 242, 0.62);
}

.ad-footer strong {
  color: #f8f8f2;
}

.ad-footer nav {
  display: flex;
  gap: 18px;
  color: #f8f8f2;
  font-weight: 800;
}

@media (max-width: 980px) {
  .adspace-home .site-header {
    display: flex;
  }

  .header-cta {
    align-self: stretch;
  }

  .ad-hero,
  .ad-proof,
  .case-story,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .hero-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
  }

  .ad-services .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .phone-stage {
    inset: -8vh -46vw -12vh;
    opacity: 0.74;
  }

  .phone-reference-stage {
    inset: auto;
    left: 50%;
    top: 50%;
    width: 100vw;
    height: max(720px, calc(100vw * 1483 / 2560));
    opacity: 0.82;
  }

  .phone-frame {
    width: clamp(170px, 32vw, 250px);
  }
}

@media (max-width: 640px) {
  .ad-hero {
    padding-top: 44px;
  }

  .adspace-home .ad-hero {
    height: max(720px, calc(100vw * 1483 / 2560));
    padding-top: 92px;
  }

  .adspace-home .ad-hero h1 {
    font-size: clamp(34px, 10.5vw, 58px);
    white-space: normal;
  }

  .hero-brand-lockup {
    margin-bottom: 18px;
  }

  .hero-brand-lockup img {
    width: clamp(104px, 32vw, 140px);
  }

  .hero-brand-lockup strong {
    font-size: 22px;
  }

  .adspace-home .ad-hero .hero-lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .phone-stage {
    inset: -4vh -92vw -12vh;
    opacity: 0.58;
  }

  .phone-reference-stage {
    inset: auto;
    left: 50%;
    top: 50%;
    width: 100vw;
    height: max(720px, calc(100vw * 1483 / 2560));
    opacity: 0.62;
  }

  .hero-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
  }

  .metric-a,
  .metric-b,
  .metric-c,
  .mosaic-tile.tall,
  .mosaic-tile.square,
  .mosaic-tile.wide,
  .mosaic-tile.small {
    grid-column: auto;
    grid-row: auto;
  }

  .ad-services .service-grid,
  .adspace-home .ad-selected-grid {
    grid-template-columns: 1fr;
  }

  .service-orbit {
    width: min(560px, 100%);
    min-height: 560px;
  }

  .orbit-core {
    width: 170px;
  }

  .orbit-node {
    min-width: 112px;
  }

  .orbit-node h3 {
    font-size: 16px;
  }

  .case-story {
    gap: 30px;
    padding-block: 54px;
  }

  .story-art {
    min-height: 248px;
    padding: 18px;
    overflow: hidden;
  }

  .story-art > div {
    min-height: 212px;
  }

  .story-art .case-card {
    width: min(76%, 260px);
    aspect-ratio: 16 / 10;
  }

  .story-art.video-stack .case-card.is-stack-left {
    left: 20%;
    top: 51%;
    transform: translate(-50%, -50%) rotate(-4deg) scale(0.78);
  }

  .story-art.video-stack .case-card.is-stack-right {
    left: 80%;
    top: 51%;
    transform: translate(-50%, -50%) rotate(4deg) scale(0.78);
  }

  .story-art.video-stack .case-card.is-stack-active {
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 22px 46px rgba(5, 7, 3, 0.26);
  }

  .ad-footer {
    flex-direction: column;
  }
}

/* Unified subpage style */
.adspace-subpage {
  --acid: #b7ff24;
  --acid-soft: #e8ff9c;
  --black: #050703;
  --soft-white: #f7f7f2;
  --sub-line: rgba(5, 7, 3, 0.11);
  background:
    radial-gradient(circle at 78% 0%, rgba(183, 255, 36, 0.25), transparent 26rem),
    linear-gradient(180deg, #050703 0 330px, #f7f7f2 330px 100%);
  color: #10120d;
  overflow-x: hidden;
}

.adspace-subpage .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(120px, 1fr);
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(5, 7, 3, 0.84);
  border-bottom: 1px solid rgba(183, 255, 36, 0.12);
  color: #f8f8f2;
  backdrop-filter: blur(18px);
}

.adspace-subpage .brand-mark {
  width: 36px;
  height: 28px;
  border: 1px solid rgba(183, 255, 36, 0.78);
  border-radius: 3px;
  background: transparent;
  color: var(--acid);
  font-size: 12px;
}

.adspace-subpage .brand small {
  color: rgba(248, 248, 242, 0.56);
}

.adspace-subpage .nav-links {
  align-items: center;
  color: rgba(248, 248, 242, 0.7);
}

.adspace-subpage .nav-links a.active,
.adspace-subpage .nav-links a:hover {
  background: var(--acid);
  color: #050703;
}

.adspace-subpage .header-cta {
  justify-self: end;
}

.adspace-subpage .page-hero,
.adspace-subpage .case-detail {
  position: relative;
  width: min(1280px, calc(100% - 40px));
  min-height: auto;
  padding-top: clamp(58px, 8vw, 104px);
  padding-bottom: clamp(72px, 9vw, 120px);
}

.adspace-subpage .page-hero::before,
.adspace-subpage .case-detail::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  z-index: -1;
  width: 100vw;
  height: 330px;
  background:
    radial-gradient(circle at 70% 20%, rgba(183, 255, 36, 0.26), transparent 28rem),
    #050703;
  transform: translateX(-50%);
}

.adspace-subpage .eyebrow {
  color: var(--acid);
}

.adspace-subpage .page-hero > .eyebrow,
.adspace-subpage .cases-hero-head .eyebrow,
.adspace-subpage .case-detail > .text-link + .detail-head .eyebrow {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(183, 255, 36, 0.52);
  border-radius: 999px;
  color: var(--acid);
  font-size: 12px;
}

.adspace-subpage h1 {
  max-width: 920px;
  margin-top: 18px;
  color: #f8f8f2;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.92;
}

.adspace-subpage .page-hero > .lead,
.adspace-subpage .cases-hero-head .lead,
.adspace-subpage .detail-head .lead {
  color: rgba(248, 248, 242, 0.68);
}

.adspace-subpage .cases-page {
  width: min(1280px, calc(100% - 40px));
  padding-top: clamp(58px, 8vw, 104px);
}

.adspace-subpage .cases-hero-head {
  padding-top: 0;
}

.adspace-subpage .button {
  border-radius: 999px;
}

.adspace-subpage .button.primary,
.adspace-subpage .case-filter-reset {
  background: var(--acid);
  border-color: var(--acid);
  color: #050703;
}

.adspace-subpage .button.ghost {
  border-color: rgba(248, 248, 242, 0.5);
  background: transparent;
  color: #f8f8f2;
}

.adspace-subpage .filter-tabs {
  margin: 42px 0 30px;
}

.adspace-subpage .filter-tabs a {
  border-color: rgba(5, 7, 3, 0.12);
  background: #fff;
  color: #10120d;
  font-weight: 900;
}

.adspace-subpage .filter-tabs a.active,
.adspace-subpage .filter-tabs a:hover {
  background: var(--acid);
  border-color: var(--acid);
  color: #050703;
}

.adspace-subpage .cases-layout {
  margin-top: 48px;
}

.adspace-subpage .case-filter-sidebar {
  top: 92px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #080b06;
  box-shadow: 0 24px 80px rgba(5, 7, 3, 0.18);
}

.adspace-subpage .case-filter-search span,
.adspace-subpage .filter-category-button em,
.adspace-subpage .filter-brand-button em,
.adspace-subpage .filter-type-button em {
  color: rgba(248, 248, 242, 0.58);
}

.adspace-subpage .case-filter-search input {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #f8f8f2;
}

.adspace-subpage .case-filter-search input::placeholder {
  color: rgba(248, 248, 242, 0.42);
}

.adspace-subpage .filter-category-group {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.adspace-subpage .filter-category-button,
.adspace-subpage .filter-brand-button,
.adspace-subpage .filter-type-button {
  color: #f8f8f2;
}

.adspace-subpage .filter-type-button {
  color: rgba(248, 248, 242, 0.7);
}

.adspace-subpage .filter-category-group.active .filter-category-button,
.adspace-subpage .filter-brand-group.active .filter-brand-button,
.adspace-subpage .filter-type-button.active,
.adspace-subpage .filter-category-button:hover,
.adspace-subpage .filter-brand-button:hover,
.adspace-subpage .filter-type-button:hover {
  background: var(--acid);
  color: #050703;
}

.adspace-subpage .cases-result-head {
  align-items: flex-end;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(5, 7, 3, 0.1);
}

.adspace-subpage .cases-result-head strong {
  font-size: clamp(24px, 3vw, 36px);
}

.adspace-subpage .all-cases {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  border: 0;
  background: transparent;
}

.case-load-more {
  display: block;
  min-height: 46px;
  margin: 28px auto 0;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--acid);
  color: #050703;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.case-load-more:hover {
  transform: translateY(-2px);
}

.adspace-subpage .case-card {
  border-radius: 12px;
  background: #080b06;
  box-shadow: 0 22px 58px rgba(5, 7, 3, 0.12);
}

.adspace-subpage .media-placeholder {
  border-radius: 12px;
  background: #080b06;
}

.adspace-subpage .case-card::after {
  border-radius: 0 0 12px 12px;
}

.adspace-subpage .case-card strong {
  font-size: 16px;
}

body.case-modal-open {
  overflow: hidden;
}

.case-media-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(2, 4, 2, 0.88);
  backdrop-filter: blur(14px);
}

.case-media-modal-stage {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
  transition: width 180ms ease, height 180ms ease;
}

.case-media-modal video,
.case-media-modal img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  background: #000;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
}

.case-card img,
.case-card video {
  -webkit-user-drag: none;
  user-select: none;
}

@media (max-width: 700px) {
  .case-media-modal {
    padding: 60px 16px 24px;
  }

}

.case-media-modal-close {
  position: fixed;
  top: clamp(16px, 2.5vw, 32px);
  right: clamp(16px, 2.5vw, 32px);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font: 300 34px/1 Arial, sans-serif;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.case-media-modal-close:hover {
  background: var(--acid);
  color: #050703;
  transform: rotate(6deg) scale(1.06);
}

.adspace-subpage .info-grid {
  margin-top: 56px;
}

.adspace-subpage .info-grid article,
.adspace-subpage .qr-card {
  border: 1px solid rgba(5, 7, 3, 0.1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(5, 7, 3, 0.08);
}

.adspace-subpage .info-grid article h2 {
  color: #10120d;
  font-size: clamp(26px, 3vw, 40px);
}

.about-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.about-info-grid article {
  position: relative;
  padding: clamp(26px, 4vw, 46px);
}

.about-company-card {
  width: 100%;
}

.about-projects-card {
  grid-column: 1 / -1;
}

.about-company-copy {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.about-card-index {
  display: inline-flex;
  margin-bottom: 24px;
  color: #78aa00;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.about-info-grid article p {
  margin: 18px 0 0;
  color: #565b50;
  font-size: 18px;
  line-height: 1.85;
}

.about-info-grid .about-company-copy p {
  max-width: 100%;
  margin: 0;
}

.about-business-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.about-business-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid rgba(5, 7, 3, 0.1);
}

.about-business-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #a7ff18;
  color: #10120d;
  font-size: 18px;
  font-weight: 900;
}

.about-business-list strong {
  color: #10120d;
  font-size: 20px;
  line-height: 1.5;
}

.about-info-grid .about-business-list p {
  margin: 7px 0 0;
  font-size: 17px;
  line-height: 1.75;
}

.about-project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.about-project-list li {
  display: grid;
  gap: 8px;
  min-height: 112px;
  align-content: center;
  padding: 24px 4px;
  border-top: 1px solid rgba(5, 7, 3, 0.1);
}

.about-project-list strong {
  color: #10120d;
  font-size: 19px;
  line-height: 1.5;
}

.about-project-list span {
  color: #73786d;
  font-size: 17px;
  line-height: 1.65;
}

.adspace-home .ad-hero h1 {
  max-width: none;
  white-space: normal;
  font-size: clamp(40px, 6.6vw, 94px);
}

@media (max-width: 760px) {
  .about-info-grid,
  .about-project-list {
    grid-template-columns: 1fr;
  }

  .about-projects-card {
    grid-column: auto;
  }

  .about-info-grid article p {
    font-size: 16px;
  }

  .about-business-list strong {
    font-size: 18px;
  }

  .about-info-grid .about-business-list p {
    font-size: 16px;
  }

  .about-project-list {
    margin-top: 18px;
  }

  .about-project-list li {
    min-height: auto;
    padding: 18px 0;
  }

  .about-project-list strong {
    font-size: 17px;
  }

  .about-project-list span {
    font-size: 15px;
  }
}

.adspace-subpage .contact-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(28px, 7vw, 88px);
  align-items: start;
  margin-top: 56px;
}

.adspace-subpage .contact-list {
  max-width: 620px;
  margin-top: 0;
  padding: 24px;
  border: 1px solid rgba(5, 7, 3, 0.1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(5, 7, 3, 0.08);
}

.adspace-subpage .contact-list p {
  margin-bottom: 12px;
  color: #565b50;
}

.adspace-subpage .contact-list p:last-child {
  margin-bottom: 0;
}

.adspace-subpage .qr-card {
  margin-top: 0;
}

.adspace-subpage .qr-placeholder {
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 50%, rgba(183, 255, 36, 0.34), transparent 44%),
    #080b06;
  color: var(--acid);
}

.adspace-subpage .case-detail > .text-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(183, 255, 36, 0.45);
  border-radius: 999px;
  color: var(--acid);
  font-weight: 900;
}

.adspace-subpage .detail-head {
  margin-top: 26px;
}

.adspace-subpage .detail-media-main {
  border-radius: 16px;
  background:
    radial-gradient(circle at 80% 20%, rgba(183, 255, 36, 0.18), transparent 24rem),
    #080b06;
  box-shadow: 0 30px 90px rgba(5, 7, 3, 0.18);
}

.adspace-subpage .detail-section {
  margin-top: 54px;
  padding: 36px;
  border-radius: 16px;
  background: #fff;
}

.adspace-subpage .detail-section h2 {
  color: #10120d;
  font-size: clamp(30px, 4vw, 52px);
}

.adspace-subpage .preview-item {
  min-height: 130px;
  border-color: rgba(5, 7, 3, 0.1);
  border-radius: 10px;
  background: #f0f2ea;
  color: #10120d;
  font-weight: 900;
}

.adspace-subpage .preview-item:hover {
  background: var(--acid);
}

.adspace-subpage .footer,
.adspace-subpage .ad-footer {
  width: 100%;
  max-width: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin: 0;
  padding: 46px max(22px, calc((100vw - 1180px) / 2));
  border: 0;
  background:
    radial-gradient(circle at 50% 120%, rgba(183, 255, 36, 0.24), transparent 24rem),
    #050703;
  color: rgba(248, 248, 242, 0.62);
}

.adspace-subpage .footer strong {
  color: #f8f8f2;
}

.adspace-subpage .footer a {
  color: #f8f8f2;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .adspace-subpage .all-cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adspace-subpage .contact-content-layout {
    grid-template-columns: 1fr;
  }

  .adspace-subpage .qr-card {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .adspace-subpage .site-header {
    display: flex;
  }

  .adspace-subpage .header-cta {
    align-self: stretch;
  }

  .adspace-subpage .cases-layout {
    grid-template-columns: 1fr;
  }

  .adspace-subpage .case-filter-sidebar {
    position: relative;
    top: auto;
    max-height: none;
  }

  .adspace-subpage .all-cases,
  .adspace-subpage .info-grid,
  .adspace-subpage .preview-grid {
    grid-template-columns: 1fr;
  }

  .adspace-subpage .cases-page {
    width: min(100% - 24px, 1360px);
    padding-top: 34px;
  }

  .adspace-subpage .cases-layout {
    gap: 24px;
    margin-top: 26px;
  }

  .adspace-subpage .case-filter-sidebar {
    padding: 14px;
    border-radius: 14px;
  }

  .adspace-subpage .all-cases {
    gap: 16px;
  }

  .adspace-subpage .case-card.video .media-placeholder {
    width: 100%;
    height: auto;
    max-height: min(68vh, 560px);
    aspect-ratio: var(--case-media-ratio, 16 / 9);
  }

  .adspace-subpage .case-card.video .case-media img,
  .adspace-subpage .case-card.video .case-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .adspace-subpage .case-media-modal-stage {
    max-width: 100%;
    max-height: calc(100dvh - 84px);
    border-radius: 10px;
  }

  .adspace-subpage .footer,
  .adspace-subpage .ad-footer {
    flex-direction: column;
  }
}

