.al-portfolio-card {
  grid-column: 2;
  min-width: 0;
  scroll-margin-top: 96px;
  margin-top: clamp(64px, 9vw, 140px);
  padding: clamp(28px, 5vw, 72px);
  border: 1px solid rgba(241, 240, 233, 0.18);
  border-radius: 32px;
  background:
    radial-gradient(circle at 84% 12%, rgba(124, 58, 237, 0.2), transparent 32%),
    radial-gradient(circle at 72% 88%, rgba(20, 184, 166, 0.16), transparent 34%),
    #111411;
  overflow: hidden;
}

.al-portfolio-card * {
  box-sizing: border-box;
}

.al-portfolio-eyebrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: #9c9d98;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.al-portfolio-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 42px;
}

.al-portfolio-brand img {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
}

.al-portfolio-brand strong {
  display: block;
  color: #f1f0e9;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.al-portfolio-brand span {
  color: #14b8a6;
}

.al-portfolio-copy h4 {
  max-width: 720px;
  margin: 28px 0 0;
  color: #f1f0e9;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.al-portfolio-copy p {
  max-width: 630px;
  margin: 20px 0 0;
  color: #b8b9b3;
  font-size: 15px;
  line-height: 1.9;
}

.al-portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.al-portfolio-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(241, 240, 233, 0.16);
  border-radius: 999px;
  color: #c9cac4;
  font-size: 11px;
}

.al-flow-heading {
  display: grid;
  gap: 10px;
  margin-top: clamp(58px, 8vw, 110px);
  padding-top: 28px;
  border-top: 1px solid rgba(241, 240, 233, 0.14);
}

.al-flow-heading > span {
  color: #c8ff48;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.al-flow-heading strong {
  max-width: 780px;
  color: #f1f0e9;
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.al-flow-heading small {
  color: #777974;
  font-size: 12px;
}

.al-flow-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 30px);
  margin-top: 34px;
}

.al-flow-gallery figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(241, 240, 233, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.al-flow-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid rgba(241, 240, 233, 0.12);
  background: #eef2f8;
}

.al-image-link {
  position: relative;
  display: block;
  cursor: zoom-in;
  touch-action: manipulation;
}

.al-image-link:focus-visible {
  outline: 2px solid #c8ff48;
  outline-offset: -4px;
}

.al-flow-gallery figcaption {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 18px 18px;
}

.al-flow-gallery figcaption b {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: #0a0c0b;
  background: #c8ff48;
  font-size: 10px;
}

.al-flow-gallery figcaption > span {
  display: grid;
  gap: 4px;
  color: #f1f0e9;
  font-size: 13px;
  font-weight: 750;
}

.al-flow-gallery figcaption small {
  color: #777974;
  font-size: 10px;
  font-weight: 500;
}

.al-nav-link {
  color: #c8ff48 !important;
}

.atlas-nav-link {
  color: #c8ff48 !important;
}

.atlas-portfolio-entry {
  position: relative;
  grid-column: 2;
  min-width: 0;
  margin-top: clamp(74px, 10vw, 156px);
  padding: clamp(30px, 5vw, 72px);
  border: 1px solid rgba(241, 240, 233, 0.18);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #0a0c0b;
  background-size: 64px 64px;
  overflow: hidden;
}

.atlas-portfolio-entry::after {
  position: absolute;
  z-index: 0;
  top: -210px;
  right: -180px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(200, 255, 72, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(200, 255, 72, 0.04);
  content: "";
}

.atlas-portfolio-entry > * {
  position: relative;
  z-index: 1;
}

.atlas-entry-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(241, 240, 233, 0.16);
  color: #777974;
  letter-spacing: 0.12em;
  font-size: 9px;
}

.atlas-entry-topline span:first-child {
  color: #c8ff48;
}

.atlas-entry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 7vw;
  align-items: end;
  margin-top: clamp(54px, 7vw, 92px);
}

.atlas-entry-layout > div:first-child > p {
  margin: 0 0 20px;
  color: #a7a8a2;
  letter-spacing: 0.18em;
  font-size: 9px;
}

.atlas-entry-layout h3 {
  margin: 0;
  color: #f1f0e9;
  letter-spacing: -0.07em;
  font-size: clamp(48px, 6.6vw, 94px);
  font-weight: 520;
  line-height: 0.96;
}

