:root {
  --bg: #121212;
  --text: #f4f1eb;
  --muted: rgba(244, 241, 235, 0.74);
  --soft: rgba(244, 241, 235, 0.42);
  --line: rgba(255, 255, 255, 0.08);
  --blue: #d7b780;
  --blue-strong: #e2c895;
  --panel: rgba(16, 16, 16, 0.52);
  --max: 1240px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[data-restoring-index="1"] body {
  visibility: hidden;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #000;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  background: #111;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.has-motion .js-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.has-motion .js-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.has-motion .nav-reveal {
  opacity: 0;
  transform: translate3d(0, -14px, 0);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--nav-delay, 0ms);
  will-change: opacity, transform;
}

.has-motion .nav-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.has-motion .hero-intro {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  filter: blur(12px);
  will-change: opacity, transform, filter;
}

.has-motion .hero-intro.is-visible {
  animation: hero-intro-in 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--hero-delay, 0ms);
}

.has-motion .quick-card.js-reveal,
.has-motion .software-item.js-reveal {
  transform: translate3d(0, 34px, 0) scale(0.985);
}

.has-motion .quick-card.js-reveal.is-visible,
.has-motion .software-item.js-reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.has-motion .featured-slide.js-reveal {
  transform: translate3d(0, 40px, 0);
}

.has-motion .featured-slide.js-reveal.is-visible {
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .has-motion .nav-reveal,
  .has-motion .nav-reveal.is-visible,
  .has-motion .hero-intro,
  .has-motion .hero-intro.is-visible,
  .has-motion .js-reveal,
  .has-motion .js-reveal.is-visible,
  .has-motion .quick-card.js-reveal,
  .has-motion .quick-card.js-reveal.is-visible,
  .has-motion .software-item.js-reveal,
  .has-motion .software-item.js-reveal.is-visible,
  .has-motion .featured-slide.js-reveal,
  .has-motion .featured-slide.js-reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    animation: none;
  }
}

@keyframes hero-intro-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    filter: blur(12px);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, -2px, 0);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(8, 8, 8, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding: 0;
}

.brand strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: rgba(255,255,255,0.9);
  font-family: "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

.nav-links {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  align-items: center;
  text-transform: none;
}

.nav-links a {
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  background: rgba(255,255,255,0.72);
  transform: scaleX(0.2);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-links a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

/* common */
section {
  padding: 40px 0 48px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 18px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  font-weight: 600;
  color: #fff;
}

/* hero */
.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 84vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background: url("image/hero-bg.webp") center / cover no-repeat;
  padding: 120px 24px 88px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.18) 0%,
    rgba(5, 5, 5, 0.34) 38%,
    rgba(5, 5, 5, 0.78) 82%,
    rgba(5, 5, 5, 0.9) 100%
  );
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 5, 5, 0.72) 0%,
    rgba(5, 5, 5, 0.44) 28%,
    rgba(5, 5, 5, 0.12) 52%,
    rgba(5, 5, 5, 0.22) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
}

.hero-panel {
  width: min(100%, 620px);
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 18px;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.93;
  letter-spacing: -0.065em;
  font-weight: 600;
  color: #ffffff;
  text-wrap: balance;
}

.hero p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.72;
  margin: 20px 0 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.68);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.hero-meta span:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.82);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 30px;
}

.btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  color: #ffffff;
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-strong) 100%);
  border-color: transparent;
  color: #161311;
  font-weight: 600;
}

.btn.secondary {
  background: rgba(255,255,255,0.08);
}

.btn.ghost {
  background: rgba(255,255,255,0.04);
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 1;
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* quick info */
.quick-info {
  padding-top: 72px;
}

.quick-info-intro {
  max-width: 820px;
  margin-bottom: 34px;
}

.quick-info-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: #fff;
}

.quick-info-intro p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  line-height: 1.75;
  max-width: 720px;
}

.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.quick-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 14px 14px 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 22%, rgba(255,255,255,0.015) 100%),
    rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -10px 24px rgba(255,255,255,0.015),
    0 14px 34px rgba(0,0,0,0.18);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.quick-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,0.18), transparent 24%),
    radial-gradient(circle at 82% 0%, rgba(255,255,255,0.1), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015) 40%, rgba(255,255,255,0.025) 100%);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.quick-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.4), rgba(255,255,255,0));
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}

.quick-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04) 20%, rgba(255,255,255,0.02) 100%),
    rgba(255,255,255,0.045);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -12px 28px rgba(255,255,255,0.02),
    0 18px 40px rgba(0,0,0,0.22);
}

