:root {
  --ink: #101114;
  --muted: #6f737b;
  --paper: #f7f4ef;
  --white: #ffffff;
  --line: rgba(16, 17, 20, 0.14);
  --lime: #b8ff4d;
  --coral: #ff6b5e;
  --blue: #5bb7ff;
  --panel: #20242a;
  --max: 1180px;
}

/* 2026-07-04 final override: cooperation logo upload wall. */
body:not(.admin-page) .trust .logo-wall {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body:not(.admin-page) .trust .logo-wall .client-logo-item,
body:not(.admin-page) .trust .logo-wall .client-logo-placeholder,
body:not(.admin-page) .trust .logo-wall > span {
  display: grid !important;
  min-height: 86px !important;
  margin: 0 !important;
  padding: 18px !important;
  place-items: center !important;
  color: rgba(226, 235, 255, 0.52) !important;
  border: 1px solid rgba(128, 166, 232, 0.14) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(10, 22, 43, 0.72), rgba(4, 10, 21, 0.9)),
    radial-gradient(circle at 50% 0%, rgba(98, 145, 230, 0.16), transparent 58%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 14px 30px rgba(0, 0, 0, 0.18) !important;
}

body:not(.admin-page) .trust .logo-wall .client-logo-item img {
  display: block !important;
  width: min(78%, 150px) !important;
  max-height: 42px !important;
  object-fit: contain !important;
  filter: grayscale(1) brightness(1.18) !important;
  opacity: 0.9 !important;
}

body:not(.admin-page) .trust .logo-wall .client-logo-placeholder,
body:not(.admin-page) .trust .logo-wall > span {
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: 0.12em !important;
}

@media (max-width: 900px) {
  body:not(.admin-page) .trust .logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  body:not(.admin-page) .trust .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body:not(.admin-page) .trust .logo-wall .client-logo-item,
  body:not(.admin-page) .trust .logo-wall .client-logo-placeholder,
  body:not(.admin-page) .trust .logo-wall > span {
    min-height: 62px !important;
    padding: 13px !important;
    border-radius: 12px !important;
  }

  body:not(.admin-page) .trust .logo-wall .client-logo-item img {
    max-height: 34px !important;
  }
}

/* 2026-07-10 final override: clickable enlarged WeChat QR. */
body:not(.admin-page) .contact-qr-card {
  position: relative !important;
  display: grid !important;
  width: 100% !important;
  padding: 18px !important;
  place-items: center !important;
  appearance: none !important;
  cursor: pointer !important;
  color: rgba(229, 238, 255, 0.76) !important;
  font: inherit !important;
  text-align: center !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(101, 151, 232, 0.18), transparent 56%),
    rgba(4, 10, 22, 0.86) !important;
  border: 1px solid rgba(124, 167, 239, 0.2) !important;
  border-radius: 18px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 20px 54px rgba(0, 0, 0, 0.26) !important;
}

body:not(.admin-page) .contact-qr-card img {
  display: block !important;
  width: min(100%, 220px) !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 14px !important;
}

body:not(.admin-page) .contact-qr-card span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  margin-top: 12px !important;
  padding: 0 12px !important;
  color: rgba(228, 237, 255, 0.82) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(132, 174, 246, 0.18) !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body:not(.admin-page) .contact-qr-card:hover,
body:not(.admin-page) .contact-qr-card:focus-visible {
  border-color: rgba(141, 185, 255, 0.48) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.075), 0 22px 60px rgba(49, 105, 219, 0.22) !important;
  outline: none !important;
}

body:not(.admin-page) .qr-modal[hidden] {
  display: none !important;
}

body:not(.admin-page) .qr-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10020 !important;
  display: grid !important;
  place-items: center !important;
  padding: 22px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 180ms ease !important;
}

body:not(.admin-page) .qr-modal.open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

body:not(.admin-page) .qr-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  appearance: none !important;
  cursor: pointer !important;
  background: rgba(0, 0, 0, 0.72) !important;
  border: 0 !important;
  backdrop-filter: blur(16px) !important;
}

body:not(.admin-page) .qr-modal-panel {
  position: relative !important;
  display: grid !important;
  width: min(430px, calc(100vw - 38px)) !important;
  padding: 26px !important;
  gap: 12px !important;
  color: #fff !important;
  text-align: center !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(92, 146, 238, 0.18), transparent 50%),
    rgba(5, 11, 24, 0.96) !important;
  border: 1px solid rgba(132, 174, 246, 0.26) !important;
  border-radius: 24px !important;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  transform: translateY(10px) scale(0.98) !important;
  transition: transform 180ms ease !important;
}

body:not(.admin-page) .qr-modal.open .qr-modal-panel {
  transform: translateY(0) scale(1) !important;
}

body:not(.admin-page) .qr-modal-close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  place-items: center !important;
  cursor: pointer !important;
  color: rgba(239, 245, 255, 0.86) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

body:not(.admin-page) .qr-modal-panel h2 {
  margin: 0 !important;
  font-size: 30px !important;
  line-height: 1.1 !important;
}

body:not(.admin-page) .qr-modal-panel img {
  display: block !important;
  width: min(100%, 320px) !important;
  aspect-ratio: 1 / 1 !important;
  margin: 8px auto 4px !important;
  object-fit: cover !important;
  border: 10px solid rgba(255, 255, 255, 0.94) !important;
  border-radius: 18px !important;
  background: #fff !important;
}

body:not(.admin-page) .qr-modal-panel p {
  margin: 0 !important;
  color: rgba(228, 237, 255, 0.78) !important;
}

body:not(.admin-page) .qr-modal-copy {
  justify-self: center !important;
  min-height: 40px !important;
  padding: 0 18px !important;
  cursor: pointer !important;
  color: #08101f !important;
  background: linear-gradient(135deg, #f5f8ff, #dbe8ff) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) .contact-qr-card {
    padding: 14px !important;
  }

  body:not(.admin-page) .contact-qr-card img {
    width: min(100%, 190px) !important;
  }

  body:not(.admin-page) .qr-modal-panel {
    width: min(380px, calc(100vw - 28px)) !important;
    padding: 22px 18px !important;
    border-radius: 20px !important;
  }

  body:not(.admin-page) .qr-modal-panel h2 {
    font-size: 24px !important;
  }

  body:not(.admin-page) .qr-modal-panel img {
    width: min(100%, 280px) !important;
    border-width: 8px !important;
  }
}

/* 2026-07-10: independent all-case channel + enlarged WeChat QR preview. */
body:not(.admin-page) .contact-qr-card {
  position: relative !important;
  display: grid !important;
  width: 100% !important;
  padding: 18px !important;
  place-items: center !important;
  appearance: none !important;
  cursor: pointer !important;
  color: rgba(229, 238, 255, 0.76) !important;
  font: inherit !important;
  text-align: center !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(101, 151, 232, 0.18), transparent 56%),
    rgba(4, 10, 22, 0.86) !important;
  border: 1px solid rgba(124, 167, 239, 0.2) !important;
  border-radius: 18px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 20px 54px rgba(0, 0, 0, 0.26) !important;
}

body:not(.admin-page) .contact-qr-card img {
  display: block !important;
  width: min(100%, 220px) !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 14px !important;
}

body:not(.admin-page) .contact-qr-card span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  margin-top: 12px !important;
  padding: 0 12px !important;
  color: rgba(228, 237, 255, 0.82) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(132, 174, 246, 0.18) !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
}

body:not(.admin-page) .contact-qr-card:hover,
body:not(.admin-page) .contact-qr-card:focus-visible {
  border-color: rgba(141, 185, 255, 0.48) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.075), 0 22px 60px rgba(49, 105, 219, 0.22) !important;
  outline: none !important;
}

body:not(.admin-page) .qr-modal[hidden] {
  display: none !important;
}

body:not(.admin-page) .qr-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10020 !important;
  display: grid !important;
  place-items: center !important;
  padding: 22px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 180ms ease !important;
}

body:not(.admin-page) .qr-modal.open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

body:not(.admin-page) .qr-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  appearance: none !important;
  cursor: pointer !important;
  background: rgba(0, 0, 0, 0.72) !important;
  border: 0 !important;
  backdrop-filter: blur(16px) !important;
}

body:not(.admin-page) .qr-modal-panel {
  position: relative !important;
  display: grid !important;
  width: min(430px, calc(100vw - 38px)) !important;
  padding: 26px !important;
  gap: 12px !important;
  color: #fff !important;
  text-align: center !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(92, 146, 238, 0.18), transparent 50%),
    rgba(5, 11, 24, 0.96) !important;
  border: 1px solid rgba(132, 174, 246, 0.26) !important;
  border-radius: 24px !important;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  transform: translateY(10px) scale(0.98) !important;
  transition: transform 180ms ease !important;
}

body:not(.admin-page) .qr-modal.open .qr-modal-panel {
  transform: translateY(0) scale(1) !important;
}

body:not(.admin-page) .qr-modal-close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  place-items: center !important;
  cursor: pointer !important;
  color: rgba(239, 245, 255, 0.86) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

body:not(.admin-page) .qr-modal-panel h2 {
  margin: 0 !important;
  font-size: 30px !important;
  line-height: 1.1 !important;
}

body:not(.admin-page) .qr-modal-panel img {
  display: block !important;
  width: min(100%, 320px) !important;
  aspect-ratio: 1 / 1 !important;
  margin: 8px auto 4px !important;
  object-fit: cover !important;
  border: 10px solid rgba(255, 255, 255, 0.94) !important;
  border-radius: 18px !important;
  background: #fff !important;
}

body:not(.admin-page) .qr-modal-panel p {
  margin: 0 !important;
  color: rgba(228, 237, 255, 0.78) !important;
}

body:not(.admin-page) .qr-modal-panel strong {
  color: #ffffff !important;
}

body:not(.admin-page) .qr-modal-copy {
  justify-self: center !important;
  min-height: 40px !important;
  padding: 0 18px !important;
  cursor: pointer !important;
  color: #08101f !important;
  background: linear-gradient(135deg, #f5f8ff, #dbe8ff) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) .contact-qr-card {
    padding: 14px !important;
  }

  body:not(.admin-page) .contact-qr-card img {
    width: min(100%, 190px) !important;
  }

  body:not(.admin-page) .qr-modal-panel {
    width: min(380px, calc(100vw - 28px)) !important;
    padding: 22px 18px !important;
    border-radius: 20px !important;
  }

  body:not(.admin-page) .qr-modal-panel h2 {
    font-size: 24px !important;
  }

  body:not(.admin-page) .qr-modal-panel img {
    width: min(100%, 280px) !important;
    border-width: 8px !important;
  }
}

/* JY Vision V3: blue light cinematic system. Keeps the approved case-library layout intact. */
@keyframes jyLightDrift {
  0% {
    transform: translate3d(-2%, 0, 0) scale(1);
    opacity: 0.58;
  }

  50% {
    transform: translate3d(2%, -1%, 0) scale(1.02);
    opacity: 0.82;
  }

  100% {
    transform: translate3d(-2%, 0, 0) scale(1);
    opacity: 0.58;
  }
}

@keyframes jyPulseGlow {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(55, 116, 255, 0.22), inset 0 0 18px rgba(55, 116, 255, 0.08);
  }

  50% {
    box-shadow: 0 0 42px rgba(73, 139, 255, 0.42), inset 0 0 26px rgba(73, 139, 255, 0.14);
  }
}

@keyframes jyParticleRise {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 0 -260px, 220px -420px;
  }
}

body:not(.admin-page) {
  --ink: #030714;
  --paper: #030714;
  --panel: #071225;
  --soft: #f7fbff;
  --muted: rgba(222, 232, 255, 0.66);
  --line: rgba(74, 132, 255, 0.2);
  --lime: #2f6bff;
  --coral: #6aa7ff;
  --blue: #2f6bff;
  color: var(--soft);
  background:
    radial-gradient(circle at 78% 10%, rgba(47, 107, 255, 0.18), transparent 28%),
    radial-gradient(circle at 18% 36%, rgba(37, 116, 255, 0.12), transparent 25%),
    linear-gradient(180deg, #02040c 0%, #061126 44%, #030714 100%);
}

body:not(.admin-page)::before {
  opacity: 0.52;
  background:
    radial-gradient(circle, rgba(90, 153, 255, 0.22) 1px, transparent 1.6px),
    linear-gradient(rgba(80, 130, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 130, 255, 0.03) 1px, transparent 1px);
  background-size: 120px 120px, 92px 92px, 92px 92px;
  animation: jyParticleRise 22s linear infinite;
}

body:not(.admin-page)::after {
  content: "";
  position: fixed;
  inset: auto -15% -28% -15%;
  z-index: -1;
  height: 44vh;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(47, 107, 255, 0.24), transparent 62%),
    linear-gradient(90deg, transparent, rgba(75, 143, 255, 0.18), transparent);
  filter: blur(16px);
}

body:not(.admin-page) .site-header {
  min-height: 82px;
  background: linear-gradient(180deg, rgba(2, 5, 14, 0.92), rgba(2, 5, 14, 0.56));
  border-bottom: 1px solid rgba(84, 139, 255, 0.18);
}

body:not(.admin-page) .brand {
  position: relative;
  gap: 14px;
  color: #ffffff;
}

body:not(.admin-page) .brand::before {
  content: "JY";
  display: inline-flex;
  align-items: center;
  color: #4f82ff;
  font-size: 32px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.08em;
  text-shadow: 0 0 24px rgba(60, 118, 255, 0.58);
}

body:not(.admin-page) .brand-mark-logo {
  display: none;
}

body:not(.admin-page) .nav-links a {
  color: rgba(239, 246, 255, 0.84);
}

body:not(.admin-page) .nav-links a::after,
body:not(.admin-page) .hero::after,
body:not(.admin-page) .manifesto-copy i,
body:not(.admin-page) .manifesto-copy b {
  background: #3f79ff;
  box-shadow: 0 0 26px rgba(63, 121, 255, 0.55);
}

body:not(.admin-page) .language-switcher {
  background: rgba(12, 27, 62, 0.72);
  border-color: rgba(99, 153, 255, 0.24);
  box-shadow: inset 0 0 24px rgba(79, 130, 255, 0.08);
}

body:not(.admin-page) .language-button.active,
body:not(.admin-page) .language-button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #2e62ff, #6aa7ff);
}

body:not(.admin-page) .nav-cta {
  color: #ffffff;
  background: linear-gradient(135deg, #285cff, #266fff 58%, #63a0ff);
  border-color: rgba(110, 164, 255, 0.4);
  box-shadow: 0 14px 44px rgba(43, 101, 255, 0.24);
}

body:not(.admin-page) .hero {
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(44, 103, 255, 0.34), transparent 34%),
    linear-gradient(180deg, #020713 0%, #061432 55%, #030714 100%);
}

body:not(.admin-page) .hero::before {
  content: "";
  position: absolute;
  inset: 7% -10% auto 34%;
  z-index: 1;
  height: 58%;
  pointer-events: none;
  opacity: 0.76;
  background:
    radial-gradient(ellipse at 58% 22%, rgba(255, 255, 255, 0.82), rgba(88, 150, 255, 0.42) 12%, transparent 22%),
    radial-gradient(ellipse at 50% 78%, transparent 48%, rgba(70, 136, 255, 0.86) 49%, rgba(70, 136, 255, 0.08) 51%, transparent 52%),
    linear-gradient(180deg, transparent, rgba(75, 143, 255, 0.22), transparent);
  border-radius: 50%;
  filter: blur(0.2px);
  animation: jyLightDrift 9s ease-in-out infinite;
}

body:not(.admin-page) .hero::after {
  content: "";
  position: absolute;
  left: 34%;
  right: -8%;
  bottom: 21%;
  z-index: 1;
  width: auto;
  height: 26%;
  opacity: 0.8;
  background:
    radial-gradient(ellipse at 64% 56%, rgba(77, 149, 255, 0.38), transparent 38%),
    repeating-radial-gradient(ellipse at 62% 60%, rgba(70, 132, 255, 0.32) 0 1px, transparent 1px 11px);
  border-radius: 50%;
  box-shadow: none;
  transform: skewY(-6deg);
  animation: jyLightDrift 12s ease-in-out infinite reverse;
}

body:not(.admin-page) .hero-media,
body:not(.admin-page) .hero-video {
  z-index: 1;
  filter: saturate(1.1) contrast(1.14) brightness(0.56) hue-rotate(8deg);
}

body:not(.admin-page) .hero-media {
  opacity: 0.66;
  background-position: 72% center;
}

body:not(.admin-page) .hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(2, 5, 14, 0.96) 0%, rgba(2, 5, 14, 0.78) 34%, rgba(2, 5, 14, 0.2) 72%, rgba(2, 5, 14, 0.72) 100%),
    linear-gradient(0deg, rgba(3, 7, 20, 0.98) 0%, rgba(3, 7, 20, 0.12) 48%, rgba(3, 7, 20, 0.82) 100%);
}

body:not(.admin-page) .hero-content {
  z-index: 4;
  max-width: min(780px, 58vw);
  padding-top: 78px;
}

body:not(.admin-page) .brand-title {
  color: #4f82ff;
  text-shadow: 0 0 22px rgba(79, 130, 255, 0.34);
}

body:not(.admin-page) .brand-title span {
  color: rgba(244, 249, 255, 0.72);
}

body:not(.admin-page) .hero h1 {
  color: #ffffff;
  font-weight: 720;
  text-shadow: 0 0 42px rgba(86, 143, 255, 0.16), 0 28px 80px rgba(0, 0, 0, 0.72);
}

body:not(.admin-page) .hero h1 small {
  font-weight: 620;
}

body:not(.admin-page) .hero h1 span {
  color: #4d86ff;
  text-shadow: 0 0 32px rgba(77, 134, 255, 0.56);
}

body:not(.admin-page) .hero .eyebrow {
  color: rgba(233, 242, 255, 0.78);
}

body:not(.admin-page) .hero-copy {
  color: rgba(220, 233, 255, 0.68);
}

body:not(.admin-page) .hero-actions .button {
  border-radius: 10px;
}

body:not(.admin-page) .hero-actions .button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #2455ff, #2f76ff);
  box-shadow: 0 22px 56px rgba(43, 106, 255, 0.34);
}

body:not(.admin-page) .hero-actions .button-secondary {
  color: #ffffff;
  background: rgba(3, 13, 34, 0.46);
  border-color: rgba(91, 146, 255, 0.62);
}

body:not(.admin-page) .hero-strip {
  z-index: 5;
  display: grid;
  width: min(86vw, 1200px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  position: absolute;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%) !important;
  background: transparent;
  border: 0;
}

body:not(.admin-page) .hero-strip span {
  min-height: 110px;
  padding: 20px 22px;
  background:
    radial-gradient(circle at 26% 20%, rgba(87, 151, 255, 0.38), transparent 34%),
    rgba(9, 24, 58, 0.58);
  border: 1px solid rgba(91, 148, 255, 0.22);
  border-radius: 14px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28), inset 0 0 34px rgba(65, 126, 255, 0.08);
  backdrop-filter: blur(14px);
}

body:not(.admin-page) .hero-strip b {
  color: #8db7ff;
  background: rgba(48, 104, 255, 0.18);
  border-color: rgba(113, 171, 255, 0.36);
  animation: jyPulseGlow 3.4s ease-in-out infinite;
}

body:not(.admin-page) .hero-strip strong {
  color: #ffffff;
}

body:not(.admin-page) .hero-strip small {
  color: rgba(220, 233, 255, 0.6);
}

body:not(.admin-page) .hero-signal {
  z-index: 5;
  color: #8db7ff;
  opacity: 0.7;
}

body:not(.admin-page) .hero-trail {
  z-index: 1;
  opacity: 0.04;
  filter: hue-rotate(170deg) saturate(2) brightness(1.3);
}

body:not(.admin-page) .manifesto {
  background:
    radial-gradient(circle at 78% 20%, rgba(48, 104, 255, 0.14), transparent 28%),
    linear-gradient(90deg, rgba(4, 9, 23, 0.98), rgba(7, 19, 45, 0.96));
  border-block: 1px solid rgba(83, 141, 255, 0.16);
}

body:not(.admin-page) .manifesto-proof article,
body:not(.admin-page) .intro-hero-card,
body:not(.admin-page) .intro-system,
body:not(.admin-page) .service-board article,
body:not(.admin-page) .process-list li,
body:not(.admin-page) .faq-list details,
body:not(.admin-page) .logo-wall span,
body:not(.admin-page) .project-card {
  background:
    linear-gradient(180deg, rgba(18, 42, 92, 0.46), rgba(5, 12, 29, 0.62));
  border-color: rgba(83, 141, 255, 0.18);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.26), inset 0 0 36px rgba(70, 131, 255, 0.045);
}

body:not(.admin-page) .intro-hero-card {
  background:
    linear-gradient(90deg, rgba(3, 7, 20, 0.9), rgba(3, 7, 20, 0.36)),
    url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=1500&q=90") center / cover;
}

body:not(.admin-page) .section-kicker,
body:not(.admin-page) .intro-hero-card h2 span,
body:not(.admin-page) .intro-icon,
body:not(.admin-page) .intro-capabilities article i,
body:not(.admin-page) .intro-service-pills b,
body:not(.admin-page) .intro-data-bar i,
body:not(.admin-page) .service-index,
body:not(.admin-page) .process-list span {
  color: #69a5ff;
  border-color: rgba(104, 163, 255, 0.42);
}

body:not(.admin-page) .intro-data-bar,
body:not(.admin-page) .data-card-grid article {
  background:
    radial-gradient(circle at 86% 10%, rgba(61, 125, 255, 0.18), transparent 30%),
    rgba(5, 14, 35, 0.78);
  border-color: rgba(83, 141, 255, 0.18);
}

body:not(.admin-page) .intro-data-bar strong,
body:not(.admin-page) .data-card-grid article strong,
body:not(.admin-page) .data-card-grid article:nth-child(4) strong {
  color: #ffffff;
  text-shadow: 0 0 28px rgba(91, 150, 255, 0.42);
}

body:not(.admin-page) .work {
  border-top: 1px solid rgba(83, 141, 255, 0.16);
}

body:not(.admin-page) .filter-button {
  color: rgba(225, 236, 255, 0.7);
  background: rgba(11, 30, 72, 0.58);
  border-color: rgba(83, 141, 255, 0.2);
}

body:not(.admin-page) .filter-button.active,
body:not(.admin-page) .filter-button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #2455ff, #4c8dff);
  border-color: rgba(106, 166, 255, 0.68);
}

body:not(.admin-page) .project-card {
  border-radius: 14px;
}

body:not(.admin-page) .project-thumb img,
body:not(.admin-page) .project-thumb video {
  filter: saturate(1.06) contrast(1.08) brightness(0.84) hue-rotate(6deg);
}

body:not(.admin-page) .project-type,
body:not(.admin-page) .play-label {
  color: #ffffff;
  background: rgba(39, 94, 255, 0.92);
  border: 1px solid rgba(136, 184, 255, 0.34);
}

body:not(.admin-page) .detail-label {
  color: #83b3ff;
}

body:not(.admin-page) .services,
body:not(.admin-page) .process,
body:not(.admin-page) .contact {
  position: relative;
  overflow: hidden;
}

body:not(.admin-page) .services::before,
body:not(.admin-page) .process::before,
body:not(.admin-page) .contact::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 46vw;
  height: 46vw;
  pointer-events: none;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.16), transparent 62%);
  filter: blur(8px);
}

body:not(.admin-page) .about {
  background:
    linear-gradient(90deg, rgba(3, 7, 20, 0.97) 0%, rgba(3, 7, 20, 0.76) 44%, rgba(3, 7, 20, 0.18) 100%),
    url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=1800&q=90") center right / cover;
  border-block: 1px solid rgba(83, 141, 255, 0.16);
}

body:not(.admin-page) .contact {
  background:
    radial-gradient(circle at 78% 20%, rgba(47, 107, 255, 0.18), transparent 24%),
    #030714;
  border-top: 1px solid rgba(83, 141, 255, 0.18);
}

body:not(.admin-page) .contact-orb-button {
  border-color: rgba(107, 166, 255, 0.68);
  box-shadow: 0 0 30px rgba(60, 124, 255, 0.28);
}

body:not(.admin-page) .contact-orb-button::before,
body:not(.admin-page) .contact-orb-button::after {
  border-color: rgba(94, 153, 255, 0.46);
}

body:not(.admin-page) .contact-orb-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 107, 255, 0.18), transparent 35%),
    rgba(4, 10, 25, 0.95);
  border-color: rgba(91, 146, 255, 0.34);
}

body:not(.admin-page) .contact-orb-copy small,
body:not(.admin-page) .contact-orb-meta a {
  color: #83b3ff;
}

body:not(.admin-page) .contact-orb-actions a {
  color: #ffffff;
  background: linear-gradient(135deg, #2455ff, #4c8dff);
}

body:not(.admin-page) .contact-orb-actions a:last-child {
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
  body:not(.admin-page) .hero-content {
    max-width: 100%;
  }

  body:not(.admin-page) .hero::before {
    inset: 16% -55% auto 18%;
    height: 44%;
  }

  body:not(.admin-page) .hero::after {
    left: 8%;
    right: -30%;
    bottom: 21%;
    height: 18%;
  }

  body:not(.admin-page) .hero-strip {
    width: calc(100% - 36px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    bottom: 24px;
  }

  body:not(.admin-page) .hero-strip span {
    min-height: 78px;
    padding: 12px;
  }
}

@media (max-width: 768px) {
  body:not(.admin-page) .site-header {
    background: rgba(2, 5, 14, 0.9);
  }

  body:not(.admin-page) .brand::before {
    font-size: 26px;
  }

  body:not(.admin-page) .hero {
    min-height: 96svh;
    padding-bottom: 218px;
  }

  body:not(.admin-page) .hero-content {
    padding-top: 84px;
  }

  body:not(.admin-page) .hero h1 {
    max-width: 340px;
    font-size: clamp(40px, 12vw, 56px);
  }

  body:not(.admin-page) .hero h1 small {
    font-size: clamp(27px, 8vw, 38px);
  }

  body:not(.admin-page) .hero-copy {
    max-width: 320px;
  }

  body:not(.admin-page) .hero-actions {
    grid-template-columns: 1fr 1fr;
  }

  body:not(.admin-page) .hero-actions .button {
    min-width: 0;
  }

  body:not(.admin-page) .hero-strip b {
    display: none;
  }

  body:not(.admin-page) .hero-strip strong {
    font-size: 14px;
  }

  body:not(.admin-page) .hero-strip small {
    font-size: 9px;
  }
}

/* 2026-07-04 partner logo wall: upload-driven trust section. */
body:not(.admin-page) .logo-wall {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body:not(.admin-page) .logo-wall .client-logo-item,
body:not(.admin-page) .logo-wall .client-logo-placeholder,
body:not(.admin-page) .logo-wall > span {
  display: grid !important;
  min-height: 86px !important;
  margin: 0 !important;
  padding: 18px !important;
  place-items: center !important;
  border: 1px solid rgba(128, 166, 232, 0.14) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(10, 22, 43, 0.72), rgba(4, 10, 21, 0.9)),
    radial-gradient(circle at 50% 0%, rgba(98, 145, 230, 0.16), transparent 58%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 14px 30px rgba(0, 0, 0, 0.18) !important;
}

body:not(.admin-page) .logo-wall .client-logo-item img {
  display: block;
  width: min(78%, 150px);
  max-height: 42px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.18);
  opacity: 0.9;
}

body:not(.admin-page) .logo-wall .client-logo-placeholder,
body:not(.admin-page) .logo-wall > span {
  color: rgba(226, 235, 255, 0.52) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: 0.12em !important;
}

.client-logo-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.client-logo-admin-item {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(20, 28, 43, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.client-logo-admin-preview {
  display: grid;
  min-height: 86px;
  place-items: center;
  border: 1px dashed rgba(15, 23, 42, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.client-logo-admin-preview img {
  width: min(78%, 180px);
  max-height: 54px;
  object-fit: contain;
}

.client-logo-admin-preview span {
  color: rgba(15, 23, 42, 0.42);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.field.compact {
  gap: 6px;
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 900px) {
  body:not(.admin-page) .logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .client-logo-admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body:not(.admin-page) .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body:not(.admin-page) .logo-wall .client-logo-item,
  body:not(.admin-page) .logo-wall .client-logo-placeholder,
  body:not(.admin-page) .logo-wall > span {
    min-height: 62px !important;
    padding: 13px !important;
    border-radius: 12px !important;
  }

  body:not(.admin-page) .logo-wall .client-logo-item img {
    max-height: 34px;
  }
}

/* 2026-06-22: service overview rebuilt around the approved four-card reference. */
body:not(.admin-page) .services.section-wrap {
  padding-top: clamp(76px, 8vw, 118px) !important;
  padding-bottom: clamp(72px, 7vw, 108px) !important;
  overflow: hidden;
}

body:not(.admin-page) .services .section-head {
  display: block !important;
  max-width: 980px;
  margin: 0 auto 44px !important;
  text-align: center;
}

body:not(.admin-page) .services .section-kicker {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin: 0 0 17px !important;
  padding: 0 15px;
  color: #77a8ff !important;
  background: rgba(63, 111, 205, 0.1);
  border: 1px solid rgba(105, 151, 242, 0.42);
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: 0.16em;
}

body:not(.admin-page) .services .section-head h2 {
  margin: 0 !important;
  color: #f6f9ff !important;
  font-size: clamp(42px, 5vw, 72px) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

body:not(.admin-page) .services .section-head > p {
  max-width: 680px;
  margin: 22px auto 0 !important;
  color: rgba(201, 215, 241, 0.76) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  text-align: center !important;
}

body:not(.admin-page) .service-board {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
}

body:not(.admin-page) .service-board > article,
body:not(.admin-page) .service-feature {
  position: relative;
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  min-height: 452px !important;
  height: 452px !important;
  padding: 22px 20px 18px !important;
  overflow: hidden;
  color: #f5f8ff !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(70, 127, 247, 0.2), transparent 35%),
    linear-gradient(180deg, rgba(9, 29, 63, 0.96), rgba(3, 12, 27, 0.99)) !important;
  border: 1px solid rgba(117, 161, 240, 0.34) !important;
  border-radius: 14px !important;
  box-shadow: inset 0 1px 0 rgba(224, 235, 255, 0.05), 0 18px 34px rgba(0, 0, 0, 0.18);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body:not(.admin-page) .service-board > article:hover {
  transform: translateY(-5px);
  border-color: rgba(126, 172, 255, 0.64) !important;
  box-shadow: inset 0 1px 0 rgba(224, 235, 255, 0.1), 0 24px 42px rgba(4, 31, 88, 0.34);
}

body:not(.admin-page) .service-board > article::before {
  display: none !important;
}

body:not(.admin-page) .service-index {
  position: relative;
  z-index: 1;
  display: block !important;
  margin: 0 !important;
  color: #6f9eff !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  letter-spacing: 0.04em;
}

body:not(.admin-page) .service-icon {
  display: grid !important;
  place-items: center;
  width: 132px !important;
  height: 132px !important;
  margin: 14px auto 14px !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:not(.admin-page) .service-icon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 16px 18px rgba(28, 104, 255, 0.36));
  transition: opacity 180ms ease, transform 220ms ease;
}

body:not(.admin-page) .service-board > article:hover .service-icon-image {
  transform: translateY(-3px) scale(1.025);
}

body:not(.admin-page) .service-icon-image.ready {
  opacity: 1;
}

body:not(.admin-page) .service-board h3 {
  width: 100% !important;
  margin: 0 0 14px !important;
  color: #f8faff !important;
  font-size: clamp(24px, 2vw, 29px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-align: center !important;
}

body:not(.admin-page) .service-board h3::after {
  content: "" !important;
  display: block !important;
  width: 34px !important;
  height: 2px !important;
  margin: 13px auto 0 !important;
  background: #4d86ff !important;
  box-shadow: 0 0 12px rgba(77, 134, 255, 0.48) !important;
}

body:not(.admin-page) .service-board p {
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 auto !important;
  color: rgba(209, 221, 246, 0.75) !important;
  font-size: 13px !important;
  line-height: 1.62 !important;
  text-align: center !important;
}

body:not(.admin-page) .service-details {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 0 !important;
  width: 100% !important;
  margin: auto 0 0 !important;
  padding: 16px 0 0 !important;
  list-style: none;
  border-top: 1px solid rgba(135, 169, 235, 0.2) !important;
}

body:not(.admin-page) .service-details li {
  display: block !important;
  min-height: 0 !important;
  padding: 0 9px !important;
  color: rgba(229, 237, 255, 0.85) !important;
  border: 0 !important;
  font-size: 11px !important;
  font-weight: 650;
  line-height: 1.25 !important;
  text-align: center;
  white-space: nowrap;
}

body:not(.admin-page) .service-details li + li {
  border-left: 1px solid rgba(136, 167, 222, 0.34) !important;
}

body:not(.admin-page) .service-details li::before,
body:not(.admin-page) .service-detail-label {
  display: none !important;
}

body:not(.admin-page) .service-list {
  display: contents !important;
}

@media (max-width: 980px) {
  body:not(.admin-page) .service-board {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  body:not(.admin-page) .services.section-wrap {
    padding-top: 66px !important;
    padding-bottom: 68px !important;
  }

  body:not(.admin-page) .services .section-head {
    max-width: 370px;
    margin-bottom: 27px !important;
  }

  body:not(.admin-page) .services .section-kicker {
    min-height: 25px;
    margin-bottom: 12px !important;
    padding-inline: 12px;
    font-size: 10px !important;
  }

  body:not(.admin-page) .services .section-head h2 {
    font-size: clamp(33px, 9.1vw, 36px) !important;
    line-height: 1.12 !important;
  }

  body:not(.admin-page) .services .section-head > p {
    margin-top: 15px !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  body:not(.admin-page) .service-board {
    display: flex !important;
    gap: 14px !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    padding: 0 20px 8px !important;
    overflow-x: auto !important;
    overscroll-behavior-inline: contain !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }

  body:not(.admin-page) .service-board::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-page) .service-board > article {
    flex: 0 0 min(84vw, 330px) !important;
    min-height: 386px !important;
    height: 386px !important;
    padding: 18px 18px 16px !important;
    scroll-snap-align: start;
  }

  body:not(.admin-page) .service-icon {
    width: 96px !important;
    height: 96px !important;
    margin: 10px auto 12px !important;
  }

  body:not(.admin-page) .service-board h3 {
    margin-bottom: 11px !important;
    font-size: 24px !important;
  }

  body:not(.admin-page) .service-board h3::after {
    margin-top: 10px !important;
  }

  body:not(.admin-page) .service-board p {
    min-height: 42px !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  body:not(.admin-page) .service-details {
    gap: 7px 0 !important;
    padding-top: 13px !important;
  }

  body:not(.admin-page) .service-details li {
    padding: 0 7px !important;
    font-size: 10.5px !important;
  }
}

/* Final override: each case keeps the media ratio selected or detected in the admin. */
body:not(.admin-page) .project-card .project-thumb,
body:not(.admin-page) .project-card.mobile-case-card .project-thumb,
body:not(.admin-page) .mobile-side-case-list .project-card.mobile-case-card .project-thumb,
body:not(.admin-page) .photo-live-case-main {
  aspect-ratio: var(--project-aspect-ratio, 16 / 9) !important;
}

body:not(.admin-page) .project-card .project-thumb img,
body:not(.admin-page) .project-card .project-thumb video,
body:not(.admin-page) .photo-live-case-main img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body:not(.admin-page) .photo-live-case-thumbs button,
body:not(.admin-page) .modal-photo-thumbs button {
  aspect-ratio: var(--project-aspect-ratio, 16 / 9) !important;
}

body:not(.admin-page) .media-modal-body video,
body:not(.admin-page) .media-modal-body > img,
body:not(.admin-page) .modal-photo-stage {
  aspect-ratio: var(--project-aspect-ratio, 16 / 9) !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] video,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] > img,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage {
  width: min(430px, 88vw) !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] video,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] > img,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
  width: min(520px, 90vw) !important;
}

body:not(.admin-page) .modal-photo-stage img {
  object-fit: contain !important;
  background: #050914 !important;
}

.admin-preview-thumb {
  aspect-ratio: var(--project-aspect-ratio, 16 / 9) !important;
}

/* 2026-07-03 photo live: let vertical uploaded photos stay vertical. */
body:not(.admin-page) .photo-live-case-card[data-aspect-ratio="9/16"],
body:not(.admin-page) .photo-live-case-card[data-project-aspect-ratio="9/16"] {
  max-width: min(100%, 460px);
  margin-inline: auto;
}

body:not(.admin-page) .photo-live-case-main,
body:not(.admin-page) .photo-live-case-thumbs button,
body:not(.admin-page) .modal-photo-stage,
body:not(.admin-page) .modal-photo-thumbs button {
  height: auto !important;
  min-height: 0 !important;
}

body:not(.admin-page) .photo-live-case-main img,
body:not(.admin-page) .photo-live-case-thumbs img {
  object-fit: cover !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-thumbs {
  justify-content: center;
}

/* Final override: every project can keep its own uploaded media ratio. */
body:not(.admin-page) .project-card .project-thumb,
body:not(.admin-page) .project-card.mobile-case-card .project-thumb,
body:not(.admin-page) .mobile-side-case-list .project-card.mobile-case-card .project-thumb,
body:not(.admin-page) .photo-live-case-main {
  aspect-ratio: var(--project-aspect-ratio, 16 / 9) !important;
}

body:not(.admin-page) .project-card .project-thumb img,
body:not(.admin-page) .project-card .project-thumb video,
body:not(.admin-page) .photo-live-case-main img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body:not(.admin-page) .photo-live-case-thumbs button,
body:not(.admin-page) .modal-photo-thumbs button {
  aspect-ratio: var(--project-aspect-ratio, 16 / 9) !important;
}

body:not(.admin-page) .media-modal-body video,
body:not(.admin-page) .media-modal-body > img,
body:not(.admin-page) .modal-photo-stage {
  aspect-ratio: var(--project-aspect-ratio, 16 / 9) !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] video,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] > img,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage {
  width: min(430px, 88vw) !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] video,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] > img,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
  width: min(520px, 90vw) !important;
}

body:not(.admin-page) .modal-photo-stage img {
  object-fit: contain !important;
  background: #050914 !important;
}

.admin-preview-thumb {
  aspect-ratio: var(--project-aspect-ratio, 16 / 9) !important;
}

/* 2026-07-03: per-project media ratio support. */
body:not(.admin-page) .project-card .project-thumb,
body:not(.admin-page) .project-card.mobile-case-card .project-thumb,
body:not(.admin-page) .mobile-side-case-list .project-card.mobile-case-card .project-thumb,
body:not(.admin-page) .photo-live-case-main {
  aspect-ratio: var(--project-aspect-ratio, 16 / 9) !important;
}

body:not(.admin-page) .project-card .project-thumb img,
body:not(.admin-page) .project-card .project-thumb video,
body:not(.admin-page) .photo-live-case-main img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body:not(.admin-page) .photo-live-case-thumbs button,
body:not(.admin-page) .modal-photo-thumbs button {
  aspect-ratio: var(--project-aspect-ratio, 16 / 9) !important;
}

body:not(.admin-page) .media-modal-body video,
body:not(.admin-page) .media-modal-body > img,
body:not(.admin-page) .modal-photo-stage {
  aspect-ratio: var(--project-aspect-ratio, 16 / 9) !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] video,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] > img,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage {
  width: min(430px, 88vw) !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] video,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] > img,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
  width: min(520px, 90vw) !important;
}

body:not(.admin-page) .modal-photo-stage img {
  object-fit: contain !important;
  background: #050914 !important;
}

.admin-preview-thumb {
  aspect-ratio: var(--project-aspect-ratio, 16 / 9) !important;
}

/* 2026-07-01: keep selected mobile case subtype visually centered. */
@media (max-width: 768px) {
  body:not(.admin-page) .mobile-case-subtype-nav {
    padding-inline: max(12px, 6vw) !important;
    scroll-padding-inline: 42vw !important;
    overscroll-behavior-inline: contain !important;
  }
}

/* Mobile case second-level category final override. Keep desktop unchanged. */
@media (max-width: 768px) {
  body:not(.admin-page) .mobile-case-subtype-nav {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: -2px 0 2px !important;
    padding: 0 0 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body:not(.admin-page) .mobile-case-subtype-nav::-webkit-scrollbar {
    display: none !important;
  }

  body:not(.admin-page) .mobile-case-subtype-nav button {
    flex: 0 0 auto !important;
    min-height: 34px !important;
    padding: 0 13px !important;
    color: rgba(224, 235, 255, 0.74) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(115, 158, 255, 0.16) !important;
    border-radius: 999px !important;
    font: inherit !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  body:not(.admin-page) .mobile-case-subtype-nav button.active {
    color: #061021 !important;
    background: linear-gradient(180deg, #eef5ff, #d9e7ff) !important;
    border-color: rgba(239, 246, 255, 0.9) !important;
    box-shadow: 0 10px 22px rgba(75, 128, 255, 0.2) !important;
  }
}

/* Mobile case second-level category final override. Keep desktop unchanged. */
@media (max-width: 768px) {
  body:not(.admin-page) .mobile-case-subtype-nav {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: -2px 0 2px !important;
    padding: 0 0 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body:not(.admin-page) .mobile-case-subtype-nav::-webkit-scrollbar {
    display: none !important;
  }

  body:not(.admin-page) .mobile-case-subtype-nav button {
    flex: 0 0 auto !important;
    min-height: 34px !important;
    padding: 0 13px !important;
    color: rgba(224, 235, 255, 0.74) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(115, 158, 255, 0.16) !important;
    border-radius: 999px !important;
    font: inherit !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  body:not(.admin-page) .mobile-case-subtype-nav button.active {
    color: #061021 !important;
    background: linear-gradient(180deg, #eef5ff, #d9e7ff) !important;
    border-color: rgba(239, 246, 255, 0.9) !important;
    box-shadow: 0 10px 22px rgba(75, 128, 255, 0.2) !important;
  }
}

/* Mobile case second-level category override. Keep desktop unchanged. */
@media (max-width: 768px) {
  body:not(.admin-page) .mobile-case-subtype-nav {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: -2px 0 2px !important;
    padding: 0 0 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body:not(.admin-page) .mobile-case-subtype-nav::-webkit-scrollbar {
    display: none !important;
  }

  body:not(.admin-page) .mobile-case-subtype-nav button {
    flex: 0 0 auto !important;
    min-height: 34px !important;
    padding: 0 13px !important;
    color: rgba(224, 235, 255, 0.74) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(115, 158, 255, 0.16) !important;
    border-radius: 999px !important;
    font: inherit !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  body:not(.admin-page) .mobile-case-subtype-nav button.active {
    color: #061021 !important;
    background: linear-gradient(180deg, #eef5ff, #d9e7ff) !important;
    border-color: rgba(239, 246, 255, 0.9) !important;
    box-shadow: 0 10px 22px rgba(75, 128, 255, 0.2) !important;
  }
}

/* 2026-07-01: mobile case library second-level categories. Desktop case layout stays untouched. */
@media (max-width: 768px) {
  body:not(.admin-page) .mobile-case-subtype-nav {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: -2px 0 2px;
    padding: 0 0 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body:not(.admin-page) .mobile-case-subtype-nav::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-page) .mobile-case-subtype-nav button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 13px;
    color: rgba(224, 235, 255, 0.74);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(115, 158, 255, 0.16);
    border-radius: 999px;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
  }

  body:not(.admin-page) .mobile-case-subtype-nav button.active {
    color: #061021;
    background: linear-gradient(180deg, #eef5ff, #d9e7ff);
    border-color: rgba(239, 246, 255, 0.9);
    box-shadow: 0 10px 22px rgba(75, 128, 255, 0.2);
  }

  body:not(.admin-page) .mobile-case-content-head {
    padding-bottom: 0 !important;
  }
}

/* 2026-07-01 admin login gate */
.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-logout {
  border: 0;
  cursor: pointer;
}

.admin-login-page {
  min-height: 100vh;
  margin: 0;
  color: #f8fbff;
  background:
    radial-gradient(circle at 50% -18%, rgba(114, 162, 255, 0.34), transparent 34%),
    radial-gradient(circle at 86% 28%, rgba(55, 105, 224, 0.18), transparent 28%),
    radial-gradient(circle at 15% 82%, rgba(67, 111, 226, 0.16), transparent 32%),
    linear-gradient(180deg, #040813, #02040a 58%, #000104);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow: hidden;
}

.admin-login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(126, 179, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 179, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 88%);
}

.admin-login-page::after {
  content: "";
  position: fixed;
  left: 50%;
  top: 7vh;
  width: min(1080px, 112vw);
  aspect-ratio: 2.7 / 1;
  pointer-events: none;
  border: 1px solid rgba(156, 194, 255, 0.48);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 28px rgba(91, 146, 255, 0.42));
  opacity: 0.72;
}

.login-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.login-ambient::before,
.login-ambient::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(96, 148, 255, 0.18);
  filter: blur(42px);
}

.login-ambient::before {
  right: 8vw;
  top: 18vh;
  width: 190px;
  height: 190px;
}

.login-ambient::after {
  left: 12vw;
  bottom: 12vh;
  width: 240px;
  height: 240px;
  opacity: 0.55;
}

.admin-login-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 30px 18px;
}

.admin-login-card {
  width: min(100%, 476px);
  padding: 38px;
  background:
    linear-gradient(145deg, rgba(15, 34, 70, 0.64), rgba(5, 12, 26, 0.9) 48%, rgba(2, 5, 12, 0.96)),
    rgba(6, 12, 26, 0.88);
  border: 1px solid rgba(152, 190, 255, 0.24);
  border-radius: 28px;
  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(20px);
}

.admin-login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.admin-login-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 0 30px rgba(126, 179, 255, 0.14);
}

.admin-login-brand strong,
.admin-login-brand span {
  display: block;
}

.admin-login-brand strong {
  font-size: 24px;
  letter-spacing: 0.08em;
}

.admin-login-brand span {
  margin-top: 5px;
  color: rgba(216, 228, 255, 0.64);
  font-size: 11px;
  letter-spacing: 0.36em;
}

.admin-login-card .section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  color: #9fc2ff;
  background: rgba(126, 179, 255, 0.09);
  border: 1px solid rgba(126, 179, 255, 0.2);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.admin-login-card h1 {
  margin: 15px 0 12px;
  max-width: 8em;
  color: #ffffff;
  font-size: clamp(38px, 7vw, 54px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

.admin-login-note {
  margin: 0 0 28px;
  color: rgba(226, 235, 255, 0.68);
  font-size: 14px;
  line-height: 1.85;
}

.admin-login-form {
  display: grid;
  gap: 15px;
}

.admin-login-form label {
  display: grid;
  gap: 9px;
  color: rgba(238, 245, 255, 0.8);
  font-size: 13px;
  font-weight: 800;
}

.admin-login-form input {
  width: 100%;
  min-height: 54px;
  box-sizing: border-box;
  padding: 0 17px;
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(126, 179, 255, 0.22);
  border-radius: 16px;
  outline: none;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.admin-login-form input:focus {
  border-color: rgba(126, 179, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(77, 124, 255, 0.15);
}

.admin-login-form button {
  min-height: 56px;
  margin-top: 8px;
  color: #06122a;
  background: linear-gradient(180deg, #ffffff, #dbeaff);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(77, 124, 255, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.admin-login-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(77, 124, 255, 0.34);
}

.admin-login-status {
  min-height: 20px;
  margin: 0;
  color: #ffb4b4;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .admin-login-card {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .admin-login-page::after {
    top: 12vh;
    width: 150vw;
    opacity: 0.55;
  }

  .admin-login-card h1 {
    font-size: 38px;
  }

  .admin-top-actions {
    width: 100%;
  }
}

/* 2026-06-30: case library color cleanup. Keep layout intact; remove old gold accents. */
body:not(.admin-page) .work.case-library,
body:not(.admin-page) .case-library,
body:not(.admin-page) .mobile-case-library,
body:not(.admin-page) .mobile-side-case-shell {
  --lime: #4d7cff !important;
  --blue: #4d7cff !important;
  --hero-gold: #7fb3ff !important;
}

body:not(.admin-page) .work.case-library .section-kicker,
body:not(.admin-page) .work.case-library .section-copy,
body:not(.admin-page) .case-type-row-title,
body:not(.admin-page) .mobile-case-library-kicker {
  color: #7fb3ff !important;
}

body:not(.admin-page) .case-library .filter-button {
  color: rgba(238, 245, 255, 0.76) !important;
  background: rgba(77, 124, 255, 0.08) !important;
  border-color: rgba(126, 179, 255, 0.22) !important;
  box-shadow: none !important;
}

body:not(.admin-page) .case-library .filter-button.active,
body:not(.admin-page) .case-library .filter-button:hover {
  color: #06122a !important;
  background: #eef5ff !important;
  border-color: #eef5ff !important;
  box-shadow: 0 12px 34px rgba(77, 124, 255, 0.22) !important;
}

body:not(.admin-page) .case-library .project-type,
body:not(.admin-page) .case-library .play-label,
body:not(.admin-page) .project-card.mobile-case-card .project-type,
body:not(.admin-page) .project-card.mobile-case-card .play-label,
body:not(.admin-page) .photo-live-case-main span,
body:not(.admin-page) .photo-live-case-action {
  color: #06122a !important;
  background: #eef5ff !important;
  border-color: rgba(238, 245, 255, 0.76) !important;
  box-shadow: 0 12px 28px rgba(77, 124, 255, 0.2) !important;
}

body:not(.admin-page) .mobile-case-section-head button,
body:not(.admin-page) .project-card .card-link,
body:not(.admin-page) .case-library .project-meta,
body:not(.admin-page) .case-library .project-info p {
  color: #b8cbef !important;
}

body:not(.admin-page) .mobile-side-case-nav button,
body:not(.admin-page) .mobile-case-tabs button {
  color: rgba(238, 245, 255, 0.7) !important;
  background: rgba(77, 124, 255, 0.07) !important;
  border-color: rgba(126, 179, 255, 0.18) !important;
}

body:not(.admin-page) .mobile-side-case-nav button.active,
body:not(.admin-page) .mobile-case-tabs button.active {
  color: #06122a !important;
  background: #eef5ff !important;
  border-color: #eef5ff !important;
  box-shadow: 0 12px 24px rgba(77, 124, 255, 0.24) !important;
}

body:not(.admin-page) .photo-live-case-thumbs button.active,
body:not(.admin-page) .modal-photo-thumbs button.active {
  border-color: #7fb3ff !important;
  box-shadow: 0 0 18px rgba(77, 124, 255, 0.42) !important;
}

body:not(.admin-page) .photo-live-case-card,
body:not(.admin-page) .case-library .project-card,
body:not(.admin-page) .modal-photo-stage,
body:not(.admin-page) .modal-photo-thumbs button {
  border-color: rgba(126, 179, 255, 0.22) !important;
}

/* 2026-06-30 photo modal swipe isolation */
body.modal-open {
  position: fixed !important;
  width: 100% !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
}

body:not(.admin-page) .media-modal,
body:not(.admin-page) .media-modal-panel,
body:not(.admin-page) .media-modal-body,
body:not(.admin-page) .modal-photo-carousel,
body:not(.admin-page) .modal-photo-stage {
  overscroll-behavior: contain !important;
}

body:not(.admin-page) .modal-photo-stage {
  touch-action: none !important;
}

body:not(.admin-page) .modal-photo-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(5, 9, 20, 0.66);
  border: 1px solid rgba(238, 245, 255, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
  pointer-events: none;
  animation: jyPhotoHintFade 3s ease forwards;
}

@keyframes jyPhotoHintFade {
  0%,
  72% {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(6px);
  }
}

body:not(.admin-page) .modal-photo-thumbs button {
  cursor: default !important;
  pointer-events: none !important;
}

/* 2026-06-30 mobile polish: poster controls, about order, and server-synced mobile cases */
@media (max-width: 768px) {
  body:not(.admin-page) .poster-countdown {
    top: max(16px, calc(env(safe-area-inset-top) + 12px)) !important;
    right: 16px !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
  }

  body:not(.admin-page) .poster-countdown span {
    width: 46px !important;
    height: 46px !important;
    color: #f5f8ff !important;
    background: rgba(6, 16, 34, 0.72) !important;
    border: 1px solid rgba(126, 173, 255, 0.36) !important;
    box-shadow: 0 12px 36px rgba(58, 124, 255, 0.24) !important;
    font-size: 22px !important;
  }

  body:not(.admin-page) .brand-poster-close {
    top: auto !important;
    right: auto !important;
    bottom: max(22px, calc(env(safe-area-inset-bottom) + 18px)) !important;
    left: 50% !important;
    min-height: 42px !important;
    padding: 0 22px !important;
    color: #061026 !important;
    background: #eef5ff !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    box-shadow: 0 16px 44px rgba(62, 126, 255, 0.28) !important;
    transform: translateX(-50%) !important;
    font-size: 14px !important;
  }

  body:not(.admin-page) #about.about.section-wrap {
    display: flex !important;
    flex-direction: column !important;
  }

  body:not(.admin-page) #about .about-copy {
    order: 1 !important;
  }

  body:not(.admin-page) #about .about-media {
    order: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body:not(.admin-page) #about .about-stats {
    order: 3 !important;
  }

  body:not(.admin-page) #about .about-frame {
    display: block !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    border-radius: 14px !important;
  }

  body:not(.admin-page) #about .about-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  body:not(.admin-page) #about .about-media-caption {
    position: static !important;
    width: 100% !important;
  }
}

/* 2026-06-30 photo live albums: 7-photo case cards + swipeable modal carousel */
body:not(.admin-page) .project-grid.photo-live-card-mode {
  display: block !important;
}

body:not(.admin-page) .photo-live-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

body:not(.admin-page) .photo-live-case-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  color: #f5f8ff;
  background:
    radial-gradient(circle at 28% 0%, rgba(76, 128, 255, 0.2), transparent 38%),
    linear-gradient(180deg, rgba(9, 21, 42, 0.86), rgba(3, 8, 18, 0.94));
  border: 1px solid rgba(110, 157, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

body:not(.admin-page) .photo-live-case-main {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  padding: 0;
  aspect-ratio: 16 / 9;
  color: inherit;
  background: #050914;
  border: 0;
  cursor: pointer;
}

body:not(.admin-page) .photo-live-case-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(1.06);
  transition: transform 360ms ease, filter 360ms ease;
}

body:not(.admin-page) .photo-live-case-card:hover .photo-live-case-main img {
  transform: scale(1.035);
  filter: brightness(0.9) saturate(1.12);
}

body:not(.admin-page) .photo-live-case-main span {
  position: absolute;
  top: 12px;
  left: 12px;
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: #061026;
  background: #eef5ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

body:not(.admin-page) .photo-live-case-thumbs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  padding: 10px 12px 0;
}

body:not(.admin-page) .photo-live-case-thumbs button {
  overflow: hidden;
  padding: 0;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(126, 173, 255, 0.18);
  border-radius: 7px;
  cursor: pointer;
  opacity: 0.62;
}

body:not(.admin-page) .photo-live-case-thumbs button.active {
  border-color: #7fb3ff;
  box-shadow: 0 0 16px rgba(87, 141, 255, 0.42);
  opacity: 1;
}

body:not(.admin-page) .photo-live-case-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:not(.admin-page) .photo-live-case-info {
  display: grid;
  gap: 10px;
  padding: 16px 16px 18px;
}

body:not(.admin-page) .photo-live-case-info h3 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  line-height: 1.28;
}

body:not(.admin-page) .photo-live-case-info p {
  display: -webkit-box;
  min-height: 42px;
  margin: 0;
  overflow: hidden;
  color: rgba(229, 240, 255, 0.68);
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body:not(.admin-page) .photo-live-case-action {
  width: fit-content;
  min-height: 36px;
  padding: 0 14px;
  color: #061026;
  background: #eef5ff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

body:not(.admin-page) .modal-photo-carousel {
  display: grid;
  gap: 14px;
}

body:not(.admin-page) .modal-photo-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050914;
  border-radius: 12px;
}

body:not(.admin-page) .modal-photo-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  user-select: none;
}

body:not(.admin-page) .modal-photo-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: rgba(5, 9, 20, 0.58);
  border: 1px solid rgba(238, 245, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

body:not(.admin-page) .modal-photo-prev {
  left: 14px;
}

body:not(.admin-page) .modal-photo-next {
  right: 14px;
}

body:not(.admin-page) [data-modal-photo-count] {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 6px 10px;
  color: #fff;
  background: rgba(5, 9, 20, 0.62);
  border: 1px solid rgba(238, 245, 255, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

body:not(.admin-page) .modal-photo-thumbs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

body:not(.admin-page) .modal-photo-thumbs button {
  overflow: hidden;
  padding: 0;
  aspect-ratio: 16 / 9;
  background: rgba(5, 9, 20, 0.5);
  border: 1px solid rgba(126, 173, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.62;
}

body:not(.admin-page) .modal-photo-thumbs button.active {
  border-color: #7fb3ff;
  box-shadow: 0 0 18px rgba(87, 141, 255, 0.4);
  opacity: 1;
}

body:not(.admin-page) .modal-photo-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  body:not(.admin-page) .photo-live-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body:not(.admin-page) .photo-live-case-grid {
    grid-template-columns: 1fr;
  }

  body:not(.admin-page) .mobile-side-case-list .photo-live-case-card {
    border-radius: 16px;
  }

  body:not(.admin-page) .photo-live-case-thumbs {
    grid-template-columns: repeat(7, 54px);
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  body:not(.admin-page) .photo-live-case-thumbs::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-page) .photo-live-case-info h3 {
    font-size: 18px;
  }

  body:not(.admin-page) .modal-photo-thumbs {
    grid-auto-columns: 76px;
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  body:not(.admin-page) .modal-photo-thumbs::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-page) .modal-photo-arrow {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }
}

/* 2026-06-30 viewing modal: no case-detail CTA on cards, centered playback with bottom close */
body:not(.admin-page) .project-card .detail-label,
body:not(.admin-page) .photo-live-case-action {
  display: none !important;
}

body:not(.admin-page) .media-modal {
  padding: clamp(12px, 2.4vw, 26px) !important;
}

body:not(.admin-page) .media-modal.open {
  display: grid !important;
  place-items: center !important;
}

body:not(.admin-page) .media-modal-panel {
  display: flex !important;
  width: min(1040px, calc(100vw - 28px)) !important;
  max-height: calc(100svh - 28px) !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: auto !important;
  padding: clamp(20px, 3.2vw, 34px) !important;
  color: #f5f8ff !important;
  text-align: center !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(76, 128, 255, 0.16), transparent 42%),
    rgba(4, 8, 18, 0.96) !important;
  border: 1px solid rgba(126, 173, 255, 0.22) !important;
  border-radius: 18px !important;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.62) !important;
}

body:not(.admin-page) .media-modal-close {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  color: rgba(245, 248, 255, 0.72) !important;
  background: rgba(245, 248, 255, 0.08) !important;
  border: 1px solid rgba(245, 248, 255, 0.16) !important;
  font-size: 0 !important;
}

body:not(.admin-page) .media-modal-close::before {
  content: "×";
  font-size: 22px;
  line-height: 1;
}

body:not(.admin-page) .media-modal-panel .section-kicker {
  margin-inline: auto !important;
}

body:not(.admin-page) .media-modal-panel h2 {
  max-width: 820px !important;
  margin-inline: auto !important;
  color: #fff !important;
  font-size: clamp(24px, 4.4vw, 46px) !important;
  text-align: center !important;
}

body:not(.admin-page) .media-modal-copy {
  max-width: 760px !important;
  margin-inline: auto !important;
  color: rgba(229, 240, 255, 0.68) !important;
  text-align: center !important;
}

body:not(.admin-page) .media-modal-body {
  display: grid !important;
  width: 100% !important;
  justify-items: center !important;
  gap: 16px !important;
}

body:not(.admin-page) .media-modal-body video,
body:not(.admin-page) .media-modal-body > img,
body:not(.admin-page) .media-modal-body .modal-photo-carousel {
  width: min(920px, 100%) !important;
}

body:not(.admin-page) .media-modal-body video,
body:not(.admin-page) .media-modal-body > img {
  max-height: min(68svh, 640px) !important;
  object-fit: contain !important;
  background: #050914 !important;
  border-radius: 14px !important;
}

body:not(.admin-page) .media-modal-bottom-close {
  display: inline-flex !important;
  min-width: 118px !important;
  min-height: 44px !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 20px !important;
  color: #061026 !important;
  background: #eef5ff !important;
  border: 0 !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  font: inherit !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  box-shadow: 0 16px 42px rgba(72, 132, 255, 0.26) !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) .media-modal-panel {
    width: calc(100vw - 22px) !important;
    max-height: calc(100svh - 22px) !important;
    padding: 18px 14px 16px !important;
  }

  body:not(.admin-page) .media-modal-panel h2 {
    font-size: 24px !important;
  }

  body:not(.admin-page) .media-modal-copy {
    font-size: 13px !important;
  }

  body:not(.admin-page) .media-modal-bottom-close {
    width: 100% !important;
    margin-top: 16px !important;
  }
}

/* 2026-06-30: top navigation active indicator follows clicked/scrolled section. */
body:not(.admin-page) .nav-links a:first-child::after {
  width: 0 !important;
}

body:not(.admin-page) .nav-links a:hover::after,
body:not(.admin-page) .nav-links a.is-active::after {
  width: 22px !important;
}

body:not(.admin-page) .nav-links a.is-active {
  color: #ffffff !important;
}

body:not(.admin-page) .nav-links a.is-active::after {
  background: linear-gradient(90deg, transparent, #6fa2ff, transparent) !important;
  box-shadow: 0 0 16px rgba(105, 161, 255, 0.72) !important;
}

/* 2026-06-30: English layout guard. English strings are longer than Chinese,
   so keep typography and card text inside stable bounds without touching CN/TW. */
html[lang="en"] body:not(.admin-page) .nav-links {
  gap: clamp(14px, 1.35vw, 24px) !important;
}

html[lang="en"] body:not(.admin-page) .nav-links a,
html[lang="en"] body:not(.admin-page) .nav-cta {
  font-size: 12.5px !important;
  white-space: nowrap !important;
}

html[lang="en"] body:not(.admin-page) .nav-cta {
  min-width: 96px !important;
  padding-inline: 17px !important;
}

html[lang="en"] body:not(.admin-page) .hero .eyebrow,
html[lang="en"] body:not(.admin-page) main#top .hero .eyebrow {
  max-width: min(92vw, 620px) !important;
  margin-inline: auto !important;
  font-size: clamp(13px, 1.1vw, 15px) !important;
  line-height: 1.45 !important;
  white-space: normal !important;
}

html[lang="en"] body:not(.admin-page) .hero-copy,
html[lang="en"] body:not(.admin-page) main#top .hero-copy {
  max-width: min(88vw, 620px) !important;
  font-size: clamp(13px, 1.05vw, 16px) !important;
  line-height: 1.55 !important;
}

html[lang="en"] body:not(.admin-page) .filter-button {
  min-width: 0 !important;
  padding: 10px 14px !important;
  font-size: 12.5px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html[lang="en"] body:not(.admin-page) .case-type-row-title {
  font-size: clamp(17px, 1.2vw, 20px) !important;
}

html[lang="en"] body:not(.admin-page) .project-card h3 {
  min-height: 46px !important;
  font-size: clamp(18px, 1.4vw, 22px) !important;
  line-height: 1.18 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html[lang="en"] body:not(.admin-page) .project-card p {
  min-height: 44px !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html[lang="en"] body:not(.admin-page) .project-card .detail-label {
  width: max-content !important;
  max-width: 100% !important;
  white-space: nowrap !important;
}

html[lang="en"] body:not(.admin-page) .services .section-head h2 {
  font-size: clamp(40px, 4.4vw, 64px) !important;
  line-height: 1.08 !important;
}

html[lang="en"] body:not(.admin-page) .services .section-head > p {
  max-width: 640px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

html[lang="en"] body:not(.admin-page) .service-board h3 {
  min-height: 52px !important;
  font-size: clamp(21px, 1.55vw, 25px) !important;
  line-height: 1.12 !important;
  display: grid !important;
  place-items: center !important;
}

html[lang="en"] body:not(.admin-page) .service-board p {
  min-height: 62px !important;
  max-width: 96% !important;
  font-size: 12px !important;
  line-height: 1.48 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html[lang="en"] body:not(.admin-page) .service-details {
  gap: 8px !important;
}

html[lang="en"] body:not(.admin-page) .service-details li {
  min-width: 92px !important;
  padding: 0 8px !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  border-left: 0 !important;
}

html[lang="en"] body:not(.admin-page) .about-copy h2,
html[lang="en"] body:not(.admin-page) .about-panel h2 {
  font-size: clamp(30px, 3.4vw, 54px) !important;
  line-height: 1.1 !important;
}

html[lang="en"] body:not(.admin-page) .strength-card p,
html[lang="en"] body:not(.admin-page) .about-pillars p {
  font-size: 12.5px !important;
  line-height: 1.45 !important;
}

@media (max-width: 1100px) {
  html[lang="en"] body:not(.admin-page) .nav-links {
    gap: 13px !important;
  }

  html[lang="en"] body:not(.admin-page) .nav-links a {
    font-size: 11.5px !important;
  }
}

@media (max-width: 768px) {
  html[lang="en"] body:not(.admin-page) .hero .eyebrow,
  html[lang="en"] body:not(.admin-page) main#top .hero .eyebrow {
    max-width: 320px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  html[lang="en"] body:not(.admin-page) .hero-copy,
  html[lang="en"] body:not(.admin-page) main#top .hero-copy {
    max-width: 320px !important;
    font-size: 12px !important;
  }

  html[lang="en"] body:not(.admin-page) .filter-button {
    padding: 10px 13px !important;
    font-size: 12px !important;
  }

  html[lang="en"] body:not(.admin-page) .project-card.mobile-case-card h3 {
    min-height: 42px !important;
    font-size: 20px !important;
  }

  html[lang="en"] body:not(.admin-page) .project-card.mobile-case-card p {
    min-height: 38px !important;
    font-size: 12px !important;
  }

  html[lang="en"] body:not(.admin-page) .services .section-head h2 {
    font-size: clamp(30px, 8vw, 34px) !important;
  }

  html[lang="en"] body:not(.admin-page) .service-board h3 {
    min-height: 42px !important;
    font-size: 22px !important;
  }

  html[lang="en"] body:not(.admin-page) .service-board p {
    min-height: 54px !important;
    font-size: 11.5px !important;
  }

  html[lang="en"] body:not(.admin-page) .service-details li {
    min-width: 88px !important;
    font-size: 9.8px !important;
  }
}

/* 2026-06-30: mobile-only case library with left category rail. Desktop stays untouched. */
@media (max-width: 768px) {
  body:not(.admin-page) .work.case-library .filter-bar {
    display: none !important;
  }

  body:not(.admin-page) .work.case-library .section-head {
    margin-bottom: 20px !important;
  }

  body:not(.admin-page) .project-grid.mobile-side-case-grid {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  body:not(.admin-page) .mobile-case-shell {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    width: 100%;
    min-width: 0;
  }

  body:not(.admin-page) .mobile-case-side-nav {
    position: sticky;
    top: 88px;
    z-index: 4;
    display: grid;
    gap: 8px;
    max-height: calc(100vh - 112px);
    padding: 6px;
    overflow-y: auto;
    border: 1px solid rgba(114, 151, 224, 0.16);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(6, 14, 29, 0.94), rgba(2, 7, 16, 0.98)),
      repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 34px rgba(0, 0, 0, 0.24);
    scrollbar-width: none;
  }

  body:not(.admin-page) .mobile-case-side-nav::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-page) .mobile-case-side-nav button {
    display: grid;
    place-items: center;
    min-height: 70px;
    padding: 8px 6px;
    color: rgba(229, 237, 255, 0.74);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(129, 164, 231, 0.12);
    border-radius: 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  }

  body:not(.admin-page) .mobile-case-side-nav button span {
    display: block;
    max-width: 3.2em;
  }

  body:not(.admin-page) .mobile-case-side-nav button.active {
    color: #061021;
    background: linear-gradient(180deg, #f3f7ff, #dbe8ff);
    border-color: rgba(233, 242, 255, 0.86);
    box-shadow: 0 0 0 1px rgba(91, 139, 255, 0.24), 0 12px 26px rgba(71, 126, 255, 0.2);
    transform: translateX(3px);
  }

  body:not(.admin-page) .mobile-case-content {
    display: grid;
    gap: 12px;
    min-width: 0;
  }

  body:not(.admin-page) .mobile-case-content-head {
    display: grid;
    gap: 4px;
    padding: 2px 2px 4px;
  }

  body:not(.admin-page) .mobile-case-content-head span {
    color: #4d7cff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  body:not(.admin-page) .mobile-case-content-head h3 {
    margin: 0;
    color: #f6f9ff;
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: 0;
  }

  body:not(.admin-page) .mobile-side-case-list {
    display: grid;
    gap: 12px;
    min-width: 0;
  }

  body:not(.admin-page) .mobile-side-case-list .project-card.mobile-case-card {
    border-radius: 17px;
    background:
      linear-gradient(180deg, rgba(11, 23, 47, 0.86), rgba(5, 10, 20, 0.96)),
      rgba(255, 255, 255, 0.03);
    border-color: rgba(121, 158, 228, 0.18);
  }

  body:not(.admin-page) .mobile-side-case-list .project-card.mobile-case-card .project-thumb {
    aspect-ratio: 16 / 9;
  }

  body:not(.admin-page) .mobile-side-case-list .project-card.mobile-case-card h3 {
    min-height: 0 !important;
    padding-inline: 14px;
    font-size: 18px !important;
    line-height: 1.25 !important;
    -webkit-line-clamp: 2;
  }

  body:not(.admin-page) .mobile-side-case-list .project-card.mobile-case-card p {
    min-height: 0 !important;
    padding-inline: 14px;
    color: rgba(218, 229, 247, 0.68);
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    -webkit-line-clamp: 2;
  }

  body:not(.admin-page) .mobile-side-case-list .project-card.mobile-case-card .detail-label {
    margin-left: 14px;
    margin-bottom: 14px;
  }

  body:not(.admin-page) .mobile-case-empty {
    display: grid;
    gap: 8px;
    min-height: 220px;
    padding: 22px 16px;
    place-content: center;
    color: rgba(218, 229, 247, 0.74);
    text-align: center;
    border: 1px dashed rgba(123, 168, 255, 0.2);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
  }

  body:not(.admin-page) .mobile-case-empty strong {
    color: #f6f9ff;
    font-size: 20px;
  }

  body:not(.admin-page) .mobile-case-empty p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
  }

  html[lang="en"] body:not(.admin-page) .mobile-case-shell {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  html[lang="en"] body:not(.admin-page) .mobile-case-side-nav button {
    min-height: 66px;
    font-size: 10px;
    letter-spacing: 0;
  }

  html[lang="en"] body:not(.admin-page) .mobile-case-side-nav button span {
    max-width: 5.6em;
  }
}

/* Final optical correction: the raster icons carry transparent breathing room. */
body:not(.admin-page) .service-icon {
  width: 132px !important;
  height: 132px !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) .service-icon {
    width: 96px !important;
    height: 96px !important;
  }
}

/* V2 responsive polish: desktop keeps cinematic layouts, mobile uses dedicated reading flow. */
body:not(.admin-page) .data-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(28px, 3.2vw, 46px);
}

body:not(.admin-page) .data-card-grid article {
  min-height: 230px;
  padding: clamp(24px, 2.5vw, 36px);
  background:
    radial-gradient(circle at 86% 12%, rgba(167, 229, 42, 0.1), transparent 28%),
    rgba(7, 10, 10, 0.68);
  border: 1px solid rgba(168, 192, 174, 0.18);
  border-radius: 14px;
}

body:not(.admin-page) .data-card-grid article strong {
  font-size: clamp(48px, 5vw, 78px);
}

body:not(.admin-page) .data-card-grid article:nth-child(4) strong {
  font-size: clamp(40px, 4.2vw, 68px);
}

body:not(.admin-page) .data-card-grid article span {
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.35;
}

body:not(.admin-page) .data-card-grid article p {
  max-width: 100%;
}

.mobile-contact-bar {
  display: none;
}

@media (min-width: 1024px) {
  body:not(.admin-page) .case-featured-layout {
    grid-template-columns: repeat(20, minmax(0, 1fr));
  }

  body:not(.admin-page) .case-featured-layout .project-card.project-card-featured {
    grid-column: span 11;
  }

  body:not(.admin-page) .case-featured-layout .project-card.project-card-secondary {
    grid-column: span 9;
  }

  body:not(.admin-page) .case-standard-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body:not(.admin-page) .project-card h3 {
    min-height: 32px;
  }

  body:not(.admin-page) .project-card p {
    min-height: 48px;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-bottom: 92px;
  }

  body:not(.admin-page) {
    padding-bottom: 78px;
  }

  body:not(.admin-page) .nav {
    padding: 12px 16px;
  }

  body:not(.admin-page) .nav-links,
  body:not(.admin-page) .nav-cta {
    display: none;
  }

  body:not(.admin-page) .brand span:last-child {
    font-size: 16px;
  }

  body:not(.admin-page) .hero {
    min-height: 86vh;
  }

  body:not(.admin-page) .hero h1 {
    font-size: clamp(32px, 10vw, 48px);
  }

  body:not(.admin-page) .hero-copy {
    font-size: 15px;
  }

  body:not(.admin-page) .hero-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body:not(.admin-page) .hero-strip span {
    min-height: 42px;
    padding: 10px 8px;
    font-size: 12px;
  }

  .manifesto {
    min-height: 82vh;
    padding: 62px 20px 220px;
    background-position: 64% center;
  }

  .manifesto-copy h2 {
    max-width: 360px;
    font-size: clamp(38px, 12vw, 56px);
    line-height: 1.16;
  }

  .manifesto-copy p {
    font-size: 16px;
  }

  .manifesto-proof {
    grid-template-columns: 1fr;
    max-width: 260px;
    margin-top: 34px;
    gap: 14px;
  }

  .manifesto-logo img {
    width: 62px;
    height: 62px;
  }

  .manifesto-logo strong {
    font-size: 20px;
  }

  .manifesto-caption {
    display: none;
  }

  body:not(.admin-page) .brand-intro-panel {
    display: grid;
    width: calc(100% - 24px);
    margin: 0 auto;
    border-radius: 16px;
  }

  body:not(.admin-page) .intro-hero-card {
    padding: 34px 22px;
  }

  body:not(.admin-page) .intro-hero-card h2 {
    font-size: clamp(38px, 11vw, 56px);
  }

  body:not(.admin-page) .intro-signature img {
    width: 76px;
  }

  body:not(.admin-page) .intro-system {
    padding: 26px 18px;
  }

  body:not(.admin-page) .intro-capabilities {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body:not(.admin-page) .intro-capabilities article {
    min-height: 116px;
    padding: 18px;
  }

  body:not(.admin-page) .intro-service-pills {
    grid-template-columns: 1fr;
  }

  body:not(.admin-page) .data-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  body:not(.admin-page) .data-card-grid article {
    min-height: 0;
    padding: 22px;
  }

  body:not(.admin-page) .data-card-grid article strong,
  body:not(.admin-page) .data-card-grid article:nth-child(4) strong {
    font-size: 44px;
  }

  body:not(.admin-page) .section-wrap {
    padding: 64px 16px;
  }

  body:not(.admin-page) .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body:not(.admin-page) .filter-bar {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
  }

  body:not(.admin-page) .filter-button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 13px;
    font-size: 13px;
  }

  body:not(.admin-page) .case-featured-layout,
  body:not(.admin-page) .case-standard-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body:not(.admin-page) .project-card,
  body:not(.admin-page) .project-card.project-card-featured,
  body:not(.admin-page) .project-card.project-card-secondary {
    grid-column: auto;
  }

  body:not(.admin-page) .project-thumb {
    border-radius: 14px;
  }

  body:not(.admin-page) .project-card h3 {
    min-height: 0;
    font-size: 20px;
    -webkit-line-clamp: 2;
  }

  body:not(.admin-page) .project-card p {
    min-height: 0;
    font-size: 14px;
  }

  .photo-live-stage {
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
  }

  .photo-live-stage img {
    min-height: 0;
    height: 100%;
  }

  .photo-live-stage h3 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .photo-live-thumbs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .photo-live-thumbs button {
    flex: 0 0 76px;
  }

  body:not(.admin-page) .about,
  body:not(.admin-page) .process,
  body:not(.admin-page) .contact-inner {
    grid-template-columns: 1fr;
  }

  body:not(.admin-page) .service-list,
  body:not(.admin-page) .process-list {
    grid-template-columns: 1fr;
  }

  body:not(.admin-page) .wechat-float {
    display: none;
  }

  .mobile-contact-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    background: rgba(7, 10, 10, 0.84);
    border: 1px solid rgba(168, 192, 174, 0.22);
    border-radius: 18px;
    backdrop-filter: blur(18px);
  }

  .mobile-contact-bar a,
  .mobile-contact-bar button {
    min-height: 42px;
    color: #f5f5f3;
    background: rgba(245, 245, 243, 0.06);
    border: 1px solid rgba(245, 245, 243, 0.12);
    border-radius: 999px;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
  }

  .mobile-contact-bar button {
    cursor: pointer;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 44px);
  color: var(--white);
  background: rgba(16, 17, 20, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.nav-cta,
.header-actions,
.language-switcher {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
  font-size: 13px;
}

.nav-links {
  gap: clamp(14px, 2.5vw, 32px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.nav-links a,
.nav-cta {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-links a:hover {
  color: var(--white);
}

.header-actions {
  justify-self: end;
  gap: 10px;
}

.language-switcher {
  min-height: 38px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.language-button {
  min-width: 35px;
  min-height: 30px;
  padding: 0 9px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.language-button.active,
.language-button:hover {
  color: var(--ink);
  background: var(--lime);
}

.nav-cta {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: 14px;
}

.nav-cta:hover {
  color: var(--ink);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media,
.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  z-index: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video.active {
  display: block;
}

.hero-video.active ~ .hero-media {
  opacity: 0;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1475721027785-f74eccf877e2?auto=format&fit=crop&w=2200&q=85");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 17, 20, 0.86), rgba(16, 17, 20, 0.38)),
    linear-gradient(0deg, rgba(16, 17, 20, 0.92), rgba(16, 17, 20, 0.02) 48%);
}

.hero-media {
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-media.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 82vh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 150px clamp(22px, 5vw, 46px) 90px;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(62px, 12vw, 168px);
  font-weight: 950;
  line-height: 0.85;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 11px;
  color: var(--coral);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.intro h2,
.section-head h2,
.process h2,
.contact h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 880px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.96;
}

.hero-copy {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
}

.button-primary {
  color: var(--ink);
  background: var(--lime);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.hero-strip {
  position: relative;
  z-index: 3;
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 46px) 26px;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.hero-strip span {
  min-height: 58px;
  padding: 19px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  text-align: center;
  backdrop-filter: blur(12px);
}

.section-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px clamp(22px, 5vw, 46px);
}

.marquee-section {
  overflow: hidden;
  padding: 0 0 30px;
  background: var(--paper);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: image-scroll 34s linear infinite;
}

.marquee-group {
  display: flex;
  gap: 18px;
}

.marquee-group img {
  width: clamp(260px, 34vw, 520px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

@keyframes image-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.intro-head {
  min-height: 420px;
  padding: clamp(28px, 5vw, 58px);
  color: var(--soft);
  background: #0e1111;
  border: 1px solid rgba(168, 192, 174, 0.16);
  border-radius: 8px;
}

.intro-body {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 26px;
  padding: clamp(20px, 4vw, 46px) 0;
}

.intro-focus {
  display: grid;
  gap: 12px;
  color: var(--soft);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.15;
}

.intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.intro-tags span {
  min-height: 38px;
  padding: 9px 14px;
  color: #dce8df;
  background: rgba(124, 145, 132, 0.12);
  border: 1px solid rgba(168, 192, 174, 0.28);
  border-radius: 999px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.intro-tags span:hover {
  background: rgba(168, 192, 174, 0.14);
  border-color: rgba(168, 192, 174, 0.52);
  box-shadow: 0 0 24px rgba(168, 192, 174, 0.12);
}

.experience-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  background: var(--line);
  border: 1px solid var(--line);
}

.experience-strip div {
  min-height: 128px;
  padding: 22px;
  background: var(--white);
}

.experience-strip strong,
.experience-strip span {
  display: block;
}

.experience-strip strong {
  margin-bottom: 10px;
  font-size: 20px;
}

.experience-strip span {
  color: var(--muted);
  line-height: 1.6;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.about-media {
  overflow: hidden;
  border-radius: 8px;
  background: var(--panel);
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
}

.about-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.intro h2,
.section-head h2,
.process h2,
.contact h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
}

.intro p:not(.section-kicker),
.section-head p,
.process-list p,
.project-card p,
.service-board p,
.contact-panel,
.site-footer {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}

.filter-button.active,
.filter-button:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
}

.project-card {
  min-width: 0;
}

.project-card.hidden {
  display: none;
}

.project-empty {
  display: none;
  grid-column: 1 / -1;
  padding: 34px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.6;
}

.project-empty.visible {
  display: block;
}

.media-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: none;
  padding: 24px;
}

.media-modal.open {
  display: grid;
  place-items: center;
}

.media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 17, 20, 0.76);
  backdrop-filter: blur(10px);
}

.media-modal-panel {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  background: var(--paper);
  border-radius: 8px;
}

.media-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 34px;
  padding: 0 12px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.media-modal-panel h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.04;
}

.media-modal-copy {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

.media-modal-body video,
.media-modal-body img {
  width: 100%;
  border-radius: 8px;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.modal-gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.live-link-panel {
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 30px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  text-align: center;
}

.live-link-panel a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 14px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  font-weight: 900;
}

.project-thumb {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--panel);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.project-thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 260ms ease;
}

.project-thumb:hover img {
  transform: scale(1.05);
}

.project-thumb:hover video {
  opacity: 1;
}

.play-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 13px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.project-type {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  color: var(--white);
  background: rgba(16, 17, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.detail-label {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-top: 12px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.project-meta span {
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.project-card h3,
.service-board h3,
.process-list h3 {
  margin: 12px 0 8px;
  font-size: 23px;
  line-height: 1.15;
}

.project-card p,
.service-board p,
.process-list p {
  margin: 0;
}

.services {
  border-top: 1px solid var(--line);
}

.service-board {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1.2fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-board article {
  padding: 28px;
  background: var(--white);
}

.service-feature {
  min-height: 100%;
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(16, 17, 20, 0.72), rgba(16, 17, 20, 0.72)),
    url("https://images.unsplash.com/photo-1475721027785-f74eccf877e2?auto=format&fit=crop&w=1200&q=85") center / cover;
}

.service-feature p,
.service-feature .service-index {
  color: rgba(255, 255, 255, 0.82);
}

.service-feature h3 {
  font-size: clamp(30px, 4vw, 48px);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.service-list article {
  min-height: 230px;
}

.service-index {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--coral);
  font-weight: 900;
}

.brand-poster {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  overflow: hidden;
  color: var(--white);
  background: #030304;
  opacity: 0;
  transition: opacity 600ms ease;
}

.brand-poster.open {
  display: block;
  opacity: 1;
}

.brand-poster.open.closing {
  opacity: 0;
  pointer-events: none;
}

body.poster-open {
  overflow: hidden;
}

.poster-stage,
.poster-slide,
.poster-slide-media,
.poster-video,
.poster-grain {
  position: absolute;
  inset: 0;
}

.poster-video {
  z-index: 1;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.28) saturate(0.54);
}

.poster-video.active {
  display: block;
}

.poster-grain {
  z-index: 4;
  pointer-events: none;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: screen;
}

.poster-slide {
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 900ms ease, transform 1200ms ease;
}

.poster-slide.active {
  opacity: 1;
  transform: scale(1);
}

.poster-slide-media {
  background-position: center;
  background-size: cover;
  filter: brightness(0.42) saturate(0.82);
}

.poster-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(199, 163, 90, 0.13), transparent 34%),
    linear-gradient(0deg, rgba(3, 3, 4, 0.94), rgba(3, 3, 4, 0.3), rgba(3, 3, 4, 0.9));
}

.poster-slide-copy {
  position: relative;
  z-index: 2;
  width: min(960px, calc(100% - 44px));
  text-align: center;
}

.poster-logo {
  margin: 0 0 22px;
  color: var(--white);
  font-size: clamp(52px, 10vw, 148px);
  font-weight: 950;
  line-height: 0.9;
}

.poster-logo span {
  color: var(--lime);
  font-size: clamp(20px, 3.2vw, 42px);
  letter-spacing: 0.16em;
}

.poster-slide-copy h2 {
  max-width: 880px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(28px, 5vw, 70px);
  line-height: 1.1;
}

.poster-countdown {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
}

.poster-countdown span {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
  font-size: 34px;
  font-weight: 950;
}

.brand-poster-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 6;
  min-height: 34px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--lime);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.process {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(34px, 6vw, 84px);
  border-top: 1px solid var(--line);
}

.process-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 24px;
  background: var(--white);
}

.process-list > li > span {
  color: var(--blue);
  font-weight: 900;
}

.process-list h3 {
  margin-top: 0;
}

.contact {
  padding: 96px clamp(22px, 5vw, 46px);
  color: var(--white);
  background: var(--ink);
}

.contact-inner {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(28px, 7vw, 96px);
  align-items: end;
}

.contact .section-kicker {
  color: var(--lime);
}

.contact-panel {
  display: grid;
  gap: 1px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-panel a {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 160ms ease;
}

.contact-panel a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px clamp(22px, 5vw, 46px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.admin-entry {
  color: #9b9fa6;
  font-size: 13px;
}

body:not(.admin-page) {
  --ink: #0b0b0d;
  --muted: #b9b1a4;
  --paper: #111113;
  --line: rgba(255, 255, 255, 0.14);
  --lime: #c7a35a;
  --coral: #c7a35a;
  --blue: #d7c7a1;
  --panel: #1b1b1f;
  --soft: #f5f0e6;
  color: var(--soft);
  background: var(--paper);
}

body:not(.admin-page) .site-header {
  background: rgba(11, 11, 13, 0.82);
}

body:not(.admin-page) .hero {
  min-height: 100vh;
}

body:not(.admin-page) .hero-overlay {
  background:
    radial-gradient(circle at 72% 26%, rgba(199, 163, 90, 0.14), transparent 32%),
    linear-gradient(90deg, rgba(4, 4, 5, 0.9), rgba(4, 4, 5, 0.44)),
    linear-gradient(0deg, rgba(4, 4, 5, 0.96), rgba(4, 4, 5, 0.08) 52%);
}

body:not(.admin-page) .brand-title {
  font-size: clamp(72px, 14vw, 190px);
}

body:not(.admin-page) .hero h1 {
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.02;
}

body:not(.admin-page) .eyebrow,
body:not(.admin-page) .section-kicker {
  color: var(--lime);
  background: rgba(11, 11, 13, 0.72);
  border-color: rgba(199, 163, 90, 0.28);
}

body:not(.admin-page) .button-secondary {
  color: var(--white);
}

body:not(.admin-page) .hero-strip span {
  background: rgba(255, 255, 255, 0.08);
}

.stats-band {
  position: relative;
  z-index: 4;
  display: grid;
  max-width: var(--max);
  margin: -42px auto 0;
  padding: 0 clamp(22px, 5vw, 46px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-band div {
  min-height: 138px;
  padding: 24px;
  color: var(--ink);
  background: rgba(245, 240, 230, 0.96);
  border: 1px solid rgba(11, 11, 13, 0.1);
}

.stats-band strong,
.stats-band span {
  display: block;
}

.stats-band strong {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.96;
}

.stats-band span {
  color: #5f5b55;
  font-weight: 800;
}

.stats-band p {
  margin: 12px 0 0;
  color: #6d665e;
  font-size: 13px;
  line-height: 1.55;
}

body:not(.admin-page) .experience-strip,
body:not(.admin-page) .service-board,
body:not(.admin-page) .service-list,
body:not(.admin-page) .process-list {
  background: rgba(255, 255, 255, 0.12);
}

body:not(.admin-page) .experience-strip div,
body:not(.admin-page) .service-board article,
body:not(.admin-page) .process-list li {
  background: #19191d;
}

body:not(.admin-page) .about-copy p:not(.section-kicker),
body:not(.admin-page) .experience-strip span,
body:not(.admin-page) .intro p:not(.section-kicker),
body:not(.admin-page) .section-head p,
body:not(.admin-page) .process-list p,
body:not(.admin-page) .project-card p,
body:not(.admin-page) .service-board p {
  color: #b9b1a4;
}

body:not(.admin-page) .filter-button {
  color: var(--soft);
}

body:not(.admin-page) .filter-button.active,
body:not(.admin-page) .filter-button:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

body:not(.admin-page) .project-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

body:not(.admin-page) .project-card {
  grid-column: span 2;
}

body:not(.admin-page) .project-card:nth-child(1) {
  grid-column: span 4;
}

body:not(.admin-page) .project-card:nth-child(6n) {
  grid-column: span 3;
}

body:not(.admin-page) .project-empty {
  background: rgba(255, 255, 255, 0.08);
}

body:not(.admin-page) .project-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 6, 0.72), transparent 54%);
  opacity: 0.92;
  pointer-events: none;
}

body:not(.admin-page) .play-label,
body:not(.admin-page) .project-type {
  z-index: 2;
}

body:not(.admin-page) .project-meta span {
  color: #d7c7a1;
  background: rgba(255, 255, 255, 0.08);
}

body:not(.admin-page) .media-modal-panel {
  color: var(--soft);
  background: #111113;
}

body:not(.admin-page) .media-modal-copy {
  color: #b9b1a4;
}

.case-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.case-detail-grid article {
  padding: 18px;
  background: #19191d;
}

.case-detail-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
}

.case-detail-grid p {
  margin: 0;
  color: #cfc5b7;
  line-height: 1.65;
}

body:not(.admin-page) .contact {
  background: #050506;
}

body:not(.admin-page) .contact-inner {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 560px);
}

.contact-stack {
  display: grid;
  gap: 14px;
}

.quote-form {
  display: grid;
  gap: 10px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  font: inherit;
}

.quote-form textarea {
  min-height: 108px;
  padding-top: 13px;
  resize: vertical;
}

.quote-form button {
  min-height: 50px;
  color: var(--ink);
  background: var(--lime);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.logo-wall span {
  display: grid;
  min-height: 112px;
  place-items: center;
  color: #d8c69e;
  background: #19191d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.faq {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: clamp(28px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: #19191d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.faq-list summary {
  padding: 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: #b9b1a4;
  line-height: 1.7;
}

body:not(.admin-page) .site-footer {
  color: var(--ink);
  background: var(--soft);
}

.wechat-float {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
}

.wechat-button {
  min-height: 48px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--lime);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.wechat-card {
  position: absolute;
  right: 0;
  bottom: 62px;
  display: none;
  width: 230px;
  padding: 14px;
  color: var(--soft);
  background: #111113;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.42);
}

.wechat-card.open {
  display: grid;
  gap: 10px;
}

.wechat-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.wechat-card span {
  color: #b9b1a4;
  font-size: 13px;
}

.project-detail-page {
  color: var(--soft);
  background: #111113;
}

.project-hero-detail {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  display: grid;
  align-items: end;
}

.project-detail-bg,
.project-detail-overlay {
  position: absolute;
  inset: 0;
}

.project-detail-bg {
  background-position: center;
  background-size: cover;
  filter: brightness(0.58) saturate(0.86);
}

.project-detail-overlay {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.9), rgba(5, 5, 6, 0.38)),
    linear-gradient(0deg, rgba(17, 17, 19, 1), transparent 58%);
}

.project-detail-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 150px clamp(22px, 5vw, 46px) 80px;
}

.project-detail-content h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 1;
}

.project-detail-content p:not(.section-kicker) {
  max-width: 760px;
  color: #d0c6b8;
  font-size: 18px;
  line-height: 1.7;
}

.detail-back {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  margin-bottom: 22px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  font-weight: 900;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.project-detail-grid article {
  padding: 24px;
  background: #19191d;
}

.project-detail-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--lime);
  font-weight: 900;
}

.project-detail-grid p {
  margin: 0;
  color: #cfc5b7;
  line-height: 1.75;
}

.project-media-detail video,
.project-detail-gallery img {
  width: 100%;
  border-radius: 8px;
}

.project-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project-detail-gallery img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.admin-page {
  min-height: 100vh;
  background: #f4f1ea;
}

.admin-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px 80px;
}

.admin-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.admin-top h1 {
  margin: 8px 0 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.admin-back {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  font-weight: 800;
}

.admin-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: start;
}

.admin-tabs {
  display: grid;
  gap: 8px;
  position: sticky;
  top: 18px;
}

.admin-tab-group {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: #f5f2ec;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-tab-group p {
  margin: 0 4px 2px;
  color: #7d756b;
  font-size: 12px;
  font-weight: 950;
}

.admin-tab {
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: left;
}

.admin-tab.active,
.admin-tab:hover {
  color: var(--white);
  background: var(--ink);
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.admin-panel {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-panel h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #4e5259;
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.field input[type="file"] {
  padding: 9px 12px;
}

.field textarea {
  min-height: 116px;
  padding: 12px;
  resize: vertical;
  line-height: 1.55;
}

.toggle-field {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: #4e5259;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.toggle-field input {
  width: auto;
  min-height: auto;
}

.asset-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.saved-asset-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #f4f6f2;
  border: 1px solid rgba(124, 145, 132, 0.28);
  border-radius: 8px;
}

.saved-asset-panel > div {
  display: flex;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
}

.saved-asset-panel b {
  color: var(--ink);
  font-size: 14px;
}

.saved-asset-panel span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.saved-asset-panel ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.saved-asset-panel li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 7px 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(219, 224, 216, 0.9);
  border-radius: 7px;
}

.saved-asset-panel li span {
  color: #687269;
  font-size: 11px;
}

.saved-asset-panel li strong {
  overflow: hidden;
  color: #202522;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 2026-07-03: final mobile subtype rail, driven by the editable admin order. */
@media (max-width: 768px) {
  body:not(.admin-page) .mobile-case-content {
    gap: 10px !important;
  }

  body:not(.admin-page) .mobile-case-subtype-nav {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: max-content !important;
    justify-content: start !important;
    align-items: center !important;
    gap: 8px !important;
    width: calc(100% + 8px) !important;
    max-width: calc(100% + 8px) !important;
    margin: 0 -4px 4px !important;
    padding: 4px 4px 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    scroll-snap-type: x proximity !important;
    scroll-padding-inline: 42vw !important;
    overscroll-behavior-inline: contain !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body:not(.admin-page) .mobile-case-subtype-nav::-webkit-scrollbar {
    display: none !important;
  }

  body:not(.admin-page) .mobile-case-subtype-nav button {
    flex: none !important;
    scroll-snap-align: center !important;
    min-width: max-content !important;
    min-height: 32px !important;
    padding: 0 14px !important;
    color: rgba(224, 235, 255, 0.72) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(115, 158, 255, 0.16) !important;
    border-radius: 999px !important;
    font: inherit !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
  }

  body:not(.admin-page) .mobile-case-subtype-nav button.active {
    color: #061021 !important;
    background: linear-gradient(180deg, #eef5ff, #d9e7ff) !important;
    border-color: rgba(239, 246, 255, 0.9) !important;
    box-shadow: 0 10px 22px rgba(75, 128, 255, 0.2) !important;
  }
}

.project-editor {
  display: grid;
  gap: 16px;
}

.project-editor article {
  position: relative;
  padding: 16px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.category-editor {
  display: grid;
  gap: 16px;
}

.project-editor h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.project-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.admin-button {
  min-height: 44px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--lime);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.admin-button.secondary {
  color: var(--white);
  background: var(--panel);
}

.admin-button.danger {
  color: var(--white);
  background: #b8453d;
}

.admin-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.subtype-manager {
  display: grid;
  gap: 16px;
  margin: 18px 0;
  padding: 16px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.subtype-manager h3 {
  margin: 0;
  font-size: 18px;
}

.subtype-manager .admin-note {
  margin-top: 6px;
}

.subtype-manager-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.subtype-manager-grid label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.subtype-manager-grid textarea {
  min-height: 142px;
  padding: 12px;
  resize: vertical;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
}

.photo-upload-list {
  display: grid;
  gap: 10px;
}

.photo-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.photo-admin-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.photo-admin-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.photo-admin-item figcaption {
  min-height: 36px;
  padding: 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  word-break: break-all;
}

.photo-admin-order {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 0 8px 8px;
}

.photo-admin-item .photo-admin-order button {
  position: static;
  width: 100%;
  min-width: 0;
  height: 28px;
  min-height: 28px;
  color: #202522;
  background: #eef3ef;
  border: 1px solid rgba(124, 145, 132, 0.24);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  box-shadow: none;
}

.photo-admin-item .photo-admin-order button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.photo-admin-item button,
.photo-admin-item span {
  position: absolute;
  top: 6px;
  right: 6px;
  display: inline-flex;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: rgba(184, 69, 61, 0.92);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(184, 69, 61, 0.26);
}

.photo-admin-item .photo-admin-delete {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  color: #fff;
  background: rgba(184, 69, 61, 0.92);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(184, 69, 61, 0.26);
}

.photo-admin-item span {
  width: auto;
  min-width: 0;
  padding: 0 9px;
  background: rgba(20, 27, 39, 0.82);
  font-size: 11px;
}

.admin-status {
  min-height: 24px;
  color: #1d6f42;
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .intro,
  .about,
  .section-head,
  .process,
  .contact-inner,
  .faq {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
  }

  .filter-bar {
    justify-content: flex-start;
  }

  .service-board,
  .brand-poster-card {
    grid-template-columns: 1fr;
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subtype-manager-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .stats-band,
  .logo-wall,
  .dashboard-stats,
  .case-detail-grid,
  .project-detail-grid,
  .project-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.admin-page) .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.admin-page) .project-card,
  body:not(.admin-page) .project-card:nth-child(1),
  body:not(.admin-page) .project-card:nth-child(6n) {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
    gap: 12px;
  }

  .brand span:last-child {
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-cta {
    display: none;
  }

  .language-switcher {
    min-height: 34px;
  }

  .language-button {
    min-width: 32px;
    min-height: 28px;
    padding: 0 8px;
    font-size: 13px;
  }

  .subtype-manager-grid {
    grid-template-columns: 1fr;
  }

  .photo-admin-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    min-height: 650px;
    padding: 118px 18px 52px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .hero-strip {
    padding: 0 18px 18px;
    grid-template-columns: 1fr;
  }

  .hero-strip span {
    min-height: 46px;
    padding: 13px 12px;
  }

  .access-form,
  .access-admin-grid,
  .dashboard-stats,
  .access-table article,
  .project-edit-layout,
  .client-meta-grid,
  .visit-data-grid {
    grid-template-columns: 1fr;
  }

  .section-wrap,
  .contact {
    padding: 72px 18px;
  }

  .project-grid,
  .service-list,
  .stats-band,
  .logo-wall,
  .case-detail-grid,
  .project-detail-grid,
  .project-detail-gallery,
  body:not(.admin-page) .project-grid {
    grid-template-columns: 1fr;
  }

  .modal-gallery {
    grid-template-columns: 1fr;
  }

  .service-list article {
    min-height: 230px;
  }

  .brand-poster-card img {
    min-height: 240px;
  }

  .service-index {
    margin-bottom: 28px;
  }

  .process-list li {
    grid-template-columns: 46px 1fr;
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .admin-top,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-top {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Light-future visual system for JY Vision */
body:not(.admin-page) {
  --ink: #111214;
  --paper: #111214;
  --panel: #17191d;
  --soft: #f5f5f3;
  --muted: #9ea3aa;
  --line: rgba(221, 230, 242, 0.14);
  --lime: #dde6f2;
  --coral: #c9d6ea;
  --blue: #c9d6ea;
  color: var(--soft);
  background:
    radial-gradient(circle at 18% 8%, rgba(221, 230, 242, 0.08), transparent 30%),
    radial-gradient(circle at 84% 22%, rgba(201, 214, 234, 0.06), transparent 30%),
    #111214;
}

body:not(.admin-page) {
  --ink: #0e1111;
  --paper: #0e1111;
  --panel: #151919;
  --soft: #f5f5f3;
  --muted: #9ea3aa;
  --line: rgba(168, 192, 174, 0.14);
  --lime: #a8c0ae;
  --coral: #7c9184;
  --blue: #a8c0ae;
}

body:not(.admin-page) .hero-copy,
body:not(.admin-page) .hero-strip {
  display: none !important;
}

body:not(.admin-page) .hero-actions .button-secondary {
  display: none;
}

.manifesto {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: min(860px, 92vh);
  padding: clamp(54px, 7vw, 92px) clamp(32px, 6vw, 76px);
  color: var(--soft);
  background:
    linear-gradient(90deg, rgba(7, 10, 10, 0.98) 0%, rgba(7, 10, 10, 0.9) 40%, rgba(7, 10, 10, 0.24) 76%),
    radial-gradient(circle at 26% 36%, rgba(167, 229, 42, 0.16), transparent 30%),
    radial-gradient(circle at 74% 28%, rgba(245, 245, 243, 0.1), transparent 16%),
    url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=2200&q=90"),
    #0e1111;
  background-position: center right;
  background-size: cover;
  border-top: 1px solid rgba(168, 192, 174, 0.1);
  border-bottom: 1px solid rgba(168, 192, 174, 0.1);
  isolation: isolate;
}

.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 31% 47%, transparent 0 16%, rgba(167, 229, 42, 0.09) 16.3% 16.6%, transparent 17% 25%, rgba(167, 229, 42, 0.06) 25.3% 25.6%, transparent 26% 36%, rgba(167, 229, 42, 0.04) 36.3% 36.6%, transparent 37%),
    radial-gradient(circle at 72% 82%, rgba(167, 229, 42, 0.18), transparent 12%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.5));
}

.manifesto::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: 13%;
  width: 76px;
  height: 76px;
  opacity: 0.62;
  background-image: radial-gradient(circle, #a7e52a 1.5px, transparent 2px);
  background-size: 12px 12px;
}

.manifesto-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.manifesto-copy small {
  display: block;
  color: rgba(245, 245, 243, 0.72);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.manifesto-copy i,
.manifesto-copy b {
  display: block;
  width: 44px;
  height: 2px;
  background: #a7e52a;
  box-shadow: 0 0 18px rgba(167, 229, 42, 0.4);
}

.manifesto-copy i {
  margin: 24px 0 42px;
}

.manifesto-copy b {
  margin: 30px 0 0;
}

.manifesto-copy h2 {
  margin: 0;
  max-width: 820px;
  color: #f5f5f3;
  font-size: clamp(46px, 6.7vw, 98px);
  font-weight: 920;
  line-height: 1.13;
  letter-spacing: 0;
}

.manifesto-copy h2 span {
  color: #a7e52a;
  text-shadow: 0 0 30px rgba(167, 229, 42, 0.24);
}

.manifesto-copy p {
  margin: 34px 0 0;
  color: rgba(245, 245, 243, 0.66);
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.55;
}

.manifesto-proof {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3.6vw, 70px);
  max-width: 900px;
  margin-top: clamp(46px, 5.8vw, 82px);
}

.manifesto-proof article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 3px;
  align-items: center;
}

.manifesto-proof strong {
  grid-row: span 2;
  color: #a7e52a;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  font-weight: 450;
  text-shadow: 0 0 20px rgba(167, 229, 42, 0.3);
}

.manifesto-proof span {
  color: #f5f5f3;
  font-size: 17px;
  font-weight: 850;
}

.manifesto-proof small {
  color: rgba(245, 245, 243, 0.62);
  font-size: 13px;
}

.manifesto-logo {
  position: absolute;
  left: clamp(32px, 6vw, 76px);
  bottom: clamp(36px, 5vw, 72px);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
}

.manifesto-logo img {
  width: clamp(78px, 7vw, 116px);
  height: clamp(78px, 7vw, 116px);
  object-fit: contain;
}

.manifesto-logo strong,
.manifesto-logo span,
.manifesto-logo small {
  display: block;
}

.manifesto-logo strong {
  color: #f5f5f3;
  font-size: clamp(24px, 2.4vw, 38px);
  letter-spacing: 0.18em;
  line-height: 1.08;
}

.manifesto-logo span {
  margin-top: 6px;
  color: #a7e52a;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.manifesto-logo small {
  margin-top: 4px;
  color: rgba(245, 245, 243, 0.62);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.manifesto-caption {
  position: absolute;
  right: clamp(52px, 9vw, 140px);
  bottom: clamp(44px, 6vw, 78px);
  z-index: 1;
  margin: 0;
  color: rgba(245, 245, 243, 0.72);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.42em;
  text-align: center;
}

.manifesto-caption span {
  color: #a7e52a;
}

.case-library {
  position: relative;
}

.case-library.locked .section-head,
.case-library.locked .project-grid {
  filter: blur(10px);
  pointer-events: none;
  user-select: none;
}

.case-access-panel {
  position: relative;
  z-index: 5;
  max-width: 760px;
  margin: 0 auto 34px;
  padding: clamp(24px, 4vw, 42px);
  color: var(--soft);
  background: rgba(21, 25, 25, 0.82);
  border: 1px solid rgba(168, 192, 174, 0.18);
  border-radius: 22px;
  box-shadow: 0 0 70px rgba(168, 192, 174, 0.08);
  backdrop-filter: blur(24px);
}

.case-access-panel[hidden] {
  display: none;
}

.case-access-panel h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.06;
}

.case-access-panel p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.7;
}

.access-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  margin-top: 22px;
}

.access-form input,
.access-form button {
  min-height: 48px;
  padding: 0 14px;
  color: var(--soft);
  background: rgba(245, 245, 243, 0.055);
  border: 1px solid rgba(168, 192, 174, 0.18);
  border-radius: 999px;
  font: inherit;
}

.access-form button {
  color: #0e1111;
  background: #a8c0ae;
  cursor: pointer;
  font-weight: 900;
}

.access-form button.secondary {
  color: var(--soft);
  background: transparent;
}

.access-history {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.access-history[hidden] {
  display: none;
}

.access-history div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.access-history button {
  min-height: 32px;
  padding: 0 12px;
  color: var(--soft);
  background: rgba(168, 192, 174, 0.09);
  border: 1px solid rgba(168, 192, 174, 0.22);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.access-status {
  min-height: 24px;
}

.access-admin-contact {
  display: none;
  gap: 10px;
  margin-top: 14px;
}

.access-admin-contact.visible {
  display: flex;
  flex-wrap: wrap;
}

.access-admin-contact a,
.access-admin-contact button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  color: #0e1111;
  background: #a8c0ae;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.signal-ui {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 8px;
  color: rgba(245, 245, 243, 0.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  pointer-events: none;
}

.hero-signal {
  right: clamp(18px, 4vw, 56px);
  bottom: 112px;
}

.signal-ui span,
.camera-hud i,
.camera-hud b {
  width: fit-content;
  padding: 6px 8px;
  background: rgba(21, 25, 25, 0.56);
  border: 1px solid rgba(168, 192, 174, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(14px);
}

.signal-ui span:first-child::before,
.camera-hud b::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  background: #a8c0ae;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(168, 192, 174, 0.9);
}

.camera-hud {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 28px);
  color: rgba(245, 245, 243, 0.76);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.project-thumb:hover .camera-hud {
  opacity: 1;
  transform: translateY(0);
}

.camera-hud i,
.camera-hud b {
  font-style: normal;
}

.case-watermark {
  position: fixed;
  z-index: 55;
  left: 4vw;
  bottom: 12vh;
  display: none;
  pointer-events: none;
  color: rgba(245, 245, 243, 0.12);
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 900;
  letter-spacing: 0.18em;
  transform: rotate(-12deg);
  animation: watermark-drift 9s ease-in-out infinite;
}

.access-granted .case-watermark,
.media-modal.open .case-watermark {
  display: block;
}

@keyframes watermark-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-12deg);
  }

  50% {
    transform: translate3d(42px, -18px, 0) rotate(-12deg);
  }
}

body:not(.admin-page) .site-footer {
  color: #9ea3aa;
  background: #0e1111;
  border-top-color: rgba(168, 192, 174, 0.12);
}

.visit-counter {
  color: rgba(158, 163, 170, 0.68);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.access-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.access-admin-grid.single {
  grid-template-columns: 1fr;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.dashboard-stats article {
  padding: 18px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dashboard-stats strong {
  display: block;
  color: var(--panel);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.dashboard-stats span {
  display: block;
  margin-top: 8px;
  color: #81786e;
  font-weight: 800;
}

.dashboard-actions,
.admin-filter-bar,
.admin-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 16px 0 18px;
}

.admin-filter-bar input {
  min-height: 42px;
  min-width: min(340px, 100%);
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
}

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

.filter-pills button {
  min-height: 34px;
  padding: 0 12px;
  color: #6d665f;
  background: #f2eee7;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.admin-subnav button {
  min-height: 36px;
  padding: 0 13px;
  color: #606860;
  background: #f2eee7;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
}

.admin-subnav button.active {
  color: var(--white);
  background: var(--panel);
  border-color: var(--panel);
}

.poster-setting-group {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.poster-setting-group h3 {
  margin: 0;
}

.project-edit-card {
  padding: 16px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-card-summary {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.project-summary-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.project-summary-cover {
  flex: 0 0 112px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e9ede8;
  border: 1px solid rgba(124, 145, 132, 0.22);
  border-radius: 8px;
}

.project-summary-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-summary-actions {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.project-order-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.project-order-controls button {
  min-height: 32px;
  padding: 0 10px;
  color: #203027;
  background: rgba(124, 145, 132, 0.12);
  border: 1px solid rgba(124, 145, 132, 0.25);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
}

.project-order-controls button:hover:not(:disabled) {
  background: rgba(124, 145, 132, 0.2);
  border-color: rgba(124, 145, 132, 0.42);
}

.project-order-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.project-card-summary h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.project-card-summary p {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.project-card-summary i {
  color: rgba(124, 145, 132, 0.5);
  font-style: normal;
}

.project-collapse-toggle {
  flex: none;
  min-height: 36px;
  padding: 0 14px;
  color: #0f1512;
  background: #eef3ef;
  border: 1px solid rgba(124, 145, 132, 0.28);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
}

.project-collapse-toggle:hover {
  background: #e4ece5;
}

.project-edit-card.collapsed .project-edit-layout,
.project-edit-card.collapsed > .project-actions {
  display: none;
}

.project-edit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 16px;
  align-items: start;
}

.project-preview-hint {
  position: sticky;
  top: 18px;
  padding: 16px;
  color: #39413b;
  background: #eef3ef;
  border: 1px solid rgba(124, 145, 132, 0.28);
  border-radius: 8px;
}

.project-preview-hint span {
  display: block;
  color: #728074;
  font-size: 12px;
  font-weight: 950;
}

.project-preview-hint strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.1;
}

.project-preview-hint p {
  margin: 12px 0 0;
  color: #687269;
  font-size: 12px;
  line-height: 1.55;
}

.case-empty {
  display: none;
}

.case-empty.visible {
  display: block;
}

.project-live-preview {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 12px;
}

.preview-caption,
.project-live-preview small {
  color: #728074;
  font-size: 12px;
  font-weight: 950;
}

.admin-preview-card {
  overflow: hidden;
  background: #101312;
  border: 1px solid rgba(124, 145, 132, 0.32);
  border-radius: 8px;
}

.admin-preview-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.admin-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-preview-thumb b {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 8px;
  color: #f5f5f3;
  background: rgba(14, 17, 17, 0.68);
  border-radius: 999px;
  font-size: 11px;
}

.admin-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 12px 0;
}

.admin-preview-meta span {
  padding: 5px 7px;
  color: #dbe4dc;
  background: rgba(124, 145, 132, 0.2);
  border-radius: 999px;
  font-size: 11px;
}

.admin-preview-card h4,
.admin-preview-card p {
  margin: 0;
  padding: 10px 12px 0;
  color: #f5f5f3;
}

.admin-preview-card p {
  padding-bottom: 12px;
  color: #9ea3aa;
  font-size: 12px;
}

.admin-preview-card button {
  width: calc(100% - 24px);
  min-height: 34px;
  margin: 0 12px 12px;
  color: #101312;
  background: #a8c0ae;
  border: 0;
  border-radius: 999px;
  font-weight: 950;
}

.admin-preview-card .active {
  outline: 2px solid #a8c0ae;
  box-shadow: 0 0 22px rgba(168, 192, 174, 0.45);
}

.filter-pills button.active {
  color: var(--white);
  background: var(--panel);
  border-color: var(--panel);
}

.access-admin-grid article,
.access-table article {
  padding: 16px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.access-code-display {
  margin: 8px 0;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 950;
  line-height: 1;
}

.admin-actions.compact {
  margin-top: 10px;
}

.access-table {
  display: grid;
  gap: 10px;
  margin: 12px 0 22px;
}

.access-table article {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr 0.7fr 0.7fr 0.9fr 0.7fr;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}

.access-table .invite-card div {
  min-width: 0;
}

.access-table .invite-card b {
  display: block;
  margin-bottom: 3px;
  color: #7d756b;
  font-size: 11px;
}

.access-table .invite-card em {
  display: block;
  color: var(--panel);
  font-style: normal;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.invite-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status-pill[data-state="pending"] {
  color: #6b6760;
  background: #ece9e2;
}

.status-pill[data-state="normal"] {
  color: #245839;
  background: #dcecdf;
}

.status-pill[data-state="expiring"] {
  color: #8a521c;
  background: #f7e6cd;
}

.status-pill[data-state="expired"] {
  color: #8f3029;
  background: #f3d6d3;
}

.status-pill[data-state="disabled"] {
  color: #f5f5f3;
  background: #4c4d4b;
}

.access-table button {
  min-height: 32px;
  padding: 0 10px;
  color: var(--white);
  background: var(--panel);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.access-table button.danger {
  background: #b8453d;
}

.access-table.compact article {
  grid-template-columns: 0.7fr 1fr 1fr 1fr 1.4fr;
}

.access-table.log-table article {
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 54px;
  color: #f8faf5;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(16, 17, 20, 0.08);
}

.access-table.log-table .log-row-success {
  background: linear-gradient(135deg, #2f8f58, #49b56f);
  border-color: rgba(47, 143, 88, 0.42);
}

.access-table.log-table .log-row-failed {
  background: linear-gradient(135deg, #b6403b, #df5a52);
  border-color: rgba(182, 64, 59, 0.42);
}

.access-table.log-table article strong {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.16);
  border-radius: 999px;
  font-size: 13px;
}

.access-table.log-table article span {
  overflow: hidden;
  color: #fff;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.access-table.log-table article time {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.access-table.client-list article {
  display: block;
  font-size: 14px;
}

.client-list {
  gap: 14px;
}

.client-card-head,
.client-card-main {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.client-card-head.stacked {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.client-card-head strong {
  color: var(--panel);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.1;
}

.client-meta-grid,
.visit-data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.visit-data-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-meta-grid span,
.visit-data-grid span,
.client-created {
  min-height: 34px;
  padding: 8px 10px;
  color: #4e554f;
  background: #f2f0eb;
  border: 1px solid rgba(16, 17, 20, 0.08);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.client-created {
  margin-top: 10px;
}

.invite-copy-block {
  margin-top: 14px;
  padding: 14px;
  color: #363b36;
  background: #f6f5f0;
  border: 1px solid rgba(16, 17, 20, 0.1);
  border-radius: 8px;
}

.invite-copy-block b {
  display: block;
  margin-bottom: 8px;
  color: #6b7369;
  font-size: 12px;
}

.invite-copy-block p {
  margin: 0 0 8px;
  line-height: 1.55;
}

.invite-copy-block span {
  display: block;
  overflow-wrap: anywhere;
  color: #101114;
  font-weight: 900;
}

.follow-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 10px;
  color: #29302b;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 17, 20, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.follow-status i {
  width: 8px;
  height: 8px;
  background: var(--status-color);
  border-radius: 50%;
  box-shadow: 0 0 12px color-mix(in srgb, var(--status-color), transparent 35%);
}

.follow-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  color: #72776f;
  font-size: 12px;
  font-weight: 900;
}

.follow-select select {
  min-height: 34px;
  padding: 0 10px;
  color: var(--panel);
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
}

.progress-ring {
  --progress: 0%;
  --ring-color: #ff5a5a;
  position: relative;
  display: flex;
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: conic-gradient(var(--ring-color) var(--progress), #303533 0);
  border-radius: 50%;
  box-shadow: 0 0 22px color-mix(in srgb, var(--ring-color), transparent 72%);
}

.progress-ring::after {
  position: absolute;
  inset: 10px;
  content: "";
  background: #fbfaf7;
  border-radius: 50%;
}

.progress-ring span {
  position: relative;
  z-index: 1;
  color: var(--panel);
  font-size: 15px;
  font-weight: 950;
}

.progress-ring small {
  position: relative;
  z-index: 1;
  max-width: 58px;
  color: #687269;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.client-detail-modal[hidden] {
  display: none;
}

.client-detail-modal {
  position: fixed;
  z-index: 130;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 17, 20, 0.52);
  backdrop-filter: blur(8px);
}

.client-detail-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 24px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.client-detail-panel h2 {
  margin: 0 0 8px;
}

.client-detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 32px;
  padding: 0 10px;
  color: var(--white);
  background: var(--panel);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

body.modal-open {
  overflow: hidden;
}

.case-link-disabled {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 86px);
  color: var(--soft);
  background: rgba(23, 25, 29, 0.68);
  border: 1px solid rgba(168, 192, 174, 0.16);
  border-radius: 8px;
  text-align: center;
}

.admin-toast {
  position: fixed;
  z-index: 120;
  top: 20px;
  right: 20px;
  max-width: min(360px, calc(100vw - 40px));
  padding: 14px 16px;
  color: var(--white);
  background: #1d6f42;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.admin-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-toast[data-tone="error"] {
  background: #b8453d;
}

body:not(.admin-page)::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(245, 245, 243, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 243, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

body:not(.admin-page) .site-header {
  background: rgba(17, 18, 20, 0.58);
  border-bottom-color: rgba(221, 230, 242, 0.12);
  backdrop-filter: blur(24px) saturate(1.15);
}

.brand-mark-logo {
  overflow: hidden;
  background: rgba(245, 245, 243, 0.06);
  border: 1px solid rgba(221, 230, 242, 0.18);
  box-shadow: 0 0 28px rgba(221, 230, 242, 0.16);
}

.brand-mark-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.62);
  filter: brightness(1.18);
}

body:not(.admin-page) .language-switcher,
body:not(.admin-page) .nav-cta,
body:not(.admin-page) .filter-button,
body:not(.admin-page) .button-secondary {
  background: rgba(245, 245, 243, 0.045);
  border-color: rgba(221, 230, 242, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body:not(.admin-page) .language-button.active,
body:not(.admin-page) .language-button:hover,
body:not(.admin-page) .button-primary,
body:not(.admin-page) .filter-button.active,
body:not(.admin-page) .filter-button:hover,
body:not(.admin-page) .detail-label,
body:not(.admin-page) .wechat-button,
body:not(.admin-page) .quote-form button {
  color: #111214;
  background: #dde6f2;
  box-shadow: 0 0 28px rgba(221, 230, 242, 0.18);
}

body:not(.admin-page) .hero {
  min-height: 100vh;
  background: #111214;
}

body:not(.admin-page) .hero-media {
  filter: saturate(0.72) contrast(0.94) brightness(0.58);
  transform: scale(1.04);
}

body:not(.admin-page) .hero-overlay {
  background:
    radial-gradient(circle at 72% 38%, rgba(221, 230, 242, 0.11), transparent 28%),
    linear-gradient(90deg, rgba(17, 18, 20, 0.9), rgba(17, 18, 20, 0.46)),
    linear-gradient(0deg, #111214 0%, rgba(17, 18, 20, 0.16) 48%, rgba(17, 18, 20, 0.88) 100%);
}

.hero-trail {
  position: absolute;
  z-index: 1;
  right: clamp(-80px, -5vw, 20px);
  top: 18%;
  width: min(48vw, 620px);
  opacity: 0.16;
  mix-blend-mode: screen;
  filter: blur(0.2px) drop-shadow(0 0 34px rgba(221, 230, 242, 0.22));
  animation: trail-breathe 6s ease-in-out infinite;
}

@keyframes trail-breathe {
  0%,
  100% {
    opacity: 0.12;
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    opacity: 0.22;
    transform: translate3d(-12px, 8px, 0) scale(1.025);
  }
}

body:not(.admin-page) .hero-content {
  align-items: center;
  text-align: center;
}

body:not(.admin-page) .brand-title {
  font-size: clamp(60px, 10vw, 150px);
  font-weight: 820;
  line-height: 0.96;
  text-shadow: 0 0 44px rgba(221, 230, 242, 0.12);
}

body:not(.admin-page) .hero h1 {
  max-width: 780px;
  font-size: clamp(36px, 6vw, 78px);
  font-weight: 760;
  line-height: 1.08;
}

body:not(.admin-page) .hero-copy {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

body:not(.admin-page) .eyebrow,
body:not(.admin-page) .section-kicker {
  color: #dde6f2;
  background: rgba(221, 230, 242, 0.055);
  border: 1px solid rgba(221, 230, 242, 0.16);
  text-transform: none;
  box-shadow: 0 0 24px rgba(221, 230, 242, 0.06);
}

body:not(.admin-page) .hero-strip {
  gap: 10px;
}

body:not(.admin-page) .hero-strip span {
  min-height: 52px;
  border-radius: 999px;
  color: #dfe4ec;
  background: rgba(245, 245, 243, 0.05);
  border-color: rgba(221, 230, 242, 0.12);
}

body:not(.admin-page) .intro {
  grid-template-columns: 0.78fr 1fr;
  border-top: 1px solid rgba(221, 230, 242, 0.1);
}

body:not(.admin-page) .experience-strip,
body:not(.admin-page) .service-board,
body:not(.admin-page) .service-list,
body:not(.admin-page) .process-list,
body:not(.admin-page) .project-detail-grid {
  background: transparent;
  border: 0;
}

body:not(.admin-page) .experience-strip div,
body:not(.admin-page) .service-board article,
body:not(.admin-page) .process-list li,
body:not(.admin-page) .project-detail-grid article,
body:not(.admin-page) .faq-list details {
  background: rgba(23, 25, 29, 0.62);
  border: 1px solid rgba(221, 230, 242, 0.11);
  backdrop-filter: blur(18px);
}

body:not(.admin-page) .stats-band {
  margin: 0 auto;
  padding-top: 90px;
  gap: clamp(22px, 4vw, 54px);
  background: transparent;
}

body:not(.admin-page) .stats-band div {
  min-height: 0;
  padding: 0;
  color: var(--soft);
  background: transparent;
  border: 0;
}

body:not(.admin-page) .stats-band strong {
  color: #f5f5f3;
  font-size: clamp(54px, 8vw, 112px);
  font-weight: 820;
  letter-spacing: 0;
  text-shadow: 0 0 38px rgba(221, 230, 242, 0.12);
}

body:not(.admin-page) .stats-band span {
  color: #dde6f2;
  font-size: 15px;
}

body:not(.admin-page) .stats-band p {
  color: var(--muted);
  font-size: 14px;
}

body:not(.admin-page) .about {
  grid-template-columns: 0.75fr 1fr;
  border-top-color: rgba(221, 230, 242, 0.1);
}

body:not(.admin-page) .about-media {
  border: 1px solid rgba(221, 230, 242, 0.12);
  border-radius: 18px;
  box-shadow: 0 0 60px rgba(221, 230, 242, 0.06);
}

body:not(.admin-page) .about-media img,
body:not(.admin-page) .marquee-group img {
  filter: saturate(0.75) contrast(0.96) brightness(0.84);
}

body:not(.admin-page) .project-grid {
  display: block;
}

body:not(.admin-page) .project-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

body:not(.admin-page) .project-card:nth-child(1) {
  grid-column: span 7;
}

body:not(.admin-page) .project-card:nth-child(4) {
  grid-column: span 8;
}

body:not(.admin-page) .project-card:nth-child(6n) {
  grid-column: span 5;
}

body:not(.admin-page) .project-card,
body:not(.admin-page) .project-card:nth-child(1),
body:not(.admin-page) .project-card:nth-child(4),
body:not(.admin-page) .project-card:nth-child(6n) {
  grid-column: auto;
}

.case-featured-layout {
  display: grid;
  grid-template-columns: repeat(60, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.case-standard-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

body:not(.admin-page) .case-featured-layout .project-card.project-card-featured {
  grid-column: span 33;
}

body:not(.admin-page) .case-featured-layout .project-card.project-card-secondary {
  grid-column: span 27;
}

body:not(.admin-page) .project-card p {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body:not(.admin-page) .project-card h3 {
  display: -webkit-box;
  min-height: 28px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

body:not(.admin-page) .project-card .detail-label {
  width: fit-content;
  margin-top: auto;
}

body:not(.admin-page) .filter-button[data-filter="all"].active ~ * {
  --noop: 1;
}

body:not(.admin-page) .project-grid.photo-live-mode {
  display: block;
}

.photo-live-gallery {
  display: grid;
  gap: 18px;
}

.photo-live-stage {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 52vw, 620px);
  color: #f5f5f3;
  background: #0e1111;
  border: 1px solid rgba(168, 192, 174, 0.18);
  border-radius: 18px;
}

.photo-live-stage img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.9);
}

.photo-live-stage > div {
  position: absolute;
  left: clamp(18px, 4vw, 42px);
  right: clamp(18px, 4vw, 42px);
  bottom: clamp(18px, 4vw, 42px);
  max-width: 680px;
}

.photo-live-stage span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  background: rgba(168, 192, 174, 0.18);
  border: 1px solid rgba(168, 192, 174, 0.24);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.photo-live-stage h3 {
  margin: 14px 0 8px;
  font-size: clamp(32px, 6vw, 74px);
  line-height: 0.96;
}

.photo-live-stage p {
  margin: 0;
  color: #c9d6ea;
}

.photo-live-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.photo-live-thumbs button {
  overflow: hidden;
  padding: 0;
  aspect-ratio: 1;
  background: #151919;
  border: 2px solid rgba(158, 163, 170, 0.18);
  border-radius: 10px;
  cursor: pointer;
}

.photo-live-thumbs button.active {
  border-color: #a8c0ae;
  box-shadow: 0 0 22px rgba(168, 192, 174, 0.3);
}

.photo-live-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:not(.admin-page) .project-thumb {
  border-radius: 18px;
  border: 1px solid rgba(221, 230, 242, 0.1);
  box-shadow: 0 0 0 rgba(221, 230, 242, 0);
  transition: box-shadow 260ms ease, transform 260ms ease, border-color 260ms ease;
}

body:not(.admin-page) .project-thumb:hover {
  transform: translateY(-3px);
  border-color: rgba(221, 230, 242, 0.26);
  box-shadow: 0 0 52px rgba(221, 230, 242, 0.1);
}

body:not(.admin-page) .project-thumb::after {
  background:
    radial-gradient(circle at 82% 18%, rgba(221, 230, 242, 0.17), transparent 26%),
    linear-gradient(0deg, rgba(17, 18, 20, 0.78), transparent 58%);
}

body:not(.admin-page) .project-meta span {
  color: #c9d6ea;
  background: rgba(221, 230, 242, 0.05);
  border-color: rgba(221, 230, 242, 0.12);
}

body:not(.admin-page) .services .section-head {
  grid-template-columns: 1fr;
}

body:not(.admin-page) .service-board {
  grid-template-columns: 1fr;
  gap: 12px;
}

body:not(.admin-page) .service-feature {
  min-height: 260px;
  background:
    radial-gradient(circle at 74% 28%, rgba(221, 230, 242, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(23, 25, 29, 0.92), rgba(23, 25, 29, 0.62));
}

body:not(.admin-page) .service-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body:not(.admin-page) .service-list article:nth-child(4) {
  display: none;
}

body:not(.admin-page) .service-list article {
  min-height: 190px;
}

body:not(.admin-page) .service-index {
  color: #dde6f2;
}

body:not(.admin-page) .process {
  grid-template-columns: 1fr;
}

body:not(.admin-page) .process-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  gap: 14px;
}

body:not(.admin-page) .process-list::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(221, 230, 242, 0.35), transparent);
}

body:not(.admin-page) .process-list li {
  display: block;
}

body:not(.admin-page) .contact,
body:not(.admin-page) .media-modal-panel,
body:not(.admin-page) .wechat-card,
body:not(.admin-page) .brand-poster {
  background: #111214;
}

body:not(.admin-page) .quote-form input,
body:not(.admin-page) .quote-form select,
body:not(.admin-page) .quote-form textarea {
  color: var(--soft);
  background: rgba(245, 245, 243, 0.055);
  border-color: rgba(221, 230, 242, 0.16);
}

body:not(.admin-page) .brand-poster {
  background:
    radial-gradient(circle at 50% 44%, rgba(221, 230, 242, 0.08), transparent 35%),
    #111214;
}

body:not(.admin-page) .poster-slide-media {
  filter: brightness(0.28) saturate(0.54);
}

body:not(.admin-page) .poster-slide::after {
  background:
    radial-gradient(circle at center, rgba(221, 230, 242, 0.14), transparent 30%),
    linear-gradient(0deg, #111214, rgba(17, 18, 20, 0.38), #111214);
}

.poster-trail-logo {
  width: min(38vw, 420px);
  margin: 0 auto 20px;
  opacity: 0;
  filter: drop-shadow(0 0 34px rgba(221, 230, 242, 0.34));
  animation: logo-draw-in 1.8s ease forwards;
}

@keyframes logo-draw-in {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: scale(0.98);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: scale(1);
  }
}

body:not(.admin-page) .poster-logo {
  color: #f5f5f3;
  text-shadow: 0 0 44px rgba(221, 230, 242, 0.18);
}

body:not(.admin-page) .poster-logo span,
body:not(.admin-page) .poster-slide-copy h2 {
  color: #c9d6ea;
}

body:not(.admin-page) .poster-countdown span,
body:not(.admin-page) .brand-poster-close {
  color: #111214;
  background: #dde6f2;
}

body:not(.admin-page) .brand-intro-panel {
  position: relative;
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 0;
  overflow: hidden;
  width: min(95vw, 1680px);
  max-width: none;
  margin: 0 auto;
  padding: 0;
  min-height: calc(100vh - 96px);
  align-items: stretch;
  background:
    radial-gradient(circle at 88% 12%, rgba(124, 145, 132, 0.16), transparent 30%),
    radial-gradient(circle at 20% 80%, rgba(168, 192, 174, 0.08), transparent 26%),
    linear-gradient(90deg, rgba(168, 192, 174, 0.06), transparent 1px),
    linear-gradient(180deg, rgba(168, 192, 174, 0.05), transparent 1px),
    linear-gradient(135deg, #070909 0%, #0e1111 48%, #101414 100%);
  background-size: 72px 72px;
  border: 1px solid rgba(168, 192, 174, 0.2);
  border-radius: 20px;
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(245, 245, 243, 0.035);
}

body:not(.admin-page) .brand-intro-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(245, 245, 243, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 243, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 78%);
}

body:not(.admin-page) .brand-intro-panel::after {
  content: "JY VISION";
  position: absolute;
  right: clamp(18px, 4vw, 64px);
  bottom: 78px;
  pointer-events: none;
  color: rgba(245, 245, 243, 0.035);
  font-size: clamp(60px, 12vw, 210px);
  font-weight: 950;
  line-height: 1;
}

body:not(.admin-page) .intro-hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 690px;
  padding: clamp(46px, 5.2vw, 86px);
  isolation: isolate;
  border-right: 1px solid rgba(168, 192, 174, 0.13);
}

body:not(.admin-page) .intro-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 8, 8, 0.96) 0%, rgba(6, 9, 9, 0.78) 48%, rgba(6, 9, 9, 0.2) 100%),
    radial-gradient(circle at 78% 50%, rgba(168, 192, 174, 0.16), transparent 34%),
    url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=1500&q=90");
  background-position: center;
  background-size: cover;
  filter: brightness(0.72) saturate(0.78);
}

body:not(.admin-page) .intro-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 18%),
    radial-gradient(circle at 78% 20%, rgba(245, 245, 243, 0.08), transparent 20%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.32), transparent 42%);
}

body:not(.admin-page) .intro-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

body:not(.admin-page) .intro-badges span {
  padding: 7px 13px;
  color: #f5f5f3;
  font-size: 14px;
  font-weight: 900;
  border: 1px solid rgba(245, 245, 243, 0.35);
  border-radius: 999px;
  background: rgba(245, 245, 243, 0.035);
  box-shadow: 0 0 24px rgba(168, 192, 174, 0.12);
}

body:not(.admin-page) .intro-badges small {
  color: rgba(245, 245, 243, 0.58);
  font-size: 11px;
  letter-spacing: 0.08em;
}

body:not(.admin-page) .intro-hero-card h2 {
  max-width: 560px;
  margin: 0;
  color: #f5f5f3;
  font-size: clamp(58px, 5.6vw, 104px);
  line-height: 1.04;
  font-weight: 950;
}

body:not(.admin-page) .intro-hero-card h2 span {
  color: #a7e52a;
  text-shadow: 0 0 34px rgba(167, 229, 42, 0.22);
}

body:not(.admin-page) .intro-hero-card > i {
  width: 48px;
  height: 2px;
  margin: 22px 0;
  background: #a7e52a;
  box-shadow: 0 0 18px rgba(167, 229, 42, 0.42);
}

body:not(.admin-page) .intro-hero-card p {
  max-width: 520px;
  margin: 0;
  color: rgba(245, 245, 243, 0.72);
  font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.85;
}

body:not(.admin-page) .intro-signature {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
  padding-top: 46px;
}

body:not(.admin-page) .intro-signature img {
  width: clamp(96px, 8vw, 140px);
  height: auto;
  filter: drop-shadow(0 0 16px rgba(245, 245, 243, 0.16));
}

body:not(.admin-page) .intro-signature strong {
  display: block;
  color: #f5f5f3;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.22em;
}

body:not(.admin-page) .intro-signature small {
  display: block;
  margin-top: 6px;
  color: #a7e52a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

body:not(.admin-page) .intro-system {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 690px;
  padding: clamp(46px, 5vw, 84px) clamp(36px, 5.2vw, 86px);
  background:
    radial-gradient(circle at 22% 18%, rgba(168, 192, 174, 0.08), transparent 30%),
    linear-gradient(135deg, rgba(9, 12, 12, 0.95), rgba(11, 14, 14, 0.8));
}

body:not(.admin-page) .intro-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

body:not(.admin-page) .intro-capabilities article {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: clamp(150px, 13vw, 198px);
  padding: clamp(18px, 2.1vw, 30px);
  background: rgba(7, 10, 10, 0.56);
  border: 1px solid rgba(168, 192, 174, 0.18);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(245, 245, 243, 0.025);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

body:not(.admin-page) .intro-capabilities article:hover {
  transform: translateY(-3px);
  background: rgba(14, 18, 18, 0.72);
  border-color: rgba(167, 229, 42, 0.42);
  box-shadow:
    0 0 34px rgba(167, 229, 42, 0.09),
    inset 0 1px 0 rgba(245, 245, 243, 0.035);
}

body:not(.admin-page) .intro-capabilities h3 {
  margin: 0;
  color: #f5f5f3;
  font-size: clamp(19px, 1.65vw, 24px);
  white-space: nowrap;
}

body:not(.admin-page) .intro-capabilities article i {
  display: block;
  width: 25px;
  height: 2px;
  margin: 12px 0 16px;
  background: #a7e52a;
  box-shadow: 0 0 16px rgba(167, 229, 42, 0.34);
}

body:not(.admin-page) .intro-capabilities p {
  margin: 0;
  color: rgba(245, 245, 243, 0.58);
  font-size: 15px;
  line-height: 1.7;
}

body:not(.admin-page) .intro-icon {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  color: #a7e52a;
}

body:not(.admin-page) .intro-icon::before,
body:not(.admin-page) .intro-icon::after {
  content: "";
  position: absolute;
  border-color: currentColor;
  box-shadow: 0 0 18px rgba(167, 229, 42, 0.22);
}

body:not(.admin-page) .intro-icon-people::before {
  left: 13px;
  top: 0;
  width: 14px;
  height: 14px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

body:not(.admin-page) .intro-icon-people::after {
  left: 5px;
  bottom: 0;
  width: 30px;
  height: 20px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
}

body:not(.admin-page) .intro-icon-star::before {
  inset: 7px;
  border: 3px solid currentColor;
  border-radius: 2px;
  transform: rotate(45deg) skew(-12deg, -12deg);
}

body:not(.admin-page) .intro-icon-pulse::before {
  left: 0;
  top: 20px;
  width: 44px;
  height: 18px;
  border-top: 3px solid currentColor;
  clip-path: polygon(0 44%, 27% 44%, 38% 0, 52% 100%, 63% 44%, 100% 44%, 100% 66%, 67% 66%, 52% 100%, 38% 0, 29% 66%, 0 66%);
}

body:not(.admin-page) .intro-icon-check::before {
  inset: 3px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

body:not(.admin-page) .intro-icon-check::after {
  left: 14px;
  top: 18px;
  width: 16px;
  height: 8px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg);
}

body:not(.admin-page) .intro-service-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(34px, 3.2vw, 54px);
  padding-top: clamp(34px, 3.2vw, 54px);
  border-top: 1px dashed rgba(245, 245, 243, 0.16);
}

body:not(.admin-page) .intro-service-pills span {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  min-width: 0;
  padding: 13px 18px;
  color: #f5f5f3;
  background: rgba(245, 245, 243, 0.035);
  border: 1px solid rgba(245, 245, 243, 0.14);
  border-radius: 999px;
}

body:not(.admin-page) .intro-data-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-column: 1 / -1;
  gap: clamp(24px, 3vw, 40px);
  padding: clamp(42px, 5vw, 74px) clamp(48px, 7vw, 96px) clamp(36px, 4vw, 62px);
  border-top: 1px solid rgba(168, 192, 174, 0.16);
  background:
    radial-gradient(circle at 2% 22%, rgba(167, 229, 42, 0.18), transparent 22%),
    radial-gradient(circle at 96% 10%, rgba(167, 229, 42, 0.13), transparent 20%),
    linear-gradient(180deg, rgba(7, 10, 10, 0.84), rgba(8, 11, 11, 0.96));
  backdrop-filter: blur(18px);
}

body:not(.admin-page) .data-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 76px);
}

body:not(.admin-page) .data-metric-row article {
  min-height: 210px;
  padding-right: clamp(24px, 4vw, 64px);
  border-right: 1px solid rgba(168, 192, 174, 0.28);
}

body:not(.admin-page) .data-metric-row article:last-child {
  border-right: 0;
}

body:not(.admin-page) .intro-data-bar strong,
body:not(.admin-page) .intro-data-bar span,
body:not(.admin-page) .intro-data-bar p,
body:not(.admin-page) .intro-data-bar small {
  display: block;
}

body:not(.admin-page) .intro-data-bar strong {
  color: #f5f5f3;
  font-size: clamp(58px, 6.4vw, 96px);
  line-height: 1;
  font-weight: 850;
  text-shadow: 0 0 28px rgba(245, 245, 243, 0.11);
}

body:not(.admin-page) .intro-data-bar i {
  display: block;
  width: 40px;
  height: 2px;
  margin: 18px 0 18px;
  background: #a7e52a;
  box-shadow: 0 0 16px rgba(167, 229, 42, 0.36);
}

body:not(.admin-page) .intro-data-bar span {
  color: #f5f5f3;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 850;
}

body:not(.admin-page) .intro-data-bar p {
  max-width: 360px;
  margin: 14px 0 0;
  color: rgba(245, 245, 243, 0.72);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.85;
}

body:not(.admin-page) .bay-area-card {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  align-items: center;
  overflow: hidden;
  min-height: 300px;
  border: 1px solid rgba(167, 229, 42, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 22% 54%, rgba(167, 229, 42, 0.2), transparent 22%),
    linear-gradient(135deg, rgba(10, 14, 14, 0.78), rgba(6, 9, 9, 0.92));
  box-shadow: 0 0 48px rgba(167, 229, 42, 0.08);
}

body:not(.admin-page) .bay-map {
  position: relative;
  min-height: 300px;
  border-right: 1px solid rgba(168, 192, 174, 0.24);
  background:
    radial-gradient(circle at 62% 56%, transparent 0 12%, rgba(167, 229, 42, 0.12) 12.5% 13%, transparent 13.5% 22%, rgba(167, 229, 42, 0.08) 22.5% 23%, transparent 23.5% 32%, rgba(167, 229, 42, 0.06) 32.5% 33%, transparent 33.5%),
    radial-gradient(circle at 36% 46%, rgba(167, 229, 42, 0.35) 1px, transparent 2px);
  background-size: 100% 100%, 10px 10px;
}

body:not(.admin-page) .bay-map::before {
  content: "";
  position: absolute;
  inset: 46px 34px;
  opacity: 0.78;
  background:
    radial-gradient(circle at 26% 42%, rgba(167, 229, 42, 0.95) 0 4px, transparent 5px),
    radial-gradient(circle at 62% 35%, rgba(167, 229, 42, 0.95) 0 4px, transparent 5px),
    radial-gradient(circle at 67% 58%, rgba(167, 229, 42, 0.95) 0 4px, transparent 5px),
    radial-gradient(circle at 63% 78%, rgba(167, 229, 42, 0.95) 0 4px, transparent 5px);
  filter: drop-shadow(0 0 16px rgba(167, 229, 42, 0.5));
}

body:not(.admin-page) .bay-map span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  color: #f5f5f3;
  font-size: 16px;
  font-weight: 800;
  transform: translate(10px, -50%);
}

body:not(.admin-page) .bay-copy {
  min-width: 0;
  padding: clamp(30px, 4vw, 62px);
}

body:not(.admin-page) .bay-copy small {
  color: #a7e52a;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0.22em;
}

body:not(.admin-page) .bay-copy h3 {
  margin: 18px 0 14px;
  color: #f5f5f3;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.14;
}

body:not(.admin-page) .bay-copy p:first-of-type {
  margin-top: 0;
  color: #f5f5f3;
  font-size: clamp(18px, 1.8vw, 26px);
}

body:not(.admin-page) .vision-value-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.42fr) repeat(4, minmax(128px, 1fr));
  align-items: center;
  gap: 1px;
}

body:not(.admin-page) .vision-brand,
body:not(.admin-page) .vision-value-row article {
  min-height: 112px;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-right: 1px solid rgba(168, 192, 174, 0.22);
}

body:not(.admin-page) .vision-brand {
  display: flex;
}

body:not(.admin-page) .vision-value-row article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 4px;
}

body:not(.admin-page) .vision-brand {
  gap: 20px;
}

body:not(.admin-page) .vision-brand img {
  width: 92px;
  height: 72px;
  object-fit: contain;
  padding: 10px;
  border: 1px solid rgba(245, 245, 243, 0.28);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.36);
}

body:not(.admin-page) .vision-brand strong {
  font-size: clamp(22px, 2.1vw, 34px);
  letter-spacing: 0.18em;
}

body:not(.admin-page) .vision-brand small {
  margin-top: 5px;
  color: #a7e52a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

body:not(.admin-page) .vision-brand p {
  margin-top: 8px;
  font-size: 14px;
}

body:not(.admin-page) .vision-value-row article b {
  grid-row: span 2;
  align-self: center;
  color: #a7e52a;
  font-size: clamp(28px, 2.4vw, 42px);
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 0 20px rgba(167, 229, 42, 0.26);
}

body:not(.admin-page) .vision-value-row article strong {
  font-size: clamp(15px, 1.18vw, 20px);
  line-height: 1.18;
  white-space: nowrap;
}

body:not(.admin-page) .vision-value-row article span {
  color: rgba(245, 245, 243, 0.62);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

body:not(.admin-page) .intro-service-pills b {
  grid-row: span 2;
  align-self: center;
  color: #a7e52a;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(167, 229, 42, 0.28);
}

body:not(.admin-page) .intro-service-pills strong {
  display: block;
  font-size: 16px;
  line-height: 1.15;
}

body:not(.admin-page) .intro-service-pills small {
  display: block;
  margin-top: 4px;
  color: rgba(245, 245, 243, 0.5);
  font-size: 10px;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  body:not(.admin-page) .intro,
  body:not(.admin-page) .about,
  body:not(.admin-page) .process,
  body:not(.admin-page) .contact-inner {
    grid-template-columns: 1fr;
  }

  body:not(.admin-page) .case-featured-layout,
  body:not(.admin-page) .case-standard-layout,
  body:not(.admin-page) .service-list,
  body:not(.admin-page) .process-list {
    grid-template-columns: 1fr;
  }

  body:not(.admin-page) .project-card,
  body:not(.admin-page) .project-card:nth-child(1),
  body:not(.admin-page) .project-card:nth-child(4),
  body:not(.admin-page) .project-card:nth-child(6n),
  body:not(.admin-page) .project-card.project-card-featured,
  body:not(.admin-page) .project-card.project-card-secondary {
    grid-column: span 1;
  }

  .photo-live-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body:not(.admin-page) .process-list::before {
    display: none;
  }

  body:not(.admin-page) .brand-intro-panel {
    width: min(100% - 28px, 620px);
    min-height: 0;
  }

  body:not(.admin-page) .intro-hero-card,
  body:not(.admin-page) .intro-system {
    min-height: auto;
  }

  body:not(.admin-page) .intro-capabilities {
    grid-template-columns: 1fr;
  }

  body:not(.admin-page) .intro-service-pills,
  body:not(.admin-page) .data-metric-row,
  body:not(.admin-page) .bay-area-card,
  body:not(.admin-page) .vision-value-row {
    grid-template-columns: 1fr;
  }

  body:not(.admin-page) .intro-data-bar {
    padding: 28px 18px;
  }

  body:not(.admin-page) .data-metric-row article {
    min-height: 0;
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(168, 192, 174, 0.13);
  }

  body:not(.admin-page) .data-metric-row article:last-child {
    border-bottom: 0;
  }

  body:not(.admin-page) .bay-map {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid rgba(168, 192, 174, 0.24);
  }

  body:not(.admin-page) .vision-brand,
  body:not(.admin-page) .vision-value-row article {
    border-right: 0;
    border-bottom: 1px solid rgba(168, 192, 174, 0.13);
  }

  body:not(.admin-page) .vision-value-row article:last-child {
    border-bottom: 0;
  }

  .manifesto {
    min-height: auto;
    padding: 72px 24px 260px;
    background-position: 62% center;
  }

  .manifesto-proof {
    grid-template-columns: 1fr;
    max-width: 320px;
    gap: 18px;
  }

  .manifesto-logo {
    left: 24px;
    bottom: 34px;
  }

  .manifesto-caption {
    right: 24px;
    bottom: 34px;
    max-width: 150px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }
}

/* V2 final cascade overrides */
@media (min-width: 1024px) {
  body:not(.admin-page) .case-featured-layout {
    display: grid;
    grid-template-columns: repeat(20, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
  }

  body:not(.admin-page) .case-featured-layout .project-card.project-card-featured {
    grid-column: span 11;
  }

  body:not(.admin-page) .case-featured-layout .project-card.project-card-secondary {
    grid-column: span 9;
  }

  body:not(.admin-page) .case-standard-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 768px) {
  body:not(.admin-page) .case-featured-layout,
  body:not(.admin-page) .case-standard-layout,
  body:not(.admin-page) .data-card-grid,
  body:not(.admin-page) .intro-capabilities,
  body:not(.admin-page) .intro-service-pills {
    grid-template-columns: 1fr;
  }

  body:not(.admin-page) .case-featured-layout .project-card.project-card-featured,
  body:not(.admin-page) .case-featured-layout .project-card.project-card-secondary,
  body:not(.admin-page) .project-card,
  body:not(.admin-page) .project-card:nth-child(1),
  body:not(.admin-page) .project-card:nth-child(4),
  body:not(.admin-page) .project-card:nth-child(6n) {
    grid-column: auto;
  }

  body:not(.admin-page) .mobile-contact-bar {
    display: grid;
  }
}

/* Hero V3 split layout */
body:not(.admin-page) .hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  align-items: center;
  padding: 96px clamp(28px, 5vw, 72px) 34px;
  background:
    radial-gradient(circle at 82% 24%, rgba(167, 229, 42, 0.12), transparent 22%),
    #0e1111;
}

body:not(.admin-page) .hero-media,
body:not(.admin-page) .hero-video {
  left: 50%;
  right: clamp(28px, 5vw, 72px);
  top: 112px;
  bottom: 132px;
  width: auto;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(168, 192, 174, 0.16);
  border-radius: 24px;
  filter: saturate(0.86) contrast(1.02) brightness(0.84);
  transform: none;
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.42),
    0 0 80px rgba(167, 229, 42, 0.07);
}

body:not(.admin-page) .hero-media {
  background-position: center;
}

body:not(.admin-page) .hero-video {
  object-fit: cover;
}

body:not(.admin-page) .hero-overlay {
  background:
    linear-gradient(90deg, #0e1111 0%, rgba(14, 17, 17, 0.96) 39%, rgba(14, 17, 17, 0.18) 72%, rgba(14, 17, 17, 0.48) 100%),
    linear-gradient(0deg, #0e1111 0%, transparent 24%, transparent 74%, rgba(14, 17, 17, 0.78) 100%);
}

body:not(.admin-page) .hero-trail {
  right: clamp(10px, 4vw, 80px);
  top: 16%;
  width: min(40vw, 540px);
  opacity: 0.06;
  animation: none;
  filter: drop-shadow(0 0 20px rgba(221, 230, 242, 0.1));
}

body:not(.admin-page) .hero-signal {
  right: clamp(34px, 5vw, 84px);
  bottom: 154px;
  opacity: 0.54;
  transform: scale(0.86);
  transform-origin: right bottom;
}

body:not(.admin-page) .hero-content {
  z-index: 3;
  min-height: auto;
  max-width: 620px;
  margin: 0;
  padding: 0;
  align-items: flex-start;
  text-align: left;
}

body:not(.admin-page) .brand-title {
  display: grid;
  gap: 6px;
  margin: 0 0 22px;
  color: #f5f5f3;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 920;
  line-height: 1.08;
  text-shadow: none;
}

body:not(.admin-page) .brand-title span {
  color: #a7e52a;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.28em;
}

body:not(.admin-page) .hero .eyebrow {
  margin-bottom: 18px;
  color: rgba(245, 245, 243, 0.76);
  background: rgba(245, 245, 243, 0.045);
  border-color: rgba(168, 192, 174, 0.18);
}

body:not(.admin-page) .hero h1 {
  max-width: 720px;
  color: #f5f5f3;
  font-size: clamp(50px, 6.2vw, 92px);
  font-weight: 930;
  line-height: 1.02;
  white-space: nowrap;
  word-break: keep-all;
}

body:not(.admin-page) .hero h1 span {
  color: #a7e52a;
  text-shadow: 0 0 30px rgba(167, 229, 42, 0.22);
}

body:not(.admin-page) .hero-copy {
  max-width: 540px;
  margin: 24px 0 0;
  color: rgba(245, 245, 243, 0.68);
  font-size: clamp(16px, 1.3vw, 19px);
}

body:not(.admin-page) .hero-actions {
  margin-top: 34px;
}

body:not(.admin-page) .hero-actions .button-secondary {
  display: inline-flex;
}

body:not(.admin-page) .hero-strip {
  position: absolute;
  left: clamp(28px, 5vw, 72px);
  right: clamp(28px, 5vw, 72px);
  bottom: 28px;
  z-index: 4;
  display: grid;
  max-width: none;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body:not(.admin-page) .hero-strip span {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  min-height: 70px;
  align-content: center;
  padding: 12px 16px;
  color: #f5f5f3;
  text-align: left;
  background: rgba(7, 10, 10, 0.62);
  border: 1px solid rgba(168, 192, 174, 0.18);
  border-radius: 16px;
  backdrop-filter: blur(18px);
}

body:not(.admin-page) .hero-strip b {
  grid-row: span 2;
  align-self: center;
  color: #a7e52a;
  font-size: 24px;
  line-height: 1;
  text-shadow: 0 0 18px rgba(167, 229, 42, 0.28);
}

body:not(.admin-page) .hero-strip strong,
body:not(.admin-page) .hero-strip small {
  display: block;
}

body:not(.admin-page) .hero-strip strong {
  font-size: 16px;
  line-height: 1.15;
}

body:not(.admin-page) .hero-strip small {
  margin-top: 4px;
  color: rgba(245, 245, 243, 0.48);
  font-size: 10px;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  body:not(.admin-page) .hero {
    display: block;
    min-height: 100vh;
    padding: 108px 18px 28px;
  }

  body:not(.admin-page) .hero-media,
  body:not(.admin-page) .hero-video {
    inset: 0;
    border: 0;
    border-radius: 0;
    filter: saturate(0.8) contrast(1.02) brightness(0.62);
  }

  body:not(.admin-page) .hero-overlay {
    background:
      linear-gradient(90deg, rgba(14, 17, 17, 0.93), rgba(14, 17, 17, 0.36)),
      linear-gradient(0deg, #0e1111 0%, rgba(14, 17, 17, 0.28) 46%, rgba(14, 17, 17, 0.82) 100%);
  }

  body:not(.admin-page) .hero-trail {
    right: -80px;
    top: 16%;
    width: 82vw;
    opacity: 0.05;
  }

  body:not(.admin-page) .hero-content {
    max-width: 360px;
    padding: 0;
    text-align: left;
    align-items: flex-start;
  }

  body:not(.admin-page) .brand-title {
    margin-bottom: 18px;
    font-size: 28px;
  }

  body:not(.admin-page) .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
    line-height: 1.05;
  }

  body:not(.admin-page) .hero-copy {
    max-width: 330px;
    font-size: 15px;
  }

  body:not(.admin-page) .hero-actions {
    display: grid;
    width: 100%;
    max-width: 330px;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  body:not(.admin-page) .hero-actions .button {
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
  }

  body:not(.admin-page) .hero-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr 1fr;
    margin-top: 34px;
    gap: 10px;
  }

  body:not(.admin-page) .hero-strip span {
    min-height: 62px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  body:not(.admin-page) .hero-signal {
    right: 12px;
    bottom: 100px;
    transform: scale(0.72);
    opacity: 0.36;
  }
}

/* Case library layout lock: keep previous approved work-grid behavior */
body:not(.admin-page) .project-grid {
  display: block;
}

body:not(.admin-page) .project-card,
body:not(.admin-page) .project-card:nth-child(1),
body:not(.admin-page) .project-card:nth-child(4),
body:not(.admin-page) .project-card:nth-child(6n) {
  grid-column: auto;
}

body:not(.admin-page) .case-featured-layout {
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

body:not(.admin-page) .case-featured-layout .project-card.project-card-featured {
  grid-column: span 11;
}

body:not(.admin-page) .case-featured-layout .project-card.project-card-secondary {
  grid-column: span 9;
}

body:not(.admin-page) .case-standard-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

body:not(.admin-page) .case-standard-layout.case-grouped-layout {
  grid-template-columns: 1fr;
  gap: 26px;
}

body:not(.admin-page) .case-type-row {
  display: grid;
  gap: 14px;
  min-width: 0;
}

body:not(.admin-page) .case-type-row-title {
  margin: 0;
  color: rgba(245, 245, 243, 0.82);
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 850;
  letter-spacing: 0;
}

body:not(.admin-page) .case-type-row-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

body:not(.admin-page) .case-standard-layout .project-card {
  min-width: 0;
}

body:not(.admin-page) .project-thumb {
  aspect-ratio: 16 / 9;
}

body:not(.admin-page) .project-thumb img,
body:not(.admin-page) .project-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:not(.admin-page) .project-card h3 {
  min-height: 34px;
}

body:not(.admin-page) .project-card p {
  min-height: 42px;
}

@media (max-width: 900px) {
  body:not(.admin-page) .case-featured-layout,
  body:not(.admin-page) .case-standard-layout {
    grid-template-columns: 1fr;
  }

  body:not(.admin-page) .case-type-row-grid {
    grid-template-columns: 1fr;
  }

  body:not(.admin-page) .case-featured-layout .project-card.project-card-featured,
  body:not(.admin-page) .case-featured-layout .project-card.project-card-secondary,
  body:not(.admin-page) .case-standard-layout .project-card {
    grid-column: auto;
  }
}

/* Mobile case library: independent browsing flow for WeChat clients */
@media (max-width: 768px) {
  body:not(.admin-page) .work.section-wrap {
    padding-top: 58px;
  }

  body:not(.admin-page) .work .section-head {
    display: block;
  }

  body:not(.admin-page) .work .section-head h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  body:not(.admin-page) .filter-bar {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: 20px 0 0;
    padding: 0 0 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body:not(.admin-page) .filter-bar::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-page) .filter-button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 16px;
    color: rgba(245, 245, 243, 0.72);
    background: rgba(245, 245, 243, 0.05);
    border-color: rgba(168, 192, 174, 0.16);
  }

  body:not(.admin-page) .filter-button.active {
    color: #080808;
    background: #d9b26c;
    border-color: #d9b26c;
  }

  body:not(.admin-page) .project-grid.mobile-case-grid {
    display: grid;
    gap: 30px;
  }

  body:not(.admin-page) .mobile-case-section {
    display: grid;
    gap: 14px;
    min-width: 0;
  }

  body:not(.admin-page) .mobile-case-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  body:not(.admin-page) .mobile-case-section-head h3 {
    margin: 0;
    color: #f5f5f3;
    font-size: 22px;
    line-height: 1.2;
  }

  body:not(.admin-page) .mobile-case-section-head button {
    flex: 0 0 auto;
    color: #d9b26c;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
  }

  body:not(.admin-page) .mobile-featured-rail {
    display: grid;
    grid-auto-columns: minmax(280px, 86%);
    grid-auto-flow: column;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 0 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body:not(.admin-page) .mobile-featured-rail::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-page) .mobile-featured-rail .project-card {
    scroll-snap-align: start;
  }

  body:not(.admin-page) .mobile-case-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body:not(.admin-page) .project-card.mobile-case-card {
    overflow: hidden;
    min-height: 0;
    background: rgba(245, 245, 243, 0.035);
    border: 1px solid rgba(168, 192, 174, 0.16);
    border-radius: 18px;
  }

  body:not(.admin-page) .project-card.mobile-case-card .project-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0;
  }

  body:not(.admin-page) .project-card.mobile-case-card .project-type {
    left: 12px;
    top: 12px;
    font-size: 11px;
  }

  body:not(.admin-page) .project-card.mobile-case-card .camera-hud {
    display: none;
  }

  body:not(.admin-page) .project-card.mobile-case-card .play-label {
    right: 12px;
    bottom: 12px;
    min-height: 30px;
    padding: 0 12px;
    font-size: 12px;
  }

  body:not(.admin-page) .project-card.mobile-case-card h3 {
    min-height: 0;
    margin: 14px 14px 0;
    color: #f5f5f3;
    font-size: 18px;
    -webkit-line-clamp: 2;
  }

  body:not(.admin-page) .project-card.mobile-case-card p {
    min-height: 0;
    margin: 8px 14px 0;
    color: rgba(245, 245, 243, 0.66);
    font-size: 13px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
  }

  body:not(.admin-page) .project-card.mobile-case-card .detail-label {
    margin: 14px;
    min-height: 36px;
    padding: 0 14px;
    color: #0e1111;
    background: #f5f5f3;
    border-radius: 999px;
    font-size: 13px;
  }

  body:not(.admin-page) .project-grid.photo-live-mode {
    display: block;
  }

  body:not(.admin-page) .photo-live-stage {
    display: grid;
    min-height: 0;
    border-radius: 18px;
  }

  body:not(.admin-page) .photo-live-stage img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  body:not(.admin-page) .photo-live-stage > div {
    position: static;
    max-width: none;
    padding: 16px;
    background: rgba(7, 10, 10, 0.86);
  }

  body:not(.admin-page) .photo-live-stage h3 {
    font-size: 20px;
  }

  body:not(.admin-page) .photo-live-thumbs {
    display: grid;
    grid-auto-columns: 88px;
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body:not(.admin-page) .photo-live-thumbs::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-page) .photo-live-thumbs button {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
}

/* Hero V4 cinematic landing */
body:not(.admin-page) .hero {
  display: grid;
  min-height: 100svh;
  padding: 0;
  place-items: stretch;
  overflow: hidden;
  background: #0b0f0f;
}

body:not(.admin-page) .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.3), transparent);
}

body:not(.admin-page) .hero::after {
  content: "";
  position: absolute;
  left: clamp(32px, 5vw, 78px);
  right: clamp(32px, 5vw, 78px);
  bottom: 126px;
  z-index: 3;
  height: 1px;
  background: linear-gradient(90deg, rgba(167, 229, 42, 0.82), rgba(168, 192, 174, 0.22), transparent);
  opacity: 0.72;
}

body:not(.admin-page) .hero-media,
body:not(.admin-page) .hero-video {
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  filter: saturate(0.94) contrast(1.08) brightness(0.82);
  box-shadow: none;
  transform: none;
}

body:not(.admin-page) .hero-media {
  background-position: 68% center;
}

body:not(.admin-page) .hero-video {
  object-fit: cover;
}

body:not(.admin-page) .hero-overlay {
  background:
    radial-gradient(circle at 78% 42%, rgba(167, 229, 42, 0.16), transparent 26%),
    radial-gradient(circle at 15% 82%, rgba(124, 145, 132, 0.14), transparent 26%),
    linear-gradient(90deg, rgba(7, 10, 10, 0.98) 0%, rgba(7, 10, 10, 0.86) 35%, rgba(7, 10, 10, 0.38) 63%, rgba(7, 10, 10, 0.68) 100%),
    linear-gradient(0deg, rgba(7, 10, 10, 0.94) 0%, rgba(7, 10, 10, 0.18) 38%, rgba(7, 10, 10, 0.86) 100%);
}

body:not(.admin-page) .hero-content {
  position: relative;
  z-index: 4;
  align-self: center;
  max-width: min(760px, 58vw);
  margin-left: clamp(32px, 5vw, 78px);
  padding-top: 68px;
}

body:not(.admin-page) .brand-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  color: #f5f5f3;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 850;
  letter-spacing: 0.08em;
}

body:not(.admin-page) .brand-title::before {
  content: "";
  width: 38px;
  height: 1px;
  background: #a7e52a;
  box-shadow: 0 0 18px rgba(167, 229, 42, 0.5);
}

body:not(.admin-page) .brand-title span {
  color: rgba(245, 245, 243, 0.54);
  font-size: 11px;
  letter-spacing: 0.32em;
}

body:not(.admin-page) .hero .eyebrow {
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 14px;
  color: rgba(245, 245, 243, 0.74);
  background: rgba(7, 10, 10, 0.42);
  border: 1px solid rgba(168, 192, 174, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(20px);
}

body:not(.admin-page) .hero h1 {
  max-width: 860px;
  margin: 0;
  color: #f5f5f3;
  font-size: clamp(70px, 8.6vw, 132px);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: 0;
  text-shadow: 0 20px 70px rgba(0, 0, 0, 0.5);
  white-space: normal;
}

body:not(.admin-page) .hero h1 span {
  color: #a7e52a;
  text-shadow:
    0 0 22px rgba(167, 229, 42, 0.28),
    0 0 70px rgba(167, 229, 42, 0.14);
}

body:not(.admin-page) .hero-copy {
  max-width: 620px;
  margin-top: 28px;
  color: rgba(245, 245, 243, 0.72);
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.9;
}

body:not(.admin-page) .hero-actions {
  margin-top: 36px;
  gap: 14px;
}

body:not(.admin-page) .hero-actions .button {
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
}

body:not(.admin-page) .hero-actions .button-primary {
  background: #f5f5f3;
  color: #101313;
  box-shadow: 0 18px 44px rgba(245, 245, 243, 0.14);
}

body:not(.admin-page) .hero-actions .button-secondary {
  color: #f5f5f3;
  background: rgba(245, 245, 243, 0.06);
  border-color: rgba(245, 245, 243, 0.18);
}

body:not(.admin-page) .hero-trail {
  right: clamp(-120px, -5vw, -60px);
  top: auto;
  bottom: 9%;
  width: min(48vw, 720px);
  opacity: 0.055;
  mix-blend-mode: screen;
}

body:not(.admin-page) .hero-signal {
  right: clamp(30px, 5vw, 76px);
  bottom: 158px;
  z-index: 5;
  opacity: 0.42;
  transform: scale(0.78);
}

body:not(.admin-page) .hero-strip {
  left: clamp(32px, 5vw, 78px);
  right: clamp(32px, 5vw, 78px);
  bottom: 30px;
  z-index: 4;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  overflow: hidden;
  background: rgba(168, 192, 174, 0.14);
  border: 1px solid rgba(168, 192, 174, 0.16);
  border-radius: 22px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(24px);
}

body:not(.admin-page) .hero-strip span {
  min-height: 86px;
  padding: 18px 22px;
  background: rgba(7, 10, 10, 0.64);
  border: 0;
  border-radius: 0;
}

body:not(.admin-page) .hero-strip b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(167, 229, 42, 0.42);
  border-radius: 12px;
  background: rgba(167, 229, 42, 0.06);
  font-size: 20px;
}

body:not(.admin-page) .hero-strip strong {
  font-size: 18px;
  font-weight: 850;
}

body:not(.admin-page) .hero-strip small {
  color: rgba(245, 245, 243, 0.48);
  font-size: 10px;
  letter-spacing: 0.12em;
}

@media (max-width: 1023px) {
  body:not(.admin-page) .hero-content {
    max-width: 680px;
  }

  body:not(.admin-page) .hero h1 {
    font-size: clamp(58px, 10vw, 96px);
  }
}

@media (max-width: 768px) {
  body:not(.admin-page) .hero {
    min-height: 100svh;
    padding: 104px 18px 24px;
    align-content: start;
  }

  body:not(.admin-page) .hero::before {
    background-size: 54px 54px;
  }

  body:not(.admin-page) .hero::after {
    left: 18px;
    right: 18px;
    bottom: 204px;
  }

  body:not(.admin-page) .hero-media,
  body:not(.admin-page) .hero-video {
    filter: saturate(0.88) contrast(1.08) brightness(0.58);
  }

  body:not(.admin-page) .hero-media {
    background-position: 63% center;
  }

  body:not(.admin-page) .hero-overlay {
    background:
      radial-gradient(circle at 78% 32%, rgba(167, 229, 42, 0.12), transparent 30%),
      linear-gradient(90deg, rgba(7, 10, 10, 0.95), rgba(7, 10, 10, 0.48)),
      linear-gradient(0deg, rgba(7, 10, 10, 0.98) 0%, rgba(7, 10, 10, 0.32) 55%, rgba(7, 10, 10, 0.86) 100%);
  }

  body:not(.admin-page) .hero-content {
    max-width: 100%;
    margin-left: 0;
    padding-top: 0;
  }

  body:not(.admin-page) .brand-title {
    gap: 12px;
    margin-bottom: 22px;
    font-size: 18px;
  }

  body:not(.admin-page) .brand-title::before {
    width: 28px;
  }

  body:not(.admin-page) .brand-title span {
    font-size: 10px;
  }

  body:not(.admin-page) .hero .eyebrow {
    max-width: 100%;
    margin-bottom: 18px;
    white-space: normal;
  }

  body:not(.admin-page) .hero h1 {
    max-width: 360px;
    font-size: clamp(44px, 15vw, 62px);
    line-height: 1;
  }

  body:not(.admin-page) .hero-copy {
    max-width: 335px;
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.75;
  }

  body:not(.admin-page) .hero-actions {
    display: grid;
    width: min(100%, 340px);
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
    gap: 10px;
  }

  body:not(.admin-page) .hero-actions .button {
    min-height: 46px;
    padding: 0 12px;
  }

  body:not(.admin-page) .hero-strip {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 24px;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 0;
    border-radius: 18px;
  }

  body:not(.admin-page) .hero-strip span {
    min-height: 72px;
    padding: 12px;
  }

  body:not(.admin-page) .hero-strip b {
    width: 28px;
    height: 28px;
    font-size: 16px;
    border-radius: 10px;
  }

  body:not(.admin-page) .hero-strip strong {
    font-size: 15px;
  }

  body:not(.admin-page) .hero-signal {
    display: none;
  }

  body:not(.admin-page) .hero-trail {
    right: -120px;
    bottom: 25%;
    width: 92vw;
    opacity: 0.045;
  }
}

/* Black-gold cinematic theme inspired by JY Vision reference */
body:not(.admin-page) {
  --ink: #080808;
  --paper: #0c0c0b;
  --panel: #141210;
  --soft: #f8f4ea;
  --muted: rgba(248, 244, 234, 0.62);
  --line: rgba(209, 166, 92, 0.18);
  --lime: #d9b26c;
  --coral: #c9954d;
  --blue: #d9b26c;
  color: var(--soft);
  background:
    radial-gradient(circle at 78% 8%, rgba(201, 149, 77, 0.13), transparent 28%),
    radial-gradient(circle at 18% 34%, rgba(209, 166, 92, 0.07), transparent 26%),
    linear-gradient(180deg, #050505 0%, #10100f 42%, #080808 100%);
}

body:not(.admin-page)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 78px 78px;
}

body:not(.admin-page) .site-header {
  min-height: 82px;
  padding-inline: clamp(28px, 6vw, 86px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.54));
  border-bottom: 1px solid rgba(209, 166, 92, 0.13);
  backdrop-filter: blur(22px);
}

body:not(.admin-page) .brand {
  gap: 12px;
  color: #f8f4ea;
}

body:not(.admin-page) .brand-mark-logo {
  width: 38px;
  height: 38px;
  border-color: rgba(217, 178, 108, 0.55);
  box-shadow: 0 0 24px rgba(217, 178, 108, 0.12);
}

body:not(.admin-page) .brand-mark-logo img,
body:not(.admin-page) .manifesto-logo img,
body:not(.admin-page) .intro-signature img {
  filter: sepia(1) saturate(1.35) hue-rotate(350deg) brightness(1.1);
}

body:not(.admin-page) .nav-links a {
  position: relative;
  color: rgba(248, 244, 234, 0.82);
}

body:not(.admin-page) .nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 0;
  height: 1px;
  background: #d9b26c;
  transform: translateX(-50%);
  transition: width 180ms ease;
}

body:not(.admin-page) .nav-links a:hover::after,
body:not(.admin-page) .nav-links a:first-child::after {
  width: 22px;
}

body:not(.admin-page) .language-switcher {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(209, 166, 92, 0.22);
}

body:not(.admin-page) .language-button {
  color: rgba(248, 244, 234, 0.7);
}

body:not(.admin-page) .language-button.active,
body:not(.admin-page) .language-button:hover {
  color: #090807;
  background: #d9b26c;
}

body:not(.admin-page) .nav-cta {
  color: #f8f4ea;
  border-color: rgba(217, 178, 108, 0.62);
}

body:not(.admin-page) .nav-cta:hover {
  color: #090807;
  background: #d9b26c;
}

body:not(.admin-page) .hero {
  min-height: 100svh;
  background: #050505;
}

body:not(.admin-page) .hero::before {
  opacity: 0.2;
  background:
    linear-gradient(rgba(217, 178, 108, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 178, 108, 0.025) 1px, transparent 1px);
  background-size: 90px 90px;
}

body:not(.admin-page) .hero::after {
  left: clamp(56px, 7vw, 94px);
  right: auto;
  bottom: 17%;
  width: 118px;
  background: #d9b26c;
  opacity: 0.95;
  box-shadow: 0 0 26px rgba(217, 178, 108, 0.22);
}

body:not(.admin-page) .hero-media,
body:not(.admin-page) .hero-video {
  filter: saturate(0.86) contrast(1.08) brightness(0.82);
}

body:not(.admin-page) .hero-media {
  background-image: url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=2200&q=90") !important;
  background-position: 72% center;
}

body:not(.admin-page) .hero-overlay {
  background:
    radial-gradient(circle at 70% 38%, rgba(217, 178, 108, 0.13), transparent 26%),
    linear-gradient(90deg, rgba(2, 2, 2, 0.98) 0%, rgba(2, 2, 2, 0.82) 38%, rgba(2, 2, 2, 0.2) 68%, rgba(2, 2, 2, 0.48) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.15) 48%, rgba(0, 0, 0, 0.82) 100%);
}

body:not(.admin-page) .hero-content {
  max-width: min(780px, 60vw);
  margin-left: clamp(48px, 7vw, 96px);
  padding-top: 80px;
}

body:not(.admin-page) .brand-title {
  display: grid;
  gap: 5px;
  margin-bottom: 28px;
  color: #d9b26c;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.34em;
}

body:not(.admin-page) .brand-title::before {
  display: none;
}

body:not(.admin-page) .brand-title span {
  color: rgba(248, 244, 234, 0.58);
  font-size: 11px;
  letter-spacing: 0.3em;
}

body:not(.admin-page) .hero .eyebrow {
  margin: 26px 0 0;
  padding: 0;
  color: rgba(248, 244, 234, 0.76);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  letter-spacing: 0.12em;
}

body:not(.admin-page) .hero h1 {
  max-width: 780px;
  color: #f8f4ea;
  font-size: clamp(52px, 5.6vw, 94px);
  font-weight: 520;
  line-height: 1.12;
  text-shadow: 0 22px 78px rgba(0, 0, 0, 0.66);
}

body:not(.admin-page) .hero h1 small {
  display: block;
  margin-top: 6px;
  color: #f8f4ea;
  font-size: clamp(31px, 3.3vw, 54px);
  font-weight: 420;
  line-height: 1.18;
}

body:not(.admin-page) .hero h1 span {
  color: #d9b26c;
  text-shadow: 0 0 28px rgba(217, 178, 108, 0.24);
}

body:not(.admin-page) .hero-copy {
  max-width: 560px;
  color: rgba(248, 244, 234, 0.66);
  font-size: 16px;
  line-height: 1.85;
}

body:not(.admin-page) .hero-actions .button {
  min-width: 158px;
  min-height: 52px;
  border-radius: 2px;
  font-size: 15px;
}

body:not(.admin-page) .hero-actions .button-primary {
  color: #100c08;
  background: linear-gradient(135deg, #ebd09c, #c9954d);
  box-shadow: 0 22px 52px rgba(201, 149, 77, 0.18);
}

body:not(.admin-page) .hero-actions .button-primary::after {
  content: "→";
  margin-left: 14px;
}

body:not(.admin-page) .hero-actions .button-secondary {
  color: #f8f4ea;
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(217, 178, 108, 0.58);
}

body:not(.admin-page) .hero .hero-strip {
  display: none !important;
}

body:not(.admin-page) .hero-signal {
  right: clamp(42px, 5vw, 78px);
  bottom: 14%;
  opacity: 0.48;
  color: #d9b26c;
}

body:not(.admin-page) .hero-trail {
  opacity: 0.025;
  filter: sepia(1) saturate(1.4) hue-rotate(350deg);
}

body:not(.admin-page) .manifesto {
  display: grid;
  min-height: auto;
  padding: clamp(50px, 5vw, 80px) clamp(34px, 6.5vw, 92px);
  grid-template-columns: minmax(260px, 0.8fr) minmax(520px, 1.6fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.98), rgba(18, 17, 15, 0.96)),
    #0d0d0c;
  border-block: 1px solid rgba(217, 178, 108, 0.12);
}

body:not(.admin-page) .manifesto::before,
body:not(.admin-page) .manifesto::after,
body:not(.admin-page) .manifesto-logo,
body:not(.admin-page) .manifesto-caption {
  display: none;
}

body:not(.admin-page) .manifesto-copy {
  position: static;
  max-width: 360px;
}

body:not(.admin-page) .manifesto-copy small {
  color: #d9b26c;
  letter-spacing: 0.28em;
}

body:not(.admin-page) .manifesto-copy h2 {
  margin-top: 14px;
  color: #f8f4ea;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.24;
  font-weight: 520;
}

body:not(.admin-page) .manifesto-copy h2 span {
  color: #f8f4ea;
}

body:not(.admin-page) .manifesto-copy p {
  max-width: 290px;
  color: rgba(248, 244, 234, 0.62);
  font-size: 15px;
  line-height: 1.9;
}

body:not(.admin-page) .manifesto-copy i,
body:not(.admin-page) .manifesto-copy b {
  background: #d9b26c;
}

body:not(.admin-page) .manifesto-proof {
  position: static;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

body:not(.admin-page) .manifesto-proof article {
  min-height: 160px;
  padding: 24px 28px;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(217, 178, 108, 0.18);
  border-radius: 0;
}

body:not(.admin-page) .manifesto-proof strong {
  color: #d9b26c;
  font-size: 34px;
}

body:not(.admin-page) .manifesto-proof span {
  margin-top: 22px;
  color: #f8f4ea;
  font-size: 18px;
}

body:not(.admin-page) .manifesto-proof small {
  color: rgba(248, 244, 234, 0.55);
  line-height: 1.7;
}

body:not(.admin-page) .section-wrap {
  max-width: 1260px;
}

body:not(.admin-page) .section-kicker {
  color: #d9b26c;
  background: transparent;
  border-color: rgba(217, 178, 108, 0.36);
}

body:not(.admin-page) .section-head h2,
body:not(.admin-page) .services h2,
body:not(.admin-page) .process h2,
body:not(.admin-page) .contact h2 {
  color: #f8f4ea;
  font-weight: 520;
}

body:not(.admin-page) .brand-intro-panel,
body:not(.admin-page) .about,
body:not(.admin-page) .services,
body:not(.admin-page) .process,
body:not(.admin-page) .trust,
body:not(.admin-page) .faq,
body:not(.admin-page) .work {
  background: transparent;
}

body:not(.admin-page) .intro-hero-card,
body:not(.admin-page) .intro-system,
body:not(.admin-page) .service-board article,
body:not(.admin-page) .process-list li,
body:not(.admin-page) .faq-list details,
body:not(.admin-page) .logo-wall span,
body:not(.admin-page) .project-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border-color: rgba(217, 178, 108, 0.16);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

body:not(.admin-page) .intro-hero-card {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.32)),
    url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=1500&q=90") center / cover;
}

body:not(.admin-page) .intro-hero-card h2,
body:not(.admin-page) .intro-capabilities h3,
body:not(.admin-page) .project-card h3,
body:not(.admin-page) .service-board h3,
body:not(.admin-page) .about-copy h2 {
  color: #f8f4ea;
}

body:not(.admin-page) .intro-hero-card h2 span,
body:not(.admin-page) .intro-icon,
body:not(.admin-page) .intro-capabilities article i,
body:not(.admin-page) .intro-service-pills b,
body:not(.admin-page) .intro-data-bar i,
body:not(.admin-page) .service-index,
body:not(.admin-page) .process-list span {
  color: #d9b26c;
  border-color: rgba(217, 178, 108, 0.42);
}

body:not(.admin-page) .intro-data-bar {
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 178, 108, 0.12), transparent 26%),
    rgba(8, 8, 8, 0.74);
  border-color: rgba(217, 178, 108, 0.18);
}

body:not(.admin-page) .intro-data-bar strong {
  color: #d9b26c;
}

body:not(.admin-page) .work {
  border-top: 1px solid rgba(217, 178, 108, 0.12);
}

body:not(.admin-page) .filter-button {
  color: rgba(248, 244, 234, 0.68);
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(217, 178, 108, 0.16);
}

body:not(.admin-page) .filter-button.active,
body:not(.admin-page) .filter-button:hover {
  color: #090807;
  background: #d9b26c;
  border-color: #d9b26c;
}

body:not(.admin-page) .project-thumb {
  background: #070707;
}

body:not(.admin-page) .project-thumb img,
body:not(.admin-page) .project-thumb video {
  filter: saturate(0.82) contrast(1.08) brightness(0.82);
}

body:not(.admin-page) .project-type,
body:not(.admin-page) .play-label {
  color: #090807;
  background: rgba(217, 178, 108, 0.92);
}

body:not(.admin-page) .detail-label {
  color: #d9b26c;
}

body:not(.admin-page) .data-card-grid article {
  background:
    radial-gradient(circle at 90% 10%, rgba(217, 178, 108, 0.1), transparent 28%),
    rgba(8, 8, 8, 0.72);
  border-color: rgba(217, 178, 108, 0.16);
}

body:not(.admin-page) .data-card-grid article strong,
body:not(.admin-page) .data-card-grid article:nth-child(4) strong {
  color: #d9b26c;
}

body:not(.admin-page) .service-board {
  gap: 8px;
}

body:not(.admin-page) .service-board article {
  border-radius: 0;
}

body:not(.admin-page) .logo-wall span {
  color: rgba(248, 244, 234, 0.78);
}

body:not(.admin-page) .about {
  overflow: hidden;
  max-width: none;
  padding-inline: clamp(34px, 6.5vw, 92px);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.97) 0%, rgba(5, 5, 5, 0.8) 44%, rgba(5, 5, 5, 0.16) 100%),
    url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=1800&q=90") center right / cover;
  border-block: 1px solid rgba(217, 178, 108, 0.12);
}

body:not(.admin-page) .about-media {
  display: none;
}

body:not(.admin-page) .about-copy {
  max-width: 520px;
}

body:not(.admin-page) .contact {
  background:
    radial-gradient(circle at 78% 20%, rgba(217, 178, 108, 0.11), transparent 24%),
    #0a0a09;
  border-top: 1px solid rgba(217, 178, 108, 0.14);
}

body:not(.admin-page) .contact-inner {
  background: transparent;
}

body:not(.admin-page) .quote-form,
body:not(.admin-page) .contact-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(217, 178, 108, 0.16);
}

body:not(.admin-page) input,
body:not(.admin-page) select,
body:not(.admin-page) textarea {
  color: #f8f4ea;
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(217, 178, 108, 0.18);
}

body:not(.admin-page) .mobile-contact-bar a,
body:not(.admin-page) .mobile-contact-bar button {
  color: #090807;
  background: #d9b26c;
}

/* Draggable side contact orb */
body:not(.admin-page) .wechat-float,
body:not(.admin-page) .mobile-contact-bar {
  display: none !important;
}

.contact-orb {
  position: fixed;
  left: var(--orb-x);
  top: var(--orb-y);
  z-index: 95;
  width: 64px;
  height: 64px;
  color: #f8f4ea;
  touch-action: none;
  transform: translate3d(0, -50%, 0);
}

.contact-orb.dragging {
  transition: none;
}

.contact-orb:not(.dragging) {
  transition: left 260ms ease, top 260ms ease;
}

.contact-orb-button {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  padding: 0;
  place-items: center;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.14), transparent 34%),
    rgba(8, 8, 8, 0.86);
  border: 1px solid rgba(200, 164, 106, 0.58);
  border-radius: 999px;
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.38),
    0 0 24px rgba(200, 164, 106, 0.1);
  cursor: grab;
  backdrop-filter: blur(16px);
}

.contact-orb-button:active {
  cursor: grabbing;
}

.contact-orb-button::before,
.contact-orb-button::after {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border: 1px solid rgba(200, 164, 106, 0.42);
  border-radius: inherit;
  animation: contact-orb-breathe 2.8s ease-in-out infinite;
}

.contact-orb-button::after {
  inset: -15px;
  opacity: 0.38;
  animation-delay: 900ms;
}

.contact-orb-button img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: sepia(1) saturate(1.35) hue-rotate(350deg) brightness(1.16);
  pointer-events: none;
}

.contact-orb.open .contact-orb-button {
  border-color: rgba(235, 208, 156, 0.9);
}

.contact-orb-panel {
  position: absolute;
  top: 50%;
  right: 78px;
  display: grid;
  width: 310px;
  max-width: calc(100vw - 116px);
  gap: 14px;
  padding: 20px;
  color: #f8f4ea;
  background:
    radial-gradient(circle at 100% 0%, rgba(200, 164, 106, 0.12), transparent 35%),
    rgba(8, 8, 8, 0.94);
  border: 1px solid rgba(200, 164, 106, 0.35);
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  opacity: 0;
  pointer-events: none;
  transform: translate(12px, -50%) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(22px);
}

.contact-orb.left .contact-orb-panel {
  right: auto;
  left: 78px;
  transform: translate(-12px, -50%) scale(0.96);
}

.contact-orb.open .contact-orb-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%) scale(1);
}

.contact-orb-copy {
  display: grid;
  gap: 6px;
  padding-right: 34px;
}

.contact-orb-copy small {
  color: #c8a46a;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.22em;
}

.contact-orb-copy strong {
  font-size: 22px;
  line-height: 1.2;
}

.contact-orb-copy span,
.contact-orb-meta {
  color: rgba(248, 244, 234, 0.64);
  font-size: 13px;
  line-height: 1.7;
}

.contact-orb-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 30px;
  height: 30px;
  color: rgba(248, 244, 234, 0.78);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 164, 106, 0.2);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
}

.contact-orb-qr {
  width: 150px;
  height: 150px;
  padding: 8px;
  object-fit: cover;
  justify-self: center;
  background: #f8f4ea;
  border-radius: 12px;
}

.contact-orb-meta {
  display: grid;
  gap: 4px;
  text-align: center;
}

.contact-orb-meta a {
  color: #d9b26c;
}

.contact-orb-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-orb-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  color: #0b0906;
  background: linear-gradient(135deg, #ebd09c, #c9954d);
  border: 1px solid rgba(200, 164, 106, 0.38);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.contact-orb-actions a:last-child {
  color: #f8f4ea;
  background: rgba(255, 255, 255, 0.04);
}

@keyframes contact-orb-breathe {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.92);
  }

  50% {
    opacity: 0.55;
    transform: scale(1.08);
  }
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    background: #080808;
  }

  body:not(.admin-page) {
    position: relative;
    overflow-x: hidden;
  }

  body:not(.admin-page) .site-header,
  body:not(.admin-page) main,
  body:not(.admin-page) .section-wrap,
  body:not(.admin-page) .brand-intro-panel,
  body:not(.admin-page) .manifesto,
  body:not(.admin-page) .work,
  body:not(.admin-page) .project-grid,
  body:not(.admin-page) .mobile-case-section,
  body:not(.admin-page) .site-footer {
    max-width: 100%;
    box-sizing: border-box;
  }

  body:not(.admin-page) img,
  body:not(.admin-page) video {
    max-width: 100%;
  }

  body:not(.admin-page) .mobile-case-section-head button {
    color: #d9b26c;
  }

  body:not(.admin-page) .project-card.mobile-case-card .project-type {
    color: #080808;
    background: #d9b26c;
    border-color: rgba(217, 178, 108, 0.88);
  }

  body:not(.admin-page) .project-card.mobile-case-card .play-label {
    color: #080808;
    background: #d9b26c;
  }

  .contact-orb {
    width: 54px;
    height: 54px;
  }

  .contact-orb-button {
    width: 54px;
    height: 54px;
  }

  .contact-orb-button img {
    width: 30px;
    height: 30px;
  }

  .contact-orb-panel,
  .contact-orb.left .contact-orb-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    width: auto;
    max-width: none;
    max-height: min(72vh, 560px);
    overflow: auto;
    padding: 22px;
    border-radius: 22px;
    opacity: 0;
    transform: translateY(18px);
  }

  .contact-orb.open .contact-orb-panel,
  .contact-orb.left.open .contact-orb-panel {
    opacity: 1;
    transform: translateY(0);
  }

  .contact-orb-qr {
    width: min(52vw, 210px);
    height: min(52vw, 210px);
  }
}

@media (max-width: 900px) {
  body:not(.admin-page) .manifesto {
    grid-template-columns: 1fr;
  }

  body:not(.admin-page) .manifesto-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body:not(.admin-page) .site-header {
    min-height: 66px;
    padding-inline: 18px;
  }

  body:not(.admin-page) .hero {
    min-height: 92svh;
    padding: 100px 22px 28px;
  }

  body:not(.admin-page) .hero-content {
    max-width: 100%;
    margin-left: 0;
  }

  body:not(.admin-page) .brand-title {
    font-size: 12px;
  }

  body:not(.admin-page) .hero h1 {
    max-width: 340px;
    font-size: clamp(42px, 13vw, 58px);
  }

  body:not(.admin-page) .hero h1 small {
    font-size: clamp(28px, 8vw, 40px);
  }

  body:not(.admin-page) .hero .eyebrow {
    font-size: 13px;
    line-height: 1.8;
  }

  body:not(.admin-page) .hero-copy {
    display: block;
    max-width: 320px;
  }

  body:not(.admin-page) .manifesto {
    padding: 48px 22px;
  }

  body:not(.admin-page) .manifesto-proof {
    grid-template-columns: 1fr;
  }

  body:not(.admin-page) .manifesto-proof article {
    min-height: 116px;
    padding: 20px 0 20px 18px;
  }
}

/* Final front-end override: blue light visual direction. Case-library layout rules above stay unchanged. */
body:not(.admin-page) {
  --ink: #030714;
  --paper: #030714;
  --panel: #071225;
  --soft: #f7fbff;
  --muted: rgba(222, 232, 255, 0.66);
  --line: rgba(74, 132, 255, 0.2);
  --lime: #2f6bff;
  --coral: #6aa7ff;
  --blue: #2f6bff;
  color: var(--soft);
  background:
    radial-gradient(circle at 78% 10%, rgba(47, 107, 255, 0.18), transparent 28%),
    radial-gradient(circle at 18% 36%, rgba(37, 116, 255, 0.12), transparent 25%),
    linear-gradient(180deg, #02040c 0%, #061126 44%, #030714 100%);
}

body:not(.admin-page)::before {
  opacity: 0.52;
  background:
    radial-gradient(circle, rgba(90, 153, 255, 0.22) 1px, transparent 1.6px),
    linear-gradient(rgba(80, 130, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 130, 255, 0.03) 1px, transparent 1px);
  background-size: 120px 120px, 92px 92px, 92px 92px;
  animation: jyParticleRise 22s linear infinite;
}

body:not(.admin-page)::after {
  content: "";
  position: fixed;
  inset: auto -15% -28% -15%;
  z-index: -1;
  height: 44vh;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(47, 107, 255, 0.24), transparent 62%),
    linear-gradient(90deg, transparent, rgba(75, 143, 255, 0.18), transparent);
  filter: blur(16px);
}

body:not(.admin-page) .site-header {
  background: linear-gradient(180deg, rgba(2, 5, 14, 0.92), rgba(2, 5, 14, 0.56));
  border-bottom-color: rgba(84, 139, 255, 0.18);
}

body:not(.admin-page) .brand {
  gap: 14px;
  color: #fff;
}

body:not(.admin-page) .brand::before {
  content: "JY";
  display: inline-flex;
  align-items: center;
  color: #4f82ff;
  font-size: 32px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.08em;
  text-shadow: 0 0 24px rgba(60, 118, 255, 0.58);
}

body:not(.admin-page) .brand-mark-logo {
  display: none;
}

body:not(.admin-page) .nav-links a {
  color: rgba(239, 246, 255, 0.84);
}

body:not(.admin-page) .nav-links a::after,
body:not(.admin-page) .hero::after,
body:not(.admin-page) .manifesto-copy i,
body:not(.admin-page) .manifesto-copy b {
  background: #3f79ff;
  box-shadow: 0 0 26px rgba(63, 121, 255, 0.55);
}

body:not(.admin-page) .language-switcher {
  background: rgba(12, 27, 62, 0.72);
  border-color: rgba(99, 153, 255, 0.24);
  box-shadow: inset 0 0 24px rgba(79, 130, 255, 0.08);
}

body:not(.admin-page) .language-button.active,
body:not(.admin-page) .language-button:hover,
body:not(.admin-page) .nav-cta,
body:not(.admin-page) .hero-actions .button-primary,
body:not(.admin-page) .filter-button.active,
body:not(.admin-page) .filter-button:hover,
body:not(.admin-page) .contact-orb-actions a {
  color: #fff;
  background: linear-gradient(135deg, #2455ff, #4c8dff);
  border-color: rgba(106, 166, 255, 0.68);
}

body:not(.admin-page) .nav-cta,
body:not(.admin-page) .hero-actions .button-primary {
  box-shadow: 0 22px 56px rgba(43, 106, 255, 0.34);
}

body:not(.admin-page) .hero {
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(44, 103, 255, 0.34), transparent 34%),
    linear-gradient(180deg, #020713 0%, #061432 55%, #030714 100%);
}

body:not(.admin-page) .hero::before {
  content: "";
  position: absolute;
  inset: 7% -10% auto 34%;
  z-index: 1;
  height: 58%;
  pointer-events: none;
  opacity: 0.76;
  background:
    radial-gradient(ellipse at 58% 22%, rgba(255, 255, 255, 0.82), rgba(88, 150, 255, 0.42) 12%, transparent 22%),
    radial-gradient(ellipse at 50% 78%, transparent 48%, rgba(70, 136, 255, 0.86) 49%, rgba(70, 136, 255, 0.08) 51%, transparent 52%),
    linear-gradient(180deg, transparent, rgba(75, 143, 255, 0.22), transparent);
  border-radius: 50%;
  filter: blur(0.2px);
  animation: jyLightDrift 9s ease-in-out infinite;
}

body:not(.admin-page) .hero::after {
  content: "";
  position: absolute;
  left: 34%;
  right: -8%;
  bottom: 21%;
  z-index: 1;
  width: auto;
  height: 26%;
  opacity: 0.8;
  background:
    radial-gradient(ellipse at 64% 56%, rgba(77, 149, 255, 0.38), transparent 38%),
    repeating-radial-gradient(ellipse at 62% 60%, rgba(70, 132, 255, 0.32) 0 1px, transparent 1px 11px);
  border-radius: 50%;
  box-shadow: none;
  transform: skewY(-6deg);
  animation: jyLightDrift 12s ease-in-out infinite reverse;
}

body:not(.admin-page) .hero-media,
body:not(.admin-page) .hero-video {
  z-index: 0;
  opacity: 0.68;
  filter: saturate(1.1) contrast(1.14) brightness(0.56) hue-rotate(8deg);
}

body:not(.admin-page) .hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(2, 5, 14, 0.96) 0%, rgba(2, 5, 14, 0.78) 34%, rgba(2, 5, 14, 0.2) 72%, rgba(2, 5, 14, 0.72) 100%),
    linear-gradient(0deg, rgba(3, 7, 20, 0.98) 0%, rgba(3, 7, 20, 0.12) 48%, rgba(3, 7, 20, 0.82) 100%);
}

body:not(.admin-page) .hero-content {
  z-index: 4;
}

body:not(.admin-page) .brand-title,
body:not(.admin-page) .section-kicker,
body:not(.admin-page) .intro-hero-card h2 span,
body:not(.admin-page) .intro-icon,
body:not(.admin-page) .intro-capabilities article i,
body:not(.admin-page) .intro-service-pills b,
body:not(.admin-page) .intro-data-bar i,
body:not(.admin-page) .service-index,
body:not(.admin-page) .process-list span,
body:not(.admin-page) .detail-label,
body:not(.admin-page) .contact-orb-copy small,
body:not(.admin-page) .contact-orb-meta a {
  color: #69a5ff;
  border-color: rgba(104, 163, 255, 0.42);
}

body:not(.admin-page) .hero h1,
body:not(.admin-page) .hero h1 small {
  color: #fff;
  font-weight: 720;
  text-shadow: 0 0 42px rgba(86, 143, 255, 0.16), 0 28px 80px rgba(0, 0, 0, 0.72);
}

body:not(.admin-page) .hero h1 span {
  color: #4d86ff;
  text-shadow: 0 0 32px rgba(77, 134, 255, 0.56);
}

body:not(.admin-page) .hero .eyebrow,
body:not(.admin-page) .hero-copy {
  color: rgba(220, 233, 255, 0.72);
}

body:not(.admin-page) .hero-actions .button {
  border-radius: 10px;
}

body:not(.admin-page) .hero-actions .button-secondary,
body:not(.admin-page) .contact-orb-actions a:last-child {
  color: #fff;
  background: rgba(3, 13, 34, 0.46);
  border-color: rgba(91, 146, 255, 0.62);
}

body:not(.admin-page) .hero-strip {
  z-index: 5;
  display: grid;
  position: absolute;
  left: 50%;
  bottom: 7%;
  width: min(86vw, 1200px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  background: transparent;
  border: 0;
  transform: translateX(-50%);
}

body:not(.admin-page) .hero-strip span,
body:not(.admin-page) .manifesto-proof article,
body:not(.admin-page) .intro-hero-card,
body:not(.admin-page) .intro-system,
body:not(.admin-page) .service-board article,
body:not(.admin-page) .process-list li,
body:not(.admin-page) .faq-list details,
body:not(.admin-page) .logo-wall span,
body:not(.admin-page) .project-card {
  background:
    linear-gradient(180deg, rgba(18, 42, 92, 0.46), rgba(5, 12, 29, 0.62));
  border-color: rgba(83, 141, 255, 0.18);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.26), inset 0 0 36px rgba(70, 131, 255, 0.045);
}

body:not(.admin-page) .hero-strip span {
  min-height: 110px;
  padding: 20px 22px;
  border-radius: 14px;
  backdrop-filter: blur(14px);
}

body:not(.admin-page) .hero-strip b {
  color: #8db7ff;
  background: rgba(48, 104, 255, 0.18);
  border-color: rgba(113, 171, 255, 0.36);
  animation: jyPulseGlow 3.4s ease-in-out infinite;
}

body:not(.admin-page) .hero-strip strong,
body:not(.admin-page) .section-head h2,
body:not(.admin-page) .services h2,
body:not(.admin-page) .process h2,
body:not(.admin-page) .contact h2,
body:not(.admin-page) .intro-hero-card h2,
body:not(.admin-page) .intro-capabilities h3,
body:not(.admin-page) .project-card h3,
body:not(.admin-page) .service-board h3,
body:not(.admin-page) .about-copy h2 {
  color: #fff;
}

body:not(.admin-page) .hero-strip small,
body:not(.admin-page) .section-head p,
body:not(.admin-page) .project-card p,
body:not(.admin-page) .service-board p,
body:not(.admin-page) .process-list p {
  color: rgba(220, 233, 255, 0.62);
}

body:not(.admin-page) .manifesto,
body:not(.admin-page) .contact {
  background:
    radial-gradient(circle at 78% 20%, rgba(48, 104, 255, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(4, 9, 23, 0.98), rgba(7, 19, 45, 0.96));
  border-color: rgba(83, 141, 255, 0.16);
}

body:not(.admin-page) .intro-data-bar,
body:not(.admin-page) .data-card-grid article {
  background:
    radial-gradient(circle at 86% 10%, rgba(61, 125, 255, 0.18), transparent 30%),
    rgba(5, 14, 35, 0.78);
  border-color: rgba(83, 141, 255, 0.18);
}

body:not(.admin-page) .intro-data-bar strong,
body:not(.admin-page) .data-card-grid article strong,
body:not(.admin-page) .data-card-grid article:nth-child(4) strong {
  color: #fff;
  text-shadow: 0 0 28px rgba(91, 150, 255, 0.42);
}

body:not(.admin-page) .work {
  border-top-color: rgba(83, 141, 255, 0.16);
}

body:not(.admin-page) .filter-button {
  color: rgba(225, 236, 255, 0.7);
  background: rgba(11, 30, 72, 0.58);
  border-color: rgba(83, 141, 255, 0.2);
}

body:not(.admin-page) .project-thumb img,
body:not(.admin-page) .project-thumb video {
  filter: saturate(1.06) contrast(1.08) brightness(0.84) hue-rotate(6deg);
}

body:not(.admin-page) .project-type,
body:not(.admin-page) .play-label {
  color: #fff;
  background: rgba(39, 94, 255, 0.92);
  border: 1px solid rgba(136, 184, 255, 0.34);
}

body:not(.admin-page) .services::before,
body:not(.admin-page) .process::before,
body:not(.admin-page) .contact::before {
  background: radial-gradient(circle, rgba(47, 107, 255, 0.16), transparent 62%);
}

body:not(.admin-page) .about {
  background:
    linear-gradient(90deg, rgba(3, 7, 20, 0.97) 0%, rgba(3, 7, 20, 0.76) 44%, rgba(3, 7, 20, 0.18) 100%),
    url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=1800&q=90") center right / cover;
  border-block-color: rgba(83, 141, 255, 0.16);
}

body:not(.admin-page) .contact-orb-button {
  border-color: rgba(107, 166, 255, 0.68);
  box-shadow: 0 0 30px rgba(60, 124, 255, 0.28);
}

body:not(.admin-page) .contact-orb-button::before,
body:not(.admin-page) .contact-orb-button::after {
  border-color: rgba(94, 153, 255, 0.46);
}

body:not(.admin-page) .contact-orb-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 107, 255, 0.18), transparent 35%),
    rgba(4, 10, 25, 0.95);
  border-color: rgba(91, 146, 255, 0.34);
}

@media (max-width: 900px) {
  body:not(.admin-page) .hero::before {
    inset: 16% -55% auto 18%;
    height: 44%;
  }

  body:not(.admin-page) .hero::after {
    left: 8%;
    right: -30%;
    bottom: 21%;
    height: 18%;
  }

  body:not(.admin-page) .hero-strip {
    width: calc(100% - 36px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    bottom: 24px;
  }

  body:not(.admin-page) .hero-strip span {
    min-height: 78px;
    padding: 12px;
  }
}

@media (max-width: 768px) {
  body:not(.admin-page) .brand::before {
    font-size: 26px;
  }

  body:not(.admin-page) .hero {
    min-height: 96svh;
    padding-bottom: 218px;
  }

  body:not(.admin-page) .hero-actions {
    grid-template-columns: 1fr 1fr;
  }

  body:not(.admin-page) .hero-actions .button {
    min-width: 0;
  }

  body:not(.admin-page) .hero-strip b {
    display: none;
  }
}

/* Reference-aligned hero refinement: logo-led, stronger blue horizon, unchanged case grid. */
body:not(.admin-page) .brand::before {
  content: none;
}

body:not(.admin-page) .brand-mark-logo {
  display: inline-flex;
  width: 52px;
  height: 52px;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body:not(.admin-page) .brand-mark-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(67, 125, 255, 0.52));
}

body:not(.admin-page) .brand > span:last-child {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

body:not(.admin-page) .hero {
  min-height: 100svh;
  padding-bottom: 168px;
  background:
    radial-gradient(circle at 86% 18%, rgba(45, 101, 255, 0.28), transparent 26%),
    radial-gradient(circle at 72% 52%, rgba(42, 122, 255, 0.14), transparent 35%),
    linear-gradient(180deg, #02050e 0%, #041127 58%, #030712 100%);
}

body:not(.admin-page) .hero-media {
  opacity: 0.5;
  background-image:
    linear-gradient(90deg, rgba(2, 5, 14, 0.52), rgba(2, 5, 14, 0.06)),
    url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=2400&q=90") !important;
  background-position: 72% center;
  mix-blend-mode: screen;
}

body:not(.admin-page) .hero::before {
  inset: 10% -16% auto 36%;
  height: 56%;
  opacity: 0.95;
  background:
    radial-gradient(ellipse at 58% 12%, rgba(255, 255, 255, 0.95), rgba(106, 166, 255, 0.58) 10%, transparent 23%),
    radial-gradient(ellipse at 50% 92%, transparent 46%, rgba(80, 145, 255, 0.95) 47%, rgba(80, 145, 255, 0.1) 50%, transparent 52%);
}

body:not(.admin-page) .hero::after {
  left: 34%;
  right: -16%;
  bottom: 26%;
  height: 23%;
  opacity: 0.92;
  background:
    radial-gradient(ellipse at 58% 50%, rgba(80, 155, 255, 0.42), transparent 38%),
    repeating-radial-gradient(ellipse at 62% 60%, rgba(74, 137, 255, 0.36) 0 1px, transparent 1px 10px),
    linear-gradient(90deg, transparent, rgba(69, 138, 255, 0.38), transparent);
}

body:not(.admin-page) .hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 5, 14, 0.98) 0%, rgba(2, 5, 14, 0.78) 33%, rgba(2, 5, 14, 0.1) 72%, rgba(2, 5, 14, 0.62) 100%),
    linear-gradient(0deg, rgba(3, 7, 20, 0.98) 0%, rgba(3, 7, 20, 0.1) 46%, rgba(3, 7, 20, 0.82) 100%);
}

body:not(.admin-page) .hero-content {
  max-width: 680px;
  margin-left: clamp(56px, 7vw, 90px);
  padding-top: 72px;
}

body:not(.admin-page) .brand-title {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 26px;
  color: #4d83ff;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

body:not(.admin-page) .brand-title span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  letter-spacing: 0.08em;
}

body:not(.admin-page) .hero h1 {
  max-width: 680px;
  font-size: clamp(58px, 6.1vw, 104px);
  line-height: 1.13;
  letter-spacing: 0;
}

body:not(.admin-page) .hero h1 small {
  margin-top: 4px;
  font-size: clamp(36px, 4vw, 66px);
  line-height: 1.18;
}

body:not(.admin-page) .hero .eyebrow {
  order: 3;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  letter-spacing: 0.08em;
}

body:not(.admin-page) .hero-copy {
  display: none;
}

body:not(.admin-page) .hero-actions {
  margin-top: 38px;
}

body:not(.admin-page) .hero-actions .button {
  min-width: 192px;
  min-height: 56px;
  border-radius: 8px;
  font-size: 16px;
}

body:not(.admin-page) .hero-strip {
  bottom: 5.5%;
  width: min(86vw, 1260px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body:not(.admin-page) .hero-strip span {
  position: relative;
  min-height: 132px;
  padding: 24px 24px 20px 132px;
  align-items: center;
  background:
    radial-gradient(circle at 20% 54%, rgba(74, 139, 255, 0.5), transparent 24%),
    linear-gradient(180deg, rgba(22, 51, 112, 0.72), rgba(5, 13, 35, 0.8));
  border: 1px solid rgba(88, 148, 255, 0.24);
  border-radius: 14px;
}

body:not(.admin-page) .hero-strip b {
  position: absolute;
  left: 30px;
  top: 50%;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  color: #8bb8ff;
  font-size: 28px;
  background:
    radial-gradient(circle, rgba(78, 142, 255, 0.42), rgba(20, 54, 132, 0.34));
  border: 1px solid rgba(115, 174, 255, 0.36);
  border-radius: 18px;
  transform: translateY(-50%);
}

body:not(.admin-page) .hero-strip strong {
  font-size: 34px;
  line-height: 1;
}

body:not(.admin-page) .hero-strip small {
  max-width: 170px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

body:not(.admin-page) .hero-signal {
  right: clamp(48px, 7vw, 110px);
  bottom: 23%;
}

body:not(.admin-page) .contact-orb {
  right: auto;
}

@media (max-width: 900px) {
  body:not(.admin-page) .brand-mark-logo {
    width: 44px;
    height: 44px;
  }

  body:not(.admin-page) .hero {
    padding-bottom: 270px;
  }

  body:not(.admin-page) .hero-content {
    margin-left: 0;
  }

  body:not(.admin-page) .hero::before {
    inset: 15% -58% auto 15%;
  }

  body:not(.admin-page) .hero::after {
    bottom: 25%;
  }

  body:not(.admin-page) .hero-strip {
    bottom: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.admin-page) .hero-strip span {
    min-height: 92px;
    padding: 16px 14px 16px 72px;
  }

  body:not(.admin-page) .hero-strip b {
    left: 14px;
    width: 44px;
    height: 44px;
    font-size: 20px;
    border-radius: 12px;
  }

  body:not(.admin-page) .hero-strip strong {
    font-size: 22px;
  }

  body:not(.admin-page) .hero-strip small {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  body:not(.admin-page) .brand > span:last-child {
    font-size: 16px;
  }

  body:not(.admin-page) .brand-title {
    font-size: 13px;
  }

  body:not(.admin-page) .brand-title span {
    font-size: 11px;
  }

  body:not(.admin-page) .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  body:not(.admin-page) .hero h1 small {
    font-size: clamp(28px, 8.5vw, 42px);
  }
}

/* Hero ordering and metric-card fix */
body:not(.admin-page) .hero-content {
  display: flex;
  flex-direction: column;
}

body:not(.admin-page) .hero-content .brand-title {
  order: 1;
}

body:not(.admin-page) .hero-content h1 {
  order: 2;
}

body:not(.admin-page) .hero-content .eyebrow {
  order: 3;
}

body:not(.admin-page) .hero-content .hero-copy {
  order: 4;
}

body:not(.admin-page) .hero-content .hero-actions {
  order: 5;
}

body:not(.admin-page) .hero-strip span {
  display: flex !important;
  gap: 14px;
  align-items: center;
  justify-content: flex-start !important;
  text-align: left;
}

body:not(.admin-page) .hero-strip b {
  position: static;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  transform: none;
}

body:not(.admin-page) .hero-strip strong {
  flex: 0 0 auto;
  min-width: 0;
  font-size: 28px;
  white-space: nowrap;
}

body:not(.admin-page) .hero-strip small {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 112px;
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
}

body:not(.admin-page) .hero-strip span:nth-child(4) strong {
  font-size: 24px;
}

@media (max-width: 900px) {
  body:not(.admin-page) .hero-strip span {
    gap: 10px;
  }

  body:not(.admin-page) .hero-strip b {
    display: grid;
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  body:not(.admin-page) .hero-strip strong,
  body:not(.admin-page) .hero-strip span:nth-child(4) strong {
    font-size: 20px;
  }

  body:not(.admin-page) .hero-strip small {
    max-width: none;
    font-size: 10px;
  }
}

/* Mobile admin: compact customer-management layout. Desktop admin remains unchanged. */
@media (max-width: 768px) {
  html,
  body.admin-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: #f4f1ea;
  }

  .admin-page {
    color: #15171d;
    font-size: 14px;
  }

  .admin-shell {
    width: 100%;
    max-width: 100%;
    padding: 14px 12px 92px;
  }

  .admin-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: start;
    margin-bottom: 12px;
  }

  .admin-top .section-kicker,
  .admin-top .admin-note {
    display: none;
  }

  .admin-top h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.12;
  }

  .admin-back {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .admin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .admin-tabs {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    gap: 8px;
    width: calc(100% + 24px);
    margin: 0 -12px;
    padding: 10px 12px;
    overflow-x: auto;
    background: rgba(244, 241, 234, 0.94);
    border-bottom: 1px solid rgba(16, 17, 20, 0.08);
    backdrop-filter: blur(14px);
    scrollbar-width: none;
  }

  .admin-tabs::-webkit-scrollbar {
    display: none;
  }

  .admin-tab-group {
    display: contents;
  }

  .admin-tab-group p {
    display: none;
  }

  .admin-tab {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
  }

  .admin-panel {
    padding: 14px;
    border-radius: 14px;
  }

  .admin-panel h2,
  .admin-section h2 {
    margin-bottom: 10px;
    font-size: 20px;
  }

  .admin-note {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.65;
  }

  .access-admin-grid.single,
  .dashboard-stats,
  .access-table article,
  .project-edit-layout,
  .client-meta-grid,
  .visit-data-grid {
    grid-template-columns: 1fr;
  }

  .admin-form {
    gap: 10px;
  }

  .field label {
    font-size: 12px;
  }

  .field input,
  .field select,
  .field textarea,
  .admin-filter-bar input {
    min-height: 38px;
    border-radius: 12px;
    font-size: 13px;
  }

  .admin-filter-bar,
  .admin-subnav {
    display: grid;
    gap: 10px;
    margin: 12px 0;
  }

  .admin-filter-bar input {
    min-width: 0;
    width: 100%;
  }

  .filter-pills,
  .admin-subnav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .filter-pills::-webkit-scrollbar,
  .admin-subnav::-webkit-scrollbar {
    display: none;
  }

  .filter-pills button,
  .admin-subnav button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 13px;
    white-space: nowrap;
  }

  .client-list {
    gap: 10px;
  }

  .access-table.client-list article,
  .access-admin-grid article,
  .access-table article {
    padding: 12px;
    border-radius: 14px;
  }

  .client-card-main,
  .client-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
  }

  .client-card-head.stacked {
    display: flex;
    gap: 8px;
  }

  .client-card-head strong {
    font-size: 22px;
  }

  .follow-status {
    min-height: 26px;
    padding: 0 9px;
    font-size: 12px;
    white-space: nowrap;
  }

  .client-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
  }

  .client-meta-grid span {
    min-height: 58px;
    padding: 8px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.35;
  }

  .progress-ring {
    width: 76px;
    height: 76px;
  }

  .progress-ring::after {
    inset: 9px;
  }

  .progress-ring span {
    font-size: 14px;
  }

  .progress-ring small {
    max-width: 50px;
    font-size: 9px;
  }

  .follow-select {
    margin-top: 10px;
  }

  .follow-select select {
    min-height: 32px;
    max-width: 160px;
  }

  .invite-copy-block {
    margin-top: 10px;
    padding: 10px;
    border-radius: 12px;
  }

  .invite-copy-block b {
    margin-bottom: 5px;
    font-size: 11px;
  }

  .invite-copy-block p {
    display: none;
  }

  .invite-copy-block span {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow-wrap: anywhere;
  }

  .project-card-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-summary-main {
    width: 100%;
  }

  .project-summary-cover {
    flex-basis: 96px;
    border-radius: 7px;
  }

  .project-summary-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .project-order-controls {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }

  .project-order-controls button {
    padding: 0 6px;
    font-size: 11px;
  }

  .project-collapse-toggle {
    width: 100%;
  }

  .client-created {
    min-height: 30px;
    margin-top: 8px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .visit-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
  }

  .visit-data-grid span {
    min-height: 42px;
    padding: 8px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.35;
  }

  .invite-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .access-table button,
  .invite-actions button {
    width: 100%;
    min-height: 36px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 12px;
  }

  .admin-actions {
    position: sticky;
    bottom: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 16px -14px -14px;
    padding: 12px 14px;
    background: rgba(244, 241, 234, 0.95);
    border-top: 1px solid rgba(16, 17, 20, 0.08);
    backdrop-filter: blur(14px);
  }

  .admin-button {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

  .admin-status {
    margin-top: 8px;
    font-size: 12px;
  }

  .access-table.compact article {
    grid-template-columns: 1fr;
  }

  .access-table.log-table article {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    min-height: 58px;
  }

  .access-table.log-table article time {
    grid-column: 2;
    font-size: 11px;
  }

  .client-detail-panel {
    width: calc(100% - 24px);
    max-height: 88vh;
    padding: 16px;
    border-radius: 18px;
  }
}

/* Homepage reference pass: blue-light hero, keep case-library layout untouched. */
body:not(.admin-page) {
  --hero-blue: #2f68ff;
  --hero-blue-soft: rgba(80, 136, 255, 0.76);
  --hero-gold: #c8a46a;
  --hero-panel: rgba(6, 15, 38, 0.72);
}

body:not(.admin-page) .site-header {
  background:
    linear-gradient(180deg, rgba(3, 6, 15, 0.94), rgba(3, 6, 15, 0.68)),
    radial-gradient(circle at 50% 0, rgba(48, 105, 255, 0.14), transparent 46%);
  border-bottom: 1px solid rgba(85, 134, 255, 0.16);
}

body:not(.admin-page) .brand::before {
  content: none !important;
}

body:not(.admin-page) .brand-mark-logo {
  width: 54px;
  height: 54px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body:not(.admin-page) .brand-mark-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(200, 164, 106, 0.28));
}

body:not(.admin-page) .hero {
  min-height: 100svh;
  padding: 150px clamp(34px, 5.6vw, 88px) 230px;
  background:
    radial-gradient(circle at 70% 16%, rgba(76, 129, 255, 0.48), transparent 13%),
    radial-gradient(circle at 88% 25%, rgba(45, 109, 255, 0.42), transparent 11%),
    radial-gradient(circle at 28% 82%, rgba(36, 86, 205, 0.24), transparent 32%),
    linear-gradient(118deg, #030712 0%, #071229 46%, #030712 100%);
  overflow: hidden;
}

body:not(.admin-page) .hero::before {
  content: "";
  position: absolute;
  inset: auto -10vw 9vh 34vw;
  height: 58vh;
  border-top: 2px solid rgba(122, 170, 255, 0.82);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background:
    radial-gradient(ellipse at 58% 0%, rgba(111, 162, 255, 0.55), transparent 16%),
    radial-gradient(ellipse at center, rgba(46, 98, 242, 0.15), transparent 62%);
  box-shadow:
    0 -20px 68px rgba(82, 141, 255, 0.38),
    inset 0 32px 72px rgba(68, 126, 255, 0.14);
  opacity: 0.88;
  pointer-events: none;
  z-index: 1;
}

body:not(.admin-page) .hero::after {
  content: "";
  position: absolute;
  inset: auto -8vw 17vh 36vw;
  height: 22vh;
  background:
    radial-gradient(ellipse at center, rgba(51, 119, 255, 0.36), transparent 65%),
    repeating-linear-gradient(92deg, rgba(60, 130, 255, 0.28) 0 1px, transparent 1px 18px);
  clip-path: polygon(0 62%, 18% 52%, 34% 64%, 54% 38%, 74% 48%, 100% 24%, 100% 100%, 0 100%);
  filter: blur(0.2px) drop-shadow(0 0 24px rgba(44, 110, 255, 0.3));
  opacity: 0.82;
  pointer-events: none;
  z-index: 1;
}

body:not(.admin-page) .hero-media,
body:not(.admin-page) .hero-video {
  z-index: 0;
  opacity: 0.34;
  mix-blend-mode: screen;
  filter: saturate(1.1) contrast(1.08) brightness(0.82);
}

body:not(.admin-page) .hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(1, 4, 12, 0.92) 0%, rgba(1, 4, 12, 0.74) 36%, rgba(1, 4, 12, 0.18) 70%, rgba(1, 4, 12, 0.62) 100%),
    linear-gradient(180deg, rgba(1, 4, 12, 0.12), rgba(1, 4, 12, 0.82));
}

body:not(.admin-page) .hero-trail {
  right: 4vw;
  top: 14vh;
  width: min(38vw, 560px);
  opacity: 0.055;
  filter: drop-shadow(0 0 34px rgba(91, 144, 255, 0.3));
}

body:not(.admin-page) .hero-content {
  position: relative;
  z-index: 4;
  width: min(47vw, 690px);
  max-width: none;
  margin-left: 0;
  align-items: flex-start;
  text-align: left;
}

body:not(.admin-page) .brand-title {
  margin-bottom: 28px;
  color: var(--hero-blue);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

body:not(.admin-page) .brand-title span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  letter-spacing: 0.08em;
}

body:not(.admin-page) .hero h1 {
  max-width: 680px;
  color: #fff;
  font-size: clamp(62px, 6.4vw, 108px);
  line-height: 1.13;
  letter-spacing: 0;
  text-shadow: 0 18px 58px rgba(0, 0, 0, 0.48);
}

body:not(.admin-page) .hero h1 small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(38px, 4vw, 68px);
  line-height: 1.2;
}

body:not(.admin-page) .hero h1 span {
  color: #4f88ff;
  text-shadow: 0 0 28px rgba(68, 125, 255, 0.66);
}

body:not(.admin-page) .hero .eyebrow {
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  letter-spacing: 0.08em;
}

body:not(.admin-page) .hero .eyebrow::before,
body:not(.admin-page) .hero .eyebrow::after {
  content: none;
}

body:not(.admin-page) .hero-actions {
  margin-top: 38px;
  gap: 24px;
}

body:not(.admin-page) .hero-actions .button {
  min-width: 210px;
  min-height: 56px;
  border-radius: 9px;
  font-size: 16px;
}

body:not(.admin-page) .hero-actions .button-primary {
  color: #fff;
  background: linear-gradient(135deg, #1d55ff, #3478ff);
  border-color: rgba(96, 150, 255, 0.78);
  box-shadow: 0 18px 44px rgba(36, 93, 255, 0.38);
}

body:not(.admin-page) .hero-actions .button-secondary {
  color: #fff;
  background: rgba(3, 8, 22, 0.42);
  border-color: rgba(102, 146, 255, 0.58);
}

body:not(.admin-page) .hero-strip {
  position: absolute;
  z-index: 4;
  right: clamp(34px, 5.6vw, 88px);
  bottom: 42px;
  left: clamp(34px, 5.6vw, 88px);
  width: auto;
  max-width: none;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  transform: none !important;
}

body:not(.admin-page) .hero-strip span {
  position: relative;
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  gap: 8px 18px;
  min-width: 0;
  min-height: 116px;
  padding: 22px 24px !important;
  align-content: center;
  align-items: center;
  justify-content: stretch !important;
  justify-items: start;
  overflow: hidden;
  text-align: left;
  background:
    linear-gradient(140deg, rgba(37, 82, 176, 0.44), rgba(4, 13, 35, 0.78)),
    radial-gradient(circle at 18% 38%, rgba(73, 135, 255, 0.36), transparent 34%);
  border: 1px solid rgba(90, 143, 255, 0.25);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 58px rgba(0, 0, 0, 0.34);
}

body:not(.admin-page) .hero-strip span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(85, 143, 255, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

body:not(.admin-page) .hero-strip span:hover::after {
  opacity: 1;
}

body:not(.admin-page) .hero-strip b {
  position: static !important;
  grid-column: 1;
  grid-row: 1 / 3;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  flex: none;
  color: #9ec2ff;
  font-size: 28px;
  line-height: 1;
  background:
    radial-gradient(circle at 50% 42%, rgba(89, 146, 255, 0.56), rgba(25, 65, 153, 0.26) 58%, transparent 72%);
  border: 1px solid rgba(126, 176, 255, 0.32);
  border-radius: 18px;
  box-shadow: 0 0 24px rgba(53, 113, 255, 0.25);
  transform: none !important;
}

body:not(.admin-page) .hero-strip strong {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  color: #fff;
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

body:not(.admin-page) .hero-strip small {
  grid-column: 2;
  grid-row: 2;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: 0;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  writing-mode: horizontal-tb !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

body:not(.admin-page) .hero-strip span:nth-child(4) strong {
  font-size: clamp(22px, 1.9vw, 30px);
}

body:not(.admin-page) .hero-signal {
  right: clamp(24px, 4vw, 74px);
  bottom: 31%;
  opacity: 0.7;
  transform: scale(0.88);
  transform-origin: right bottom;
}

@media (max-width: 1023px) {
  body:not(.admin-page) .hero {
    min-height: auto;
    padding: 128px 22px 34px;
  }

  body:not(.admin-page) .hero-content {
    width: 100%;
  }

  body:not(.admin-page) .hero h1 {
    font-size: clamp(42px, 12vw, 64px);
  }

  body:not(.admin-page) .hero h1 small {
    font-size: clamp(28px, 8.8vw, 44px);
  }

  body:not(.admin-page) .hero .eyebrow {
    font-size: 13px;
    line-height: 1.8;
  }

  body:not(.admin-page) .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  body:not(.admin-page) .hero-actions .button {
    width: 100%;
  }

  body:not(.admin-page) .hero-strip {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 34px;
  }

  body:not(.admin-page) .hero-strip span {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    min-height: 88px;
    padding: 14px !important;
    border-radius: 12px;
    gap: 5px 10px;
  }

  body:not(.admin-page) .hero-strip b {
    width: 44px;
    height: 44px;
    font-size: 20px;
    border-radius: 13px;
  }

  body:not(.admin-page) .hero-strip strong,
  body:not(.admin-page) .hero-strip span:nth-child(4) strong {
    font-size: 20px;
  }

  body:not(.admin-page) .hero-strip small {
    font-size: 11px;
  }

  body:not(.admin-page) .hero-signal {
    display: none;
  }
}

/* Mobile front-end compact layout: independent from desktop. */
@media (max-width: 768px) {
  html,
  body:not(.admin-page) {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body:not(.admin-page) {
    background: #080808;
  }

  body:not(.admin-page) main {
    display: flex;
    flex-direction: column;
  }

  body:not(.admin-page) .hero {
    order: 1;
  }

  body:not(.admin-page) .work.case-library {
    order: 2;
  }

  body:not(.admin-page) .manifesto {
    order: 3;
  }

  body:not(.admin-page) .brand-intro-panel {
    order: 4;
  }

  body:not(.admin-page) .trust {
    order: 5;
  }

  body:not(.admin-page) .about {
    order: 6;
  }

  body:not(.admin-page) .marquee-section {
    order: 7;
  }

  body:not(.admin-page) .services {
    order: 8;
  }

  body:not(.admin-page) .process {
    order: 9;
  }

  body:not(.admin-page) .faq {
    order: 10;
  }

  body:not(.admin-page) .contact {
    order: 11;
  }

  body:not(.admin-page) main,
  body:not(.admin-page) section,
  body:not(.admin-page) .section-wrap,
  body:not(.admin-page) .hero,
  body:not(.admin-page) .work,
  body:not(.admin-page) .brand-intro-panel,
  body:not(.admin-page) .manifesto {
    max-width: 100%;
    overflow-x: clip;
  }

  body:not(.admin-page) .site-header {
    min-height: 74px;
    padding: 12px 16px;
    gap: 10px;
  }

  body:not(.admin-page) .brand {
    gap: 9px;
    min-width: 0;
  }

  body:not(.admin-page) .brand-mark-logo {
    width: 42px;
    height: 42px;
  }

  body:not(.admin-page) .brand > span:last-child {
    font-size: 17px;
    white-space: nowrap;
  }

  body:not(.admin-page) .header-actions {
    gap: 8px;
  }

  body:not(.admin-page) .language-switcher {
    height: 36px;
    padding: 3px;
    border-radius: 999px;
  }

  body:not(.admin-page) .language-button {
    min-width: 34px;
    height: 30px;
    font-size: 12px;
  }

  body:not(.admin-page) .nav-cta {
    display: none;
  }

  body:not(.admin-page) .hero {
    min-height: auto;
    padding: 104px 18px 28px;
    display: block;
  }

  body:not(.admin-page) .hero::before {
    inset: 92px -64vw auto 28vw;
    height: 310px;
    opacity: 0.56;
  }

  body:not(.admin-page) .hero::after {
    inset: auto -35vw 150px 24vw;
    height: 150px;
    opacity: 0.48;
  }

  body:not(.admin-page) .hero-media,
  body:not(.admin-page) .hero-video {
    inset: 0;
    opacity: 0.34;
    filter: saturate(1.02) contrast(1.05) brightness(0.62);
  }

  body:not(.admin-page) .hero-overlay {
    background:
      linear-gradient(90deg, rgba(2, 5, 14, 0.94), rgba(2, 5, 14, 0.52) 60%, rgba(2, 5, 14, 0.8)),
      linear-gradient(180deg, rgba(2, 5, 14, 0.72), rgba(2, 5, 14, 0.26) 44%, #080808 100%);
  }

  body:not(.admin-page) .hero-trail {
    right: -36vw;
    top: 105px;
    width: 92vw;
    opacity: 0.045;
  }

  body:not(.admin-page) .hero-content {
    width: 100%;
    max-width: 360px;
    margin: 0;
    padding: 0;
    text-align: left;
    align-items: flex-start;
  }

  body:not(.admin-page) .brand-title {
    display: flex;
    gap: 8px;
    margin: 0 0 16px;
    font-size: 13px;
    letter-spacing: 0.14em;
  }

  body:not(.admin-page) .brand-title span {
    font-size: 11px;
  }

  body:not(.admin-page) .hero h1 {
    max-width: 340px;
    font-size: clamp(38px, 11.5vw, 52px);
    line-height: 1.12;
  }

  body:not(.admin-page) .hero h1 small {
    margin-top: 4px;
    font-size: clamp(26px, 8vw, 36px);
    line-height: 1.16;
  }

  body:not(.admin-page) .hero .eyebrow {
    margin-top: 18px;
    max-width: 330px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: 0.06em;
  }

  body:not(.admin-page) .hero-actions {
    display: grid;
    width: min(100%, 330px);
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  body:not(.admin-page) .hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 10px;
    border-radius: 9px;
    font-size: 13px;
  }

  body:not(.admin-page) .hero-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: 156px;
    grid-template-columns: none;
    gap: 10px;
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    margin: 26px 0 0;
    padding: 0 0 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body:not(.admin-page) .hero-strip::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-page) .hero-strip span {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    min-height: 72px;
    padding: 11px 12px !important;
    gap: 3px 9px;
    border-radius: 13px;
    scroll-snap-align: start;
  }

  body:not(.admin-page) .hero-strip b {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 18px;
  }

  body:not(.admin-page) .hero-strip strong,
  body:not(.admin-page) .hero-strip span:nth-child(4) strong {
    font-size: 18px;
  }

  body:not(.admin-page) .hero-strip small {
    font-size: 10px;
  }

  body:not(.admin-page) .hero-signal {
    display: none !important;
  }

  body:not(.admin-page) .section-wrap {
    padding: 44px 18px;
  }

  body:not(.admin-page) .manifesto {
    min-height: 0;
    margin: 0;
    padding: 48px 18px;
    border-radius: 0;
    display: grid;
    gap: 24px;
    background:
      radial-gradient(circle at 76% 25%, rgba(48, 104, 255, 0.18), transparent 32%),
      linear-gradient(135deg, #080808, #0b1220 70%, #080808);
  }

  body:not(.admin-page) .manifesto-copy {
    max-width: 340px;
  }

  body:not(.admin-page) .manifesto-copy h2 {
    font-size: clamp(32px, 9.6vw, 44px);
    line-height: 1.18;
  }

  body:not(.admin-page) .manifesto-copy p {
    margin-top: 18px;
    font-size: 13px;
  }

  body:not(.admin-page) .manifesto-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body:not(.admin-page) .manifesto-proof article {
    min-height: 92px;
    padding: 14px;
    border-radius: 15px;
  }

  body:not(.admin-page) .manifesto-proof strong {
    font-size: 22px;
  }

  body:not(.admin-page) .manifesto-logo,
  body:not(.admin-page) .manifesto-caption {
    display: none;
  }

  body:not(.admin-page) .brand-intro-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 44px 18px;
  }

  body:not(.admin-page) .intro-hero-card,
  body:not(.admin-page) .intro-system {
    min-height: 0;
    padding: 18px;
    border-radius: 18px;
  }

  body:not(.admin-page) .intro-hero-card h2 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.12;
  }

  body:not(.admin-page) .intro-hero-card p {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.75;
  }

  body:not(.admin-page) .intro-signature img {
    width: 46px;
    height: 46px;
  }

  body:not(.admin-page) .intro-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body:not(.admin-page) .intro-capabilities article {
    min-height: 126px;
    padding: 14px;
    border-radius: 14px;
  }

  body:not(.admin-page) .intro-capabilities h3 {
    font-size: 17px;
  }

  body:not(.admin-page) .intro-capabilities p {
    font-size: 12px;
    line-height: 1.55;
  }

  body:not(.admin-page) .intro-tags {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  body:not(.admin-page) .intro-tags::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-page) .intro-tags span {
    flex: 0 0 auto;
  }

  body:not(.admin-page) .intro-data-bar,
  body:not(.admin-page) .data-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body:not(.admin-page) .intro-data-bar article,
  body:not(.admin-page) .data-card-grid article {
    min-height: 118px;
    padding: 16px;
    border-radius: 16px;
  }

  body:not(.admin-page) .intro-data-bar strong,
  body:not(.admin-page) .data-card-grid article strong,
  body:not(.admin-page) .data-card-grid article:nth-child(4) strong {
    font-size: 28px;
  }

  body:not(.admin-page) .intro-data-bar p,
  body:not(.admin-page) .data-card-grid article p {
    font-size: 12px;
    line-height: 1.55;
  }

  body:not(.admin-page) .work.section-wrap {
    padding-top: 42px;
  }

  body:not(.admin-page) .work .section-head {
    gap: 14px;
  }

  body:not(.admin-page) .work .section-head h2,
  body:not(.admin-page) .section-head h2,
  body:not(.admin-page) .services h2,
  body:not(.admin-page) .process h2,
  body:not(.admin-page) .contact h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  body:not(.admin-page) .filter-bar {
    margin-top: 14px;
  }

  body:not(.admin-page) .project-grid.mobile-case-grid {
    gap: 24px;
  }

  body:not(.admin-page) .mobile-case-section {
    gap: 10px;
  }

  body:not(.admin-page) .mobile-case-section-head h3 {
    font-size: 22px;
  }

  body:not(.admin-page) .mobile-featured-rail {
    grid-auto-columns: minmax(275px, 82%);
    gap: 12px;
  }

  body:not(.admin-page) .mobile-case-list {
    gap: 12px;
  }

  body:not(.admin-page) .project-card.mobile-case-card {
    border-radius: 16px;
  }

  body:not(.admin-page) .project-card.mobile-case-card h3 {
    margin-top: 12px;
    font-size: 17px;
  }

  body:not(.admin-page) .project-card.mobile-case-card p {
    font-size: 12px;
    line-height: 1.45;
  }

  body:not(.admin-page) .services,
  body:not(.admin-page) .process,
  body:not(.admin-page) .about,
  body:not(.admin-page) .faq,
  body:not(.admin-page) .contact {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  body:not(.admin-page) .service-board,
  body:not(.admin-page) .process-list,
  body:not(.admin-page) .about-grid,
  body:not(.admin-page) .contact-grid {
    gap: 12px;
  }
}

/* JY Vision cosmic blue redesign. Case-library structure stays intact. */
:root {
  --jy-bg: #02050d;
  --jy-bg-2: #07111d;
  --jy-ink: #f7fbff;
  --jy-muted: rgba(218, 229, 245, 0.72);
  --jy-soft: rgba(173, 199, 242, 0.54);
  --jy-line: rgba(122, 166, 255, 0.18);
  --jy-line-strong: rgba(151, 190, 255, 0.32);
  --jy-blue: #3d7cff;
  --jy-blue-2: #8ebaff;
  --jy-blue-3: #dceaff;
  --jy-card: rgba(6, 15, 31, 0.76);
  --jy-card-2: rgba(9, 22, 43, 0.68);
  --jy-radius: 12px;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body:not(.admin-page) {
  background:
    radial-gradient(circle at 52% 8%, rgba(70, 128, 255, 0.2), transparent 34vw),
    radial-gradient(circle at 88% 28%, rgba(82, 143, 255, 0.14), transparent 26vw),
    linear-gradient(180deg, #02050d 0%, #040914 42%, #02050d 100%);
  color: var(--jy-ink);
}

body:not(.admin-page)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
}

body:not(.admin-page)::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 14%, rgba(130, 178, 255, 0.2) 0 1px, transparent 1.5px);
  background-size: 140px 140px, 210px 210px;
  opacity: 0.22;
}

body:not(.admin-page) main#top {
  display: flex;
  flex-direction: column;
}

body:not(.admin-page) .site-header {
  left: 0;
  right: 0;
  width: 100%;
  padding: 22px clamp(24px, 5vw, 72px);
  border-bottom: 1px solid rgba(141, 179, 255, 0.08);
  background: linear-gradient(180deg, rgba(2, 5, 13, 0.88), rgba(2, 5, 13, 0.48));
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

body:not(.admin-page) .brand {
  gap: 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
}

body:not(.admin-page) .brand::after {
  content: "JY VISION";
  display: block;
  margin-left: -2px;
  color: rgba(214, 229, 255, 0.7);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  transform: translateY(13px);
}

body:not(.admin-page) .brand-mark-logo {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(169, 202, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(82, 136, 255, 0.2);
}

body:not(.admin-page) .brand-mark-logo img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  filter: brightness(1.16) contrast(1.08);
}

body:not(.admin-page) .nav-links {
  gap: clamp(22px, 3vw, 56px);
}

body:not(.admin-page) .nav-links a {
  color: rgba(239, 246, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
}

body:not(.admin-page) .nav-links a::after {
  height: 2px;
  background: linear-gradient(90deg, transparent, #6fa2ff, transparent);
  box-shadow: 0 0 16px rgba(105, 161, 255, 0.72);
}

body:not(.admin-page) .language-switcher {
  border-color: rgba(143, 179, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

body:not(.admin-page) .language-button {
  color: rgba(230, 240, 255, 0.72);
}

body:not(.admin-page) .language-button.active {
  color: #06101f;
  background: linear-gradient(180deg, #f9fcff, #d9e8ff);
}

body:not(.admin-page) .nav-cta {
  color: #07101e;
  border: 0;
  background: linear-gradient(180deg, #fff, #dfeaff);
  box-shadow: 0 16px 34px rgba(110, 157, 255, 0.26);
}

body:not(.admin-page) .hero {
  order: 1;
  min-height: 100svh;
  padding: 140px clamp(22px, 6vw, 88px) 94px;
  display: grid;
  place-items: center;
  background: #02050d;
  overflow: hidden;
  isolation: isolate;
}

body:not(.admin-page) .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(2, 5, 13, 0.18), rgba(2, 5, 13, 0.72) 74%, #02050d 100%),
    radial-gradient(circle at 58% 31%, rgba(147, 187, 255, 0.62), rgba(34, 100, 255, 0.2) 18%, transparent 44%),
    url("https://images.unsplash.com/photo-1446776811953-b23d57bd21aa?auto=format&fit=crop&w=2600&q=90") center 21% / cover no-repeat;
  opacity: 0.92;
  transform: scale(1.02);
}

body:not(.admin-page) .hero::after {
  content: "";
  position: absolute;
  inset: auto -10vw -20vh -10vw;
  height: 54vh;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(76, 145, 255, 0.42), transparent 58%),
    repeating-linear-gradient(92deg, transparent 0 22px, rgba(72, 134, 255, 0.22) 23px, transparent 24px);
  filter: blur(0.2px);
  opacity: 0.52;
  transform: perspective(700px) rotateX(58deg);
}

body:not(.admin-page) .hero-media,
body:not(.admin-page) .hero-video {
  z-index: 0;
  opacity: 0 !important;
  filter: saturate(1.18) contrast(1.08) brightness(0.62);
  mix-blend-mode: screen;
}

body:not(.admin-page) .hero-media.active {
  opacity: 0.06 !important;
}

body:not(.admin-page) .hero-overlay {
  z-index: 2;
  background:
    radial-gradient(circle at 50% 42%, transparent 0 18%, rgba(2, 5, 13, 0.18) 42%, rgba(2, 5, 13, 0.86) 100%),
    linear-gradient(90deg, rgba(2, 5, 13, 0.5), transparent 28%, transparent 72%, rgba(2, 5, 13, 0.5));
}

body:not(.admin-page) .hero-trail {
  z-index: 2;
  opacity: 0.045;
  width: min(56vw, 760px);
  right: -8vw;
  bottom: 6vh;
  filter: drop-shadow(0 0 34px rgba(120, 174, 255, 0.8));
}

body:not(.admin-page) .hero-signal {
  display: none;
}

body:not(.admin-page) .hero-content {
  z-index: 4;
  width: min(100%, 1040px) !important;
  max-width: 1040px !important;
  margin: 0 auto !important;
  justify-self: center !important;
  text-align: center;
  align-items: center;
  transform: none !important;
}

body:not(.admin-page) .hero-content .brand-title {
  margin: 0 0 28px;
  color: rgba(218, 232, 255, 0.86);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.52em;
  text-transform: uppercase;
}

body:not(.admin-page) .hero-content .brand-title span {
  display: none;
}

body:not(.admin-page) .hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(64px, 8vw, 122px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: 0 0 34px rgba(126, 173, 255, 0.2);
}

body:not(.admin-page) .hero h1 small {
  display: block;
  margin-top: 18px;
  color: rgba(248, 251, 255, 0.95);
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: 0.16em;
}

body:not(.admin-page) .hero h1 span {
  color: var(--jy-blue-2);
  background: linear-gradient(100deg, #e8f2ff 0%, #8ab9ff 42%, #3478ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 26px rgba(83, 143, 255, 0.42);
}

body:not(.admin-page) .hero .eyebrow {
  margin: 28px auto 0;
  color: rgba(229, 239, 255, 0.74);
  font-size: clamp(14px, 1.4vw, 20px);
  letter-spacing: 0.14em;
}

body:not(.admin-page) .hero-copy {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(215, 228, 248, 0.62);
}

body:not(.admin-page) .hero-actions {
  justify-content: center;
  gap: 22px;
  margin-top: 42px;
}

body:not(.admin-page) .hero-actions .button {
  min-width: 202px;
  min-height: 62px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

body:not(.admin-page) .hero-actions .button-primary {
  color: #06101f;
  background: linear-gradient(180deg, #ffffff 0%, #dbe8ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 48px rgba(99, 146, 255, 0.28);
}

body:not(.admin-page) .hero-actions .button-primary::after {
  content: "→";
  margin-left: 18px;
  opacity: 0.9;
}

body:not(.admin-page) .hero-actions .button-secondary {
  color: #f4f8ff;
  background: rgba(4, 10, 22, 0.42);
  border: 1px solid rgba(190, 211, 255, 0.52);
  box-shadow: inset 0 0 0 1px rgba(69, 129, 255, 0.1), 0 18px 42px rgba(0, 0, 0, 0.22);
}

body:not(.admin-page) .hero-strip {
  display: none;
}

body:not(.admin-page) .manifesto {
  display: none;
}

body:not(.admin-page) .case-library {
  order: 2;
}

body:not(.admin-page) .services {
  order: 3;
}

body:not(.admin-page) .brand-intro-panel {
  order: 4;
}

body:not(.admin-page) .marquee-section {
  order: 5;
}

body:not(.admin-page) .process {
  order: 6;
}

body:not(.admin-page) .trust {
  order: 7;
}

body:not(.admin-page) .about {
  order: 8;
}

body:not(.admin-page) .faq {
  order: 9;
}

body:not(.admin-page) .contact {
  order: 10;
}

body:not(.admin-page) .section-wrap {
  width: min(100% - 72px, 1560px);
}

body:not(.admin-page) .work.section-wrap,
body:not(.admin-page) .services.section-wrap,
body:not(.admin-page) .brand-intro-panel,
body:not(.admin-page) .process.section-wrap,
body:not(.admin-page) .trust.section-wrap,
body:not(.admin-page) .about.section-wrap,
body:not(.admin-page) .faq.section-wrap {
  padding-top: 76px;
  padding-bottom: 76px;
}

body:not(.admin-page) .section-kicker {
  color: rgba(170, 202, 255, 0.76);
  letter-spacing: 0.24em;
}

body:not(.admin-page) .section-head {
  align-items: end;
  margin-bottom: 34px;
}

body:not(.admin-page) .section-head h2,
body:not(.admin-page) .services h2,
body:not(.admin-page) .process h2,
body:not(.admin-page) .faq h2,
body:not(.admin-page) .contact h2 {
  color: #fff;
  font-weight: 760;
  letter-spacing: 0;
}

body:not(.admin-page) .section-head > p {
  color: var(--jy-muted);
}

body:not(.admin-page) .work.case-library {
  position: relative;
  width: 100%;
  max-width: none;
  padding-left: clamp(28px, 5vw, 72px);
  padding-right: clamp(28px, 5vw, 72px);
  background:
    linear-gradient(180deg, rgba(3, 9, 19, 0.94), rgba(2, 5, 13, 0.98)),
    radial-gradient(circle at 20% 0%, rgba(72, 126, 255, 0.18), transparent 34vw);
  border-top: 1px solid rgba(123, 168, 255, 0.1);
}

body:not(.admin-page) .work.case-library .section-head {
  width: min(100%, 1560px);
  margin-left: auto;
  margin-right: auto;
}

body:not(.admin-page) .work.case-library .project-grid {
  width: min(100%, 1560px);
  margin-left: auto;
  margin-right: auto;
}

body:not(.admin-page) .filter-button {
  color: rgba(223, 236, 255, 0.76);
  border-color: rgba(126, 170, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

body:not(.admin-page) .filter-button.active,
body:not(.admin-page) .filter-button:hover {
  color: #07101f;
  border-color: rgba(232, 242, 255, 0.72);
  background: linear-gradient(180deg, #fff, #dceaff);
  box-shadow: 0 16px 34px rgba(80, 132, 255, 0.22);
}

body:not(.admin-page) .project-card {
  border-color: rgba(126, 170, 255, 0.16);
  background: linear-gradient(180deg, rgba(7, 16, 32, 0.86), rgba(3, 9, 19, 0.94));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

body:not(.admin-page) .project-card:hover {
  border-color: rgba(140, 190, 255, 0.36);
  box-shadow: 0 26px 80px rgba(42, 106, 255, 0.16);
}

body:not(.admin-page) .project-thumb {
  background: #050b16;
}

body:not(.admin-page) .project-type {
  color: #09111f;
  background: linear-gradient(180deg, #fff, #dceaff);
  border: 0;
}

body:not(.admin-page) .play-label,
body:not(.admin-page) .detail-label {
  color: #07101f;
  background: linear-gradient(180deg, #fff, #dfeaff);
  border-color: rgba(255, 255, 255, 0.48);
}

body:not(.admin-page) .camera-hud b {
  color: #8ebaff;
}

body:not(.admin-page) .case-watermark {
  color: rgba(140, 177, 237, 0.08);
}

body:not(.admin-page) .services.section-wrap {
  position: relative;
}

body:not(.admin-page) .services.section-wrap::before,
body:not(.admin-page) .brand-intro-panel::before,
body:not(.admin-page) .process.section-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(66, 123, 255, 0.14), transparent 30vw),
    radial-gradient(circle at 86% 18%, rgba(99, 159, 255, 0.11), transparent 28vw);
  opacity: 0.9;
}

body:not(.admin-page) .service-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body:not(.admin-page) .service-feature,
body:not(.admin-page) .service-list article {
  min-height: 280px;
  padding: 34px;
  border: 1px solid rgba(129, 172, 255, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(13, 28, 55, 0.72), rgba(5, 12, 25, 0.8)),
    radial-gradient(circle at 20% 16%, rgba(91, 150, 255, 0.18), transparent 35%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 70px rgba(0, 0, 0, 0.22);
}

body:not(.admin-page) .service-list {
  display: contents;
}

body:not(.admin-page) .service-list article:nth-child(4) {
  display: none;
}

body:not(.admin-page) .service-feature:hover,
body:not(.admin-page) .service-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 190, 255, 0.34);
  box-shadow: 0 30px 80px rgba(52, 118, 255, 0.16);
}

body:not(.admin-page) .service-index {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 52px;
  color: #cfe2ff;
  border: 1px solid rgba(144, 189, 255, 0.36);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 133, 255, 0.28), rgba(10, 22, 43, 0.4));
  box-shadow: 0 0 34px rgba(70, 133, 255, 0.18);
}

body:not(.admin-page) .service-feature h3,
body:not(.admin-page) .service-list h3 {
  color: #fff;
  font-size: 26px;
}

body:not(.admin-page) .service-feature p,
body:not(.admin-page) .service-list p {
  color: rgba(218, 230, 248, 0.68);
  line-height: 1.8;
}

body:not(.admin-page) .brand-intro-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
  width: min(100% - 72px, 1560px);
}

body:not(.admin-page) .intro-hero-card,
body:not(.admin-page) .intro-system {
  border: 1px solid rgba(125, 169, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(8, 19, 36, 0.76), rgba(4, 10, 21, 0.9)),
    radial-gradient(circle at 70% 10%, rgba(80, 138, 255, 0.14), transparent 38%);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

body:not(.admin-page) .intro-hero-card {
  padding: clamp(32px, 4vw, 64px);
}

body:not(.admin-page) .intro-hero-card h2 {
  color: #fff;
  font-size: clamp(40px, 5vw, 74px);
}

body:not(.admin-page) .intro-hero-card h2 span,
body:not(.admin-page) .manifesto-copy h2 span {
  color: var(--jy-blue-2);
}

body:not(.admin-page) .intro-hero-card p,
body:not(.admin-page) .intro-capabilities p {
  color: rgba(219, 231, 250, 0.68);
}

body:not(.admin-page) .intro-signature img {
  filter: brightness(1.2) drop-shadow(0 0 18px rgba(111, 164, 255, 0.28));
}

body:not(.admin-page) .intro-system {
  padding: clamp(24px, 3vw, 46px);
}

body:not(.admin-page) .intro-capabilities {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:not(.admin-page) .intro-capabilities article,
body:not(.admin-page) .intro-service-pills span {
  border-color: rgba(134, 178, 255, 0.16);
  background: rgba(255, 255, 255, 0.028);
}

body:not(.admin-page) .intro-capabilities article:hover,
body:not(.admin-page) .intro-service-pills span:hover {
  border-color: rgba(145, 192, 255, 0.34);
  box-shadow: 0 20px 56px rgba(55, 122, 255, 0.14);
}

body:not(.admin-page) .intro-icon,
body:not(.admin-page) .intro-capabilities article i,
body:not(.admin-page) .intro-service-pills b,
body:not(.admin-page) .intro-data-bar i {
  color: var(--jy-blue-2);
  border-color: rgba(131, 179, 255, 0.46);
  box-shadow: 0 0 26px rgba(80, 140, 255, 0.22);
}

body:not(.admin-page) .intro-strength-head {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 30px;
  border-top: 1px solid rgba(135, 177, 255, 0.14);
}

body:not(.admin-page) .intro-strength-head h2 {
  max-width: 760px;
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.2;
}

body:not(.admin-page) .intro-data-bar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
  border: 0;
  background: transparent;
}

body:not(.admin-page) .intro-data-bar article {
  min-height: 250px;
  padding: 34px;
  border: 1px solid rgba(125, 169, 255, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(12, 28, 55, 0.76), rgba(5, 12, 25, 0.9)),
    radial-gradient(circle at 50% 0%, rgba(87, 147, 255, 0.19), transparent 44%);
}

body:not(.admin-page) .intro-data-bar strong {
  color: #d8e8ff;
  text-shadow: 0 0 24px rgba(91, 151, 255, 0.34);
}

body:not(.admin-page) .intro-data-bar span {
  color: #fff;
}

body:not(.admin-page) .marquee-section {
  border-block: 1px solid rgba(122, 166, 255, 0.1);
  background: rgba(0, 0, 0, 0.24);
}

body:not(.admin-page) .marquee-track img {
  border-color: rgba(128, 170, 255, 0.16);
  filter: saturate(1.16) contrast(1.08) brightness(0.78);
}

body:not(.admin-page) .process-list li,
body:not(.admin-page) .faq-list details,
body:not(.admin-page) .contact-inner,
body:not(.admin-page) .about,
body:not(.admin-page) .trust {
  border-color: rgba(129, 171, 255, 0.16);
  background: linear-gradient(180deg, rgba(8, 18, 35, 0.76), rgba(4, 9, 20, 0.88));
  box-shadow: 0 22px 68px rgba(0, 0, 0, 0.22);
}

body:not(.admin-page) .process-list span {
  color: #8ebaff;
  border-color: rgba(142, 186, 255, 0.26);
  background: rgba(82, 136, 255, 0.1);
}

body:not(.admin-page) .logo-wall span {
  color: rgba(237, 246, 255, 0.88);
  border-color: rgba(132, 174, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

body:not(.admin-page) .quote-form input,
body:not(.admin-page) .quote-form textarea,
body:not(.admin-page) .quote-form select {
  color: #fff;
  border-color: rgba(132, 174, 255, 0.22);
  background: rgba(255, 255, 255, 0.035);
}

body:not(.admin-page) .quote-form button {
  color: #07101f;
  border: 0;
  background: linear-gradient(180deg, #fff, #dceaff);
  box-shadow: 0 18px 46px rgba(75, 131, 255, 0.22);
}

body:not(.admin-page) .contact-panel a,
body:not(.admin-page) .site-footer,
body:not(.admin-page) .site-footer a {
  color: rgba(218, 231, 250, 0.7);
}

body:not(.admin-page) .contact-orb-button {
  border-color: rgba(162, 195, 255, 0.34);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.12), transparent 52%),
    linear-gradient(180deg, rgba(13, 28, 55, 0.96), rgba(3, 8, 17, 0.96));
  box-shadow: 0 0 0 1px rgba(119, 169, 255, 0.14), 0 0 34px rgba(83, 141, 255, 0.34);
}

body:not(.admin-page) .contact-orb-button::before,
body:not(.admin-page) .contact-orb-button::after {
  border-color: rgba(117, 169, 255, 0.48);
}

body:not(.admin-page) .contact-orb-panel {
  border-color: rgba(126, 170, 255, 0.22);
  background: rgba(3, 8, 18, 0.92);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46), 0 0 40px rgba(77, 131, 255, 0.12);
}

body:not(.admin-page) .contact-orb-copy small,
body:not(.admin-page) .contact-orb-meta a {
  color: #8ebaff;
}

body:not(.admin-page) .contact-orb-actions a {
  color: #06101f;
  background: linear-gradient(180deg, #fff, #dceaff);
}

body:not(.admin-page) .contact-orb-actions a:last-child {
  color: #f4f8ff;
  border-color: rgba(146, 184, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
}

body:not(.admin-page) .brand-poster {
  background: #02050d;
}

body:not(.admin-page) .brand-poster-close {
  color: #07101f;
  background: linear-gradient(180deg, #fff, #dceaff);
  border: 0;
}

@media (max-width: 1100px) {
  body:not(.admin-page) .service-board,
  body:not(.admin-page) .intro-data-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.admin-page) .brand-intro-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body:not(.admin-page) .site-header {
    padding: 14px 16px;
    gap: 10px;
  }

  body:not(.admin-page) .brand {
    min-width: 0;
    font-size: 18px;
  }

  body:not(.admin-page) .brand::after {
    display: none;
  }

  body:not(.admin-page) .brand-mark-logo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  body:not(.admin-page) .brand-mark-logo img {
    width: 40px;
    height: 40px;
  }

  body:not(.admin-page) .nav-links,
  body:not(.admin-page) .nav-cta {
    display: none;
  }

  body:not(.admin-page) .header-actions {
    margin-left: auto;
  }

  body:not(.admin-page) .language-switcher {
    padding: 4px;
  }

  body:not(.admin-page) .language-button {
    min-width: 36px;
    min-height: 34px;
    font-size: 12px;
  }

  body:not(.admin-page) .hero {
    min-height: 76svh;
    padding: 104px 18px 54px;
  }

  body:not(.admin-page) .hero::before {
    background-position: center 20%;
    transform: scale(1.08);
  }

  body:not(.admin-page) .hero::after {
    height: 34vh;
    opacity: 0.34;
  }

  body:not(.admin-page) .hero-trail {
    width: 108vw;
    right: -54vw;
    bottom: 8vh;
    opacity: 0.035;
  }

  body:not(.admin-page) .hero-content {
    width: calc(100vw - 36px) !important;
    max-width: calc(100vw - 36px) !important;
    margin: 0 auto !important;
    align-items: center;
    text-align: center;
    padding: 0;
    transform: none;
  }

  body:not(.admin-page) .hero-content .brand-title {
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: 0.42em;
  }

  body:not(.admin-page) .hero h1 {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto;
    font-size: clamp(44px, 14vw, 64px);
    letter-spacing: 0.08em;
    text-align: center;
  }

  body:not(.admin-page) .hero h1 small {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 12px;
    font-size: clamp(25px, 7.8vw, 38px);
    letter-spacing: 0.04em;
    text-align: center;
  }

  body:not(.admin-page) .hero .eyebrow {
    width: min(100%, 340px);
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: 0.08em;
  }

  body:not(.admin-page) .hero-copy {
    display: none;
  }

  body:not(.admin-page) .hero-actions {
    width: 100%;
    margin-top: 26px;
    gap: 10px;
  }

  body:not(.admin-page) .hero-actions .button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    padding-inline: 12px;
    border-radius: 10px;
    font-size: 14px;
  }

  body:not(.admin-page) .section-wrap,
  body:not(.admin-page) .brand-intro-panel {
    width: min(100% - 28px, 1560px);
  }

  body:not(.admin-page) .work.case-library {
    padding-left: 14px;
    padding-right: 14px;
  }

  body:not(.admin-page) .work.section-wrap,
  body:not(.admin-page) .services.section-wrap,
  body:not(.admin-page) .brand-intro-panel,
  body:not(.admin-page) .process.section-wrap,
  body:not(.admin-page) .trust.section-wrap,
  body:not(.admin-page) .about.section-wrap,
  body:not(.admin-page) .faq.section-wrap {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  body:not(.admin-page) .section-head {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
  }

  body:not(.admin-page) .section-head h2,
  body:not(.admin-page) .services h2,
  body:not(.admin-page) .intro-strength-head h2,
  body:not(.admin-page) .process h2,
  body:not(.admin-page) .faq h2,
  body:not(.admin-page) .contact h2 {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.18;
  }

  body:not(.admin-page) .filter-bar {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
    padding-bottom: 2px;
  }

  body:not(.admin-page) .filter-bar::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-page) .filter-button {
    flex: 0 0 auto;
  }

  body:not(.admin-page) .service-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body:not(.admin-page) .service-feature,
  body:not(.admin-page) .service-list article {
    min-height: 190px;
    padding: 20px;
    border-radius: 12px;
  }

  body:not(.admin-page) .service-index {
    width: 42px;
    height: 42px;
    margin-bottom: 26px;
    font-size: 12px;
  }

  body:not(.admin-page) .service-feature h3,
  body:not(.admin-page) .service-list h3 {
    font-size: 19px;
  }

  body:not(.admin-page) .service-feature p,
  body:not(.admin-page) .service-list p {
    font-size: 12px;
    line-height: 1.65;
  }

  body:not(.admin-page) .intro-hero-card,
  body:not(.admin-page) .intro-system {
    padding: 22px;
    border-radius: 14px;
  }

  body:not(.admin-page) .intro-hero-card h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  body:not(.admin-page) .intro-capabilities {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body:not(.admin-page) .intro-service-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body:not(.admin-page) .intro-data-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body:not(.admin-page) .intro-data-bar article {
    min-height: auto;
    padding: 22px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    align-items: center;
  }

  body:not(.admin-page) .intro-data-bar strong {
    grid-row: span 3;
    font-size: 34px;
  }

  body:not(.admin-page) .intro-data-bar i {
    display: none;
  }

  body:not(.admin-page) .intro-data-bar p {
    margin: 2px 0 0;
    font-size: 12px;
  }

  body:not(.admin-page) .marquee-track img {
    width: 230px;
    height: 138px;
  }

  body:not(.admin-page) .contact-orb {
    z-index: 80;
  }
}

/* Final lock: reference hero alignment and deep-space image priority. */
body:not(.admin-page) main#top .hero::before {
  z-index: 1 !important;
  opacity: 1 !important;
  filter: saturate(1.32) brightness(1.18) contrast(1.08);
}

body:not(.admin-page) main#top .hero-media,
body:not(.admin-page) main#top .hero-video {
  z-index: 0 !important;
  opacity: 0 !important;
}

body:not(.admin-page) main#top .hero-media.active {
  opacity: 0.018 !important;
}

body:not(.admin-page) main#top .hero-content {
  width: min(calc(100vw - 48px), 1040px) !important;
  max-width: min(calc(100vw - 48px), 1040px) !important;
  margin-inline: auto !important;
  justify-self: center !important;
  align-items: center !important;
  text-align: center !important;
  transform: none !important;
}

body:not(.admin-page) main#top .hero h1,
body:not(.admin-page) main#top .hero h1 small {
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
}

body:not(.admin-page) main#top .hero .hero-strip {
  display: none !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) main#top .hero-content {
    width: calc(100vw - 36px) !important;
    max-width: calc(100vw - 36px) !important;
  }
}

/* JY Vision final homepage sequence: hero, cases, services, strengths, about, contact. */
body:not(.admin-page) main#top {
  display: flex;
  flex-direction: column;
}

body:not(.admin-page) main#top > .hero {
  order: 1;
}

body:not(.admin-page) main#top > .work.case-library {
  order: 2;
}

body:not(.admin-page) main#top > .services {
  order: 3;
}

body:not(.admin-page) main#top > .strengths {
  order: 4;
}

body:not(.admin-page) main#top > .about {
  order: 5;
}

body:not(.admin-page) main#top > .contact {
  order: 6;
}

body:not(.admin-page) main#top > .manifesto,
body:not(.admin-page) main#top > .brand-intro-panel,
body:not(.admin-page) main#top > .marquee-section,
body:not(.admin-page) main#top > .process,
body:not(.admin-page) main#top > .trust,
body:not(.admin-page) main#top > .faq {
  display: none !important;
}

body:not(.admin-page) main#top .hero-copy {
  display: block;
  max-width: 540px;
  margin: 22px auto 0;
  color: rgba(218, 232, 255, 0.72);
  font-size: clamp(15px, 1.45vw, 20px);
  line-height: 1.7;
}

body:not(.admin-page) main#top .hero-scroll-cue {
  display: inline-grid;
  justify-items: center;
  gap: 10px;
  margin-top: 42px;
  color: rgba(218, 232, 255, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

body:not(.admin-page) main#top .hero-scroll-cue i {
  display: block;
  width: 22px;
  height: 34px;
  border: 1px solid rgba(218, 232, 255, 0.42);
  border-radius: 999px;
  position: relative;
}

body:not(.admin-page) main#top .hero-scroll-cue i::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 4px;
  transform: translateX(-50%);
  background: #8ebaff;
  border-radius: 50%;
  animation: jy-scroll-dot 1.7s ease-in-out infinite;
}

@keyframes jy-scroll-dot {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, 0);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, 12px);
  }
}

body:not(.admin-page) .strengths.section-wrap {
  position: relative;
  width: min(100% - 72px, 1560px);
  padding-top: 76px;
  padding-bottom: 76px;
}

body:not(.admin-page) .strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body:not(.admin-page) .strengths-grid article {
  min-height: 250px;
  padding: 34px;
  border: 1px solid rgba(125, 169, 255, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(12, 28, 55, 0.76), rgba(5, 12, 25, 0.9)),
    radial-gradient(circle at 50% 0%, rgba(87, 147, 255, 0.18), transparent 44%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

body:not(.admin-page) .strengths-grid strong {
  display: block;
  min-height: 70px;
  color: #d8e8ff;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 850;
  line-height: 1;
  text-shadow: 0 0 24px rgba(91, 151, 255, 0.34);
}

body:not(.admin-page) .strengths-grid h3 {
  margin: 12px 0 0;
  color: #fff;
  font-size: 22px;
}

body:not(.admin-page) .strengths-grid p {
  margin: 14px 0 0;
  color: rgba(218, 230, 248, 0.68);
  font-size: 15px;
  line-height: 1.75;
}

body:not(.admin-page) .services .section-head > p {
  display: none;
}

body:not(.admin-page) .service-list article:nth-child(4) {
  display: none !important;
}

@media (max-width: 1100px) {
  body:not(.admin-page) .strengths-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body:not(.admin-page) main#top .hero {
    min-height: 74svh;
    padding-bottom: 42px;
  }

  body:not(.admin-page) main#top .hero-copy {
    width: min(100%, 310px);
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.75;
  }

  body:not(.admin-page) main#top .hero-scroll-cue {
    margin-top: 26px;
    font-size: 10px;
  }

  body:not(.admin-page) .strengths.section-wrap {
    width: min(100% - 28px, 1560px);
    padding-top: 42px;
    padding-bottom: 42px;
  }

  body:not(.admin-page) .strengths-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body:not(.admin-page) .strengths-grid article {
    min-height: 168px;
    padding: 18px;
    border-radius: 12px;
  }

  body:not(.admin-page) .strengths-grid strong {
    min-height: 42px;
    font-size: 27px;
  }

  body:not(.admin-page) .strengths-grid h3 {
    margin-top: 10px;
    font-size: 16px;
  }

  body:not(.admin-page) .strengths-grid p {
    margin-top: 8px;
    font-size: 11.5px;
    line-height: 1.5;
  }
}

/* Designer-flow homepage: keep case-library card layout, rebuild the surrounding brand rhythm. */
body:not(.admin-page) main#top {
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  background:
    radial-gradient(circle at 50% 8%, rgba(47, 116, 255, 0.22), transparent 34%),
    radial-gradient(circle at 85% 32%, rgba(64, 135, 255, 0.12), transparent 28%),
    #02070f;
}

body:not(.admin-page) main#top > .hero { order: 1; }
body:not(.admin-page) main#top > .services { order: 2; }
body:not(.admin-page) main#top > .about { order: 3; }
body:not(.admin-page) main#top > .marquee-section { order: 4; }
body:not(.admin-page) main#top > .strengths { order: 5; }
body:not(.admin-page) main#top > .work.case-library { order: 6; }
body:not(.admin-page) main#top > .trust { order: 7; }
body:not(.admin-page) main#top > .contact { order: 8; }

body:not(.admin-page) main#top > .manifesto,
body:not(.admin-page) main#top > .brand-intro-panel,
body:not(.admin-page) main#top > .process,
body:not(.admin-page) main#top > .faq {
  display: none !important;
}

body:not(.admin-page) main#top > .marquee-section,
body:not(.admin-page) main#top > .trust {
  display: block !important;
}

body:not(.admin-page) .site-header {
  background: linear-gradient(180deg, rgba(1, 5, 12, 0.88), rgba(1, 5, 12, 0.42));
  border-bottom-color: rgba(111, 162, 255, 0.16);
  backdrop-filter: blur(18px);
}

body:not(.admin-page) .brand-mark-logo {
  width: 48px;
  height: 48px;
  border-color: rgba(255, 255, 255, 0.14);
}

body:not(.admin-page) .brand > span:last-child {
  font-size: 18px;
  letter-spacing: 0.08em;
}

body:not(.admin-page) main#top .hero {
  min-height: 720px;
  background:
    radial-gradient(ellipse at 50% 24%, rgba(85, 151, 255, 0.28), transparent 34%),
    radial-gradient(ellipse at 50% 62%, rgba(12, 47, 112, 0.44), transparent 54%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(2, 7, 15, 0.96));
  overflow: hidden;
}

body:not(.admin-page) main#top .hero::before {
  inset: 0;
  opacity: 1;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(226, 242, 255, 0.92) 0 0.5%, rgba(106, 166, 255, 0.82) 0.6%, rgba(34, 100, 222, 0.42) 1.2%, transparent 1.8%),
    radial-gradient(ellipse at 50% 18%, transparent 0 38%, rgba(77, 143, 255, 0.68) 39%, rgba(185, 220, 255, 0.94) 39.25%, rgba(63, 131, 255, 0.5) 39.7%, transparent 40.6%),
    radial-gradient(ellipse at 50% 30%, rgba(19, 65, 146, 0.42), rgba(3, 13, 34, 0.64) 48%, transparent 68%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(2, 7, 15, 0.96));
  filter: saturate(1.12) contrast(1.04);
}

body:not(.admin-page) main#top .hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 104px;
  z-index: 1;
  width: min(1180px, 104vw);
  aspect-ratio: 2.05 / 1;
  transform: translateX(-50%);
  border-top: 3px solid rgba(222, 242, 255, 0.96);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow:
    0 -8px 28px rgba(148, 196, 255, 0.9),
    0 0 80px rgba(58, 132, 255, 0.58),
    inset 0 40px 80px rgba(32, 98, 220, 0.22);
  pointer-events: none;
  animation: jy-arc-glow 4.5s ease-in-out infinite alternate;
}

body:not(.admin-page) .hero-overlay {
  background:
    radial-gradient(ellipse at 50% 28%, rgba(12, 34, 75, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(2, 7, 15, 0.02), rgba(2, 7, 15, 0.38) 54%, rgba(2, 7, 15, 0.92));
}

body:not(.admin-page) .hero-dynamic {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

body:not(.admin-page) .hero-particles {
  opacity: 0.88;
  background-image:
    radial-gradient(circle, rgba(99, 161, 255, 0.95) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(218, 238, 255, 0.52) 0 1px, transparent 2px);
  background-size: 76px 54px, 138px 106px;
  background-position: 0 0, 34px 22px;
  mask-image:
    radial-gradient(ellipse at 50% 36%, transparent 0 34%, #000 49%, #000 78%, transparent 90%),
    linear-gradient(180deg, transparent 8%, #000 36%, #000 92%);
  animation: jy-particles-drift 24s linear infinite;
}

body:not(.admin-page) .hero-waves {
  top: auto;
  height: 40%;
  background:
    radial-gradient(ellipse at 50% 96%, rgba(44, 112, 255, 0.38), transparent 62%),
    repeating-radial-gradient(ellipse at 50% 104%, transparent 0 23px, rgba(85, 156, 255, 0.2) 24px 25px),
    linear-gradient(167deg, transparent 30%, rgba(55, 131, 255, 0.72) 46%, transparent 56%),
    linear-gradient(174deg, transparent 28%, rgba(78, 151, 255, 0.42) 49%, transparent 62%),
    linear-gradient(188deg, transparent 20%, rgba(39, 106, 246, 0.36) 45%, transparent 64%);
  opacity: 0.92;
  filter: blur(0.2px);
  transform-origin: center bottom;
  animation: jy-wave-breathe 7s ease-in-out infinite alternate;
}

@keyframes jy-particles-drift {
  from { background-position: 0 0, 34px 22px; }
  to { background-position: 184px 64px, 346px 140px; }
}

@keyframes jy-wave-breathe {
  from {
    opacity: 0.56;
    transform: translateY(10px) scaleX(1);
  }
  to {
    opacity: 0.94;
    transform: translateY(-6px) scaleX(1.035);
  }
}

@keyframes jy-arc-glow {
  from {
    opacity: 0.78;
    filter: blur(0);
  }

  to {
    opacity: 1;
    filter: blur(0.3px);
  }
}

body:not(.admin-page) main#top .hero-content {
  position: absolute;
  left: 50%;
  top: 96px;
  z-index: 4;
  align-items: center;
  text-align: center;
  width: min(1040px, calc(100vw - 56px)) !important;
  max-width: min(1040px, calc(100vw - 56px)) !important;
  margin-inline: 0;
  padding-top: 0;
  transform: translateX(-50%);
}

body:not(.admin-page) main#top .hero h1,
body:not(.admin-page) main#top .hero h1 small {
  text-align: center !important;
}

body:not(.admin-page) main#top .hero h1 {
  font-size: clamp(56px, 5.8vw, 92px);
  line-height: 1.14;
  letter-spacing: 0.06em;
}

body:not(.admin-page) main#top .hero h1 span,
body:not(.admin-page) main#top .brand-title {
  color: #6e9cff;
}

body:not(.admin-page) main#top .hero .eyebrow {
  margin-top: 26px;
  font-size: 17px;
  letter-spacing: 0.12em;
  color: rgba(237, 245, 255, 0.84);
}

body:not(.admin-page) main#top .hero-copy {
  margin-top: 22px;
  color: rgba(237, 245, 255, 0.82);
}

body:not(.admin-page) main#top .hero-actions {
  justify-content: center;
  margin-top: 32px;
}

body:not(.admin-page) main#top .hero-scroll-cue {
  display: none !important;
}

body:not(.admin-page) main#top .hero-signal,
body:not(.admin-page) main#top .hero-trail,
body:not(.admin-page) main#top .hero .hero-strip {
  display: none !important;
}

body:not(.admin-page) .section-wrap {
  width: min(100% - 92px, 1480px);
}

body:not(.admin-page) .services.section-wrap {
  padding-top: 42px;
  padding-bottom: 34px;
}

body:not(.admin-page) .services .section-head {
  align-items: end;
  margin-bottom: 22px;
}

body:not(.admin-page) .services .section-head h2 {
  max-width: 820px;
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: 1.1;
  letter-spacing: 0;
}

body:not(.admin-page) .services .section-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 14px 28px;
  border: 1px solid rgba(111, 157, 255, 0.48);
  border-radius: 999px;
  background: rgba(19, 50, 103, 0.35);
  color: rgba(210, 224, 255, 0.76);
  font-size: 18px;
  letter-spacing: 0.14em;
}

body:not(.admin-page) .service-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body:not(.admin-page) .service-feature {
  display: block !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

body:not(.admin-page) .service-list {
  display: contents !important;
}

body:not(.admin-page) .service-board article {
  min-height: 0 !important;
  height: 258px !important;
  padding: 24px 28px;
  border: 1px solid rgba(94, 149, 255, 0.16);
  border-radius: 12px;
  background:
    radial-gradient(circle at 22% 8%, rgba(67, 132, 255, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(12, 28, 55, 0.74), rgba(5, 11, 24, 0.86));
}

body:not(.admin-page) .service-index {
  color: #6f9fff;
  font-weight: 800;
}

body:not(.admin-page) .service-board h3 {
  margin-top: 52px;
  font-size: 24px;
}

body:not(.admin-page) .service-board p {
  max-width: 18em;
  margin-top: 12px;
  color: rgba(222, 235, 255, 0.68);
  line-height: 1.75;
}

body:not(.admin-page) .about.section-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: stretch;
  padding-top: 54px;
  padding-bottom: 24px;
}

body:not(.admin-page) .about-media {
  min-height: 330px;
  border-radius: 12px;
  overflow: hidden;
}

body:not(.admin-page) .about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02) brightness(0.82);
}

body:not(.admin-page) .about-copy {
  padding: 6px 0;
}

body:not(.admin-page) .about-copy h2 {
  font-size: clamp(30px, 3.4vw, 56px);
  line-height: 1.16;
}

body:not(.admin-page) .about-copy p:last-child {
  max-width: 680px;
  color: rgba(229, 240, 255, 0.76);
  font-size: 16px;
  line-height: 2;
}

body:not(.admin-page) .about-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(88, 145, 255, 0.14);
  border-radius: 14px;
  background: rgba(109, 160, 255, 0.12);
}

body:not(.admin-page) .about-stats article {
  min-height: 126px;
  padding: 28px 30px;
  background: rgba(4, 12, 25, 0.84);
}

body:not(.admin-page) .about-stats strong {
  display: block;
  color: #eef6ff;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1;
}

body:not(.admin-page) .about-stats span {
  display: block;
  margin-top: 14px;
  color: rgba(222, 235, 255, 0.66);
  font-weight: 700;
}

body:not(.admin-page) .marquee-section {
  width: 100%;
  padding: 44px 0 54px;
  overflow: hidden;
}

body:not(.admin-page) .behind-head {
  width: min(100% - 92px, 1480px);
  margin: 0 auto 22px;
}

body:not(.admin-page) .marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: jy-marquee-right 48s linear infinite;
}

body:not(.admin-page) .marquee-group {
  display: flex;
  gap: 18px;
}

body:not(.admin-page) .marquee-track img {
  width: 260px;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(118, 167, 255, 0.16);
  border-radius: 10px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  filter: saturate(1.04) brightness(0.86);
}

@keyframes jy-marquee-right {
  from { transform: translateX(calc(-50% - 9px)); }
  to { transform: translateX(0); }
}

body:not(.admin-page) .strengths.section-wrap {
  width: min(100% - 92px, 1480px);
  padding-top: 34px;
  padding-bottom: 58px;
}

body:not(.admin-page) .strengths-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body:not(.admin-page) .strengths-grid article {
  min-height: 170px;
  padding: 28px;
  border-color: rgba(112, 163, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(10, 23, 45, 0.74), rgba(4, 10, 22, 0.86)),
    radial-gradient(circle at 50% 0%, rgba(78, 142, 255, 0.18), transparent 42%);
}

body:not(.admin-page) .strengths-grid strong {
  min-height: auto;
  color: #6e9cff;
  font-size: 20px;
  letter-spacing: 0.16em;
}

body:not(.admin-page) .strengths-grid h3 {
  font-size: 22px;
}

body:not(.admin-page) .work.case-library {
  padding-top: 44px;
}

body:not(.admin-page) .trust.section-wrap {
  padding-top: 24px;
  padding-bottom: 62px;
}

body:not(.admin-page) .logo-wall span {
  color: rgba(238, 245, 255, 0.82);
  border-color: rgba(115, 164, 255, 0.14);
  background: rgba(7, 15, 30, 0.74);
}

@media (max-width: 1024px) {
  body:not(.admin-page) .section-wrap,
  body:not(.admin-page) .behind-head,
  body:not(.admin-page) .strengths.section-wrap {
    width: min(100% - 34px, 1480px);
  }

  body:not(.admin-page) .service-board,
  body:not(.admin-page) .about-stats,
  body:not(.admin-page) .strengths-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.admin-page) .about.section-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body:not(.admin-page) main#top {
    overflow-x: hidden;
  }

  body:not(.admin-page) .site-header {
    padding-inline: 16px;
  }

  body:not(.admin-page) .brand-mark-logo {
    width: 42px;
    height: 42px;
  }

  body:not(.admin-page) main#top .hero {
    min-height: 650px;
    padding-bottom: 38px;
  }

  body:not(.admin-page) main#top .hero-content {
    top: 82px;
    width: calc(100vw - 34px) !important;
    max-width: calc(100vw - 34px) !important;
    padding-top: 0;
  }

  body:not(.admin-page) main#top .hero h1 {
    font-size: clamp(39px, 12vw, 58px);
    line-height: 1.18;
  }

  body:not(.admin-page) main#top .hero .eyebrow {
    font-size: 13px;
    letter-spacing: 0.06em;
  }

  body:not(.admin-page) main#top .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 12px;
  }

  body:not(.admin-page) main#top .hero-actions .button {
    min-width: 0;
    padding-inline: 14px;
  }

  body:not(.admin-page) .services.section-wrap {
    padding-top: 38px;
  }

  body:not(.admin-page) .service-board {
    gap: 10px;
  }

  body:not(.admin-page) .service-board article {
    min-height: 154px;
    height: 164px !important;
    padding: 18px;
  }

  body:not(.admin-page) .service-board h3 {
    margin-top: 22px;
    font-size: 18px;
  }

  body:not(.admin-page) .service-board p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.55;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  body:not(.admin-page) .about.section-wrap {
    padding-top: 34px;
    gap: 18px;
  }

  body:not(.admin-page) .about-media {
    min-height: 210px;
  }

  body:not(.admin-page) .about-copy h2 {
    font-size: 30px;
  }

  body:not(.admin-page) .about-copy p:last-child {
    font-size: 13px;
    line-height: 1.85;
  }

  body:not(.admin-page) .about-stats article {
    min-height: 92px;
    padding: 18px;
  }

  body:not(.admin-page) .about-stats strong {
    font-size: 25px;
  }

  body:not(.admin-page) .about-stats span {
    margin-top: 9px;
    font-size: 12px;
  }

  body:not(.admin-page) .marquee-section {
    padding-top: 34px;
    padding-bottom: 42px;
  }

  body:not(.admin-page) .marquee-track img {
    width: 190px;
    border-radius: 8px;
  }

  body:not(.admin-page) .strengths.section-wrap {
    padding-top: 24px;
    padding-bottom: 42px;
  }

  body:not(.admin-page) .strengths-grid {
    gap: 10px;
  }

  body:not(.admin-page) .strengths-grid article {
    min-height: 140px;
    padding: 18px;
  }

  body:not(.admin-page) .strengths-grid strong {
    font-size: 14px;
  }

  body:not(.admin-page) .strengths-grid h3 {
    font-size: 16px;
  }

  body:not(.admin-page) .strengths-grid p {
    font-size: 11.5px;
  }

  body:not(.admin-page) .work.case-library {
    padding-top: 26px;
  }

  body:not(.admin-page) .trust.section-wrap {
    padding-top: 24px;
    padding-bottom: 34px;
  }

  body:not(.admin-page) .trust .section-head {
    margin-bottom: 16px;
  }

  body:not(.admin-page) .trust .section-head > p {
    display: none;
  }

  body:not(.admin-page) .logo-wall {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body:not(.admin-page) .logo-wall span {
    min-height: 54px;
    padding: 12px;
    font-size: 12px;
  }
}

/* Final hero/service calibration for designer reference pass. */
body:not(.admin-page) main#top .hero {
  min-height: 720px !important;
}

body:not(.admin-page) main#top .hero::before {
  background:
    radial-gradient(ellipse at 50% 18%, rgba(245, 250, 255, 0.96) 0 0.42%, rgba(122, 180, 255, 0.88) 0.55%, rgba(48, 118, 255, 0.46) 1.2%, transparent 1.9%),
    radial-gradient(ellipse at 50% 21%, transparent 0 35.8%, rgba(48, 123, 255, 0.7) 36.7%, rgba(236, 248, 255, 0.98) 37.08%, rgba(96, 162, 255, 0.62) 37.45%, transparent 38.5%),
    radial-gradient(ellipse at 50% 33%, rgba(20, 68, 154, 0.46), rgba(3, 13, 34, 0.72) 49%, transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(2, 7, 15, 0.96)) !important;
}

body:not(.admin-page) main#top .hero::after {
  top: 86px !important;
  width: min(1120px, 96vw) !important;
  aspect-ratio: 2.08 / 1 !important;
  border-top-width: 3px !important;
  box-shadow:
    0 -8px 24px rgba(176, 215, 255, 0.95),
    0 0 86px rgba(69, 142, 255, 0.68),
    inset 0 42px 82px rgba(31, 101, 230, 0.24) !important;
}

body:not(.admin-page) main#top .hero-content {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: 138px !important;
  width: min(1040px, calc(100vw - 56px)) !important;
  max-width: min(1040px, calc(100vw - 56px)) !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateX(-50%) !important;
}

body:not(.admin-page) main#top .hero-scroll-cue {
  display: none !important;
}

body:not(.admin-page) .services .section-head h2 {
  font-size: clamp(38px, 4.2vw, 64px) !important;
  line-height: 1.1 !important;
}

body:not(.admin-page) .service-board article {
  height: 258px !important;
  min-height: 0 !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) main#top .hero {
    min-height: 650px !important;
  }

  body:not(.admin-page) main#top .hero::after {
    top: 78px !important;
    width: 118vw !important;
  }

  body:not(.admin-page) main#top .hero-content {
    top: 112px !important;
    width: calc(100vw - 34px) !important;
    max-width: calc(100vw - 34px) !important;
  }

  body:not(.admin-page) .service-board article {
    height: 164px !important;
  }
}

/* JY Vision 4.0: restrained blue-white cinematic homepage system. */
body:not(.admin-page) main#top {
  background:
    radial-gradient(circle at 50% 6%, rgba(76, 127, 218, 0.16), transparent 34%),
    radial-gradient(circle at 78% 28%, rgba(70, 112, 185, 0.08), transparent 31%),
    #02060c !important;
}

body:not(.admin-page) main#top .hero::before {
  opacity: 0.9 !important;
  filter: saturate(0.82) contrast(1.02) !important;
}

body:not(.admin-page) main#top .hero::after {
  opacity: 0.82 !important;
  box-shadow:
    0 -7px 18px rgba(186, 218, 255, 0.72),
    0 0 62px rgba(68, 124, 214, 0.46),
    inset 0 36px 72px rgba(30, 78, 170, 0.18) !important;
}

body:not(.admin-page) .hero-particles {
  opacity: 0.52 !important;
  filter: saturate(0.78);
}

body:not(.admin-page) .hero-waves {
  opacity: 0.62 !important;
  filter: saturate(0.74) blur(0.2px);
}

body:not(.admin-page) main#top .hero h1 {
  font-size: clamp(54px, 5.5vw, 88px) !important;
  letter-spacing: 0.05em !important;
}

body:not(.admin-page) main#top .hero h1 span {
  background: linear-gradient(90deg, #ffffff, #8fb5ff 58%, #dce8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

body:not(.admin-page) main#top .hero .eyebrow {
  color: rgba(236, 243, 255, 0.82) !important;
}

body:not(.admin-page) main#top .hero-copy {
  max-width: 560px !important;
  color: rgba(231, 240, 255, 0.76) !important;
}

body:not(.admin-page) .services.section-wrap {
  padding-top: 48px !important;
  padding-bottom: 40px !important;
}

body:not(.admin-page) .services .section-head {
  margin-bottom: 24px !important;
}

body:not(.admin-page) .services .section-head > p {
  display: none !important;
}

body:not(.admin-page) .services .section-head h2 {
  font-size: clamp(34px, 3.2vw, 52px) !important;
}

body:not(.admin-page) .service-board {
  gap: 16px !important;
}

body:not(.admin-page) .service-board article {
  position: relative;
  display: grid !important;
  place-items: center;
  height: 230px !important;
  padding: 28px !important;
  overflow: hidden;
  text-align: center;
  border-color: rgba(118, 158, 224, 0.16) !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(106, 148, 218, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(9, 22, 43, 0.78), rgba(4, 10, 20, 0.88)) !important;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

body:not(.admin-page) .service-board article:hover {
  transform: translateY(-4px);
  border-color: rgba(165, 194, 238, 0.32) !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(126, 166, 230, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(11, 26, 50, 0.86), rgba(5, 12, 24, 0.92)) !important;
}

body:not(.admin-page) .service-board article::before {
  content: "";
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border: 1px solid rgba(159, 191, 244, 0.42);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(147, 181, 238, 0.38), transparent 46%),
    rgba(14, 31, 58, 0.8);
  box-shadow: 0 0 28px rgba(83, 132, 216, 0.16);
}

body:not(.admin-page) .service-board article:nth-of-type(1)::before {
  border-radius: 16px 16px 6px 6px;
}

body:not(.admin-page) .service-board article:nth-of-type(2)::before {
  transform: skewX(-12deg);
}

body:not(.admin-page) .service-board article:nth-of-type(3)::before {
  border-radius: 14px;
  box-shadow: inset 0 0 0 10px rgba(12, 26, 50, 0.8), 0 0 28px rgba(83, 132, 216, 0.16);
}

body:not(.admin-page) .service-board article:nth-of-type(4)::before {
  border-radius: 50%;
}

body:not(.admin-page) .service-index {
  position: absolute;
  top: 18px;
  left: 20px;
  color: rgba(179, 203, 242, 0.42) !important;
  font-size: 12px !important;
  letter-spacing: 0.16em;
}

body:not(.admin-page) .service-board h3 {
  margin: 0 !important;
  color: rgba(248, 251, 255, 0.94);
  font-size: clamp(22px, 2vw, 30px) !important;
}

body:not(.admin-page) .service-board p {
  position: absolute;
  inset: auto 26px 26px;
  max-width: none !important;
  margin: 0 !important;
  opacity: 0;
  transform: translateY(12px);
  color: rgba(225, 235, 250, 0.72) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  transition: opacity 180ms ease, transform 180ms ease;
}

body:not(.admin-page) .service-board article:hover p,
body:not(.admin-page) .service-board article:focus-within p {
  opacity: 1;
  transform: translateY(0);
}

body:not(.admin-page) .marquee-section {
  padding-top: 42px !important;
  padding-bottom: 48px !important;
}

body:not(.admin-page) .marquee-track {
  gap: 14px !important;
}

body:not(.admin-page) .marquee-group {
  display: grid !important;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 128px);
  gap: 14px;
}

body:not(.admin-page) .marquee-track img {
  width: 236px !important;
  height: 128px !important;
  border-color: rgba(127, 164, 222, 0.14) !important;
  filter: saturate(0.88) brightness(0.82) !important;
}

body:not(.admin-page) .marquee-track img:nth-child(3n) {
  width: 284px !important;
}

body:not(.admin-page) .marquee-track img:nth-child(4n) {
  width: 206px !important;
}

body:not(.admin-page) .strengths-grid article {
  min-height: 210px !important;
  display: grid;
  align-content: center;
  background:
    radial-gradient(circle at 50% 5%, rgba(120, 154, 214, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(8, 20, 40, 0.72), rgba(4, 10, 20, 0.88)) !important;
  border-color: rgba(127, 164, 222, 0.14) !important;
}

body:not(.admin-page) .strengths-grid strong {
  color: rgba(226, 237, 255, 0.96) !important;
  font-size: clamp(36px, 4.2vw, 62px) !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

body:not(.admin-page) .strengths-grid h3 {
  margin-top: 14px !important;
  color: rgba(248, 251, 255, 0.92) !important;
}

body:not(.admin-page) .strengths-grid p {
  color: rgba(226, 235, 250, 0.62) !important;
}

body:not(.admin-page) .contact {
  min-height: auto !important;
  padding: 72px 0 !important;
  background:
    radial-gradient(circle at 76% 24%, rgba(102, 137, 196, 0.12), transparent 32%),
    linear-gradient(180deg, #030812, #05070b) !important;
}

body:not(.admin-page) .contact-inner {
  width: min(100% - 92px, 1180px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr) !important;
  gap: 36px !important;
  align-items: center !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body:not(.admin-page) .contact h2 {
  max-width: 620px;
  font-size: clamp(38px, 4vw, 66px) !important;
}

body:not(.admin-page) .contact-simple {
  display: grid !important;
  grid-template-columns: 180px 1fr !important;
  gap: 18px !important;
  align-items: stretch !important;
}

body:not(.admin-page) .contact-qr-card,
body:not(.admin-page) .contact-actions {
  border: 1px solid rgba(153, 180, 224, 0.16);
  border-radius: 18px;
  background: rgba(8, 17, 32, 0.72);
}

body:not(.admin-page) .contact-qr-card {
  padding: 14px;
}

body:not(.admin-page) .contact-qr-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

body:not(.admin-page) .contact-actions {
  display: grid;
  gap: 12px;
  padding: 22px;
}

body:not(.admin-page) .contact-actions p {
  margin: 0 0 4px;
  color: rgba(230, 238, 250, 0.72);
}

body:not(.admin-page) .contact-actions strong {
  color: #fff;
  letter-spacing: 0.08em;
}

body:not(.admin-page) .wechat-id-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

body:not(.admin-page) [data-copy-wechat] {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #dbe9ff;
  background: rgba(115, 157, 255, 0.08);
  border: 1px solid rgba(140, 181, 255, 0.28);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body:not(.admin-page) [data-copy-wechat]:hover,
body:not(.admin-page) [data-copy-wechat].copied {
  color: #06101f;
  background: linear-gradient(135deg, #e9f1ff, #9fbef3);
  border-color: rgba(233, 241, 255, 0.86);
  transform: translateY(-1px);
}

body:not(.admin-page) .contact-orb-meta [data-copy-wechat] {
  justify-self: center;
}

body:not(.admin-page) .contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(155, 184, 232, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  font-weight: 800;
}

body:not(.admin-page) .contact-actions a:first-of-type {
  background: linear-gradient(135deg, #e9f1ff, #9fbef3);
  color: #06101f;
}

@media (max-width: 768px) {
  body:not(.admin-page) main#top .hero h1 {
    font-size: clamp(38px, 11vw, 56px) !important;
  }

  body:not(.admin-page) .service-board {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body:not(.admin-page) .service-board article {
    height: 146px !important;
    padding: 16px !important;
  }

  body:not(.admin-page) .service-board article::before {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    border-radius: 12px;
  }

  body:not(.admin-page) .service-index {
    top: 12px;
    left: 14px;
    font-size: 10px !important;
  }

  body:not(.admin-page) .service-board h3 {
    font-size: 17px !important;
  }

  body:not(.admin-page) .service-board p {
    display: none !important;
  }

  body:not(.admin-page) .marquee-group {
    grid-template-rows: repeat(2, 96px);
    gap: 10px;
  }

  body:not(.admin-page) .marquee-track img {
    width: 170px !important;
    height: 96px !important;
  }

  body:not(.admin-page) .marquee-track img:nth-child(3n) {
    width: 210px !important;
  }

  body:not(.admin-page) .marquee-track img:nth-child(4n) {
    width: 150px !important;
  }

  body:not(.admin-page) .strengths-grid article {
    min-height: 156px !important;
  }

  body:not(.admin-page) .strengths-grid strong {
    font-size: 28px !important;
  }

  body:not(.admin-page) .contact {
    padding: 48px 0 !important;
  }

  body:not(.admin-page) .contact-inner {
    width: min(100% - 34px, 1180px) !important;
    grid-template-columns: 1fr !important;
  }

  body:not(.admin-page) .contact-simple {
    grid-template-columns: 126px 1fr !important;
  }

  body:not(.admin-page) .contact-actions {
    padding: 16px;
  }

  body:not(.admin-page) .contact-actions a {
    min-height: 42px;
    font-size: 13px;
  }
}

/* JY Vision V5.0: cinematic brand homepage, less software glow, more film-studio presence. */
body:not(.admin-page) main#top {
  background:
    radial-gradient(circle at 50% 8%, rgba(77, 124, 254, 0.12), transparent 34%),
    #050816 !important;
}

body:not(.admin-page) main#top .hero {
  min-height: 100svh !important;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(31, 68, 135, 0.28), transparent 44%),
    linear-gradient(180deg, #050816 0%, #02040a 100%) !important;
}

body:not(.admin-page) main#top .hero::before {
  opacity: 1 !important;
  background:
    radial-gradient(ellipse at 50% 41%, transparent 0 38%, rgba(127, 179, 255, 0.48) 38.65%, rgba(238, 247, 255, 0.86) 39%, rgba(77, 124, 254, 0.44) 39.35%, transparent 40.4%),
    radial-gradient(ellipse at 50% 52%, rgba(77, 124, 254, 0.18), rgba(5, 8, 22, 0.88) 55%, transparent 72%),
    linear-gradient(180deg, rgba(5, 8, 22, 0.02), rgba(5, 8, 22, 0.94)) !important;
  filter: saturate(0.72) contrast(1.02) !important;
}

body:not(.admin-page) main#top .hero::after {
  top: 5svh !important;
  left: 50% !important;
  width: min(1480px, 118vw) !important;
  aspect-ratio: 2.08 / 1 !important;
  border-top: 2px solid rgba(225, 241, 255, 0.88) !important;
  opacity: 0.9 !important;
  box-shadow:
    0 -5px 18px rgba(204, 229, 255, 0.72),
    0 0 58px rgba(77, 124, 254, 0.36),
    inset 0 34px 76px rgba(77, 124, 254, 0.12) !important;
}

body:not(.admin-page) .hero-particles {
  display: none !important;
}

body:not(.admin-page) .hero-waves {
  height: 32% !important;
  opacity: 0.28 !important;
  background:
    repeating-radial-gradient(ellipse at 50% 112%, transparent 0 28px, rgba(127, 179, 255, 0.14) 29px 30px),
    linear-gradient(172deg, transparent 34%, rgba(77, 124, 254, 0.18) 50%, transparent 62%) !important;
  filter: saturate(0.65) blur(0.2px) !important;
}

body:not(.admin-page) main#top .hero-content {
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}

body:not(.admin-page) main#top .hero h1 {
  font-size: clamp(58px, 6.2vw, 108px) !important;
  line-height: 1.12 !important;
  letter-spacing: 0.04em !important;
}

body:not(.admin-page) main#top .hero h1 span {
  background: linear-gradient(90deg, #f7fbff, #a8c6ff 58%, #d9e8ff) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

body:not(.admin-page) main#top .brand-title {
  color: rgba(127, 179, 255, 0.74) !important;
  letter-spacing: 0.34em !important;
}

body:not(.admin-page) main#top .hero .eyebrow {
  margin-top: 24px !important;
  color: rgba(239, 245, 255, 0.78) !important;
  letter-spacing: 0.1em !important;
}

body:not(.admin-page) main#top .hero-copy {
  margin-top: 22px !important;
  color: rgba(234, 241, 250, 0.68) !important;
}

body:not(.admin-page) main#top .hero-actions {
  margin-top: 32px !important;
}

body:not(.admin-page) main#top .hero-scroll-cue {
  display: inline-grid !important;
  justify-items: center;
  gap: 8px;
  margin-top: 34px;
  color: rgba(234, 241, 250, 0.5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
}

body:not(.admin-page) main#top .hero-scroll-cue i {
  width: 20px;
  height: 32px;
  border: 1px solid rgba(234, 241, 250, 0.34);
  border-radius: 999px;
}

body:not(.admin-page) .services.section-wrap {
  padding-top: 62px !important;
  padding-bottom: 48px !important;
}

body:not(.admin-page) .services .section-head h2 {
  font-size: clamp(42px, 4.6vw, 72px) !important;
}

body:not(.admin-page) .service-board {
  gap: 18px !important;
}

body:not(.admin-page) .service-index {
  display: none !important;
}

body:not(.admin-page) .service-board article {
  height: 290px !important;
  display: grid !important;
  grid-template-rows: auto auto auto;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 30px !important;
  text-align: center;
}

body:not(.admin-page) .service-board article::before {
  display: none !important;
}

body:not(.admin-page) .service-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(127, 179, 255, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(127, 179, 255, 0.18), rgba(255, 255, 255, 0.03)),
    rgba(8, 18, 38, 0.68);
  color: #dce8ff;
  font-size: 42px;
  box-shadow: 0 0 34px rgba(77, 124, 254, 0.12);
}

body:not(.admin-page) .service-board h3 {
  font-size: clamp(24px, 2.2vw, 34px) !important;
}

body:not(.admin-page) .service-board p {
  position: static !important;
  display: block !important;
  width: min(100%, 260px);
  opacity: 1 !important;
  transform: none !important;
  color: rgba(231, 238, 250, 0.66) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  transition: none !important;
}

body:not(.admin-page) .marquee-section {
  padding-top: 54px !important;
  padding-bottom: 54px !important;
}

body:not(.admin-page) .behind-head h2 {
  font-size: clamp(44px, 5vw, 84px) !important;
}

body:not(.admin-page) .marquee-track {
  gap: 22px !important;
  animation-duration: 58s !important;
}

body:not(.admin-page) .marquee-group {
  display: flex !important;
  gap: 22px !important;
}

body:not(.admin-page) .marquee-track img,
body:not(.admin-page) .marquee-track img:nth-child(3n),
body:not(.admin-page) .marquee-track img:nth-child(4n) {
  width: 384px !important;
  max-width: min(384px, calc(100vw - 48px)) !important;
  height: 216px !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 14px !important;
  object-fit: cover !important;
}

body:not(.admin-page) .strengths-grid article {
  min-height: 250px !important;
  justify-items: start;
}

body:not(.admin-page) .strength-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border: 1px solid rgba(127, 179, 255, 0.28);
  border-radius: 18px;
  background: rgba(9, 20, 40, 0.78);
  font-size: 25px;
}

body:not(.admin-page) .strengths-grid strong {
  font-size: clamp(40px, 4.6vw, 70px) !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) main#top .hero {
    min-height: 100svh !important;
  }

  body:not(.admin-page) main#top .hero::after {
    top: 9svh !important;
    width: 142vw !important;
  }

  body:not(.admin-page) main#top .hero h1 {
    font-size: clamp(38px, 11.4vw, 58px) !important;
  }

  body:not(.admin-page) main#top .hero-scroll-cue {
    margin-top: 24px;
  }

  body:not(.admin-page) .service-board article {
    height: 212px !important;
    gap: 10px;
    padding: 18px !important;
  }

  body:not(.admin-page) .service-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    font-size: 28px;
  }

  body:not(.admin-page) .service-board h3 {
    font-size: 18px !important;
  }

  body:not(.admin-page) .service-board p {
    display: block !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
  }

  body:not(.admin-page) .marquee-track {
    gap: 14px !important;
  }

  body:not(.admin-page) .marquee-group {
    gap: 14px !important;
  }

  body:not(.admin-page) .marquee-track img,
  body:not(.admin-page) .marquee-track img:nth-child(3n),
  body:not(.admin-page) .marquee-track img:nth-child(4n) {
    width: 260px !important;
    max-width: 260px !important;
    height: 146.25px !important;
  }

  body:not(.admin-page) .strengths-grid article {
    min-height: 190px !important;
  }

  body:not(.admin-page) .strength-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 14px;
    font-size: 20px;
  }
}

/* Admin content sync: make behind-the-scenes uploads clearly 16:9. */
.admin-page .admin-ratio-guide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(77, 124, 254, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(77, 124, 254, 0.18), transparent 38%),
    rgba(8, 13, 28, 0.72);
}

.admin-page .admin-ratio-guide strong {
  display: block;
  color: #f8fbff;
  font-size: 1rem;
  margin-bottom: 6px;
}

.admin-page .admin-ratio-guide span {
  color: rgba(229, 236, 255, 0.72);
  font-size: 0.88rem;
}

.admin-page .admin-ratio-frame {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(127, 179, 255, 0.52);
  border-radius: 14px;
  color: #dbe8ff;
  font-weight: 800;
  letter-spacing: 0.08em;
  background:
    linear-gradient(135deg, rgba(77, 124, 254, 0.18), rgba(255, 255, 255, 0.03)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 28px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.25), inset 0 0 30px rgba(77, 124, 254, 0.12);
}

.admin-page .asset-note strong {
  color: #f7fbff;
}

@media (max-width: 760px) {
  .admin-page .admin-ratio-guide {
    grid-template-columns: 1fr;
  }
}

/* 2026-06-19: hero name focus. Only adjusts the first-screen brand typography. */
body:not(.admin-page) main#top .hero .brand-title {
  margin: 0 0 12px !important;
  color: rgba(127, 179, 255, 0.86) !important;
  font-size: clamp(18px, 1.45vw, 28px) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: clamp(0.22em, 0.7vw, 0.46em) !important;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(77, 124, 254, 0.42);
}

body:not(.admin-page) main#top .hero .hero-brand-name {
  margin: 0 !important;
  color: #f7fbff !important;
  font-size: clamp(82px, 10.5vw, 168px) !important;
  font-weight: 900 !important;
  line-height: 0.98 !important;
  letter-spacing: clamp(0.12em, 0.9vw, 0.24em) !important;
  text-indent: clamp(0.12em, 0.9vw, 0.24em);
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.28),
    0 22px 64px rgba(6, 12, 30, 0.72),
    0 0 34px rgba(127, 179, 255, 0.2);
}

body:not(.admin-page) main#top .hero .hero-slogan {
  margin: 18px auto 0 !important;
  color: rgba(245, 249, 255, 0.94) !important;
  font-size: clamp(30px, 4.1vw, 68px) !important;
  font-weight: 850 !important;
  line-height: 1.06 !important;
  letter-spacing: clamp(0.04em, 0.24vw, 0.14em) !important;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.58);
}

body:not(.admin-page) main#top .hero .hero-slogan span {
  color: #5f8dff !important;
  text-shadow: 0 0 30px rgba(77, 124, 254, 0.52);
}

body:not(.admin-page) main#top .hero .eyebrow {
  margin-top: 24px !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) main#top .hero .brand-title {
    margin-bottom: 10px !important;
    font-size: clamp(13px, 4.5vw, 18px) !important;
    letter-spacing: 0.28em !important;
  }

  body:not(.admin-page) main#top .hero .hero-brand-name {
    font-size: clamp(56px, 17.2vw, 84px) !important;
    letter-spacing: 0.12em !important;
    text-indent: 0.12em;
  }

  body:not(.admin-page) main#top .hero .hero-slogan {
    margin-top: 14px !important;
    font-size: clamp(25px, 8vw, 38px) !important;
    letter-spacing: 0.04em !important;
  }

  body:not(.admin-page) main#top .hero .eyebrow {
    margin-top: 18px !important;
  }
}

/* 2026-06-19: soft page-flow bridge so the hero and following sections feel continuous. */
body:not(.admin-page) main#top {
  background:
    radial-gradient(ellipse at 50% 7%, rgba(58, 122, 255, 0.18), transparent 30%),
    radial-gradient(ellipse at 50% 24%, rgba(12, 42, 96, 0.22), transparent 42%),
    linear-gradient(180deg, #020712 0%, #061024 36%, #050816 62%, #030611 100%) !important;
}

body:not(.admin-page) main#top .hero {
  margin-bottom: -96px;
  padding-bottom: 118px;
  isolation: isolate;
}

body:not(.admin-page) main#top .hero-overlay::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 260px;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 22%, rgba(87, 145, 255, 0.2), transparent 44%),
    linear-gradient(180deg, rgba(2, 7, 15, 0), rgba(5, 13, 31, 0.7) 42%, #061024 78%, #061024 100%);
}

body:not(.admin-page) main#top .hero-waves {
  bottom: -76px !important;
  height: 46% !important;
  opacity: 0.74 !important;
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 72%, transparent 100%);
}

body:not(.admin-page) main#top > .services {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding-top: 150px !important;
  border-radius: 42px 42px 0 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(74, 132, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(6, 16, 36, 0.9), rgba(5, 8, 22, 0.22) 70%, transparent);
}

body:not(.admin-page) main#top > .services::before {
  content: "";
  position: absolute;
  left: max(26px, 5vw);
  right: max(26px, 5vw);
  top: 58px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(142, 184, 255, 0.52), transparent);
  box-shadow: 0 0 38px rgba(77, 124, 254, 0.32);
}

body:not(.admin-page) main#top > .services::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -38px;
  width: min(1080px, 92vw);
  height: 150px;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    repeating-radial-gradient(ellipse at 50% 100%, transparent 0 18px, rgba(103, 159, 255, 0.12) 19px 20px),
    radial-gradient(ellipse at 50% 100%, rgba(72, 138, 255, 0.2), transparent 62%);
  opacity: 0.72;
  mask-image: linear-gradient(180deg, transparent, #000 24%, #000 70%, transparent);
}

body:not(.admin-page) main#top > .about,
body:not(.admin-page) main#top > .marquee-section,
body:not(.admin-page) main#top > .strengths,
body:not(.admin-page) main#top > .trust,
body:not(.admin-page) main#top > .contact {
  position: relative;
  z-index: 2;
}

body:not(.admin-page) main#top > .about::before,
body:not(.admin-page) main#top > .marquee-section::before,
body:not(.admin-page) main#top > .strengths::before {
  content: "";
  position: absolute;
  left: max(32px, 6vw);
  right: max(32px, 6vw);
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(127, 179, 255, 0.18), transparent);
}

@media (max-width: 768px) {
  body:not(.admin-page) main#top .hero {
    margin-bottom: -58px;
    padding-bottom: 82px;
  }

  body:not(.admin-page) main#top .hero-overlay::after {
    height: 190px;
  }

  body:not(.admin-page) main#top .hero-waves {
    bottom: -52px !important;
    height: 38% !important;
  }

  body:not(.admin-page) main#top > .services {
    padding-top: 94px !important;
    border-radius: 28px 28px 0 0;
  }

  body:not(.admin-page) main#top > .services::before {
    top: 34px;
  }

  body:not(.admin-page) main#top > .services::after {
    top: -26px;
    height: 100px;
  }
}

/* 2026-06-19: refined non-case cards. Keep the case library untouched. */
body:not(.admin-page) main#top > .services {
  padding-bottom: 24px !important;
}

body:not(.admin-page) .services .section-head {
  margin-bottom: 18px !important;
}

body:not(.admin-page) .services .section-head > p {
  max-width: 420px !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: rgba(224, 235, 255, 0.58) !important;
}

body:not(.admin-page) .services .section-head h2 {
  font-size: clamp(34px, 3.6vw, 54px) !important;
}

body:not(.admin-page) .services .section-kicker,
body:not(.admin-page) .strengths .section-kicker,
body:not(.admin-page) .behind-head .section-kicker {
  padding: 9px 18px !important;
  border-color: rgba(132, 170, 230, 0.22) !important;
  background: rgba(16, 32, 62, 0.3) !important;
  color: rgba(224, 235, 255, 0.66) !important;
  font-size: 13px !important;
  letter-spacing: 0.12em !important;
}

body:not(.admin-page) .service-board {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body:not(.admin-page) .service-list article:nth-child(n + 4) {
  display: none !important;
}

body:not(.admin-page) .service-board article {
  height: 202px !important;
  min-height: 0 !important;
  padding: 20px !important;
  border: 1px solid rgba(152, 184, 235, 0.12) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(180deg, rgba(15, 31, 58, 0.56), rgba(5, 10, 21, 0.7)),
    radial-gradient(circle at 28% 0%, rgba(81, 139, 255, 0.13), transparent 38%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 18px 48px rgba(0, 0, 0, 0.2) !important;
}

body:not(.admin-page) .service-board article::before {
  opacity: 0.18 !important;
  border-color: rgba(160, 190, 240, 0.14) !important;
}

body:not(.admin-page) .service-index {
  display: none !important;
}

body:not(.admin-page) .service-icon {
  width: 46px !important;
  height: 46px !important;
  margin: 0 0 20px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(130, 171, 242, 0.22) !important;
  background: rgba(13, 27, 52, 0.62) !important;
  font-size: 22px !important;
  box-shadow: 0 0 30px rgba(77, 124, 254, 0.1) !important;
}

body:not(.admin-page) .service-board h3 {
  margin-top: 0 !important;
  font-size: 21px !important;
  letter-spacing: 0.02em !important;
}

body:not(.admin-page) .service-board p {
  max-width: 17em !important;
  margin-top: 9px !important;
  color: rgba(224, 235, 255, 0.58) !important;
  font-size: 13px !important;
  line-height: 1.62 !important;
}

body:not(.admin-page) .about-stats {
  gap: 10px !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}

body:not(.admin-page) .about-stats article,
body:not(.admin-page) .strengths-grid article {
  border: 1px solid rgba(152, 184, 235, 0.11) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(180deg, rgba(12, 26, 50, 0.52), rgba(4, 9, 20, 0.66)),
    radial-gradient(circle at 50% 0%, rgba(90, 146, 255, 0.1), transparent 46%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 16px 44px rgba(0, 0, 0, 0.18) !important;
}

body:not(.admin-page) .about-stats article {
  min-height: 96px !important;
  padding: 20px 22px !important;
}

body:not(.admin-page) .strengths.section-wrap {
  padding-top: 24px !important;
  padding-bottom: 44px !important;
}

body:not(.admin-page) .strengths-grid {
  gap: 14px !important;
}

body:not(.admin-page) .strengths-grid article {
  min-height: 178px !important;
  padding: 22px !important;
}

body:not(.admin-page) .strength-icon {
  width: 42px !important;
  height: 42px !important;
  margin-bottom: 16px !important;
  border-color: rgba(130, 171, 242, 0.2) !important;
  background: rgba(13, 27, 52, 0.58) !important;
  font-size: 19px !important;
}

body:not(.admin-page) .strengths-grid strong {
  font-size: clamp(34px, 3.2vw, 52px) !important;
  letter-spacing: 0.02em !important;
  color: #e9f2ff !important;
}

body:not(.admin-page) .strengths-grid h3 {
  margin-top: 8px !important;
}

body:not(.admin-page) .strengths-grid p {
  margin-top: 8px !important;
  color: rgba(224, 235, 255, 0.56) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

body:not(.admin-page) .trust .logo-wall span {
  border-color: rgba(152, 184, 235, 0.11) !important;
  background: rgba(8, 18, 36, 0.52) !important;
}

@media (max-width: 980px) {
  body:not(.admin-page) .service-board,
  body:not(.admin-page) .strengths-grid,
  body:not(.admin-page) .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  body:not(.admin-page) .services .section-head {
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  body:not(.admin-page) .services .section-head h2 {
    font-size: clamp(28px, 8vw, 38px) !important;
  }

  body:not(.admin-page) .services .section-head > p {
    font-size: 12.5px !important;
  }

  body:not(.admin-page) .service-board,
  body:not(.admin-page) .strengths-grid,
  body:not(.admin-page) .about-stats {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body:not(.admin-page) .service-board article {
    height: auto !important;
    min-height: 132px !important;
    padding: 16px 18px !important;
  }

  body:not(.admin-page) .service-icon {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 12px !important;
    font-size: 19px !important;
  }

  body:not(.admin-page) .service-board h3 {
    font-size: 18px !important;
  }

  body:not(.admin-page) .service-board p {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  body:not(.admin-page) .strengths-grid article {
    min-height: 128px !important;
    padding: 18px !important;
  }
}

/* 2026-06-22: service cards follow the supplied deep-blue reference, without photo panels. */
body:not(.admin-page) .services.section-wrap {
  position: relative;
}

body:not(.admin-page) .services .section-head {
  margin-bottom: 28px !important;
}

body:not(.admin-page) .service-board {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

body:not(.admin-page) .service-board article {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 398px !important;
  height: 398px !important;
  padding: 24px 28px !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  text-align: left !important;
  border: 1px solid rgba(108, 152, 226, 0.24) !important;
  border-radius: 10px !important;
  background:
    linear-gradient(160deg, rgba(19, 48, 96, 0.62), rgba(5, 14, 31, 0.9) 44%, rgba(4, 10, 22, 0.97)) !important;
  box-shadow: inset 0 1px 0 rgba(177, 209, 255, 0.06), 0 18px 44px rgba(0, 0, 0, 0.18) !important;
  overflow: hidden !important;
}

body:not(.admin-page) .service-board article::before {
  display: block !important;
  inset: auto -18% -36% auto !important;
  width: 190px !important;
  height: 190px !important;
  border: 1px solid rgba(86, 137, 255, 0.16) !important;
  border-radius: 50% !important;
  opacity: 1 !important;
  background: radial-gradient(circle, rgba(76, 125, 251, 0.16), transparent 66%) !important;
  pointer-events: none !important;
}

body:not(.admin-page) .service-board article:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(129, 173, 255, 0.46) !important;
  box-shadow: inset 0 1px 0 rgba(196, 220, 255, 0.09), 0 24px 56px rgba(0, 0, 0, 0.28) !important;
}

body:not(.admin-page) .service-index {
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
  color: #78a4ff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
}

body:not(.admin-page) .service-icon {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  place-items: center !important;
  width: auto !important;
  height: 76px !important;
  margin: 20px auto 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: 0 10px 28px rgba(48, 100, 225, 0.14) !important;
  font-size: 54px !important;
  line-height: 1 !important;
}

body:not(.admin-page) .service-board h3,
body:not(.admin-page) .service-board p,
body:not(.admin-page) .service-points {
  position: relative !important;
  z-index: 1 !important;
}

body:not(.admin-page) .service-board h3 {
  width: 100% !important;
  margin: 0 0 26px !important;
  color: #f4f7ff !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

body:not(.admin-page) .service-board h3::after {
  content: "" !important;
  display: block !important;
  width: 38px !important;
  height: 2px !important;
  margin: 18px auto 0 !important;
  background: #4d82f8 !important;
  box-shadow: 0 0 12px rgba(77, 130, 248, 0.5) !important;
}

body:not(.admin-page) .service-board p {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  color: rgba(204, 217, 242, 0.68) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  text-align: center !important;
}

body:not(.admin-page) .service-points {
  display: grid !important;
  gap: 11px !important;
  width: 100% !important;
  margin: 28px 0 0 !important;
  padding: 0 0 0 20px !important;
  list-style: none !important;
  border-top: 0 !important;
}

body:not(.admin-page) .service-points li {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: rgba(232, 240, 255, 0.84) !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
}

body:not(.admin-page) .service-points li::before {
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  flex: 0 0 auto !important;
  border: 1px solid #4f85ff !important;
  border-radius: 50% !important;
  box-shadow: 0 0 10px rgba(79, 133, 255, 0.62) !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) .services .section-head {
    margin-bottom: 20px !important;
  }

  body:not(.admin-page) .service-board {
    display: flex !important;
    gap: 14px !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    padding: 0 20px 8px !important;
    overflow-x: auto !important;
    overscroll-behavior-inline: contain !important;
    scroll-snap-type: inline mandatory !important;
    scrollbar-width: none !important;
  }

  body:not(.admin-page) .service-board::-webkit-scrollbar {
    display: none !important;
  }

  body:not(.admin-page) .service-board article {
    flex: 0 0 min(82vw, 320px) !important;
    min-height: 340px !important;
    height: 340px !important;
    padding: 20px !important;
    scroll-snap-align: start !important;
  }

  body:not(.admin-page) .service-index {
    font-size: 13px !important;
  }

  body:not(.admin-page) .service-icon {
    width: auto !important;
    height: 58px !important;
    margin: 16px auto 14px !important;
    font-size: 42px !important;
  }

  body:not(.admin-page) .service-board h3 {
    margin-bottom: 18px !important;
    font-size: 21px !important;
  }

  body:not(.admin-page) .service-board p {
    font-size: 12px !important;
    line-height: 1.65 !important;
  }

  body:not(.admin-page) .service-points {
    gap: 7px !important;
    margin-top: 20px !important;
    padding-left: 14px !important;
  }

  body:not(.admin-page) .service-points li {
    font-size: 12px !important;
  }
}

/* 2026-06-22: selected service direction - decision information before decoration. */
body:not(.admin-page) .service-board {
  gap: 16px !important;
}

body:not(.admin-page) .service-board article {
  min-height: 390px !important;
  height: 390px !important;
  padding: 20px 22px 22px !important;
  background: linear-gradient(145deg, rgba(15, 42, 86, 0.7), rgba(5, 14, 30, 0.94) 46%, rgba(4, 10, 21, 0.98)) !important;
}

body:not(.admin-page) .service-board article::before {
  inset: auto -24% -48% auto !important;
  width: 160px !important;
  height: 160px !important;
  opacity: 0.7 !important;
}

body:not(.admin-page) .service-index {
  color: #6d9dfc !important;
  font-size: 14px !important;
}

body:not(.admin-page) .service-icon {
  width: 68px !important;
  height: 68px !important;
  margin: 8px auto 12px !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:not(.admin-page) .service-icon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 10px 18px rgba(45, 104, 242, 0.32));
  transition: opacity 180ms ease;
}

body:not(.admin-page) .service-icon-image.ready {
  opacity: 1;
}

body:not(.admin-page) .service-board h3 {
  margin: 0 0 13px !important;
  font-size: 23px !important;
}

body:not(.admin-page) .service-board h3::after {
  width: 32px !important;
  margin-top: 12px !important;
}

body:not(.admin-page) .service-board p {
  min-height: 43px;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

body:not(.admin-page) .service-details {
  gap: 0 !important;
  margin-top: 18px !important;
  padding: 0 !important;
}

body:not(.admin-page) .service-details li {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 9px !important;
  min-height: 39px !important;
  padding: 9px 0 !important;
  border-top: 1px solid rgba(145, 180, 235, 0.14) !important;
  color: rgba(226, 237, 255, 0.76) !important;
  font-size: 11.5px !important;
  line-height: 1.45 !important;
}

body:not(.admin-page) .service-details li::before {
  display: none !important;
}

body:not(.admin-page) .service-detail-label {
  color: #76a5ff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

@media (max-width: 768px) {
  body:not(.admin-page) .service-board {
    gap: 12px !important;
    padding: 0 20px 10px !important;
  }

  body:not(.admin-page) .service-board article {
    flex-basis: min(84vw, 330px) !important;
    min-height: 330px !important;
    height: 330px !important;
    padding: 18px !important;
  }

  body:not(.admin-page) .service-icon {
    width: 55px !important;
    height: 55px !important;
    margin: 4px auto 9px !important;
  }

  body:not(.admin-page) .service-board h3 {
    margin-bottom: 10px !important;
    font-size: 20px !important;
  }

  body:not(.admin-page) .service-board h3::after {
    margin-top: 9px !important;
  }

  body:not(.admin-page) .service-board p {
    min-height: 37px;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
  }

  body:not(.admin-page) .service-details {
    margin-top: 12px !important;
  }

  body:not(.admin-page) .service-details li {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    min-height: 34px !important;
    padding: 7px 0 !important;
    font-size: 11px !important;
  }
}

/* 2026-06-22: compact reference-style service cards, without bottom photography. */
body:not(.admin-page) .service-board {
  gap: 16px !important;
}

body:not(.admin-page) .service-board article {
  min-height: 336px !important;
  height: 336px !important;
  padding: 18px 20px 20px !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(55, 112, 231, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(10, 34, 72, 0.92), rgba(3, 12, 26, 0.98)) !important;
}

body:not(.admin-page) .service-board article::before {
  display: none !important;
}

body:not(.admin-page) .service-index {
  font-size: 13px !important;
  color: #6193ff !important;
}

body:not(.admin-page) .service-icon {
  width: 58px !important;
  height: 58px !important;
  margin: 8px auto 13px !important;
}

body:not(.admin-page) .service-board h3 {
  margin: 0 0 14px !important;
  font-size: 22px !important;
}

body:not(.admin-page) .service-board h3::after {
  width: 30px !important;
  height: 2px !important;
  margin-top: 10px !important;
}

body:not(.admin-page) .service-board p {
  min-height: 38px !important;
  margin: 0 auto !important;
  color: rgba(210, 224, 248, 0.66) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  text-align: center !important;
}

body:not(.admin-page) .service-details {
  display: grid !important;
  gap: 9px !important;
  margin: auto 0 0 !important;
  padding: 15px 0 0 !important;
  border-top: 0 !important;
}

body:not(.admin-page) .service-details li {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: rgba(235, 241, 255, 0.88) !important;
  font-size: 12.5px !important;
  line-height: 1.25 !important;
}

body:not(.admin-page) .service-details li::before {
  display: block !important;
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  flex: 0 0 7px !important;
  border: 1px solid #4a83ff !important;
  border-radius: 50% !important;
  box-shadow: 0 0 9px rgba(74, 131, 255, 0.62) !important;
}

body:not(.admin-page) .service-detail-label {
  display: none !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) .service-board article {
    flex-basis: min(82vw, 310px) !important;
    min-height: 292px !important;
    height: 292px !important;
    padding: 16px 18px !important;
  }

  body:not(.admin-page) .service-icon {
    width: 48px !important;
    height: 48px !important;
    margin: 5px auto 9px !important;
  }

  body:not(.admin-page) .service-board h3 {
    margin-bottom: 10px !important;
    font-size: 19px !important;
  }

  body:not(.admin-page) .service-board h3::after {
    margin-top: 8px !important;
  }

  body:not(.admin-page) .service-board p {
    min-height: 34px !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
  }

  body:not(.admin-page) .service-details {
    gap: 7px !important;
    padding-top: 10px !important;
  }

body:not(.admin-page) .service-details li {
    gap: 8px !important;
    font-size: 11px !important;
  }
}

/* 2026-06-22 final service hierarchy: large icons and clear content priority. */
body:not(.admin-page) .services.section-wrap {
  padding-top: clamp(76px, 8vw, 118px) !important;
  padding-bottom: clamp(72px, 7vw, 108px) !important;
  overflow: hidden;
}

body:not(.admin-page) .services .section-head {
  display: block !important;
  max-width: 980px;
  margin: 0 auto 44px !important;
  text-align: center;
}

body:not(.admin-page) .services .section-kicker {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin: 0 0 17px !important;
  padding: 0 15px;
  color: #77a8ff !important;
  background: rgba(63, 111, 205, 0.1);
  border: 1px solid rgba(105, 151, 242, 0.42);
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: 0.16em;
}

body:not(.admin-page) .services .section-head h2 {
  margin: 0 !important;
  color: #f6f9ff !important;
  font-size: clamp(42px, 5vw, 72px) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

body:not(.admin-page) .services .section-head > p {
  max-width: 680px;
  margin: 22px auto 0 !important;
  color: rgba(201, 215, 241, 0.76) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  text-align: center !important;
}

body:not(.admin-page) .service-board {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
}

body:not(.admin-page) .service-board > article,
body:not(.admin-page) .service-feature {
  position: relative;
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  min-height: 452px !important;
  height: 452px !important;
  padding: 22px 20px 18px !important;
  overflow: hidden;
  color: #f5f8ff !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(70, 127, 247, 0.2), transparent 35%),
    linear-gradient(180deg, rgba(9, 29, 63, 0.96), rgba(3, 12, 27, 0.99)) !important;
  border: 1px solid rgba(117, 161, 240, 0.34) !important;
  border-radius: 14px !important;
  box-shadow: inset 0 1px 0 rgba(224, 235, 255, 0.05), 0 18px 34px rgba(0, 0, 0, 0.18) !important;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body:not(.admin-page) .service-board > article:hover {
  transform: translateY(-5px);
  border-color: rgba(126, 172, 255, 0.64) !important;
  box-shadow: inset 0 1px 0 rgba(224, 235, 255, 0.1), 0 24px 42px rgba(4, 31, 88, 0.34) !important;
}

body:not(.admin-page) .service-board > article::before {
  display: none !important;
}

body:not(.admin-page) .service-index {
  position: relative;
  z-index: 1;
  display: block !important;
  margin: 0 !important;
  color: #6f9eff !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  letter-spacing: 0.04em;
}

body:not(.admin-page) .service-icon {
  display: grid !important;
  place-items: center;
  width: 132px !important;
  height: 132px !important;
  margin: 14px auto 14px !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:not(.admin-page) .service-icon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 16px 18px rgba(28, 104, 255, 0.36));
  transition: opacity 180ms ease, transform 220ms ease;
}

body:not(.admin-page) .service-board > article:hover .service-icon-image {
  transform: translateY(-3px) scale(1.025);
}

body:not(.admin-page) .service-icon-image.ready {
  opacity: 1;
}

body:not(.admin-page) .service-board h3 {
  width: 100% !important;
  margin: 0 0 14px !important;
  color: #f8faff !important;
  font-size: clamp(24px, 2vw, 29px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-align: center !important;
}

body:not(.admin-page) .service-board h3::after {
  content: "" !important;
  display: block !important;
  width: 34px !important;
  height: 2px !important;
  margin: 13px auto 0 !important;
  background: #4d86ff !important;
  box-shadow: 0 0 12px rgba(77, 134, 255, 0.48) !important;
}

body:not(.admin-page) .service-board p {
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 auto !important;
  color: rgba(209, 221, 246, 0.75) !important;
  font-size: 13px !important;
  line-height: 1.62 !important;
  text-align: center !important;
}

body:not(.admin-page) .service-details {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 0 !important;
  width: 100% !important;
  margin: auto 0 0 !important;
  padding: 16px 0 0 !important;
  list-style: none;
  border-top: 1px solid rgba(135, 169, 235, 0.2) !important;
}

body:not(.admin-page) .service-details li {
  display: block !important;
  min-height: 0 !important;
  padding: 0 9px !important;
  color: rgba(229, 237, 255, 0.85) !important;
  border: 0 !important;
  font-size: 11px !important;
  font-weight: 650;
  line-height: 1.25 !important;
  text-align: center;
  white-space: nowrap;
}

body:not(.admin-page) .service-details li + li {
  border-left: 1px solid rgba(136, 167, 222, 0.34) !important;
}

body:not(.admin-page) .service-details li::before,
body:not(.admin-page) .service-detail-label {
  display: none !important;
}

body:not(.admin-page) .service-list {
  display: contents !important;
}

@media (max-width: 980px) {
  body:not(.admin-page) .service-board {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  body:not(.admin-page) .services.section-wrap {
    padding-top: 66px !important;
    padding-bottom: 68px !important;
  }

  body:not(.admin-page) .services .section-head {
    max-width: 370px;
    margin-bottom: 27px !important;
  }

  body:not(.admin-page) .services .section-kicker {
    min-height: 25px;
    margin-bottom: 12px !important;
    padding-inline: 12px;
    font-size: 10px !important;
  }

  body:not(.admin-page) .services .section-head h2 {
    font-size: clamp(33px, 9.1vw, 36px) !important;
    line-height: 1.12 !important;
  }

  body:not(.admin-page) .services .section-head > p {
    margin-top: 15px !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  body:not(.admin-page) .service-board {
    display: flex !important;
    gap: 14px !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    padding: 0 20px 8px !important;
    overflow-x: auto !important;
    overscroll-behavior-inline: contain !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }

  body:not(.admin-page) .service-board::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-page) .service-board > article {
    flex: 0 0 min(84vw, 330px) !important;
    min-height: 386px !important;
    height: 386px !important;
    padding: 18px 18px 16px !important;
    scroll-snap-align: start;
  }

  body:not(.admin-page) .service-icon {
    width: 96px !important;
    height: 96px !important;
    margin: 10px auto 12px !important;
  }

  body:not(.admin-page) .service-board h3 {
    margin-bottom: 11px !important;
    font-size: 24px !important;
  }

  body:not(.admin-page) .service-board h3::after {
    margin-top: 10px !important;
  }

  body:not(.admin-page) .service-board p {
    min-height: 42px !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  body:not(.admin-page) .service-details {
    gap: 7px 0 !important;
    padding-top: 13px !important;
  }

  body:not(.admin-page) .service-details li {
    padding: 0 7px !important;
    font-size: 10.5px !important;
  }
}

/* 2026-07-03 final EOF project aspect-ratio support. */
body:not(.admin-page) .project-card .project-thumb,
body:not(.admin-page) .project-card.mobile-case-card .project-thumb,
body:not(.admin-page) .mobile-side-case-list .project-card.mobile-case-card .project-thumb,
body:not(.admin-page) .photo-live-case-main {
  aspect-ratio: var(--project-aspect-ratio, 16 / 9) !important;
}

body:not(.admin-page) .project-card .project-thumb img,
body:not(.admin-page) .project-card .project-thumb video,
body:not(.admin-page) .photo-live-case-main img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body:not(.admin-page) .photo-live-case-thumbs button,
body:not(.admin-page) .modal-photo-thumbs button {
  aspect-ratio: var(--project-aspect-ratio, 16 / 9) !important;
}

body:not(.admin-page) .media-modal-body video,
body:not(.admin-page) .media-modal-body > img,
body:not(.admin-page) .modal-photo-stage {
  aspect-ratio: var(--project-aspect-ratio, 16 / 9) !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] video,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] > img,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage {
  width: min(430px, 88vw) !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] video,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] > img,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
  width: min(520px, 90vw) !important;
}

body:not(.admin-page) .modal-photo-stage img {
  object-fit: contain !important;
  background: #050914 !important;
}

.admin-preview-thumb {
  aspect-ratio: var(--project-aspect-ratio, 16 / 9) !important;
}

/* 2026-07-03 photo live list stays 16:9; modal stage keeps real ratio. */
body:not(.admin-page) .photo-live-case-card,
body:not(.admin-page) .photo-live-case-card[data-aspect-ratio="9/16"],
body:not(.admin-page) .photo-live-case-card[data-project-aspect-ratio="9/16"],
body:not(.admin-page) .photo-live-case-card[data-aspect-ratio="4/5"],
body:not(.admin-page) .photo-live-case-card[data-project-aspect-ratio="4/5"] {
  max-width: none !important;
  margin-inline: 0 !important;
}

body:not(.admin-page) .photo-live-case-main,
body:not(.admin-page) .photo-live-case-thumbs button,
body:not(.admin-page) .modal-photo-thumbs button {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 0 !important;
}

body:not(.admin-page) .photo-live-case-main img,
body:not(.admin-page) .photo-live-case-thumbs img,
body:not(.admin-page) .modal-photo-thumbs img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body:not(.admin-page) .modal-photo-stage {
  aspect-ratio: var(--project-aspect-ratio, 16 / 9) !important;
}

/* 2026-07-03 photo live modal natural photo viewing. */
body:not(.admin-page) .media-modal-body .modal-photo-carousel {
  width: min(100%, 980px) !important;
  justify-items: center !important;
  gap: 14px !important;
}

body:not(.admin-page) .media-modal-body .modal-photo-stage {
  width: min(980px, 92vw) !important;
  max-height: 74vh !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage {
  width: min(340px, 72vw, 42vh) !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
  width: min(460px, 82vw, 54vh) !important;
}

body:not(.admin-page) .media-modal-body .modal-photo-stage img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: transparent !important;
  border-radius: 10px !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28) !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) .media-modal-body .modal-photo-stage {
    width: min(92vw, 760px) !important;
    max-height: 68vh !important;
  }

  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage {
    width: min(300px, 70vw, 38vh) !important;
  }

  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
    width: min(340px, 78vw, 46vh) !important;
  }

  body:not(.admin-page) .media-modal-body .modal-photo-arrow {
    display: none !important;
  }
}

/* 2026-07-03 fixed photo live modal stage: no jumping between portrait and landscape. */
body:not(.admin-page) .media-modal-body .modal-photo-carousel,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel {
  width: min(960px, 92vw) !important;
  justify-items: center !important;
}

body:not(.admin-page) .media-modal-body .modal-photo-stage,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
  width: min(960px, 92vw) !important;
  aspect-ratio: 16 / 9 !important;
  max-height: min(72vh, 620px) !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body:not(.admin-page) .media-modal-body .modal-photo-stage img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: transparent !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) .media-modal-body .modal-photo-carousel,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel {
    width: min(92vw, 420px) !important;
  }

  body:not(.admin-page) .media-modal-body .modal-photo-stage,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
    width: min(92vw, 420px) !important;
    aspect-ratio: 16 / 9 !important;
    max-height: 54vh !important;
  }
}

/* 2026-07-03 modal brand frames + contact orb repair. */
body:not(.admin-page) .media-modal-body .modal-media-frame,
body:not(.admin-page) .media-modal-body .modal-photo-stage,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
  position: relative !important;
  width: min(960px, 92vw) !important;
  aspect-ratio: 3 / 2 !important;
  max-height: min(76vh, 660px) !important;
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(77, 124, 254, 0.14), transparent 44%),
    rgba(2, 7, 18, 0.92) !important;
  border: 1px solid rgba(135, 171, 255, 0.18) !important;
  border-radius: 18px !important;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.46),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035) !important;
}

body:not(.admin-page) .media-modal-body .modal-photo-carousel,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel {
  width: min(960px, 92vw) !important;
  justify-items: center !important;
}

body:not(.admin-page) .media-modal-body .modal-media-frame > video,
body:not(.admin-page) .media-modal-body .modal-media-frame > img,
body:not(.admin-page) .media-modal-body .modal-photo-stage > img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  background: transparent !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body:not(.admin-page) .media-modal-body .modal-media-frame > video {
  background: #020712 !important;
}

body:not(.admin-page) .modal-frame-brand {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 7px 12px 7px 8px;
  color: rgba(245, 248, 255, 0.96);
  background: rgba(3, 8, 20, 0.68);
  border: 1px solid rgba(127, 179, 255, 0.22);
  border-radius: 999px;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.26),
    0 0 24px rgba(77, 124, 254, 0.1);
  backdrop-filter: blur(14px);
  pointer-events: none;
}

body:not(.admin-page) .modal-frame-brand img {
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px;
  object-fit: contain !important;
  border-radius: 8px !important;
}

body:not(.admin-page) .modal-frame-brand span {
  display: grid;
  gap: 1px;
  line-height: 1;
}

body:not(.admin-page) .modal-frame-brand strong {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

body:not(.admin-page) .modal-frame-brand small {
  color: rgba(127, 179, 255, 0.82);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

body:not(.admin-page) .contact-orb {
  position: fixed !important;
  left: var(--orb-x) !important;
  top: var(--orb-y) !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 120 !important;
  width: 62px !important;
  height: 62px !important;
  transform: translate3d(0, -50%, 0) !important;
  touch-action: none !important;
}

body:not(.admin-page) .contact-orb-button {
  width: 62px !important;
  height: 62px !important;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(9, 18, 38, 0.98), rgba(2, 7, 18, 0.92)) !important;
  border-color: rgba(127, 179, 255, 0.42) !important;
  box-shadow:
    0 16px 46px rgba(0, 0, 0, 0.46),
    0 0 28px rgba(77, 124, 254, 0.18) !important;
}

body:not(.admin-page) .contact-orb-button::before,
body:not(.admin-page) .contact-orb-button::after {
  border-color: rgba(127, 179, 255, 0.34) !important;
}

body:not(.admin-page) .contact-orb-button img {
  filter: none !important;
}

body:not(.admin-page) .contact-orb-panel {
  top: auto !important;
  bottom: -8px !important;
  right: 78px !important;
  left: auto !important;
  width: min(320px, calc(100vw - 112px)) !important;
  max-height: min(72vh, 560px) !important;
  overflow: auto !important;
  color: #f5f8ff !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(77, 124, 254, 0.15), transparent 36%),
    rgba(3, 8, 20, 0.96) !important;
  border-color: rgba(127, 179, 255, 0.24) !important;
  transform: translateX(12px) scale(0.96) !important;
}

body:not(.admin-page) .contact-orb.left .contact-orb-panel {
  left: 78px !important;
  right: auto !important;
  transform: translateX(-12px) scale(0.96) !important;
}

body:not(.admin-page) .contact-orb.open .contact-orb-panel,
body:not(.admin-page) .contact-orb.left.open .contact-orb-panel {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateX(0) scale(1) !important;
}

body:not(.admin-page) .contact-orb-copy small,
body:not(.admin-page) .contact-orb-meta a {
  color: #7fb3ff !important;
}

body:not(.admin-page) .contact-orb-actions a {
  color: #061021 !important;
  background: linear-gradient(135deg, #f5f8ff, #a9c9ff) !important;
  border-color: rgba(127, 179, 255, 0.36) !important;
}

body:not(.admin-page) .contact-orb-actions a:last-child {
  color: #f5f8ff !important;
  background: rgba(255, 255, 255, 0.045) !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) .media-modal-body .modal-media-frame,
  body:not(.admin-page) .media-modal-body .modal-photo-stage,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
    width: min(92vw, 440px) !important;
    aspect-ratio: 3 / 2 !important;
    max-height: 56vh !important;
    border-radius: 15px !important;
  }

  body:not(.admin-page) .media-modal-body .modal-photo-carousel,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel {
    width: min(92vw, 440px) !important;
  }

  body:not(.admin-page) .modal-frame-brand {
    left: 10px;
    top: 10px;
    min-height: 34px;
    gap: 7px;
    padding: 5px 9px 5px 6px;
  }

  body:not(.admin-page) .modal-frame-brand img {
    width: 24px !important;
    height: 24px !important;
    flex-basis: 24px;
  }

  body:not(.admin-page) .modal-frame-brand strong {
    font-size: 11px;
  }

  body:not(.admin-page) .modal-frame-brand small {
    font-size: 7px;
  }

  body:not(.admin-page) .contact-orb {
    width: 54px !important;
    height: 54px !important;
  }

  body:not(.admin-page) .contact-orb-button {
    width: 54px !important;
    height: 54px !important;
  }

  body:not(.admin-page) .contact-orb-panel,
  body:not(.admin-page) .contact-orb.left .contact-orb-panel {
    position: fixed !important;
    left: 14px !important;
    right: 14px !important;
    top: auto !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 14px) !important;
    width: auto !important;
    max-width: none !important;
    max-height: min(70vh, 560px) !important;
    padding: 20px !important;
    border-radius: 22px !important;
    transform: translateY(18px) scale(0.98) !important;
  }

  body:not(.admin-page) .contact-orb.open .contact-orb-panel,
  body:not(.admin-page) .contact-orb.left.open .contact-orb-panel {
    transform: translateY(0) scale(1) !important;
  }
}

/* 2026-07-03 modal brand text outside viewing frame. */
body:not(.admin-page) .modal-media-block {
  display: grid !important;
  width: min(960px, 92vw) !important;
  justify-items: center !important;
  gap: 10px !important;
}

body:not(.admin-page) .modal-frame-brand {
  display: none !important;
}

body:not(.admin-page) .modal-frame-brand-text {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 26px !important;
  padding: 0 12px !important;
  color: rgba(245, 248, 255, 0.58) !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  pointer-events: none !important;
}

body:not(.admin-page) .modal-photo-carousel > .modal-frame-brand-text {
  margin-top: -2px !important;
  margin-bottom: 2px !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) .modal-media-block {
    width: min(92vw, 440px) !important;
    gap: 8px !important;
  }

  body:not(.admin-page) .modal-frame-brand-text {
    min-height: 22px !important;
    font-size: 9px !important;
    letter-spacing: 0.16em !important;
  }
}

/* 2026-07-03 larger fixed viewing frame for portrait and landscape media. */
body:not(.admin-page) .media-modal-panel {
  width: min(1120px, calc(100vw - 24px)) !important;
}

body:not(.admin-page) .modal-media-block,
body:not(.admin-page) .media-modal-body .modal-photo-carousel,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel {
  width: min(1000px, 94vw, calc(78vh * 1.3333)) !important;
}

body:not(.admin-page) .media-modal-body .modal-media-frame,
body:not(.admin-page) .media-modal-body .modal-photo-stage,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
  width: min(1000px, 94vw, calc(78vh * 1.3333)) !important;
  aspect-ratio: 4 / 3 !important;
  max-height: 78vh !important;
}

body:not(.admin-page) .media-modal-body .modal-media-frame > video,
body:not(.admin-page) .media-modal-body .modal-media-frame > img,
body:not(.admin-page) .media-modal-body .modal-photo-stage > img {
  object-fit: contain !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) .media-modal-panel {
    width: min(100vw - 14px, 520px) !important;
    padding-inline: 10px !important;
  }

  body:not(.admin-page) .modal-media-block,
  body:not(.admin-page) .media-modal-body .modal-photo-carousel,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel {
    width: min(96vw, 480px, calc(62vh * 1.3333)) !important;
  }

  body:not(.admin-page) .media-modal-body .modal-media-frame,
  body:not(.admin-page) .media-modal-body .modal-photo-stage,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
    width: min(96vw, 480px, calc(62vh * 1.3333)) !important;
    aspect-ratio: 4 / 3 !important;
    max-height: 62vh !important;
  }
}

/* 2026-07-03 respect portrait media in the viewing modal. */
body:not(.admin-page) .modal-media-block,
body:not(.admin-page) .media-modal-body .modal-photo-carousel {
  width: min(1000px, 94vw, calc(76vh * 1.7778)) !important;
}

body:not(.admin-page) .media-modal-body .modal-media-frame,
body:not(.admin-page) .media-modal-body .modal-photo-stage {
  width: min(1000px, 94vw, calc(76vh * 1.7778)) !important;
  aspect-ratio: 16 / 9 !important;
  max-height: 76vh !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-media-block,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel {
  width: min(430px, 82vw, calc(78vh * 0.5625)) !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-media-frame,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage {
  width: min(430px, 82vw, calc(78vh * 0.5625)) !important;
  aspect-ratio: 9 / 16 !important;
  max-height: 78vh !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-media-block,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel {
  width: min(540px, 84vw, calc(78vh * 0.8)) !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-media-frame,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
  width: min(540px, 84vw, calc(78vh * 0.8)) !important;
  aspect-ratio: 4 / 5 !important;
  max-height: 78vh !important;
}

body:not(.admin-page) .media-modal-body .modal-media-frame > video,
body:not(.admin-page) .media-modal-body .modal-media-frame > img,
body:not(.admin-page) .media-modal-body .modal-photo-stage > img {
  object-fit: contain !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) .modal-media-block,
  body:not(.admin-page) .media-modal-body .modal-photo-carousel {
    width: min(94vw, 480px, calc(58vh * 1.7778)) !important;
  }

  body:not(.admin-page) .media-modal-body .modal-media-frame,
  body:not(.admin-page) .media-modal-body .modal-photo-stage {
    width: min(94vw, 480px, calc(58vh * 1.7778)) !important;
    aspect-ratio: 16 / 9 !important;
    max-height: 58vh !important;
  }

  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-media-block,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel {
    width: min(82vw, 360px, calc(70vh * 0.5625)) !important;
  }

  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-media-frame,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage {
    width: min(82vw, 360px, calc(70vh * 0.5625)) !important;
    aspect-ratio: 9 / 16 !important;
    max-height: 70vh !important;
  }

  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-media-block,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel {
    width: min(86vw, 390px, calc(68vh * 0.8)) !important;
  }

  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-media-frame,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
    width: min(86vw, 390px, calc(68vh * 0.8)) !important;
    aspect-ratio: 4 / 5 !important;
    max-height: 68vh !important;
  }
}

/* 2026-07-03 final centered, slightly smaller modal viewing frames. */
body:not(.admin-page) .media-modal-body {
  width: 100% !important;
  display: grid !important;
  justify-items: center !important;
  align-items: center !important;
  gap: 12px !important;
  overflow-x: hidden !important;
}

body:not(.admin-page) .modal-media-block,
body:not(.admin-page) .media-modal-body .modal-photo-carousel {
  width: min(920px, 90vw, calc(70vh * 1.7778)) !important;
  margin-inline: auto !important;
  justify-self: center !important;
}

body:not(.admin-page) .media-modal-body .modal-media-frame,
body:not(.admin-page) .media-modal-body .modal-photo-stage {
  width: min(920px, 90vw, calc(70vh * 1.7778)) !important;
  aspect-ratio: 16 / 9 !important;
  max-height: 70vh !important;
  margin-inline: auto !important;
  justify-self: center !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-media-block,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel {
  width: min(380px, 76vw, calc(72vh * 0.5625)) !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-media-frame,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage {
  width: min(380px, 76vw, calc(72vh * 0.5625)) !important;
  aspect-ratio: 9 / 16 !important;
  max-height: 72vh !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-media-block,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel {
  width: min(480px, 80vw, calc(72vh * 0.8)) !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-media-frame,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
  width: min(480px, 80vw, calc(72vh * 0.8)) !important;
  aspect-ratio: 4 / 5 !important;
  max-height: 72vh !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) .media-modal-body {
    gap: 9px !important;
  }

  body:not(.admin-page) .modal-media-block,
  body:not(.admin-page) .media-modal-body .modal-photo-carousel {
    width: min(92vw, 440px, calc(52vh * 1.7778)) !important;
  }

  body:not(.admin-page) .media-modal-body .modal-media-frame,
  body:not(.admin-page) .media-modal-body .modal-photo-stage {
    width: min(92vw, 440px, calc(52vh * 1.7778)) !important;
    aspect-ratio: 16 / 9 !important;
    max-height: 52vh !important;
  }

  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-media-block,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel {
    width: min(76vw, 315px, calc(64vh * 0.5625)) !important;
  }

  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-media-frame,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage {
    width: min(76vw, 315px, calc(64vh * 0.5625)) !important;
    aspect-ratio: 9 / 16 !important;
    max-height: 64vh !important;
  }

  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-media-block,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel {
    width: min(80vw, 340px, calc(62vh * 0.8)) !important;
  }

  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-media-frame,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
    width: min(80vw, 340px, calc(62vh * 0.8)) !important;
    aspect-ratio: 4 / 5 !important;
    max-height: 62vh !important;
  }
}

/* 2026-07-03 lock vertical movement while viewing portrait photos. */
body.modal-open,
body.modal-open .media-modal,
body.modal-open .media-modal-panel,
body.modal-open .media-modal-body,
body.modal-open .modal-photo-carousel,
body.modal-open .modal-photo-stage {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

body.modal-open .media-modal-panel {
  max-height: calc(100svh - 18px) !important;
}

body.modal-open .modal-photo-stage,
body.modal-open .modal-media-frame {
  touch-action: none !important;
}

body.modal-open .modal-photo-thumbs {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  overscroll-behavior-inline: contain !important;
  overscroll-behavior-block: none !important;
  touch-action: pan-x !important;
}

@media (max-width: 768px) {
  body.modal-open .media-modal-panel {
    max-height: calc(100svh - 10px) !important;
  }
}

/* 2026-07-03 viewing frame 15% smaller, keeping portrait/landscape ratios. */
body:not(.admin-page) .modal-media-block,
body:not(.admin-page) .media-modal-body .modal-photo-carousel {
  width: min(780px, 76vw, calc(60vh * 1.7778)) !important;
}

body:not(.admin-page) .media-modal-body .modal-media-frame,
body:not(.admin-page) .media-modal-body .modal-photo-stage {
  width: min(780px, 76vw, calc(60vh * 1.7778)) !important;
  aspect-ratio: 16 / 9 !important;
  max-height: 60vh !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-media-block,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel {
  width: min(323px, 65vw, calc(61vh * 0.5625)) !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-media-frame,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage {
  width: min(323px, 65vw, calc(61vh * 0.5625)) !important;
  aspect-ratio: 9 / 16 !important;
  max-height: 61vh !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-media-block,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel {
  width: min(408px, 68vw, calc(61vh * 0.8)) !important;
}

body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-media-frame,
body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
  width: min(408px, 68vw, calc(61vh * 0.8)) !important;
  aspect-ratio: 4 / 5 !important;
  max-height: 61vh !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) .modal-media-block,
  body:not(.admin-page) .media-modal-body .modal-photo-carousel {
    width: min(78vw, 374px, calc(44vh * 1.7778)) !important;
  }

  body:not(.admin-page) .media-modal-body .modal-media-frame,
  body:not(.admin-page) .media-modal-body .modal-photo-stage {
    width: min(78vw, 374px, calc(44vh * 1.7778)) !important;
    aspect-ratio: 16 / 9 !important;
    max-height: 44vh !important;
  }

  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-media-block,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-carousel {
    width: min(65vw, 268px, calc(54vh * 0.5625)) !important;
  }

  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-media-frame,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="9/16"] .modal-photo-stage {
    width: min(65vw, 268px, calc(54vh * 0.5625)) !important;
    aspect-ratio: 9 / 16 !important;
    max-height: 54vh !important;
  }

  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-media-block,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-carousel {
    width: min(68vw, 289px, calc(53vh * 0.8)) !important;
  }

  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-media-frame,
  body:not(.admin-page) .media-modal-body[data-project-aspect-ratio="4/5"] .modal-photo-stage {
    width: min(68vw, 289px, calc(53vh * 0.8)) !important;
    aspect-ratio: 4 / 5 !important;
    max-height: 53vh !important;
  }
}

/* 2026-07-04 inline video player: larger frame, no fullscreen control. */
body:not(.admin-page) .modal-video-block {
  width: min(920px, 86vw, calc(68vh * 1.7778)) !important;
}

body:not(.admin-page) .media-modal-body .modal-video-frame {
  width: min(920px, 86vw, calc(68vh * 1.7778)) !important;
  aspect-ratio: 16 / 9 !important;
  max-height: 68vh !important;
}

body:not(.admin-page) .modal-inline-video {
  cursor: pointer !important;
}

body:not(.admin-page) .modal-inline-video::-webkit-media-controls-fullscreen-button,
body:not(.admin-page) .modal-inline-video::-webkit-media-controls-picture-in-picture-button,
body:not(.admin-page) .modal-inline-video::-webkit-media-controls-enclosure {
  display: none !important;
}

body:not(.admin-page) .modal-video-toggle {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  display: inline-grid;
  min-width: 76px;
  min-height: 76px;
  place-items: center;
  padding: 0 18px;
  color: #061021;
  background: rgba(245, 248, 255, 0.92);
  border: 1px solid rgba(127, 179, 255, 0.32);
  border-radius: 999px;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.32),
    0 0 32px rgba(77, 124, 254, 0.18);
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: opacity 220ms ease, transform 220ms ease, background 220ms ease;
  cursor: pointer;
}

body:not(.admin-page) .modal-video-toggle.is-playing {
  color: #f5f8ff;
  background: rgba(3, 8, 20, 0.64);
  backdrop-filter: blur(12px);
}

body:not(.admin-page) .modal-video-frame.video-playing.controls-idle .modal-video-toggle {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
}

@media (max-width: 768px) {
  body:not(.admin-page) .modal-video-block {
    width: min(90vw, 420px, calc(52vh * 1.7778)) !important;
  }

  body:not(.admin-page) .media-modal-body .modal-video-frame {
    width: min(90vw, 420px, calc(52vh * 1.7778)) !important;
    aspect-ratio: 16 / 9 !important;
    max-height: 52vh !important;
  }

  body:not(.admin-page) .modal-video-toggle {
    min-width: 64px;
    min-height: 64px;
    font-size: 13px;
  }
}

/* 2026-07-04 refined video control and horizontal contact panel. */
body:not(.admin-page) .modal-video-frame,
body:not(.admin-page) .modal-inline-video,
body:not(.admin-page) .modal-video-toggle {
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none !important;
}

body:not(.admin-page) .modal-inline-video:focus,
body:not(.admin-page) .modal-inline-video:focus-visible,
body:not(.admin-page) .modal-video-toggle:focus,
body:not(.admin-page) .modal-video-toggle:focus-visible {
  outline: none !important;
}

body:not(.admin-page) .modal-video-toggle {
  width: 58px !important;
  min-width: 58px !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 0 !important;
  color: transparent !important;
  background:
    radial-gradient(circle at 36% 26%, rgba(255, 255, 255, 0.2), transparent 34%),
    rgba(6, 13, 28, 0.58) !important;
  border: 1px solid rgba(245, 248, 255, 0.34) !important;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
  font-size: 0 !important;
  backdrop-filter: blur(16px) !important;
}

body:not(.admin-page) .modal-video-toggle:hover {
  background:
    radial-gradient(circle at 36% 26%, rgba(255, 255, 255, 0.25), transparent 34%),
    rgba(11, 22, 44, 0.68) !important;
  transform: translate(-50%, -50%) scale(1.04) !important;
}

body:not(.admin-page) .modal-video-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 22px;
}

body:not(.admin-page) .modal-video-icon::before,
body:not(.admin-page) .modal-video-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 180ms ease;
}

body:not(.admin-page) .modal-video-icon::before {
  left: 5px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid rgba(245, 248, 255, 0.95);
}

body:not(.admin-page) .modal-video-icon::after {
  display: none;
}

body:not(.admin-page) .modal-video-toggle.is-playing .modal-video-icon::before,
body:not(.admin-page) .modal-video-toggle.is-playing .modal-video-icon::after {
  display: block;
  top: 50%;
  width: 5px;
  height: 20px;
  border: 0;
  border-radius: 999px;
  background: rgba(245, 248, 255, 0.94);
}

body:not(.admin-page) .modal-video-toggle.is-playing .modal-video-icon::before {
  left: 4px;
}

body:not(.admin-page) .modal-video-toggle.is-playing .modal-video-icon::after {
  right: 4px;
}

body:not(.admin-page) .contact-orb-panel {
  display: grid !important;
  width: min(650px, calc(100vw - 126px)) !important;
  min-height: 156px !important;
  max-height: min(56vh, 260px) !important;
  grid-template-columns: minmax(210px, 1.15fr) 126px minmax(170px, 0.85fr) !important;
  grid-template-areas:
    "copy qr meta"
    "actions qr meta" !important;
  align-items: center !important;
  gap: 14px 18px !important;
  padding: 18px 20px !important;
  top: 50% !important;
  bottom: auto !important;
  right: 78px !important;
  left: auto !important;
  transform: translate(12px, -50%) scale(0.96) !important;
}

body:not(.admin-page) .contact-orb.left .contact-orb-panel {
  right: auto !important;
  left: 78px !important;
  transform: translate(-12px, -50%) scale(0.96) !important;
}

body:not(.admin-page) .contact-orb.open .contact-orb-panel,
body:not(.admin-page) .contact-orb.left.open .contact-orb-panel {
  transform: translate(0, -50%) scale(1) !important;
}

body:not(.admin-page) .contact-orb-copy {
  grid-area: copy !important;
  align-self: end !important;
  padding-right: 34px !important;
}

body:not(.admin-page) .contact-orb-copy strong {
  font-size: 20px !important;
}

body:not(.admin-page) .contact-orb-copy span {
  max-width: 18em !important;
}

body:not(.admin-page) .contact-orb-qr {
  grid-area: qr !important;
  width: 116px !important;
  height: 116px !important;
  align-self: center !important;
  justify-self: center !important;
}

body:not(.admin-page) .contact-orb-meta {
  grid-area: meta !important;
  align-self: center !important;
  justify-items: start !important;
  text-align: left !important;
}

body:not(.admin-page) .contact-orb-actions {
  grid-area: actions !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-self: start !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) .modal-video-toggle {
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
  }

  body:not(.admin-page) .contact-orb-panel,
  body:not(.admin-page) .contact-orb.left .contact-orb-panel {
    width: auto !important;
    min-height: 0 !important;
    max-height: min(58vh, 430px) !important;
    grid-template-columns: 92px 1fr !important;
    grid-template-areas:
      "qr copy"
      "qr meta"
      "actions actions" !important;
    align-items: center !important;
    gap: 12px 14px !important;
    padding: 16px !important;
    transform: translateY(18px) scale(0.98) !important;
  }

  body:not(.admin-page) .contact-orb.open .contact-orb-panel,
  body:not(.admin-page) .contact-orb.left.open .contact-orb-panel {
    transform: translateY(0) scale(1) !important;
  }

  body:not(.admin-page) .contact-orb-qr {
    width: 92px !important;
    height: 92px !important;
  }

  body:not(.admin-page) .contact-orb-copy {
    padding-right: 28px !important;
  }

  body:not(.admin-page) .contact-orb-copy strong {
    font-size: 18px !important;
  }

  body:not(.admin-page) .contact-orb-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* 2026-07-04 contact orb: airy horizontal contact dock. */
body:not(.admin-page) .contact-orb {
  z-index: 160 !important;
}

body:not(.admin-page) .contact-orb-button {
  overflow: visible !important;
  border-color: rgba(127, 179, 255, 0.46) !important;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.5),
    0 0 34px rgba(77, 124, 254, 0.18) !important;
}

body:not(.admin-page) .contact-orb-panel {
  display: grid !important;
  width: min(748px, calc(100vw - 138px)) !important;
  min-height: 174px !important;
  max-height: min(62vh, 280px) !important;
  overflow: visible !important;
  grid-template-columns: minmax(248px, 1.05fr) minmax(230px, 0.9fr) 118px !important;
  grid-template-areas:
    "copy meta qr"
    "actions actions qr" !important;
  align-items: center !important;
  gap: 14px 22px !important;
  padding: 22px 24px !important;
  top: 50% !important;
  bottom: auto !important;
  right: 80px !important;
  left: auto !important;
  color: #f5f8ff !important;
  background:
    radial-gradient(circle at 8% 14%, rgba(127, 179, 255, 0.14), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(77, 124, 254, 0.12), transparent 32%),
    rgba(3, 8, 20, 0.94) !important;
  border: 1px solid rgba(127, 179, 255, 0.26) !important;
  border-radius: 24px !important;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.54),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035) !important;
  transform: translate(14px, -50%) scale(0.965) !important;
}

body:not(.admin-page) .contact-orb.left .contact-orb-panel {
  right: auto !important;
  left: 80px !important;
  transform: translate(-14px, -50%) scale(0.965) !important;
}

body:not(.admin-page) .contact-orb.open .contact-orb-panel,
body:not(.admin-page) .contact-orb.left.open .contact-orb-panel {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translate(0, -50%) scale(1) !important;
}

body:not(.admin-page) .contact-orb-copy {
  grid-area: copy !important;
  display: grid !important;
  gap: 8px !important;
  align-self: center !important;
  padding: 0 !important;
  min-width: 0 !important;
}

body:not(.admin-page) .contact-orb-copy small {
  color: #7fb3ff !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: 0.2em !important;
}

body:not(.admin-page) .contact-orb-copy strong {
  color: #f5f8ff !important;
  font-size: 22px !important;
  line-height: 1.08 !important;
  letter-spacing: 0.02em !important;
}

body:not(.admin-page) .contact-orb-copy span {
  max-width: 22em !important;
  color: rgba(245, 248, 255, 0.66) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

body:not(.admin-page) .contact-orb-meta {
  grid-area: meta !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 8px !important;
  align-self: center !important;
  justify-items: stretch !important;
  min-width: 0 !important;
  color: rgba(245, 248, 255, 0.7) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

body:not(.admin-page) .contact-orb-meta span {
  grid-column: 1 / -1 !important;
  display: flex !important;
  min-height: 38px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 9px 11px !important;
  border: 1px solid rgba(127, 179, 255, 0.18) !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.035) !important;
}

body:not(.admin-page) .contact-orb-meta b {
  color: #f5f8ff !important;
  font-weight: 850 !important;
  letter-spacing: 0.04em !important;
}

body:not(.admin-page) .contact-orb-meta [data-copy-wechat],
body:not(.admin-page) .contact-orb-meta a {
  display: inline-flex !important;
  min-height: 36px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  color: #f5f8ff !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(127, 179, 255, 0.2) !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

body:not(.admin-page) .contact-orb-meta [data-copy-wechat] {
  color: #061021 !important;
  background: linear-gradient(135deg, #f5f8ff, #a9c9ff) !important;
}

body:not(.admin-page) .contact-orb-actions {
  grid-area: actions !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(138px, 180px)) !important;
  justify-content: start !important;
  gap: 10px !important;
  align-self: start !important;
}

body:not(.admin-page) .contact-orb-actions a {
  min-height: 42px !important;
  color: #061021 !important;
  background: linear-gradient(135deg, #f5f8ff, #a9c9ff) !important;
  border: 1px solid rgba(127, 179, 255, 0.34) !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body:not(.admin-page) .contact-orb-actions a:last-child {
  color: #f5f8ff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

body:not(.admin-page) .contact-orb-qr {
  grid-area: qr !important;
  width: 112px !important;
  height: 112px !important;
  align-self: center !important;
  justify-self: center !important;
  padding: 7px !important;
  background: #f5f8ff !important;
  border-radius: 17px !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25) !important;
}

body:not(.admin-page) .contact-orb-close {
  right: 12px !important;
  top: 12px !important;
  z-index: 2 !important;
  width: 28px !important;
  height: 28px !important;
  color: rgba(245, 248, 255, 0.78) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(127, 179, 255, 0.18) !important;
}

@media (min-width: 769px) and (max-width: 980px) {
  body:not(.admin-page) .contact-orb-panel {
    width: min(560px, calc(100vw - 126px)) !important;
    grid-template-columns: minmax(220px, 1fr) 104px !important;
    grid-template-areas:
      "copy qr"
      "meta qr"
      "actions actions" !important;
    gap: 12px 16px !important;
  }

  body:not(.admin-page) .contact-orb-qr {
    width: 100px !important;
    height: 100px !important;
  }
}

@media (max-width: 768px) {
  body:not(.admin-page) .contact-orb-panel,
  body:not(.admin-page) .contact-orb.left .contact-orb-panel {
    position: absolute !important;
    left: auto !important;
    right: 0 !important;
    top: auto !important;
    bottom: 72px !important;
    display: grid !important;
    width: min(360px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    grid-template-columns: 82px minmax(0, 1fr) !important;
    grid-template-areas:
      "qr copy"
      "qr meta"
      "actions actions" !important;
    align-items: center !important;
    gap: 10px 12px !important;
    padding: 15px !important;
    border-radius: 20px !important;
    transform: translateY(16px) scale(0.98) !important;
  }

  body:not(.admin-page) .contact-orb.left .contact-orb-panel {
    left: 0 !important;
    right: auto !important;
  }

  body:not(.admin-page) .contact-orb.open .contact-orb-panel,
  body:not(.admin-page) .contact-orb.left.open .contact-orb-panel {
    transform: translateY(0) scale(1) !important;
  }

  body:not(.admin-page) .contact-orb-copy {
    gap: 4px !important;
    padding-right: 28px !important;
  }

  body:not(.admin-page) .contact-orb-copy small {
    display: none !important;
  }

  body:not(.admin-page) .contact-orb-copy strong {
    font-size: 18px !important;
  }

  body:not(.admin-page) .contact-orb-copy span {
    max-width: none !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  body:not(.admin-page) .contact-orb-qr {
    width: 78px !important;
    height: 78px !important;
    padding: 5px !important;
    border-radius: 14px !important;
  }

  body:not(.admin-page) .contact-orb-meta {
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
    font-size: 12px !important;
  }

  body:not(.admin-page) .contact-orb-meta span {
    min-height: 32px !important;
    padding: 7px 9px !important;
  }

  body:not(.admin-page) .contact-orb-meta [data-copy-wechat],
  body:not(.admin-page) .contact-orb-meta a {
    min-height: 34px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }

  body:not(.admin-page) .contact-orb-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body:not(.admin-page) .contact-orb-actions a {
    min-height: 38px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 374px) {
  body:not(.admin-page) .contact-orb-panel,
  body:not(.admin-page) .contact-orb.left .contact-orb-panel {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 8px 10px !important;
    padding: 12px !important;
  }

  body:not(.admin-page) .contact-orb-qr {
    width: 68px !important;
    height: 68px !important;
  }

  body:not(.admin-page) .contact-orb-copy strong {
    font-size: 16px !important;
  }
}

/* 2026-07-04 photo live: keep portrait good, make landscape photos breathe. */
body:not(.admin-page) .media-modal-body:not([data-project-aspect-ratio="9/16"]):not([data-project-aspect-ratio="4/5"]) .modal-photo-carousel {
  width: min(980px, 88vw, calc(66vh * 1.7778)) !important;
  gap: 12px !important;
  justify-items: center !important;
}

body:not(.admin-page) .media-modal-body:not([data-project-aspect-ratio="9/16"]):not([data-project-aspect-ratio="4/5"]) .modal-photo-stage {
  width: min(980px, 88vw, calc(66vh * 1.7778)) !important;
  aspect-ratio: 16 / 9 !important;
  max-height: 66vh !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(127, 179, 255, 0.1), transparent 42%),
    rgba(2, 7, 18, 0.36) !important;
  border: 1px solid rgba(127, 179, 255, 0.12) !important;
  border-radius: 16px !important;
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025) !important;
}

body:not(.admin-page) .media-modal-body:not([data-project-aspect-ratio="9/16"]):not([data-project-aspect-ratio="4/5"]) .modal-photo-stage > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 13px !important;
  background: transparent !important;
}

body:not(.admin-page) .modal-photo-stage {
  transition: width 220ms ease, max-height 220ms ease, border-color 220ms ease, box-shadow 220ms ease !important;
}

body:not(.admin-page) .modal-photo-stage > img {
  transition: opacity 180ms ease, transform 220ms ease !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) .media-modal-body:not([data-project-aspect-ratio="9/16"]):not([data-project-aspect-ratio="4/5"]) .modal-photo-carousel {
    width: min(92vw, 440px) !important;
  }

  body:not(.admin-page) .media-modal-body:not([data-project-aspect-ratio="9/16"]):not([data-project-aspect-ratio="4/5"]) .modal-photo-stage {
    width: min(92vw, 440px) !important;
    aspect-ratio: 16 / 9 !important;
    max-height: 46vh !important;
    border-radius: 14px !important;
  }

body:not(.admin-page) .media-modal-body:not([data-project-aspect-ratio="9/16"]):not([data-project-aspect-ratio="4/5"]) .modal-photo-stage > img {
    border-radius: 11px !important;
  }
}

/* 2026-07-04: smoother case modal close + centered sticky mobile case categories. */
body:not(.admin-page) .media-modal {
  background: rgba(2, 6, 14, 0.01) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 200ms ease !important;
}

body:not(.admin-page) .media-modal.open,
body:not(.admin-page) .media-modal.closing {
  display: grid !important;
  place-items: center !important;
}

body:not(.admin-page) .media-modal.open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

body:not(.admin-page) .media-modal.closing {
  opacity: 0 !important;
  pointer-events: none !important;
}

body:not(.admin-page) .media-modal-panel {
  transform: translateY(0) scale(1) !important;
  transition: transform 200ms ease, opacity 200ms ease !important;
}

body:not(.admin-page) .media-modal.closing .media-modal-panel {
  opacity: 0.98 !important;
  transform: translateY(6px) scale(0.992) !important;
}

@media (max-width: 768px) {
  body:not(.admin-page) .mobile-case-shell {
    align-items: stretch !important;
  }

  body:not(.admin-page) .mobile-case-side-nav {
    top: 50svh !important;
    max-height: min(62svh, 500px) !important;
    align-self: flex-start !important;
    transform: translateY(-50%) !important;
  }

  body:not(.admin-page) .mobile-case-side-nav button.active {
    transform: translateX(2px) !important;
  }
}

/* 2026-07-04 final mobile side category rail. It follows the case list and stays visually centered. */
@media (max-width: 768px) {
  body:not(.admin-page) .work.case-library,
  body:not(.admin-page) .project-grid.mobile-side-case-grid,
  body:not(.admin-page) .mobile-case-shell {
    overflow: visible !important;
  }

  body:not(.admin-page) .mobile-case-shell {
    grid-template-columns: 68px minmax(0, 1fr) !important;
    gap: 11px !important;
    align-items: start !important;
  }

  body:not(.admin-page) .mobile-case-side-nav {
    position: sticky !important;
    top: var(--mobile-side-nav-top, 148px) !important;
    align-self: start !important;
    width: 68px !important;
    max-height: min(72svh, 460px) !important;
    transform: none !important;
    will-change: top !important;
  }

  body:not(.admin-page) .mobile-case-side-nav button {
    min-height: 62px !important;
    padding: 7px 5px !important;
    font-size: 12px !important;
  }

  body:not(.admin-page) .mobile-case-side-nav button.active {
    transform: none !important;
  }
}

/* 2026-07-04 mobile side rail: follows the case area with transform updates. */
@media (max-width: 768px) {
  body:not(.admin-page) .mobile-case-shell {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 68px minmax(0, 1fr) !important;
    gap: 11px !important;
    align-items: start !important;
    overflow: visible !important;
    contain: layout !important;
  }

  body:not(.admin-page) .mobile-case-side-nav {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 8 !important;
    width: 68px !important;
    max-height: min(68svh, 430px) !important;
    transform: translate3d(0, var(--mobile-side-nav-y, 0px), 0) !important;
    -webkit-transform: translate3d(0, var(--mobile-side-nav-y, 0px), 0) !important;
    will-change: transform !important;
    align-self: start !important;
  }

  body:not(.admin-page) .mobile-case-content {
    grid-column: 2 !important;
    min-width: 0 !important;
  }

  body:not(.admin-page) .mobile-side-case-list .project-card,
  body:not(.admin-page) .mobile-side-case-list .photo-live-case-card {
    transform: none !important;
    backface-visibility: hidden;
  }
}

/* 2026-07-04 final override: cooperation logo upload wall. */
body:not(.admin-page) .trust .logo-wall {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body:not(.admin-page) .trust .logo-wall .client-logo-item,
body:not(.admin-page) .trust .logo-wall .client-logo-placeholder,
body:not(.admin-page) .trust .logo-wall > span {
  display: grid !important;
  min-height: 86px !important;
  margin: 0 !important;
  padding: 18px !important;
  place-items: center !important;
  color: rgba(226, 235, 255, 0.52) !important;
  border: 1px solid rgba(128, 166, 232, 0.14) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(10, 22, 43, 0.72), rgba(4, 10, 21, 0.9)),
    radial-gradient(circle at 50% 0%, rgba(98, 145, 230, 0.16), transparent 58%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 14px 30px rgba(0, 0, 0, 0.18) !important;
}

body:not(.admin-page) .trust .logo-wall .client-logo-item img {
  display: block !important;
  width: min(78%, 150px) !important;
  max-height: 42px !important;
  object-fit: contain !important;
  filter: grayscale(1) brightness(1.18) !important;
  opacity: 0.9 !important;
}

body:not(.admin-page) .trust .logo-wall .client-logo-placeholder,
body:not(.admin-page) .trust .logo-wall > span {
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: 0.12em !important;
}

@media (max-width: 900px) {
  body:not(.admin-page) .trust .logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  body:not(.admin-page) .trust .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body:not(.admin-page) .trust .logo-wall .client-logo-item,
  body:not(.admin-page) .trust .logo-wall .client-logo-placeholder,
  body:not(.admin-page) .trust .logo-wall > span {
    min-height: 62px !important;
    padding: 13px !important;
    border-radius: 12px !important;
  }

  body:not(.admin-page) .trust .logo-wall .client-logo-item img {
    max-height: 34px !important;
  }
}