.atlas-entry-copy > p {
  margin: 0;
  color: #a6a7a2;
  font-size: 13px;
  line-height: 1.9;
}

.atlas-entry-copy > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 34px;
  padding: 20px 0;
  border-top: 1px solid rgba(241, 240, 233, 0.16);
  border-bottom: 1px solid rgba(241, 240, 233, 0.16);
  color: #f1f0e9;
  font-size: 13px;
  transition:
    color 180ms ease,
    padding 180ms ease;
}

.atlas-entry-copy > a:hover {
  padding-right: 10px;
  padding-left: 10px;
  color: #c8ff48;
}

.atlas-entry-copy > a span {
  color: #c8ff48;
}

.atlas-entry-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(54px, 7vw, 88px);
  border-top: 1px solid rgba(241, 240, 233, 0.16);
  border-bottom: 1px solid rgba(241, 240, 233, 0.16);
}

.atlas-entry-products span {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 13px;
  border-right: 1px solid rgba(241, 240, 233, 0.16);
  color: #c9cac4;
  font-size: 11px;
}

.atlas-entry-products span:nth-child(n + 2) {
  padding-left: 20px;
}

.atlas-entry-products span:last-child {
  border-right: 0;
}

.atlas-entry-products b {
  color: #c8ff48;
  font-size: 9px;
}

@media (max-width: 820px) {
  .al-portfolio-card {
    padding: 28px;
    border-radius: 22px;
  }

  .al-flow-gallery {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .atlas-entry-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

}

@media (max-width: 680px) {
  .al-portfolio-card {
    grid-column: 1;
    width: 100%;
    scroll-margin-top: 76px;
    margin-top: 56px;
    padding: 22px;
    border-radius: 20px;
  }

  .al-portfolio-eyebrow {
    display: grid;
    justify-content: start;
    gap: 6px;
    font-size: 9px;
    line-height: 1.55;
  }

  .al-portfolio-brand {
    gap: 12px;
    margin-top: 28px;
  }

  .al-portfolio-brand img {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 13px;
  }

  .al-portfolio-brand strong {
    min-width: 0;
    font-size: clamp(29px, 9vw, 40px);
    line-height: 1;
  }

  .al-portfolio-copy h4 {
    margin-top: 24px;
    font-size: clamp(23px, 7vw, 30px);
    line-height: 1.24;
  }

  .al-portfolio-copy p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.75;
  }

  .al-portfolio-tags {
    gap: 6px;
    margin-top: 20px;
  }

  .al-portfolio-tags span {
    padding: 6px 9px;
    font-size: 10px;
  }

  .al-flow-heading {
    gap: 8px;
    margin-top: 46px;
    padding-top: 24px;
  }

  .al-flow-heading strong {
    font-size: clamp(24px, 7.5vw, 32px);
    line-height: 1.22;
  }

  .al-flow-heading small {
    font-size: 11px;
    line-height: 1.55;
  }

  .al-flow-gallery {
    margin-top: 24px;
  }

  .al-flow-gallery figure {
    border-radius: 16px;
  }

  .al-image-link::after {
    content: "轻触查看大图";
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #fff;
    background: rgba(10, 12, 11, 0.76);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0.04em;
    pointer-events: none;
  }

  .al-flow-gallery figcaption {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 13px 14px 15px;
  }

  .al-flow-gallery figcaption b {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .al-flow-gallery figcaption > span {
    font-size: 13px;
    line-height: 1.45;
  }

  .al-flow-gallery figcaption small {
    font-size: 10px;
    line-height: 1.55;
  }

  .atlas-portfolio-entry {
    grid-column: 1;
    margin-top: 64px;
    padding: 24px;
  }

  .atlas-entry-topline {
    display: grid;
    justify-content: start;
  }

  .atlas-entry-layout {
    margin-top: 46px;
  }

  .atlas-entry-layout h3 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .atlas-entry-products {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .atlas-entry-products span,
  .atlas-entry-products span:nth-child(n + 2) {
    min-height: 54px;
    padding-left: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(241, 240, 233, 0.16);
  }

  .atlas-entry-products span:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 360px) {
  .al-portfolio-card {
    padding: 18px;
  }

  .al-portfolio-brand img {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .al-portfolio-brand strong {
    font-size: 27px;
  }
}