.quick-card-image {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015)),
    rgba(10,10,10,0.14);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 8px 24px rgba(0,0,0,0.14);
}

.quick-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.quick-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.quick-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.74);
}

/* featured carousel */
/* featured carousel */
.featured {
  padding-top: 44px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.featured-inner {
  width: 100%;
  margin: 0 auto;
}

.featured .section-head {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto 36px;
  padding: 0;
  box-sizing: border-box;
}

.featured-carousel {
  width: 100%;
}

.featured-viewport {
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0;
}

.featured-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  transition: transform 1.2s cubic-bezier(0.6, 0, 0.5, 1);
  will-change: transform;
  padding-left: 0;
  padding-right: 0;
  box-sizing: content-box;
}

.featured-slide {
  position: relative;
  flex: 0 0 min(78vw, 1240px);
  min-width: min(78vw, 1240px);
  max-width: min(78vw, 1240px);
  overflow: hidden;
  border-radius: 32px;
  background: #050505;
  box-shadow: var(--shadow);
}

.featured-media {
  width: 100%;
  aspect-ratio: 2560 / 1269;
  overflow: hidden;
  background: #000;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.featured-slide:hover .featured-media img {
  transform: scale(1.02);
}

.featured-overlay {
  position: absolute;
  left: 40px;
  bottom: 40px;
  z-index: 2;
  max-width: 520px;
  color: #fff;
  padding: 0;
}

.featured-overlay {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.2s cubic-bezier(0.8, 1, 0.8, 1),
              transform 1.2s cubic-bezier(0.8, 1, 0.8, 1);
}

/* 当前slide显示 */
.featured-slide.is-active .featured-overlay {
  opacity: 1;
  transform: translateY(0);
}

.featured-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.02;
  letter-spacing: 0em;

  color: #fff;
}

.featured-title.title-02,
.featured-slide:nth-child(2) .featured-overlay p {
  color: rgba(22, 22, 22, 0.92);
  text-shadow: none;
}

.featured-overlay p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
  max-width: 440px;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.featured-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}

.featured-dots {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}

.featured-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  transition:
    width 1.2s cubic-bezier(0.6, 0, 0.5, 1),
    background 1.2s cubic-bezier(0.6, 0, 0.5, 1);
}

.featured-dot.is-active {
  width: 28px;
  background: var(--blue-strong);
}

.featured-toggle {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* more works */
.more-works {
  padding-top: 56px;
}

.section-kicker {
  margin-bottom: 10px;
}

.more-slider {
  position: relative;
  width: calc(100% + 160px);
  margin-left: -80px;
}

.more-viewport {
  width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

.more-track {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  transition: transform 1s cubic-bezier(0.5, 0, 0.4, 1);
  will-change: transform;
  padding: 0 80px;
}

.more-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  display: block;
  color: #ffffff;
}

.more-image {
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  margin-bottom: 16px;
  aspect-ratio: 2100 / 3850;
}

.more-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.more-slide:hover .more-image img {
  transform: scale(1.02);
}

.more-copy h3 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: #ffffff;
}

.more-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
}

.more-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
}

.more-arrow {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.more-arrow:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .more-slider {
    width: calc(100% + 96px);
    margin-left: -48px;
  }

  .more-track {
    gap: 20px;
    padding: 0 48px;
  }

  .more-slide {
    flex: 0 0 calc((100% - 20px - 96px) / 2);
    min-width: calc((100% - 20px - 96px) / 2);
    max-width: calc((100% - 20px - 96px) / 2);
  }

  .more-copy h3 {
    font-size: 22px;
  }

  .more-copy p {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .more-slider {
    width: calc(100% + 48px);
    margin-left: -24px;
  }

  .more-track {
    gap: 16px;
    padding: 0 24px;
  }

  .more-slide {
    flex: 0 0 calc(100% - 48px);
    min-width: calc(100% - 48px);
    max-width: calc(100% - 48px);
  }

  .more-image {
    border-radius: 22px;
  }

  .more-copy h3 {
    font-size: 20px;
  }

  .more-copy p {
    font-size: 15px;
  }
}

/* about / contact */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  padding-top: 96px;
  background: transparent;
}

.about-card,
.contact-card {
  position: relative;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

.contact-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -26px;
  height: 1px;
  background: rgba(255,255,255,0.14);
}

.about-card h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
}

.about-card p,
.contact-card p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}

.about-card p {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,0.58);
  max-width: 760px;
}

.software-stack {
  padding: 96px 0 32px;
  background: transparent;
}

