:root {
  color-scheme: dark;
  --bg: #050604;
  --bg-2: #0b0e0a;
  --surface: rgba(16, 20, 16, 0.72);
  --surface-strong: rgba(21, 26, 21, 0.94);
  --card: rgba(18, 22, 18, 0.78);
  --card-solid: #111611;
  --text: #f5f2e8;
  --text-soft: rgba(245, 242, 232, 0.78);
  --text-muted: rgba(245, 242, 232, 0.58);
  --line: rgba(232, 255, 197, 0.14);
  --line-strong: rgba(232, 255, 197, 0.28);
  --accent: #d6ff5f;
  --accent-2: #62d8c6;
  --accent-warm: #ffb86b;
  --danger: #ff6b6b;
  --radius: 8px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.34);
  --shadow-glow: 0 0 0 1px rgba(214, 255, 95, 0.16), 0 28px 80px rgba(131, 255, 64, 0.12);
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 14% 6%, rgba(214, 255, 95, 0.16), transparent 28vw),
    radial-gradient(circle at 88% 10%, rgba(98, 216, 198, 0.12), transparent 30vw),
    linear-gradient(180deg, #050604 0%, #0a0d09 44%, #050604 100%);
  color: var(--text);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -8vh -16vw;
  z-index: 9999;
  pointer-events: none;
  background:
    linear-gradient(
      104deg,
      rgba(5, 6, 4, 0.98) 0%,
      rgba(5, 6, 4, 0.98) 42%,
      rgba(214, 255, 95, 0.9) 47%,
      rgba(245, 242, 232, 0.96) 49%,
      rgba(98, 216, 198, 0.92) 54%,
      rgba(5, 6, 4, 0.98) 62%,
      rgba(5, 6, 4, 0.98) 100%
    );
  box-shadow: -34px 0 92px rgba(214, 255, 95, 0.1);
  opacity: 0;
  transform: translateX(116%) skewX(-9deg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(245, 242, 232, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(245, 242, 232, 0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 86%);
}

body.page-enter::before {
  animation: page-reveal 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.page-leaving::before {
  animation: page-cover 520ms cubic-bezier(0.7, 0, 0.2, 1) both;
}

.site-header,
main,
.site-footer {
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), opacity 420ms ease, filter 420ms ease;
}

body.page-leaving .site-header,
body.page-leaving main,
body.page-leaving .site-footer {
  opacity: 0.42;
  filter: blur(3px);
  transform: translateX(-14px) scale(0.992);
}

@keyframes page-reveal {
  0% {
    opacity: 1;
    transform: translateX(0) skewX(-9deg);
  }

  100% {
    opacity: 0;
    transform: translateX(-116%) skewX(-9deg);
  }
}

@keyframes page-cover {
  0% {
    opacity: 0;
    transform: translateX(116%) skewX(-9deg);
  }

  14% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateX(0) skewX(-9deg);
  }
}

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

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.ambient-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient-blob {
  position: absolute;
  filter: blur(44px);
  opacity: 0.8;
}

.ambient-blob-1 {
  top: -170px;
  left: 50%;
  transform: translateX(-50%);
  width: min(940px, 90vw);
  aspect-ratio: 2.8 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 12% 48%, rgba(214, 255, 95, 0.28), transparent 42%),
    radial-gradient(circle at 52% 42%, rgba(98, 216, 198, 0.24), transparent 44%),
    radial-gradient(circle at 86% 20%, rgba(255, 184, 107, 0.18), transparent 36%);
}

.ambient-blob-2 {
  right: -120px;
  bottom: -150px;
  width: min(520px, 58vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 32%, rgba(214, 255, 95, 0.2), transparent 44%),
    radial-gradient(circle at 62% 62%, rgba(98, 216, 198, 0.18), transparent 54%);
}

