:root {
  --bg: #1e282d;
  --bg-deep: #162126;
  --surface: #344149;
  --surface-soft: #a9bdc7;
  --surface-pale: #c7d7dd;
  --text: #e7f1f5;
  --text-body: #aec1ca;
  --text-dark: #1c2a30;
  --line: rgba(181, 205, 215, .34);
  --cyan: #66e8fa;
  --cyan-dark: #0d7586;
  --green: #bce8b2;
  --page-pad: clamp(20px, 4vw, 72px);
  --max-width: 1540px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img, video { display: block; max-width: 100%; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; padding: 12px 18px; border-radius: 10px; background: var(--cyan); color: var(--text-dark); transition: top .2s ease; }
.skip-link:focus { top: 16px; }

.projects-hero {
  position: relative;
  min-height: max(700px, calc(100svh - 47px));
  max-height: 980px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 68% 58% at 84% 4%, rgba(17, 43, 59, .32), rgba(6, 17, 25, .13) 52%, transparent 78%),
    #02070b;
}
.projects-page .projects-hero::before {
  content: none;
}
.projects-hero__media,
.projects-hero__scrim { position: absolute; inset: 0; }
.projects-hero__media { z-index: -2; overflow: hidden; pointer-events: none; background: transparent; }
.projects-page .projects-hero__media {
  inset: 0 0 auto auto;
  width: min(72vw, 1320px);
  height: min(74%, 760px);
}
.projects-page .projects-hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 54% 49%;
  opacity: 1;
  filter: contrast(1.1) saturate(1.12) brightness(1.05);
}
.projects-hero__media video::-webkit-media-controls,
.projects-hero__media video::-webkit-media-controls-enclosure,
.projects-hero__media video::-webkit-media-controls-panel,
.projects-hero__media video::-webkit-media-controls-overlay-play-button,
.projects-hero__media video::-webkit-media-controls-start-playback-button { display: none !important; opacity: 0 !important; -webkit-appearance: none; }
.projects-hero__media.is-poster video { opacity: 0; }
.projects-page .projects-hero__scrim {
  background:
    linear-gradient(
      90deg,
      rgba(2, 7, 11, 1) 0%,
      rgba(2, 7, 11, .9) 11%,
      rgba(2, 7, 11, .48) 28%,
      rgba(2, 7, 11, .12) 45%,
      rgba(2, 6, 10, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(2, 6, 10, 0) 0%,
      rgba(2, 6, 10, 0) 58%,
      rgba(2, 7, 11, .28) 76%,
      rgba(2, 7, 11, 1) 100%
    );
}

.projects-page [data-projects-home-nav] .nav__wrapper,
.projects-page [data-projects-home-nav] .m-nav__top-wrapper {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
}
.projects-page > [data-projects-home-nav] {
  position: absolute;
  inset: 0 0 auto;
  z-index: 12;
  height: 0;
}
.projects-page [data-projects-home-nav] .nav__wrapper,
.projects-page [data-projects-home-nav] .mobile_nav,
.projects-page [data-projects-home-nav] .nav__overlay,
.projects-page [data-projects-home-nav] .m-nav__top-wrapper {
  position: absolute !important;
  inset: 0 0 auto !important;
  z-index: 12 !important;
}
.projects-page [data-projects-home-nav] .nav__overlay {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
}
.projects-page [data-projects-home-nav] .nav__wrapper::before,
.projects-page [data-projects-home-nav] .nav__wrapper::after,
.projects-page [data-projects-home-nav] .m-nav__top-wrapper::before,
.projects-page [data-projects-home-nav] .m-nav__top-wrapper::after,
.projects-page [data-projects-home-nav] .nav__overlay::before,
.projects-page [data-projects-home-nav] .nav__overlay::after {
  content: none !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
}
.projects-page [data-projects-home-nav] [data-projects-logo-home]:focus-visible {
  outline: 2px solid rgba(117, 220, 232, .62);
  outline-offset: 4px;
  border-radius: 4px;
}
.projects-page [data-projects-home-nav] [data-projects-logo-home] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.projects-page [data-projects-home-nav] .projects-language-switch {
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #e7f1f5;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  transform: translateX(-2em);
  transition: color .2s ease;
}
.projects-page [data-projects-home-nav] .projects-language-switch:hover {
  color: #66e8fa;
}
.projects-page [data-projects-home-nav] .projects-language-switch:lang(en) {
  font-family: "Et Mono", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: -.026em;
  text-transform: uppercase;
}
.projects-page [data-projects-home-nav] .projects-language-switch:focus-visible {
  outline: 2px solid rgba(102, 232, 250, .76);
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  /*
   * The shared mobile-nav stylesheet hides the single global cursor below
   * 992px even when the device still has a real mouse. Keep the same cursor
   * node and hover bindings active for every fine-pointer projects viewport.
   */
  .projects-page .custom__cursor {
    display: flex !important;
  }

  .projects-page [data-projects-home-nav] [data-projects-logo-home] {
    cursor: none !important;
  }

  /*
   * Reuse the one homepage cursor node for the Logo hover state. The existing
   * pointer-follow listener keeps positioning it; this selector only applies
   * the homepage's established white-circle appearance, so no Logo-specific
   * cursor node or event listener is needed.
   */
  .projects-page
    [data-projects-home-nav]:has([data-projects-logo-home]:hover)
    .custom__cursor-img {
    clip-path: polygon(
      52% 0,
      0 0,
      0 44%,
      0 67%,
      0 100%,
      35% 100%,
      65% 100%,
      100% 100%,
      100% 70%,
      100% 40%,
      100% 0,
      81% 0
    );
    transform: rotate(90deg);
    border-radius: 100px;
    background-color: white;
    background-image: none;
    width: 1.2em !important;
    height: 1.2em !important;
    opacity: 1;
  }

  .projects-page
    [data-projects-home-nav]:has([data-projects-logo-home]:hover)
    .cursor__wrap {
    mix-blend-mode: difference;
  }
}
@media (min-width: 992px) {
  .projects-page [data-projects-home-nav] [data-projects-logo-home] {
    min-height: 55px;
  }
}
.projects-hero__inner {
  width: min(100%, var(--max-width));
  min-height: inherit;
  max-height: inherit;
  margin: 0 auto;
  padding: clamp(94px, 11vh, 132px) var(--page-pad) clamp(26px, 3.2vh, 42px);
  display: flex;
  flex-direction: column;
}
.projects-hero__copy { width: min(820px, 69%); min-width: 0; transform: translateY(20%); }
.eyebrow { margin: 0 0 24px; color: rgba(174, 193, 202, .68); font-size: clamp(12px, .9vw, 16px); line-height: 1.5; letter-spacing: .03em; }
.projects-hero h1 { margin: 0; font-size: clamp(58px, 7.25vw, 112px); line-height: 1.4; letter-spacing: -.06em; color: var(--text); text-wrap: balance; }
.projects-hero h1 span { display: block; white-space: nowrap; }
.projects-hero h1 .hero-title-period { display: inline-block; transform: translateX(.1em); }
.projects-hero__note {
  position: absolute;
  right: clamp(40px, 4vw, 56px);
  bottom: clamp(14px, 1.8vh, 20px);
  max-width: min(430px, 42vw);
  margin: 0;
  color: rgba(174, 193, 202, .5);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .01em;
  text-align: right;
  pointer-events: none;
}
.benchmark-panel { min-width: 0; margin-top: auto; }
.benchmark-panel__controls { min-height: 52px; display: flex; align-items: center; }
.mode-tabs { display: flex; align-items: center; gap: 10px; }
.projects-page:not(.projects-page--en) .mode-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13.2px;
}
.projects-page:not(.projects-page--en) .mode-tabs {
  gap: 20px;
  transform: translateY(-20%);
}
.mode-tabs button {
  min-width: 132px;
  min-height: 46px;
  padding: 0 20px;
  appearance: none;
  border: 0;
  border-radius: 12px;
  outline: 0;
  background: linear-gradient(180deg, rgba(22, 35, 42, .98) 0%, rgba(10, 20, 26, .98) 100%);
  color: rgba(235, 243, 246, .78);
  box-shadow:
    0 5px 10px rgba(0, 0, 0, .30),
    0 10px 24px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -1px 0 rgba(0, 0, 0, .24);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  cursor: pointer;
  transform: translateY(0);
  transition:
    color .22s ease,
    background .22s ease,
    box-shadow .22s ease,
    transform .14s ease;
}
.mode-tabs button[aria-selected="true"] {
  background: linear-gradient(180deg, #6ce8f6 0%, #47cfe3 100%);
  color: #06232a;
  box-shadow:
    0 5px 12px rgba(0, 0, 0, .28),
    0 5px 16px rgba(70, 210, 230, .12),
    inset 0 1px 0 rgba(255, 255, 255, .34),
    inset 0 -2px 0 rgba(4, 83, 97, .18);
}
@media (hover: hover) and (pointer: fine) {
  .mode-tabs button:hover {
    transform: translateY(-1px);
  }
  .mode-tabs button[aria-selected="false"]:hover {
    background: linear-gradient(180deg, rgba(29, 44, 52, .99) 0%, rgba(13, 25, 31, .99) 100%);
    color: rgba(241, 247, 249, .88);
    box-shadow:
      0 6px 12px rgba(0, 0, 0, .32),
      0 12px 26px rgba(0, 0, 0, .20),
      inset 0 1px 0 rgba(255, 255, 255, .10),
      inset 0 -1px 0 rgba(0, 0, 0, .24);
  }
  .mode-tabs button[aria-selected="true"]:hover {
    box-shadow:
      0 6px 13px rgba(0, 0, 0, .30),
      0 6px 18px rgba(70, 210, 230, .14),
      inset 0 1px 0 rgba(255, 255, 255, .36),
      inset 0 -2px 0 rgba(4, 83, 97, .18);
  }
}
.mode-tabs button:active {
  transform: translateY(1px);
  transition-duration: .12s;
  box-shadow:
    0 2px 5px rgba(0, 0, 0, .30),
    0 5px 11px rgba(0, 0, 0, .16),
    inset 0 1px 0 rgba(255, 255, 255, .06),
    inset 0 -2px 0 rgba(0, 0, 0, .28);
}
.mode-tabs button[aria-selected="false"]:active {
  box-shadow:
    0 2px 5px rgba(0, 0, 0, .30),
    0 5px 11px rgba(0, 0, 0, .16),
    inset 0 1px 0 rgba(255, 255, 255, .06),
    inset 0 -2px 0 rgba(0, 0, 0, .28);
}
.mode-tabs button[aria-selected="true"]:active {
  box-shadow:
    0 2px 6px rgba(0, 0, 0, .28),
    0 3px 9px rgba(70, 210, 230, .10),
    inset 0 1px 0 rgba(255, 255, 255, .24),
    inset 0 -2px 0 rgba(4, 83, 97, .24);
}
.mode-tabs button:focus-visible {
  outline: 0;
  box-shadow:
    0 5px 10px rgba(0, 0, 0, .30),
    0 10px 24px rgba(0, 0, 0, .18),
    0 0 0 2px rgba(207, 233, 237, .32),
    0 0 14px rgba(207, 233, 237, .12),
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -1px 0 rgba(0, 0, 0, .24);
}
.mode-tabs button[aria-selected="true"]:focus-visible {
  box-shadow:
    0 5px 12px rgba(0, 0, 0, .28),
    0 5px 16px rgba(70, 210, 230, .12),
    0 0 0 2px rgba(221, 241, 244, .34),
    0 0 14px rgba(207, 233, 237, .12),
    inset 0 1px 0 rgba(255, 255, 255, .34),
    inset 0 -2px 0 rgba(4, 83, 97, .18);
}

.benchmark-panel__body { min-height: 164px; margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(34px, 5vw, 84px); }
.benchmark-panel__body.is-ai-data { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benchmark-stat { min-width: 0; padding: 0; display: flex; flex-direction: column; }
.benchmark-stat__micro { color: rgba(102, 232, 250, .78); font-size: 10px; font-weight: 800; line-height: 1.25; letter-spacing: .13em; }
.benchmark-stat__value { margin-top: 12px; display: flex; align-items: flex-end; color: var(--text); font-size: clamp(54px, 5vw, 78px); font-weight: 900; line-height: 1; letter-spacing: -.06em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.odometer-digit { width: .62em; height: 1em; display: inline-block; flex: 0 0 .62em; overflow: hidden; line-height: 1em; contain: paint; }
.odometer-digit__track { display: flex; flex-direction: column; will-change: transform, filter; }
.odometer-digit__track > span { height: 1em; display: block; flex: 0 0 1em; line-height: 1em; text-align: center; }
.odometer-digit__track.is-spinning { filter: blur(.85px); }
.odometer-symbol { height: 1em; display: inline-block; flex: 0 0 auto; line-height: 1em; }
.benchmark-panel__body.is-ai-data .benchmark-stat__value { font-size: clamp(42px, 3.7vw, 60px); }
.benchmark-stat h3 { margin: 15px 0 0; color: rgba(231, 241, 245, .94); font-size: clamp(14px, 1vw, 17px); line-height: 1.2; }
.projects-page--en .benchmark-stat h3 { font-size: clamp(12.6px, .9vw, 15.3px); }

.selected-projects {
  position: relative;
  isolation: isolate;
  width: calc(100% - .8vw);
  margin-inline: .4vw;
  padding: clamp(72px, 7vw, 106px) var(--page-pad) clamp(64px, 5vw, 82px);
  border-radius: 1.14vw 1.14vw 0 0;
  overflow: visible;
  background-color: #92a6b0;
  background-image:
    linear-gradient(180deg, rgba(241, 247, 249, .07) 0%, rgba(235, 243, 246, .035) 6%, rgba(59, 78, 87, .025) 12%, rgba(44, 63, 72, .075) 24%, rgba(44, 63, 72, .085) 100%),
    radial-gradient(ellipse 46% 9% at 50% 13%, rgba(232, 242, 245, .16) 0%, rgba(232, 242, 245, .07) 38%, rgba(232, 242, 245, .025) 62%, transparent 82%),
    radial-gradient(ellipse 46% 9% at 50% 38%, rgba(232, 242, 245, .145) 0%, rgba(232, 242, 245, .062) 40%, rgba(232, 242, 245, .022) 64%, transparent 82%),
    radial-gradient(ellipse 46% 9% at 50% 63%, rgba(232, 242, 245, .145) 0%, rgba(232, 242, 245, .062) 40%, rgba(232, 242, 245, .022) 64%, transparent 82%),
    radial-gradient(ellipse 46% 9% at 50% 88%, rgba(232, 242, 245, .13) 0%, rgba(232, 242, 245, .055) 40%, rgba(232, 242, 245, .02) 64%, transparent 82%);
  color: var(--text-dark);
}
.selected-projects::before,
.selected-projects::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
}
.selected-projects::before {
  background:
    linear-gradient(90deg, rgba(35, 52, 60, .075) 0%, rgba(35, 52, 60, .025) 10%, transparent 23%, transparent 77%, rgba(35, 52, 60, .025) 90%, rgba(35, 52, 60, .075) 100%),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, .018) 8%, rgba(38, 56, 64, .032) 100%);
}
.selected-projects::after {
  background-image: radial-gradient(circle at 1px 1px, rgba(35, 52, 60, .16) .45px, transparent .72px);
  background-size: 9px 9px;
  opacity: .2;
}
.selected-projects > * {
  position: relative;
  z-index: 1;
}
.section-heading { width: min(100%, 1180px); margin: 0 auto clamp(34px, 4vw, 52px); display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 1.7vw, 26px); text-align: center; }
.section-heading__context { width: min(100%, 900px); margin: 0; color: rgba(28, 42, 48, .55); font-size: clamp(14px, 1vw, 16px); font-weight: 400; line-height: 1.7; letter-spacing: 0; text-align: center; text-wrap: balance; }
.projects-page--en .projects-hero__copy { width: min(1100px, 85%); transform: translateY(90%); }
.projects-page--en .projects-hero h1 { font-size: clamp(37.44px, 4.32vw, 66.24px); line-height: 1.236; letter-spacing: -.054em; }
.projects-page--en .projects-hero h1 .hero-reveal:nth-child(2) {
  margin-top: .04em;
  margin-left: 0;
  font-size: 1.133333em;
}
.projects-page--en .section-heading__context--bracketed {
  width: min(100%, 1180px);
  font-size: clamp(11px, .8vw, 14px);
  letter-spacing: .025em;
  white-space: nowrap;
}
.projects-page--en .section-heading__context--bracketed::before { content: "[ "; }
.projects-page--en .section-heading__context--bracketed::after { content: " ]"; }
.section-heading h2 { margin: 0; font-size: clamp(44px, 6vw, 88px); line-height: .94; letter-spacing: -.055em; }
.project-stack { width: min(100%, 1180px); margin: auto; padding-bottom: 16px; }
.project-shell { position: sticky; top: var(--sticky-top, 75px); z-index: calc(var(--card-index) + 1); min-height: 0; margin-bottom: 8vh; scroll-margin-top: 110px; }
.project-shell:last-child { margin-bottom: 0; }
.project-card { --case-accent: var(--cyan); position: relative; padding: 20px; overflow: hidden; border: 2px solid color-mix(in srgb, var(--case-accent) 58%, rgba(215, 228, 234, .72)); border-radius: 38px; color: var(--text); background-color: var(--bg-deep); background-image: radial-gradient(circle at 1px 1px, rgba(174, 193, 202, .075) 1px, transparent 1px); background-size: 16px 16px; box-shadow: 0 14px 32px rgba(28, 45, 53, .12), 0 34px 78px rgba(28, 45, 53, .15); transform-origin: top center; }
.project-card__top { min-height: 78px; padding: 2px 4px 17px; display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 18px; }
.project-card__number { color: var(--case-accent); font-size: 42px; font-weight: 900; line-height: 1; letter-spacing: -.05em; }
.project-card h3 { margin: 0; color: #e7f1f5; font-size: clamp(25px, 2.25vw, 34px); line-height: 1.05; letter-spacing: -.025em; }
.project-card__videos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.video-tile { position: relative; aspect-ratio: 9 / 16; min-width: 0; overflow: hidden; padding: 0; border: 1px solid color-mix(in srgb, var(--case-accent) 30%, rgba(215, 228, 234, .22)); border-radius: 24px; background: #26343a; color: var(--text); cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.video-tile:hover, .video-tile:focus-visible { border-color: var(--case-accent); box-shadow: 0 0 18px color-mix(in srgb, var(--case-accent) 18%, transparent); transform: translateY(-2px); }
.video-tile:focus-visible { outline: 2px solid var(--case-accent); outline-offset: 3px; }
.video-tile video { width: 100%; height: 100%; object-fit: cover; background: #26343a; pointer-events: none; }
.video-tile__play { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; display: grid; place-content: center; border: 1px solid color-mix(in srgb, var(--case-accent) 58%, rgba(215, 228, 234, .58)); border-radius: 50%; background: rgba(22, 33, 38, .62); box-shadow: 0 0 18px color-mix(in srgb, var(--case-accent) 12%, transparent); transform: translate(-50%, -50%); backdrop-filter: blur(8px); transition: transform .2s ease, background .2s ease; }
.video-tile__play i { width: 0; height: 0; margin-left: 4px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid var(--case-accent); }
.video-tile:hover .video-tile__play { background: rgba(22, 33, 38, .82); transform: translate(-50%, -50%) scale(1.06); }
.video-tile.is-playing .video-tile__play { opacity: 0; }
.video-tile__index { position: absolute; right: 13px; top: 13px; color: rgba(215, 228, 234, .72); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.projects-empty { width: min(100%, 1180px); margin: 0 auto; padding: 60px; border: 1px solid rgba(28, 42, 48, .22); border-radius: 30px; text-align: center; }

.site-footer { min-height: 72px; padding: 18px var(--page-pad); display: flex; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid rgba(181, 205, 215, .17); background: var(--bg-deep); color: rgba(174, 193, 202, .7); font-size: 12px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 34px; }

.projects-page .projects-back-to-top-positioner {
  position: fixed;
  right: 32px;
  bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  width: 122px;
  height: 48px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-30%) translateY(10px) scale(.96);
  transition:
    opacity .24s ease-out,
    visibility 0s linear .24s,
    transform .24s ease-out,
    bottom .22s ease;
}
.projects-page .projects-back-to-top {
  width: 100%;
  height: 100%;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  appearance: none;
  border: 0;
  border-radius: 12px;
  outline: 0;
  background: linear-gradient(180deg, rgba(22, 35, 42, .98) 0%, rgba(10, 20, 26, .98) 100%);
  color: rgba(235, 243, 246, .82);
  box-shadow:
    0 5px 10px rgba(0, 0, 0, .30),
    0 10px 24px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -1px 0 rgba(0, 0, 0, .24);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .04em;
  cursor: pointer;
  transition:
    transform .24s ease-out,
    color .22s ease,
    background .22s ease,
    box-shadow .22s ease;
}
.projects-page .projects-back-to-top svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .22s ease;
}
@media (min-width: 769px) {
  .projects-page--en .projects-back-to-top {
    position: relative;
    padding-inline: 8px;
  }
  .projects-page--en .projects-back-to-top svg {
    display: none;
  }
  .projects-page--en .projects-back-to-top span {
    width: 100%;
    font-size: 14.08px;
    text-align: center;
    white-space: nowrap;
  }
}
.projects-page .projects-back-to-top-positioner.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-30%) translateY(0) scale(1);
  transition-delay: 0s;
}
.projects-page .projects-back-to-top-positioner.is-footer-visible {
  bottom: calc(104px + env(safe-area-inset-bottom, 0px));
}
@media (hover: hover) and (pointer: fine) {
  .projects-page .projects-back-to-top-positioner.is-visible .projects-back-to-top:hover {
    background: linear-gradient(180deg, #6ce8f6 0%, #47cfe3 100%);
    color: #06232a;
    box-shadow:
      0 6px 13px rgba(0, 0, 0, .30),
      0 6px 18px rgba(70, 210, 230, .14),
      inset 0 1px 0 rgba(255, 255, 255, .36),
      inset 0 -2px 0 rgba(4, 83, 97, .18);
    transform: translateY(-1px) scale(1);
  }
  .projects-page .projects-back-to-top-positioner.is-visible .projects-back-to-top:hover svg { stroke: #06232a; }
}
.projects-page .projects-back-to-top-positioner.is-visible .projects-back-to-top:active {
  transform: translateY(1px) scale(1);
  transition-duration: .12s;
  box-shadow:
    0 2px 5px rgba(0, 0, 0, .30),
    0 5px 11px rgba(0, 0, 0, .16),
    inset 0 1px 0 rgba(255, 255, 255, .06),
    inset 0 -2px 0 rgba(0, 0, 0, .28);
}
.projects-page .projects-back-to-top:focus-visible {
  outline: 0;
  box-shadow:
    0 5px 10px rgba(0, 0, 0, .30),
    0 10px 24px rgba(0, 0, 0, .18),
    0 0 0 2px rgba(207, 233, 237, .32),
    0 0 14px rgba(207, 233, 237, .12),
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -1px 0 rgba(0, 0, 0, .24);
}

@media (min-width: 761px) and (max-height: 800px) {
  .projects-hero { min-height: 700px; }
  .projects-hero__inner { padding-top: 82px; padding-bottom: 24px; }
  .projects-hero h1 { font-size: clamp(56px, 6.7vw, 94px); }
  .benchmark-panel__body { min-height: 150px; }
  .project-stack { max-width: 1080px; }
  .project-card { padding: 17px; }
  .project-card__top { min-height: 68px; padding-bottom: 14px; }
}

@media (min-width: 1024px) {
  .projects-page {
    --projects-hero-video-width: 1280px;
    --projects-hero-video-height: 720px;
    --projects-hero-video-top: 0px;
    --projects-hero-video-right: 0px;
  }
  .projects-page .projects-hero__media {
    inset: var(--projects-hero-video-top) var(--projects-hero-video-right) auto auto;
    width: var(--projects-hero-video-width);
    height: var(--projects-hero-video-height);
  }
}

@media (max-width: 1100px) {
  .projects-hero__copy { width: min(760px, 82%); }
  .projects-hero h1 { font-size: clamp(56px, 8.5vw, 88px); }
  .benchmark-panel__body { gap: clamp(22px, 3vw, 40px); }
}

@media (max-width: 760px) {
  :root { --page-pad: 18px; }
  .projects-page--en [data-projects-home-nav] .projects-language-switch:lang(zh-CN) {
    transform: none;
  }
  .projects-hero { min-height: auto; max-height: none; }
  .projects-page .projects-hero__media {
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .projects-page .projects-hero__media video {
    inset: 9.5% 0;
    width: 100%;
    height: 81%;
    object-position: 55% 50%;
    opacity: 1;
    filter: contrast(1.08) saturate(1.09) brightness(1.04);
  }
  .projects-page .projects-hero__scrim {
    background:
      linear-gradient(90deg, rgba(2, 6, 10, .74) 0%, rgba(2, 6, 10, .58) 38%, rgba(2, 6, 10, .26) 70%, rgba(2, 6, 10, .1) 100%),
      linear-gradient(180deg, rgba(2, 6, 10, 0) 0%, rgba(2, 6, 10, 0) calc(100% - 180px), rgba(2, 6, 10, .24) calc(100% - 126px), rgba(2, 6, 10, .88) 100%);
  }
  .projects-hero__inner { min-height: 720px; max-height: none; padding-top: 108px; padding-bottom: 26px; }
  .projects-hero__copy { width: 100%; }
  .projects-hero h1 { width: auto; max-width: none; font-size: clamp(38px, 10.2vw, 44px); line-height: 1.4; }
  .projects-hero h1 span { white-space: normal; }
  .projects-page--en .projects-hero__copy { width: 100%; }
  .projects-page--en .projects-hero h1 {
    font-size: clamp(18.72px, 5.328vw, 24.48px);
    line-height: 1.272;
    letter-spacing: -.0405em;
  }
  .projects-page--en .projects-hero h1 .hero-reveal:nth-child(2) {
    margin-left: 0;
  }
  .projects-page--en .projects-hero h1 span { white-space: nowrap; }
  .projects-hero__note {
    right: var(--page-pad);
    bottom: 14px;
    max-width: calc(100% - (var(--page-pad) * 2));
    font-size: 10px;
    line-height: 1.45;
  }
  .benchmark-panel { margin-top: 92px; }
  .benchmark-panel__controls { min-height: 50px; }
  .mode-tabs { width: 100%; gap: 8px; }
  .mode-tabs button {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    font-size: 9px;
    box-shadow:
      0 4px 8px rgba(0, 0, 0, .27),
      0 7px 14px rgba(0, 0, 0, .14),
      inset 0 1px 0 rgba(255, 255, 255, .07),
      inset 0 -1px 0 rgba(0, 0, 0, .22);
  }
  .projects-page:not(.projects-page--en) .mode-tabs button { font-size: 10.8px; }
  .projects-page:not(.projects-page--en) .mode-tabs { gap: 16px; }
  .mode-tabs button[aria-selected="true"] {
    box-shadow:
      0 4px 9px rgba(0, 0, 0, .25),
      0 4px 12px rgba(70, 210, 230, .09),
      inset 0 1px 0 rgba(255, 255, 255, .30),
      inset 0 -2px 0 rgba(4, 83, 97, .16);
  }
  .benchmark-panel__body,
  .benchmark-panel__body.is-ai-data { min-height: 0; margin-top: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; }
  .benchmark-stat__micro { font-size: 8px; }
  .benchmark-stat__value,
  .benchmark-panel__body.is-ai-data .benchmark-stat__value { font-size: clamp(35px, 10vw, 45px); }
  .benchmark-stat h3 { font-size: 13px; }
  .projects-page--en .benchmark-stat h3 { font-size: 11.7px; }

  .selected-projects { width: 100%; margin-inline: 0; padding: 70px var(--page-pad) 64px; border-radius: 16px 16px 0 0; }
  .selected-projects {
    background-image:
      linear-gradient(180deg, rgba(241, 247, 249, .06) 0%, rgba(235, 243, 246, .025) 6%, rgba(59, 78, 87, .02) 12%, rgba(44, 63, 72, .06) 24%, rgba(44, 63, 72, .07) 100%),
      radial-gradient(ellipse 60% 8% at 50% 13%, rgba(232, 242, 245, .128) 0%, rgba(232, 242, 245, .056) 40%, transparent 82%),
      radial-gradient(ellipse 60% 8% at 50% 38%, rgba(232, 242, 245, .116) 0%, rgba(232, 242, 245, .05) 40%, transparent 82%),
      radial-gradient(ellipse 60% 8% at 50% 63%, rgba(232, 242, 245, .116) 0%, rgba(232, 242, 245, .05) 40%, transparent 82%),
      radial-gradient(ellipse 60% 8% at 50% 88%, rgba(232, 242, 245, .104) 0%, rgba(232, 242, 245, .044) 40%, transparent 82%);
  }
  .selected-projects::before { background: linear-gradient(90deg, rgba(35, 52, 60, .045) 0%, rgba(35, 52, 60, .014) 12%, transparent 28%, transparent 72%, rgba(35, 52, 60, .014) 88%, rgba(35, 52, 60, .045) 100%); }
  .selected-projects::after { opacity: .16; }
  .section-heading { margin-bottom: 34px; gap: 15px; }
  .projects-page--en .section-heading__context--bracketed {
    white-space: normal;
    text-wrap: balance;
  }
  .section-heading h2 { font-size: 48px; line-height: .98; }
  .project-stack { padding-bottom: 0; }
  .project-shell { position: relative; top: auto; margin-bottom: 22px; scroll-margin-top: 78px; }
  .project-shell:last-child { margin-bottom: 0; }
  .project-card { padding: 14px; border-radius: 28px; box-shadow: 0 10px 24px rgba(28, 45, 53, .09), 0 24px 58px rgba(28, 45, 53, .11); transform: none !important; opacity: 1 !important; visibility: visible !important; }
  .project-card__top { min-height: 70px; padding: 0 2px 13px; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
  .project-card__number { font-size: 32px; }
  .project-card h3 { font-size: 23px; }
  .project-card__videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .video-tile { border-radius: 18px; }
  .video-tile__play { width: 42px; height: 42px; }
  .site-footer { min-height: 72px; padding-block: 20px; flex-direction: column; align-items: flex-start; }
  .site-footer nav { gap: 18px; flex-wrap: wrap; }
  .projects-page .projects-back-to-top-positioner {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
  }
  .projects-page .projects-back-to-top {
    padding: 0;
    border-radius: 12px;
  }
  .projects-page .projects-back-to-top span { display: none; }
  .projects-page .projects-back-to-top-positioner.is-footer-visible {
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }
}

.reduced-motion .project-shell { position: relative; top: auto; margin-bottom: 24px; }
.reduced-motion .project-card { transform: none !important; opacity: 1 !important; visibility: visible !important; }

/* AI data service source footage is landscape; keep this one category on a
   dedicated 2 × 2 grid without changing the shared project-card component. */
#ai-data-services .project-card__videos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#ai-data-services .video-tile {
  aspect-ratio: 16 / 9;
}

#ai-data-services .video-tile video {
  object-fit: contain;
}

@media (max-width: 767px) {
  #ai-data-services .project-card__videos {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .reveal-item, .hero-reveal, .benchmark-stat { opacity: 1 !important; transform: none !important; }
  .projects-hero__media video { display: none; }
  .projects-page .projects-back-to-top-positioner {
    transition: none !important;
    transform: translateX(-30%) !important;
  }
}