.software-stack-inner {
  width: min(980px, 100%);
  margin: 0;
}

.software-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.software-heading h2 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(5, 120px);
  justify-content: start;
  gap: 34px 42px;
}

.software-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.software-badge {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  border: none;
}

.software-badge img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}

.software-item span {
  display: none;
}

.contact-block {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

#contact.wrap {
  padding-top: 32px;
}

.contact-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
}

.contact-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
}

.contact-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.52);
  flex: 0 0 auto;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.contact-value {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  word-break: break-word;
}

.contact-value:hover {
  color: rgba(255,255,255,0.78);
}

/* footer */
footer {
  padding: 72px 0 60px;
  color: var(--soft);
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: transparent;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 72px;
  }

  .hero p,
  .quick-info-intro p {
    font-size: 17px;
  }

  .hero-panel {
    width: min(100%, 560px);
    padding: 0;
  }

  .quick-info-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .about {
    gap: 28px;
    padding-top: 84px;
  }

  .software-grid {
    grid-template-columns: repeat(3, 120px);
    justify-content: start;
  }

  .contact-block {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-item {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .featured-viewport {
  padding: 0 16px;
}

.featured-slide {
  flex: 0 0 calc(100vw - 32px);
  min-width: calc(100vw - 32px);
  max-width: calc(100vw - 32px);
}

.featured-overlay {
  left: 22px;
  right: 22px;
  bottom: 22px;
  max-width: none;
  padding: 20px 20px 18px;
}

.featured-overlay h3 {
  font-size: 28px;
}

 .featured .section-head {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto 28px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  h1 {
    font-size: clamp(34px, 10vw, 56px);
  }

  .hero p,
  .quick-info-intro p {
    font-size: 16px;
  }

  .hero-panel {
    padding: 0;
  }

  .hero-meta {
    gap: 8px;
  }

  .hero-meta span {
    min-height: 30px;
    padding: 0 12px;
    font-size: 11px;
  }

  .btn {
    width: 100%;
  }

  .featured-viewport {
  padding: 0 12px;
}

  .featured-overlay {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .featured-overlay h3 {
    font-size: 22px;
  }

  .featured-overlay p {
    font-size: 14px;
  }

   .featured .section-head {
    width: min(1240px, calc(100% - 24px));
    margin: 0 auto 24px;
  }

  .about-card,
  .contact-card {
    padding: 0;
  }

  .software-stack {
    padding-top: 84px;
    padding-bottom: 28px;
  }

  .software-grid {
    grid-template-columns: repeat(2, 120px);
    justify-content: start;
    gap: 22px 24px;
  }

  #contact.wrap {
    padding-top: 32px;
  }

  .software-badge {
    width: 76px;
    height: 76px;
  }

  .software-badge img {
    width: 58px;
    height: 58px;
  }
}

.more-all-link {
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 14px;
  line-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
  margin-left: 20px;
}

.more-all-link:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .more-controls {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

/* exploration works */
.explore-slider {
  position: relative;
  width: calc(100% + 80px);
  margin-left: -40px;
}

.explore-viewport {
  width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

.explore-track {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  transition: transform 1.2s cubic-bezier(0.6, 0, 0.5, 1);
  will-change: transform;
  padding: 0 40px;
}

.explore-slide {
  position: relative;
  flex: 0 0 calc(100% - 120px);
  min-width: calc(100% - 120px);
  max-width: calc(100% - 120px);
  display: block;
  color: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  background: #111;
}

.explore-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.12) 20%,
    rgba(0, 0, 0, 0.03) 42%,
    rgba(0, 0, 0, 0) 68%
  );
  pointer-events: none;
  z-index: 1;
}

.explore-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.explore-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.explore-slide:hover .explore-image img {
  transform: scale(1.02);
}

.explore-slide.is-active .explore-copy {
  opacity: 1;
  transform: translateY(0);
}

.explore-copy {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  max-width: 420px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.2s cubic-bezier(0.8, 1, 0.8, 1),
            transform 1.2s cubic-bezier(0.8, 1, 0.8, 1);
  pointer-events: none;
}

.explore-copy h3 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: #ffffff;
}

.explore-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}

.explore-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
  padding-right: 24px;
}

.explore-arrow {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.explore-arrow:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}

.explore-all-link {
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 14px;
  line-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
  margin-left: 12px;
}