.ambient-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(245, 242, 232, 0.08) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  opacity: 0.2;
  mix-blend-mode: screen;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(5, 6, 4, 0.9), rgba(5, 6, 4, 0.58));
  backdrop-filter: saturate(130%) blur(14px);
  -webkit-backdrop-filter: saturate(130%) blur(14px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(214, 255, 95, 0.34);
  border-radius: 50%;
  background:
    linear-gradient(#070907, #070907) padding-box,
    linear-gradient(135deg, rgba(214, 255, 95, 0.9), rgba(98, 216, 198, 0.55), transparent) border-box;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 0 24px rgba(214, 255, 95, 0.12);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 1px solid rgba(245, 242, 232, 0.12);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.top-nav a {
  text-decoration: none;
  min-height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-soft);
  border: 1px solid transparent;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--text);
  border-color: rgba(214, 255, 95, 0.24);
  background: rgba(214, 255, 95, 0.07);
  outline: none;
}

.top-nav a.is-active {
  color: #091006;
  border-color: rgba(214, 255, 95, 0.7);
  background: var(--accent);
  box-shadow: 0 0 24px rgba(214, 255, 95, 0.2);
}

main {
  padding-block: 30px 82px;
}

.hero {
  min-height: calc(76dvh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 438px);
  align-items: center;
  column-gap: clamp(34px, 7vw, 112px);
  position: relative;
  padding-block: clamp(52px, 8vw, 96px) 116px;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  width: min(520px, 46vw);
  height: 1px;
  background: linear-gradient(90deg, rgba(214, 255, 95, 0.6), transparent);
  opacity: 0.55;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 22px;
}

.hero-kicker {
  margin: 0;
  width: fit-content;
  border: 1px solid rgba(214, 255, 95, 0.24);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(214, 255, 95, 0.055);
  color: rgba(214, 255, 95, 0.86);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  max-width: 12ch;
  font-family: "Didot", "Times New Roman", "STSong", serif;
  font-size: clamp(46px, 7.1vw, 104px);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-title::selection,
.page-head h1::selection {
  background: var(--accent);
  color: #091006;
}

.hero-subtitle {
  margin: 0;
  max-width: 640px;
  color: var(--text-soft);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.86;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-signature {
  position: absolute;
  left: 0;
  bottom: 40px;
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-watch-card {
  --look-x: 0;
  --look-y: 0;
  --tilt-x: 0;
  --tilt-y: 0;
  position: relative;
  isolation: isolate;
  justify-self: end;
  width: min(100%, 438px);
  min-height: 505px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 10%, rgba(214, 255, 95, 0.2), transparent 32%),
    radial-gradient(circle at 90% 18%, rgba(98, 216, 198, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(245, 242, 232, 0.095), rgba(245, 242, 232, 0.025)),
    rgba(12, 15, 12, 0.86);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  transform: perspective(960px)
    rotateX(calc(var(--tilt-y) * -3.2deg))
    rotateY(calc(var(--tilt-x) * 4.2deg))
    translateY(calc(var(--tilt-y) * -2px));
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.hero-watch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(245, 242, 232, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(245, 242, 232, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.86), transparent 84%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.86), transparent 84%);
}

.hero-watch-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(214, 255, 95, 0.14) 42%, transparent 58%);
  opacity: 0;
  transform: translateX(calc(var(--look-x) * 18px));
  transition: opacity 240ms ease;
}

.hero-watch-card:hover,
.hero-watch-card:focus-within {
  border-color: rgba(214, 255, 95, 0.46);
  box-shadow: 0 0 0 1px rgba(214, 255, 95, 0.2), 0 40px 90px rgba(0, 0, 0, 0.42), 0 0 70px rgba(214, 255, 95, 0.13);
}

.hero-watch-card:hover::after,
.hero-watch-card:focus-within::after {
  opacity: 1;
}

.watch-card-head,
.watch-metrics {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-soft);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.watch-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.motion-toggle {
  display: none;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(214, 255, 95, 0.22);
  border-radius: 50%;
  background: rgba(214, 255, 95, 0.08);
  color: var(--accent);
  place-items: center;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.motion-toggle[hidden] {
  display: none !important;
}

.motion-toggle i {
  width: 15px;
  height: 15px;
}

.motion-toggle:hover,
.motion-toggle:focus-visible,
.hero-watch-card.motion-active .motion-toggle {
  border-color: rgba(214, 255, 95, 0.62);
  background: var(--accent);
  color: #091006;
  box-shadow: 0 0 22px rgba(214, 255, 95, 0.18);
  outline: none;
}

.watch-status {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(214, 255, 95, 0.22);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(214, 255, 95, 0.08);
  color: var(--accent);
}

.watch-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(214, 255, 95, 0.12), 0 0 16px rgba(214, 255, 95, 0.55);
}

