.showcase {
  --s-ink: #0a1623;
  --s-muted: #59697a;
  --s-blue: #0072e3;
  --s-line: rgba(8, 30, 55, 0.13);
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 8vw, 96px);
  background: #fff;
  color: var(--s-ink);
}

.showcase__pin {
  position: relative;
}

.showcase__head {
  max-width: 820px;
  margin: 0 auto clamp(8px, 2vw, 16px);
  padding: 0 clamp(20px, 4vw, 40px);
  text-align: left;
}

.showcase__head-title {
  margin: 0;
  font-size: clamp(1.125rem, 1.3vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.14em;
  color: var(--s-ink);
}

@media (max-width: 1271px) {
  .showcase__head-title {
    font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  }
}

.showcase__head-sub {
  margin: 10px 0 0;
  font-size: clamp(0.875rem, 1vw, 1rem);
  line-height: 1.6;
  letter-spacing: 0.01em;
  text-wrap: balance;
  color: var(--s-muted);
}

.showcase__atmosphere,
.showcase__stage,
.showcase__dock {
  display: none;
}

.showcase__copies {
  display: block;
}

.showcase__copy {
  max-width: 820px;
  margin: 0 auto;
  padding: 34px clamp(20px, 4vw, 40px);
  border-bottom: 1px solid var(--s-line);
}

.showcase__copy:last-child {
  border-bottom: 0;
}

.showcase__name {
  margin: 0;
  font-size: clamp(2rem, 7.6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
  word-break: keep-all;
  color: var(--s-ink);
}

.showcase__text {
  margin: 16px 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--s-muted);
}

@media (min-width: 1272px) and (min-height: 601px) {
  .showcase.is-motion {
    --sun: min(19vw, 25svh, 290px);
    height: calc(9.5 * 100svh);
    padding: 0;
  }

  .showcase.is-motion .showcase__pin {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;
  }

  .showcase.is-motion .showcase__head {
    position: absolute;
    top: clamp(88px, 9.5svh, 116px);
    left: clamp(24px, 4vw, 64px);
    z-index: 4;
    width: min(26rem, calc(100% - 48px));
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  .showcase.is-motion .showcase__atmosphere {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  .showcase__wash {
    position: absolute;
    inset: 0;
    transform: translate3d(0, 0, 0);
    background: radial-gradient(38% 44% at 50% 44%, rgba(0, 114, 227, 0.16), rgba(0, 114, 227, 0) 72%);
    will-change: transform;
    pointer-events: none;
  }

  .showcase.is-motion .showcase__stage {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
  }

  .showcase__orbits {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(var(--sun) * 3.1);
    aspect-ratio: 1000 / 740;
    height: auto;
    transform: translate(-50%, -50%);
    will-change: transform;
  }

  .showcase__ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(74, 108, 143, 0.3);
    border-radius: 50%;
  }

  .showcase__ring:nth-child(2) {
    inset: 7.42%;
    border-color: rgba(74, 108, 143, 0.36);
  }

  .showcase__ring:nth-child(3) {
    inset: 14.84%;
    border-color: rgba(74, 108, 143, 0.42);
  }

  .showcase__node {
    --node: var(--sun, min(30vw, 46svh, 560px));
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: var(--node);
    height: var(--node);
    box-sizing: border-box;
    padding: 0;
    border: 1px solid rgba(10, 22, 35, 0.13);
    border-radius: 50%;
    background-color: #fff;
    color: #33485e;
    font-size: calc(var(--node) * 0.155);
    font-weight: 500;
    line-height: 1.28;
    letter-spacing: 0.01em;
    text-align: center;
    box-shadow: 0 8px 16px -14px rgba(9, 36, 66, 0.5);
    transform: translate(-50%, -50%);
    transform-origin: 50% 50%;
    backface-visibility: hidden;
    will-change: transform;
    transition: background-color 0.32s ease, border-color 0.32s ease,
      color 0.32s ease, box-shadow 0.32s ease;
  }

  .showcase__node-name {
    display: block;
    max-width: 84%;
    text-wrap: balance;
  }

  .showcase__node.is-current {
    border-color: var(--s-blue);
    background-color: var(--s-blue);
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow:
      0 0 26px 4px rgba(0, 114, 227, 0.1),
      0 0 70px 22px rgba(0, 114, 227, 0.055),
      0 30px 60px -34px rgba(0, 80, 160, 0.5);
  }

  .showcase.is-motion .showcase__copies {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 43fr) minmax(0, 14fr) minmax(0, 43fr);
    align-items: center;
    padding: 0 clamp(24px, 4vw, 64px) 88px;
    pointer-events: none;
  }

  .showcase.is-motion .showcase__copy {
    grid-row: 1;
    grid-column: 1;
    max-width: min(620px, 100%);
    margin: 0;
    padding: 0 24px 0 0;
    border: 0;
    opacity: 0;
    visibility: hidden;
  }

  .showcase.is-motion .showcase__copy[data-side="right"] {
    grid-column: 3;
    padding: 0 0 0 24px;
  }

  .showcase.is-motion .showcase__name {
    margin: 0;
    font-size: clamp(2rem, min(4.4vw, 5.6svh), 4rem);
    text-wrap: balance;
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.045em;
    color: var(--s-ink);
  }

  .showcase.is-motion .showcase__text {
    margin: 22px 0 0;
    max-width: 38ch;
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    line-height: 1.75;
    color: var(--s-muted);
  }

  .showcase.is-motion .showcase__dock {
    display: flex;
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 5;
    transform: translateX(-50%);
    align-items: center;
    gap: 2px;
    width: fit-content;
    max-width: calc(100% - 48px);
    padding: 6px;
    border: 1px solid var(--s-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 45px rgba(6, 28, 55, 0.1);
  }

  .showcase__chip {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #4a5a6a;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .showcase__chip:hover {
    background: rgba(0, 114, 227, 0.08);
    color: var(--s-ink);
  }

  .showcase__chip[aria-pressed="true"] {
    background: var(--s-blue);
    color: #fff;
  }

  .showcase__chip:focus-visible {
    outline: 2px solid var(--s-blue);
    outline-offset: 2px;
  }

  .showcase__node:focus-visible {
    outline: 2px solid var(--s-blue);
    outline-offset: 6px;
  }
}

/* 320px 极窄屏：产品名允许断行，避免撑出横向滚动 */
@media (max-width: 359.98px) {
  .showcase__name {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}