.explore-all-link:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .explore-slider {
    width: calc(100% + 96px);
    margin-left: -48px;
  }

  .explore-track {
    gap: 20px;
    padding: 0 48px;
  }

  .explore-slide {
    flex: 0 0 calc((100% - 20px - 96px) / 2);
    min-width: calc((100% - 20px - 96px) / 2);
    max-width: calc((100% - 20px - 96px) / 2);
  }

  .explore-copy {
  top: 20px;
  left: 20px;
  right: 20px;
}

.explore-copy h3 {
  font-size: 28px;
}

.explore-copy p {
  font-size: 15px;
}

@media (max-width: 640px) {
  .explore-slider {
    width: calc(100% + 48px);
    margin-left: -24px;
  }

  .explore-track {
    gap: 16px;
    padding: 0 24px;
  }

  .explore-slide {
    flex: 0 0 calc(100% - 48px);
    min-width: calc(100% - 48px);
    max-width: calc(100% - 48px);
  }

  .explore-image {
    border-radius: 22px;
  }

  .explore-copy {
  top: 16px;
  left: 16px;
  right: 16px;
}

.explore-copy h3 {
  font-size: 22px;
}

.explore-copy p {
  font-size: 14px;
}

  .explore-controls {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-right: 0;
  }
}
}

/* exploration section de-emphasis */
#exploration-works {
  position: relative;
  margin-top: 56px;
  padding: 42px 24px 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.008)),
    #1b1b1b;
}

#exploration-works::before {
  content: "More Exploration";
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.26);
}

#exploration-works .section-head {
  margin-bottom: 20px;
}

#exploration-works .section-head h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -0.02em;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.92);
}

#exploration-works .explore-slider {
  width: 100%;
  margin-left: 0;
}

#exploration-works .explore-track {
  gap: 16px;
  padding: 0;
}

#exploration-works .explore-slide {
  flex: 0 0 min(46vw, 560px);
  min-width: min(46vw, 560px);
  max-width: min(46vw, 560px);
  border-radius: 20px;
}

#exploration-works .explore-image {
  aspect-ratio: 16 / 9;
}

#exploration-works .explore-copy {
  top: 26px;
  left: 26px;
  right: 26px;
  bottom: auto;
  max-width: 260px;
}

#exploration-works .explore-copy h3 {
  font-size: clamp(20px, 1.9vw, 26px);
  margin-bottom: 4px;
}

#exploration-works .explore-copy p {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.76);
}

#exploration-works .explore-controls {
  margin-top: 18px;
}

#exploration-works .explore-arrow,
#exploration-works .explore-all-link {
  height: 44px;
}

#exploration-works .explore-arrow {
  width: 44px;
  font-size: 24px;
}

#exploration-works .explore-all-link {
  padding: 0 16px;
  font-size: 13px;
  line-height: 44px;
}

@media (max-width: 980px) {
  #exploration-works {
    margin-top: 44px;
    padding: 34px 18px 24px;
    border-radius: 22px;
  }

  #exploration-works::before {
    top: 14px;
    right: 18px;
  }

  #exploration-works .explore-slider {
    width: 100%;
    margin-left: 0;
  }

  #exploration-works .explore-track {
    gap: 14px;
    padding: 0;
  }

  #exploration-works .explore-slide {
    flex: 0 0 min(62vw, 440px);
    min-width: min(62vw, 440px);
    max-width: min(62vw, 440px);
  }
}

@media (max-width: 640px) {
  #exploration-works {
    margin-top: 36px;
    padding: 28px 14px 22px;
    border-radius: 18px;
  }

  #exploration-works::before {
    position: static;
    display: block;
    margin-bottom: 10px;
  }

  #exploration-works .section-head h2 {
    font-size: 26px;
  }

  #exploration-works .explore-slider {
    width: 100%;
    margin-left: 0;
  }

  #exploration-works .explore-track {
    gap: 12px;
    padding: 0;
  }

  #exploration-works .explore-slide {
    flex: 0 0 calc(100% - 56px);
    min-width: calc(100% - 56px);
    max-width: calc(100% - 56px);
    border-radius: 18px;
  }

  #exploration-works .explore-copy {
    top: 22px;
    left: 22px;
    right: 22px;
    bottom: auto;
    max-width: 220px;
  }

  #exploration-works .explore-copy h3 {
    font-size: 22px;
  }

  #exploration-works .explore-copy p {
    font-size: 14px;
  }
}

/* lower section redesign */
#exploration-works {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 64px;
  padding: 42px 0 34px;
  background: transparent;
  border-top: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  border-radius: 0;
  position: relative;
  box-shadow: none;
}

#exploration-works::before {
  content: none;
  position: absolute;
  top: 26px;
  right: max(24px, calc((100vw - 1240px) / 2 + 20px));
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.26);
}