.watch-face {
  position: relative;
  z-index: 3;
  width: min(285px, 76%);
  aspect-ratio: 1 / 1;
  margin: 48px auto 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 255, 95, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 47% 33%, rgba(245, 242, 232, 0.12), rgba(18, 22, 18, 0.84) 54%, rgba(5, 6, 4, 0.92)),
    linear-gradient(145deg, rgba(214, 255, 95, 0.12), rgba(98, 216, 198, 0.05));
  box-shadow:
    inset 0 1px 0 rgba(245, 242, 232, 0.12),
    inset 0 -26px 46px rgba(0, 0, 0, 0.38),
    0 26px 56px rgba(0, 0, 0, 0.32);
}

.watch-face::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(214, 255, 95, 0.18);
  border-radius: 50%;
}

.watch-face::after {
  content: "";
  position: absolute;
  width: 42%;
  height: 1px;
  bottom: 31%;
  background: linear-gradient(90deg, transparent, rgba(214, 255, 95, 0.44), transparent);
}

.eye-row {
  position: absolute;
  top: 30%;
  left: 50%;
  display: flex;
  gap: clamp(16px, 4vw, 24px);
  transform: translateX(-50%);
}

.eye {
  width: clamp(50px, 6vw, 62px);
  height: clamp(50px, 6vw, 62px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 242, 232, 0.14);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(245, 242, 232, 0.96), rgba(201, 217, 200, 0.9) 43%, rgba(73, 84, 68, 0.7));
  box-shadow: inset 0 -12px 18px rgba(0, 0, 0, 0.22), 0 12px 28px rgba(0, 0, 0, 0.28);
}

.pupil {
  width: 38%;
  height: 38%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.7), transparent 18%),
    #050604;
  transform: translate(calc(var(--look-x) * 11px), calc(var(--look-y) * 9px));
  transition: transform 80ms linear;
}

.watch-mark {
  position: absolute;
  left: 50%;
  bottom: 17%;
  transform: translateX(-50%);
  color: rgba(245, 242, 232, 0.92);
  font-family: "Didot", "Times New Roman", "STSong", serif;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1;
}

.watch-panel {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(245, 242, 232, 0.12);
  border-radius: 14px;
  background: rgba(5, 6, 4, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.signal-line {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(214, 255, 95, 0.18), rgba(214, 255, 95, 0.86));
  transform-origin: left;
  transform: scaleX(calc(0.72 + (var(--look-x) * 0.08)));
  transition: transform 120ms ease;
}

.signal-line-1 {
  width: 82%;
}

.signal-line-2 {
  width: 61%;
  background: linear-gradient(90deg, rgba(255, 184, 107, 0.18), rgba(255, 184, 107, 0.72));
}

.signal-line-3 {
  width: 93%;
  background: linear-gradient(90deg, rgba(98, 216, 198, 0.18), rgba(98, 216, 198, 0.78));
}

.signal-line-4 {
  width: 48%;
}

.watch-metrics {
  margin-top: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.watch-metrics span {
  min-width: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text-muted);
  font-size: 12px;
}

.watch-metrics strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1;
}

.section {
  padding-block: 34px 28px;
}

.section-head {
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.section-head h2 {
  margin: 0;
  font-family: "Didot", "Times New Roman", "STSong", serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.03;
}

.inline-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 14px;
}

.inline-link:hover,
.inline-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.feature-orbit {
  position: relative;
  min-height: clamp(660px, 54vw, 760px);
  margin-top: 10px;
  isolation: isolate;
  perspective: 1100px;
  overflow: visible;
}

