:root {
  color-scheme: light;
  --ink: #111315;
  --muted: #62676f;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --line: rgba(17, 19, 21, 0.13);
  --accent: #ff6a3d;
  --cyan: #26b6c8;
  --violet: #7c5cff;
  --shadow: 0 24px 70px rgba(20, 25, 31, 0.18);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -120px;
  z-index: 20;
  background: var(--panel);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 52px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled {
  background: rgba(247, 245, 239, 0.92);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding-inline: 6px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  font-size: 14px;
}

.nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding-inline: 8px;
  text-decoration: none;
  opacity: 0.82;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #121212;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 14, 0.9), rgba(10, 12, 14, 0.62) 45%, rgba(10, 12, 14, 0.1)),
    linear-gradient(180deg, rgba(10, 12, 14, 0.04), rgba(10, 12, 14, 0.56)),
    url("/assets/jsaux-switch2-series.webp") center / cover no-repeat;
}

.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 128px 0 64px;
}

.eyebrow,
.section-kicker,
.case-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 10vw, 112px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 span,
.hero h1 small {
  display: block;
}

.hero h1 small {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(24px, 3.8vw, 46px);
  font-weight: 800;
}

.hero-subtitle {
  margin: 24px 0 0;
  max-width: 760px;
  font-size: clamp(25px, 5vw, 58px);
  line-height: 1.12;
  font-weight: 800;
}

.hero-copy {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 2vw, 20px);
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
}

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

.button.ghost {
  color: #fff;
}

.proof-bar {
  width: min(var(--max), calc(100% - 40px));
  margin: -28px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--line);
}

.proof-bar div {
  background: var(--panel);
  padding: 22px;
}

.proof-bar strong,
.proof-bar span {
  display: block;
}

.proof-bar strong {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.15;
}

.proof-bar span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 118px) 0;
}

.intro {
  max-width: 940px;
  margin-top: 10px;
}

.intro h2,
.section-heading h2,
.profile h2,
.contact h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: 0;
}

.intro p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.capability-grid span {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  color: #2d333a;
  font-weight: 800;
  line-height: 1.25;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

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

.case-featured {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: 38px 0;
}

.case-media {
  min-width: 0;
}

.image-button,
.thumb,
.gallery-grid button {
  cursor: zoom-in;
  padding: 0;
  border: 0;
  background: transparent;
}

.image-button img,
.thumb img,
.gallery-grid img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(17, 19, 21, 0.1);
  box-shadow: 0 16px 44px rgba(18, 18, 18, 0.16);
}

.product-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #060606;
}

.product-frame img {
  height: 100%;
  object-fit: cover;
}

.case-copy h3,
.case-card h3,
.timeline h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.12;
}

.case-copy p:not(.case-label),
.case-card p:not(.case-label),
.timeline p {
  color: var(--muted);
}

.clean-list {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
}

.link-row,
.video-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 8px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.case-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e6df;
}

.thumb img {
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.product-thumb img {
  object-position: 57% center;
}

.case-card-copy {
  padding: 22px;
}

.case-card-copy h3 {
  font-size: 23px;
}

.case-video {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  margin-top: 28px;
  padding: 30px 0 0;
}

.case-video .thumb {
  border-radius: 8px;
}

.gallery {
  padding-top: 20px;
}

.compact {
  margin-bottom: 22px;
}

.expo {
  padding-top: 28px;
}

.expo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.expo-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.expo-photo {
  cursor: zoom-in;
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #d8d9d4;
}

.expo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expo-photo.portrait img {
  object-position: center 28%;
}

.expo-placeholder {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(38, 182, 200, 0.2), rgba(255, 106, 61, 0.18)),
    #d8d9d4;
  color: rgba(17, 19, 21, 0.72);
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 900;
  text-align: center;
}

.expo-copy {
  padding: 24px;
}

.expo-copy h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.12;
}

.expo-copy p:not(.case-label) {
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-grid button {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: #edeae1;
}

.gallery-grid img {
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: none;
}

.profile {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.profile-copy p {
  color: var(--muted);
  font-size: 18px;
}

.timeline {
  display: grid;
  gap: 14px;
}

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

.timeline-head {
  display: flex;
  gap: 16px;
  align-items: center;
}

.company-logo {
  width: 64px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.jsaux-logo {
  background: #050505;
}

.ak-logo {
  padding: 3px;
}

.insta360-logo {
  width: 72px;
}

.timeline time {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.timeline h3 {
  margin-top: 8px;
  font-size: 24px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
  padding-top: 40px;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}

.contact-card a,
.contact-card > span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.contact-card a span,
.contact-card > span span {
  color: rgba(255, 255, 255, 0.58);
  min-width: 48px;
}

.contact-card a:hover {
  color: #ffd0c2;
}

.lightbox {
  width: min(92vw, 980px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.lightbox-close {
  position: fixed;
  right: 22px;
  top: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-header {
    padding: 12px 20px;
  }

  .nav {
    gap: 16px;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(10, 12, 14, 0.46), rgba(10, 12, 14, 0.92)),
      url("/assets/jsaux-switch2-series.webp") center / cover no-repeat;
  }

  .proof-bar,
  .case-featured,
  .case-video,
  .case-grid,
  .expo-grid,
  .gallery-grid,
  .profile,
  .contact {
    grid-template-columns: 1fr;
  }

  .proof-bar {
    margin-top: 0;
    border-radius: 0;
    width: 100%;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 14px;
  }

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

  .capability-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .nav {
    font-size: 13px;
  }

  .hero-inner,
  .section {
    width: min(100% - 28px, var(--max));
  }

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

  .hero-subtitle {
    font-size: 29px;
  }

  .proof-bar {
    grid-template-columns: 1fr 1fr;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .proof-bar div,
  .case-card-copy,
  .timeline article,
  .contact-card {
    padding: 18px;
  }

  .timeline-head {
    align-items: flex-start;
  }

  .gallery-grid {
    gap: 10px;
  }
}