#exploration-works .section-head {
  width: min(1240px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

#exploration-works .section-head {
  margin-bottom: 22px;
}

#exploration-works .explore-slider {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
  overflow: hidden;
}

#exploration-works .explore-viewport {
  width: 100%;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

#exploration-works .explore-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding-left: 0;
  padding-right: 0;
  box-sizing: content-box;
}

#exploration-works .explore-slide {
  flex: 0 0 min(58vw, 864px);
  min-width: min(58vw, 864px);
  max-width: min(58vw, 864px);
  border-radius: 28px;
  overflow: hidden;
}

#exploration-works .explore-controls {
  width: min(1240px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
  margin-top: 18px;
  justify-content: flex-end;
  padding: 0;
  box-sizing: border-box;
}

#about,
#software-stack,
#contact,
footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
  padding-left: max(24px, calc((100vw - 1240px) / 2));
  padding-right: max(24px, calc((100vw - 1240px) / 2));
  box-sizing: border-box;
  background: #000;
}

#about {
  margin-top: 0;
  padding-top: 96px;
  padding-bottom: 0;
  display: block;
}

#about .about-card,
#contact .contact-card {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

#about .about-card,
#contact .contact-card,
footer .wrap {
  width: min(980px, 100%);
}

#about .about-card::after,
#contact .contact-card::after {
  display: none;
}

#about .about-card:first-child,
#contact .contact-card {
  position: relative;
  padding-top: 18px;
}

#about .about-card:first-child::before,
#contact .contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 1px;
  background: rgba(255,255,255,0.12);
}

#about .about-card:first-child {
  margin-bottom: 24px;
}

#about .about-card h2,
#contact .contact-card h2 {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -0.03em;
  font-weight: 600;
}

#about .about-card p,
#contact .contact-card p,
.contact-value {
  max-width: 860px;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.85;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.76);
}

#contact {
  margin-top: 0;
  padding-top: 84px;
  padding-bottom: 6px;
}

#contact .contact-card {
  max-width: 760px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 4px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-label {
  color: rgba(255,255,255,0.38);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-value {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}

footer {
  margin-top: 0;
  padding: 40px 0 52px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 980px) {
  #exploration-works {
    margin-top: 52px;
    padding: 34px 0 28px;
  }

  #exploration-works::before {
    content: none;
  }

  #exploration-works .section-head {
    width: min(1240px, calc(100% - 32px));
  }

  #exploration-works .explore-slider {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
  }

  #exploration-works .explore-slide {
    flex: 0 0 calc(100vw - 32px);
    min-width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  #exploration-works .explore-viewport,
  #exploration-works .explore-controls {
    padding-left: 16px;
    padding-right: 16px;
  }

  #exploration-works .explore-viewport {
    padding: 0 16px;
  }

  #exploration-works .explore-controls {
    width: min(1240px, calc(100% - 32px));
    padding-right: 0;
  }

  #about {
    padding-top: 74px;
    padding-bottom: 6px;
  }

  #contact {
    padding-top: 62px;
    padding-bottom: 4px;
  }

  #about,
  #contact,
  footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  footer {
    padding-top: 30px;
  }
}

@media (max-width: 640px) {
  #exploration-works {
    margin-top: 40px;
    padding: 28px 0 24px;
  }

  #exploration-works::before {
    content: none;
  }

  #exploration-works .section-head {
    width: min(1240px, calc(100% - 24px));
  }

  #exploration-works .explore-slider {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
  }

  #exploration-works .explore-slide {
    flex: 0 0 calc(100vw - 24px);
    min-width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  #exploration-works .explore-viewport,
  #exploration-works .explore-controls {
    padding-left: 12px;
    padding-right: 12px;
  }

  #exploration-works .explore-viewport {
    padding: 0 12px;
  }

  #exploration-works .explore-controls {
    width: min(1240px, calc(100% - 24px));
    padding-right: 0;
  }

  #about {
    margin-top: 0;
    padding-top: 56px;
    padding-bottom: 4px;
  }

  #contact {
    padding-top: 46px;
    padding-bottom: 2px;
  }

  #about .about-card p,
  .contact-value {
    font-size: 15px;
    line-height: 1.8;
  }

  #about,
  #contact,
  footer {
    padding-left: 12px;
    padding-right: 12px;
  }

  footer {
    margin-top: 0;
    padding-top: 24px;
    padding-bottom: 44px;
  }

  .contact-block {
    gap: 22px;
  }

  .contact-item {
    gap: 8px;
  }
}