.feature-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.feature-lines line {
  stroke: rgba(245, 242, 232, 0.16);
  stroke-width: 1;
}

.feature-lines circle {
  fill: rgba(245, 242, 232, 0.36);
}

.feature-core {
  position: absolute;
  left: 50%;
  top: 55%;
  z-index: 4;
  width: clamp(124px, 12.6vw, 158px);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(245, 242, 232, 0.08);
  border-radius: 28px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 26% 20%, rgba(245, 242, 232, 0.14), transparent 32%),
    linear-gradient(145deg, #181822, #2a2a36);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42), 0 0 48px rgba(214, 255, 95, 0.08);
  transform: translate(-50%, -50%) translateZ(0);
}

.feature-core img {
  width: 76%;
  height: 76%;
  border: 1px solid rgba(245, 242, 232, 0.16);
  border-radius: 22px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04) brightness(0.92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.feature-core-mark {
  position: absolute;
  right: 9px;
  bottom: 7px;
  color: rgba(245, 242, 232, 0.44);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.feature-item {
  --orbit-duration: 18s;
  --orbit-delay: 0s;
  --orbit-x: clamp(280px, 39vw, 470px);
  --orbit-front-y: clamp(118px, 12vw, 154px);
  --orbit-back-y: clamp(-178px, -15vw, -132px);
  --orbit-top-y: clamp(-238px, -20vw, -190px);
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(31%, 360px);
  overflow: hidden;
  border: 1px solid rgba(245, 242, 232, 0.15);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(16, 20, 16, 0.72);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translate(-50%, -50%);
  transform-origin: center center;
  animation: feature-card-orbit var(--orbit-duration) cubic-bezier(0.45, 0, 0.25, 1) var(--orbit-delay) infinite;
  transition: border-color 260ms ease, box-shadow 260ms ease, scale 260ms ease, opacity 260ms ease;
  will-change: transform, opacity;
}

.feature-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.14) 42%, transparent 60%);
  opacity: 0;
  transform: translateX(-24%);
  transition: opacity 260ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card-left {
  --orbit-delay: 0s;
}

.feature-card-center {
  width: min(34%, 400px);
  --orbit-delay: -7.2s;
}

.feature-card-right {
  --orbit-delay: -14.4s;
}

.feature-card-small-left,
.feature-card-small-right {
  z-index: 1;
  width: min(23%, 270px);
}

.feature-card-small-left {
  --orbit-delay: -3.6s;
}

.feature-card-small-right {
  --orbit-delay: -10.8s;
}

.feature-item img {
  width: 100%;
  height: clamp(142px, 15vw, 178px);
  object-fit: cover;
  filter: saturate(0.8) contrast(1.06) brightness(0.78);
  transition: transform 760ms cubic-bezier(0.16, 1, 0.3, 1), filter 260ms ease;
}

.feature-card-small-left img,
.feature-card-small-right img {
  height: clamp(96px, 10vw, 126px);
}

.feature-item:hover,
.feature-item:focus-within {
  z-index: 5;
  border-color: rgba(214, 255, 95, 0.38);
  box-shadow: 0 36px 86px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(214, 255, 95, 0.14), 0 0 52px rgba(214, 255, 95, 0.08);
  animation-play-state: paused;
  scale: 1.035;
}

.feature-item:hover::before,
.feature-item:focus-within::before {
  opacity: 1;
  transform: translateX(18%);
}

.feature-item:hover img,
.feature-item:focus-within img {
  filter: saturate(1.06) contrast(1.05) brightness(0.92);
  transform: scale(1.035);
}

.feature-meta {
  position: relative;
  z-index: 2;
  padding: 16px 18px 18px;
}

.feature-meta h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.35;
}

.feature-card-small-left .feature-meta,
.feature-card-small-right .feature-meta {
  padding: 13px 14px 15px;
}

.feature-card-small-left .feature-meta h3,
.feature-card-small-right .feature-meta h3 {
  font-size: clamp(14px, 1.2vw, 16px);
}

.feature-card-small-left .feature-meta p,
.feature-card-small-right .feature-meta p {
  font-size: 12px;
  line-height: 1.58;
}

.feature-meta p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.72;
  font-size: 14px;
}

@keyframes feature-card-orbit {
  0% {
    opacity: 0.92;
    z-index: 2;
    transform: translate(-50%, -50%) translate(calc(var(--orbit-x) * -1), var(--orbit-front-y)) rotate(-3.4deg) scale(0.96);
  }

  14% {
    opacity: 0.58;
    z-index: 1;
    transform: translate(-50%, -50%) translate(calc(var(--orbit-x) * -0.74), var(--orbit-back-y)) rotate(-2.6deg) scale(0.74);
  }

  28% {
    opacity: 0.68;
    z-index: 1;
    transform: translate(-50%, -50%) translate(calc(var(--orbit-x) * -0.34), calc(var(--orbit-top-y) * 0.88)) rotate(-1deg) scale(0.8);
  }

  42% {
    opacity: 0.78;
    z-index: 1;
    transform: translate(-50%, -50%) translate(0, var(--orbit-top-y)) rotate(0.6deg) scale(0.84);
  }

  56% {
    opacity: 0.68;
    z-index: 1;
    transform: translate(-50%, -50%) translate(calc(var(--orbit-x) * 0.34), calc(var(--orbit-top-y) * 0.88)) rotate(1.1deg) scale(0.8);
  }

  70% {
    opacity: 0.58;
    z-index: 1;
    transform: translate(-50%, -50%) translate(calc(var(--orbit-x) * 0.74), var(--orbit-back-y)) rotate(2.5deg) scale(0.74);
  }

  84% {
    opacity: 0.92;
    z-index: 2;
    transform: translate(-50%, -50%) translate(var(--orbit-x), var(--orbit-front-y)) rotate(3.3deg) scale(0.96);
  }

  100% {
    opacity: 0.92;
    z-index: 2;
    transform: translate(-50%, -50%) translate(calc(var(--orbit-x) * -1), var(--orbit-front-y)) rotate(-3.4deg) scale(0.96);
  }
}

@keyframes feature-card-mobile-carousel {
  0% {
    opacity: 0.9;
    z-index: 2;
    transform: translate(-50%, -50%) translate(-92px, 108px) rotate(-3.2deg) scale(0.9);
  }

  16% {
    opacity: 0.54;
    z-index: 1;
    transform: translate(-50%, -50%) translate(-70px, -96px) rotate(-2.5deg) scale(0.68);
  }

  34% {
    opacity: 0.64;
    z-index: 1;
    transform: translate(-50%, -50%) translate(-28px, -142px) rotate(-0.8deg) scale(0.72);
  }

  50% {
    opacity: 0.72;
    z-index: 1;
    transform: translate(-50%, -50%) translate(36px, -138px) rotate(0.8deg) scale(0.74);
  }

  68% {
    opacity: 0.56;
    z-index: 1;
    transform: translate(-50%, -50%) translate(70px, -92px) rotate(2.4deg) scale(0.68);
  }

  84% {
    opacity: 0.9;
    z-index: 2;
    transform: translate(-50%, -50%) translate(92px, 108px) rotate(3.2deg) scale(0.9);
  }

  100% {
    opacity: 0.9;
    z-index: 2;
    transform: translate(-50%, -50%) translate(-92px, 108px) rotate(-3.2deg) scale(0.9);
  }
}

.page-head {
  position: relative;
  padding: 46px 0 28px;
}

.page-head::after {
  content: "";
  display: block;
  width: min(460px, 62vw);
  height: 1px;
  margin-top: 24px;
  background: linear-gradient(90deg, rgba(214, 255, 95, 0.68), rgba(98, 216, 198, 0.32), transparent);
}

.page-head h1 {
  margin: 12px 0 12px;
  font-family: "Didot", "Times New Roman", "STSong", serif;
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-head p {
  margin: 0;
  max-width: 760px;
  color: var(--text-soft);
  line-height: 1.78;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.project-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 288px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(245, 242, 232, 0.07), rgba(245, 242, 232, 0.025)),
    var(--card-solid);
  box-shadow: var(--shadow-soft);
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, rgba(214, 255, 95, 0.1) 44%, transparent 62%),
    radial-gradient(circle at 100% 0%, rgba(98, 216, 198, 0.12), transparent 30%);
  opacity: 0;
  transform: translateX(-22%);
  transition: opacity 260ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover,
.project-card:focus-within {
  border-color: rgba(214, 255, 95, 0.34);
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px);
}

.project-card:hover::before,
.project-card:focus-within::before {
  opacity: 1;
  transform: translateX(20%);
}

.project-cover {
  margin: 0;
  overflow: hidden;
  height: clamp(270px, 32vw, 392px);
  border-right: 1px solid var(--line);
  background: #090b08;
}

.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.86) contrast(1.08) brightness(0.76);
  transition: transform 860ms cubic-bezier(0.16, 1, 0.3, 1), filter 260ms ease;
}

.project-card:hover .project-cover img,
.project-card:focus-within .project-cover img {
  filter: saturate(1.08) contrast(1.04) brightness(0.92);
  transform: scale(1.026);
}

.project-body {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-body h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(21px, 2.6vw, 32px);
  line-height: 1.22;
  text-wrap: balance;
}

.project-body p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.78;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.tags li {
  border: 1px solid rgba(214, 255, 95, 0.18);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(214, 255, 95, 0.055);
  color: rgba(245, 242, 232, 0.82);
  font-size: 12px;
}

.project-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.btn i {
  width: 16px;
  height: 16px;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #091006;
  box-shadow: 0 12px 30px rgba(214, 255, 95, 0.16);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  border-color: #efffb2;
  background: #efffb2;
  box-shadow: 0 16px 34px rgba(214, 255, 95, 0.22);
}

.btn-ghost {
  border-color: rgba(245, 242, 232, 0.18);
  background: rgba(245, 242, 232, 0.06);
  color: var(--text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(214, 255, 95, 0.4);
  background: rgba(214, 255, 95, 0.09);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.btn-text {
  padding-inline: 4px;
  color: var(--accent);
}

.btn-text:hover,
.btn-text:focus-visible {
  text-decoration: underline;
}

.about-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-block {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(245, 242, 232, 0.07), rgba(245, 242, 232, 0.025)),
    var(--card);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.about-block h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 23px;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.78;
}

.paper-cover {
  background: #0b0d0a;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.icp-link {
  margin-top: 4px;
  margin-left: auto;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(214, 255, 95, 0.36);
  border-radius: 999px;
  background: rgba(214, 255, 95, 0.09);
  color: var(--accent);
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icp-link:hover,
.icp-link:focus-visible {
  background: var(--accent);
  color: #091006;
  outline: none;
}

.media-modal {
  width: min(1140px, calc(100vw - 30px));
  max-width: 1140px;
  border: 1px solid rgba(245, 242, 232, 0.16);
  border-radius: 18px;
  padding: 0;
  background: #080a08;
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.6);
}

.media-modal::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(214, 255, 95, 0.28);
  border-radius: 50%;
  background: rgba(5, 6, 4, 0.88);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--accent);
  color: #091006;
  outline: none;
}

.modal-close i {
  width: 16px;
  height: 16px;
}

.modal-content {
  min-height: 500px;
}

.modal-content > img,
.modal-content > iframe {
  width: 100%;
  height: min(78dvh, 860px);
  object-fit: contain;
  border: 0;
  background: #ffffff;
}

.modal-gallery {
  width: 100%;
  height: min(78dvh, 860px);
  overflow: auto;
  background: #080a08;
  padding: 12px;
}

.modal-gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(245, 242, 232, 0.14);
  border-radius: 12px;
  background: #ffffff;
}

.modal-gallery img + img {
  margin-top: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  body::before {
    display: none;
  }

  .hero-watch-card {
    transform: none;
  }

  .pupil,
  .signal-line {
    transform: none;
  }

  .feature-core,
  .feature-item {
    animation: none;
    translate: 0 0;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
  }

  .hero-watch-card {
    justify-self: stretch;
    width: 100%;
  }

  .motion-toggle {
    display: grid;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-cover {
    height: 250px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .feature-orbit {
    min-height: auto;
    display: grid;
    gap: 16px;
    padding-top: 6px;
  }

  .feature-lines {
    display: none;
  }

  .feature-core {
    position: relative;
    left: auto;
    top: auto;
    width: 112px;
    margin: 0 auto 4px;
    transform: none;
  }

  .feature-item,
  .feature-card-center,
  .feature-card-left,
  .feature-card-right,
  .feature-card-small-left,
  .feature-card-small-right {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    transform: none;
    animation: none;
    opacity: 1;
    scale: 1;
  }

  .feature-item:hover,
  .feature-item:focus-within {
    transform: translateY(-5px);
  }
}

@media (max-width: 700px) {
  :root {
    --shell: min(1180px, calc(100vw - 28px));
  }

  .nav-wrap {
    min-height: auto;
    padding-block: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    gap: 8px;
    border-radius: 18px;
  }

  .top-nav a {
    flex: 1 1 auto;
    min-width: 42%;
    text-align: center;
  }

  main {
    padding-block: 22px 68px;
  }

  .hero {
    padding-block: 42px 76px;
  }

  .hero::before {
    width: 78vw;
    top: 16%;
  }

  .hero-title {
    max-width: 11ch;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    flex: 1 1 160px;
    justify-content: center;
  }

  .hero-watch-card {
    min-height: 382px;
    padding: 14px;
    border-radius: 16px;
  }

  .watch-face {
    width: min(242px, 78%);
    margin-block: 30px 22px;
  }

  .watch-metrics {
    gap: 8px;
    flex-wrap: wrap;
  }

  .hero-signature {
    bottom: 22px;
  }

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

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .feature-orbit {
    min-height: clamp(500px, 132vw, 560px);
    display: block;
    overflow: hidden;
    padding-top: 0;
    perspective: 720px;
  }

  .feature-core {
    position: absolute;
    left: 50%;
    top: 52%;
    width: 102px;
    margin: 0;
    transform: translate(-50%, -50%) translateZ(0);
  }

  .feature-item,
  .feature-card-center,
  .feature-card-left,
  .feature-card-right,
  .feature-card-small-left,
  .feature-card-small-right {
    position: absolute;
    left: 50%;
    right: auto;
    top: 50%;
    width: min(72vw, 276px);
    animation: feature-card-mobile-carousel 20s cubic-bezier(0.45, 0, 0.25, 1) var(--orbit-delay) infinite;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    scale: 1;
  }

  .feature-card-center {
    width: min(78vw, 300px);
  }

  .feature-card-small-left,
  .feature-card-small-right {
    width: min(62vw, 238px);
  }

  .feature-item img {
    height: clamp(104px, 30vw, 136px);
  }

  .feature-card-small-left img,
  .feature-card-small-right img {
    height: clamp(82px, 23vw, 104px);
  }

  .feature-meta {
    padding: 12px 14px 14px;
  }

  .feature-meta h3,
  .feature-card-small-left .feature-meta h3,
  .feature-card-small-right .feature-meta h3 {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.32;
  }

  .feature-meta p,
  .feature-card-small-left .feature-meta p,
  .feature-card-small-right .feature-meta p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .feature-item:hover,
  .feature-item:focus-within {
    z-index: 3;
    animation-play-state: paused;
    scale: 1.02;
  }

  .project-body {
    padding: 18px;
  }

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

  .icp-link {
    margin-left: 0;
  }
}

@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .feature-orbit {
    min-height: auto;
    display: grid;
    overflow: visible;
    gap: 16px;
    perspective: none;
  }

  .feature-core {
    position: relative;
    left: auto;
    top: auto;
    width: 102px;
    margin: 0 auto 4px;
    transform: none;
  }

  .feature-item,
  .feature-card-center,
  .feature-card-left,
  .feature-card-right,
  .feature-card-small-left,
  .feature-card-small-right {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    animation: none;
    opacity: 1;
    transform: none;
  }
}
