@font-face {
  font-family: "FZZZhun";
  src: url("./assets/fzzzhun.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Project Two — a full image-led case study for the Brand Poster Agent. */
.project-two-body {
  min-width: 320px;
  margin: 0;
  color: #f0e7dc;
  background: #070202;
}

.project-two-page {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 58% 20% at 78% 10%, rgba(125, 20, 13, 0.28), transparent 72%),
    radial-gradient(ellipse 42% 14% at 5% 38%, rgba(122, 42, 14, 0.16), transparent 75%),
    #070202;
}

.project-two-page::before {
  position: absolute;
  top: min(25vw, 430px);
  right: min(-22vw, -280px);
  z-index: 0;
  width: min(63vw, 1080px);
  height: min(48vw, 780px);
  border-radius: 50%;
  content: "";
  background: radial-gradient(ellipse at center, rgba(179, 42, 22, 0.18), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}

.project-two-back,
.project-two-header {
  position: fixed;
  z-index: 12;
}

.project-two-back {
  top: 31px;
  left: 36px;
  display: inline-flex;
  gap: 8px;
  color: rgba(244, 230, 214, 0.74);
  font-family: "FZLantingThin", var(--font-cn);
  font-size: 13px;
  text-decoration: none;
  transition: color 180ms ease;
}

.project-two-back:hover,
.project-two-back:focus-visible { color: #efc693; outline: none; }

.project-two-header {
  top: 25px;
  right: 36px;
  max-width: 220px;
  padding: 15px 16px 16px;
  border: 1px solid rgba(215, 166, 119, 0.21);
  border-radius: 8px;
  background: rgba(10, 2, 2, 0.67);
  box-shadow: inset 0 1px rgba(255, 228, 200, 0.04);
  backdrop-filter: blur(14px);
  text-align: right;
}

.project-two-header p,
.project-two-header h2 { margin: 0; }
.project-two-header p { color: rgba(228, 167, 112, 0.78); font-family: var(--font-en); font-size: 8px; letter-spacing: .1em; }
.project-two-header h2 { margin-top: 7px; color: #f0e6d9; font-family: "FZLantingThin", var(--font-cn); font-size: 15px; font-weight: 300; }
.project-two-header nav { display: grid; margin-top: 13px; gap: 4px; }
.project-two-header a { color: rgba(244, 230, 214, 0.56); font-family: "FZLantingThin", var(--font-cn); font-size: 11px; text-decoration: none; transition: color 160ms ease; }
.project-two-header a:hover,
.project-two-header a:focus-visible,
.project-two-header a.is-active { color: #efc693; outline: none; }

/* The previous case-study layout keeps its chapter text without a framed container. */
.project-two-header--plain {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.project-two-hero {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: max(690px, 100svh);
  padding: clamp(106px, 10.5vw, 164px) max(6vw, 48px) clamp(68px, 7vw, 112px);
  grid-template-columns: minmax(325px, .72fr) minmax(540px, 1.28fr);
  align-items: center;
  gap: clamp(34px, 4vw, 80px);
}

.project-two-hero-copy { max-width: 525px; }
.project-two-hero-copy > p { margin: 0 0 17px; color: #db9763; font-family: var(--font-en); font-size: clamp(12px, .9vw, 16px); font-weight: 700; letter-spacing: .11em; }
.project-two-hero-copy h1 { margin: 0; color: #f3ddc5; font-family: var(--font-cn); font-size: clamp(43px, 4.2vw, 78px); font-weight: 400; letter-spacing: .045em; line-height: 1.15; }
.project-two-hero-copy > span { display: block; margin-top: 24px; color: rgba(237, 215, 194, .62); font-family: "FZLantingThin", var(--font-cn); font-size: clamp(14px, 1vw, 18px); }
.project-two-hero-copy dl { display: grid; margin: clamp(55px, 7vw, 104px) 0 0; gap: 24px; }
.project-two-hero-copy dl div { padding-top: 13px; border-top: 1px solid rgba(215, 166, 119, .27); }
.project-two-hero-copy dt { color: #d58e5b; font-family: var(--font-en); font-size: 9px; font-weight: 700; letter-spacing: .09em; }
.project-two-hero-copy dd { margin: 7px 0 0; color: rgba(243, 231, 217, .72); font-family: "FZLantingThin", var(--font-cn); font-size: 13px; line-height: 1.6; }

.project-two-hero-art,
.project-two-art-link { position: relative; display: block; margin: 0; overflow: hidden; border: 1px solid rgba(219, 165, 113, .38); border-radius: 10px; background: #0d0202; box-shadow: 0 22px 55px rgba(0, 0, 0, .33); }
.project-two-hero-art { justify-self: end; width: min(100%, 1080px); }
.project-two-hero-art img,
.project-two-art-link img { display: block; width: 100%; height: auto; }

.project-two-chapter { position: relative; z-index: 1; width: min(100% - 12.8vw, 1320px); margin: 0 auto; padding: clamp(88px, 9.6vw, 154px) 0 0; scroll-margin-top: 52px; }
.project-two-chapter--context { padding-top: clamp(30px, 4vw, 64px); }
.project-two-heading { display: grid; width: max-content; max-width: 100%; margin: 0 0 clamp(26px, 2.7vw, 43px); }
.project-two-heading--right { margin-left: auto; text-align: right; }
.project-two-heading p { margin: 0 0 10px; color: #d58e5b; font-family: var(--font-en); font-size: clamp(9px, .66vw, 12px); font-weight: 700; letter-spacing: .1em; }
.project-two-heading h2 { margin: 0; color: #f0e4d5; font-family: var(--font-cn); font-size: clamp(31px, 3vw, 55px); font-weight: 400; letter-spacing: .035em; line-height: 1.15; }
.project-two-art-pair { display: grid; gap: clamp(24px, 2.7vw, 42px); }
.project-two-chapter--results { padding-bottom: calc(110px - var(--project-two-page-inset)); }

@media (prefers-reduced-motion: no-preference) {
  [data-project-two-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 620ms cubic-bezier(.16, 1, .3, 1), transform 620ms cubic-bezier(.16, 1, .3, 1); }
  [data-project-two-reveal].is-visible { opacity: 1; transform: translateY(0); }
}

@media (max-width: 840px) {
  .project-two-back { top: 15px; left: 18px; font-size: 12px; }
  .project-two-header { top: 10px; right: 14px; max-width: calc(100vw - 150px); padding: 0; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
  .project-two-header p,
  .project-two-header h2 { display: none; }
  .project-two-header nav { display: flex; max-width: 100%; margin: 0; gap: 13px; overflow-x: auto; scrollbar-width: none; }
  .project-two-header nav::-webkit-scrollbar { display: none; }
  .project-two-header a { flex: 0 0 auto; font-size: 10px; }
  .project-two-hero { min-height: auto; padding: 100px 24px 65px; grid-template-columns: 1fr; gap: 43px; }
  .project-two-hero-copy { max-width: none; }
  .project-two-hero-copy h1 { font-size: clamp(40px, 10.4vw, 62px); }
  .project-two-hero-copy dl { margin-top: 42px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .project-two-hero-copy dd { font-size: 12px; }
  .project-two-hero-art { justify-self: stretch; }
  .project-two-chapter { width: min(100% - 48px, 1320px); padding-top: 80px; scroll-margin-top: 44px; }
  .project-two-chapter--context { padding-top: 12px; }
  .project-two-heading h2 { font-size: clamp(29px, 7.2vw, 44px); }
}

@media (max-width: 520px) {
  .project-two-page { background: radial-gradient(ellipse 100% 18% at 100% 12%, rgba(125, 20, 13, .25), transparent 72%), #070202; }
  .project-two-hero { padding-right: 17px; padding-left: 17px; }
  .project-two-hero-copy dl { grid-template-columns: 1fr; gap: 17px; }
  .project-two-chapter { width: min(100% - 34px, 1320px); padding-top: 62px; }
  .project-two-heading { margin-bottom: 20px; }
  .project-two-heading h2 { font-size: 29px; }
  .project-two-hero-art,
  .project-two-art-link { border-radius: 6px; }
}

/* Project Two direct image edition — preserves the case-study side margins while letting the supplied images touch. */
.project-two-direct-body { background: #070202; }
.project-two-direct-page { position: relative; min-height: 100vh; overflow: clip; background: #070202; }
.project-two-direct-header { border: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.project-two-direct-stack { width: min(100% - 12.8vw, 1320px); margin: 0 auto; padding-top: clamp(92px, 8vw, 128px); line-height: 0; }
.project-two-direct-image { position: relative; display: block; margin: 0; padding: 0; border: 0; outline: none; background: transparent; line-height: 0; }
.project-two-direct-image img { display: block; width: 100%; height: auto; margin: 0; padding: 0; border: 0; }
.project-two-direct-image:focus-visible { outline: 1px solid #efc693; outline-offset: 4px; }
.project-two-direct-footer { width: min(100% - 12.8vw, 1320px); margin: 0 auto; padding-right: 0; padding-left: 0; }

@media (prefers-reduced-motion: no-preference) {
  .project-two-direct-image { transition: filter 220ms ease; }
  .project-two-direct-image:hover { filter: brightness(1.045); }
}

@media (max-width: 840px) {
  .project-two-direct-header { border: 0; }
  .project-two-direct-stack { width: calc(100% - 48px); padding-top: 68px; }
  .project-two-direct-footer { width: calc(100% - 48px); }
}

@media (max-width: 520px) {
  .project-two-direct-stack { width: calc(100% - 34px); padding-top: 60px; }
  .project-two-direct-footer { width: calc(100% - 34px); }
}

@font-face {
  font-family: "FZLantingThin";
  src: url("./assets/fzlanting-thin.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "FZLantingHei";
  src: url("./assets/fzlthjw.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --white: #f5f4f2;
  --yellow: #ffd400;
  --glass: rgba(17, 8, 14, 0.24);
  --line: rgba(255, 255, 255, 0.82);
  --font-cn: "FZZZhun", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  margin: 0;
  background: #090509;
}

body {
  color: var(--white);
  font-family: var(--font-cn);
}

button {
  color: inherit;
  font: inherit;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #11090e;
}

.visual-bg,
.glitch-layer,
.scan-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.visual-bg {
  z-index: -4;
  background-color: #2a1117;
  background-image: linear-gradient(90deg, rgba(20, 12, 7, 0.24), rgba(17, 4, 14, 0.12)),
    url("./assets/lens-bg-web.webp");
  background-position: center;
  background-size: cover;
  filter: brightness(0.96) saturate(0.92) contrast(1.1);
  transform: scale(1.015);
  animation: lens-breathe 12s ease-in-out infinite alternate;
}

.glitch-layer {
  z-index: -3;
  background: url("./assets/glitch-overlay.png") center / cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.72;
}

.scan-lines {
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(15, 12, 6, 0.13), transparent 36%, rgba(8, 1, 13, 0.22)),
    repeating-linear-gradient(to bottom, transparent 0, transparent 4px, rgba(255, 255, 255, 0.018) 5px);
  background-position: center;
  background-size: cover, auto;
}

.camera-bar {
  position: absolute;
  top: clamp(28px, 6.4vh, 68px);
  left: 4.6vw;
  right: 4.2vw;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  font-family: var(--font-en);
  font-size: clamp(15px, 1.25vw, 27px);
  font-weight: 300;
}

.recording,
.battery-status,
.raw-status,
.capture-format {
  display: flex;
  align-items: center;
}

.recording {
  gap: 8px;
}

.record-dot {
  width: clamp(10px, 0.75vw, 16px);
  aspect-ratio: 1;
  height: auto;
  box-shadow: 0 0 16px rgba(255, 20, 15, 0.5);
  animation: record-pulse 1.35s ease-in-out infinite;
}

.battery-status {
  justify-self: end;
  gap: 5px;
}

.battery-status img {
  width: clamp(32px, 2vw, 43px);
  height: auto;
}

.hero-copy {
  position: absolute;
  top: 30.5vh;
  left: 4.6vw;
  z-index: 4;
  width: min(43vw, 820px);
}

.hero-copy h1,
.hero-copy p {
  margin: 0;
}

.hero-copy h1 {
  font-family: var(--font-en);
  font-size: clamp(76px, 9.6vw, 202px);
  font-weight: 300;
  line-height: 0.82;
  letter-spacing: 0;
}

.cn-title {
  margin-top: 0.9rem !important;
  font-size: clamp(38px, 4vw, 84px);
  line-height: 1;
  white-space: nowrap;
}

.signature {
  display: block;
  width: clamp(270px, 24vw, 520px);
  height: auto;
  margin: -0.15rem 0 1.45rem 0.2rem;
}

.about-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: clamp(214px, 15vw, 324px);
  min-height: 64px;
  padding: 0.65rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(11, 8, 10, 0.2);
  font-family: var(--font-en);
  font-size: clamp(25px, 2.1vw, 46px);
  font-weight: 300;
  letter-spacing: 0;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.about-button:hover,
.about-button:focus-visible {
  color: #15100a;
  background: var(--yellow);
  transform: translateY(-3px);
  outline: none;
}

.project-grid {
  position: absolute;
  top: 18.2vh;
  right: 8.6vw;
  bottom: 11.4vh;
  left: 30.2vw;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(250px, 0.88fr);
  gap: 2vw;
}

.project-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: var(--glass);
  cursor: pointer;
  backdrop-filter: blur(1.5px);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
  color: inherit;
  text-decoration: none;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 1px solid var(--line);
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 220ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.07) 49%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  z-index: 3;
  background: rgba(15, 7, 13, 0.4);
  transform: translateY(-7px);
  outline: none;
}

.project-card:hover::before,
.project-card:focus-visible::before {
  border-color: #fff;
}

.project-card:hover::after,
.project-card:focus-visible::after {
  transform: translateX(120%);
}

.notch {
  position: absolute;
  top: -1px;
  left: 50%;
  z-index: 5;
  width: 98px;
  height: 10.667px;
  border-radius: 0 0 8px 8px;
  background: var(--white);
  transform: translateX(-50%);
}

.project-copy {
  position: absolute;
  top: 12.8%;
  right: 7.5%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.project-title {
  margin-bottom: 1.25rem;
  font-size: clamp(34px, 3vw, 66px);
  line-height: 1;
  white-space: nowrap;
}

.project-card--narrow .project-title {
  font-size: clamp(32px, 2.5vw, 54px);
}

.accent-line {
  width: 31px;
  height: 3px;
  margin: 0 0 1rem;
  background: var(--yellow);
}

.project-item {
  color: var(--yellow);
  font-family: "FZLantingThin", var(--font-cn);
  font-weight: 300;
  font-size: clamp(15px, 1.03vw, 22px);
  line-height: 1.75;
  white-space: nowrap;
}

.project-arrow {
  display: block;
  margin-top: 1.1rem;
  font-family: var(--font-en);
  font-size: clamp(54px, 4.4vw, 94px);
  font-weight: 100;
  line-height: 1;
  transform: scaleY(0.52);
  transform-origin: right center;
}

.play {
  position: absolute;
  right: 5.2%;
  bottom: 4.7%;
  z-index: 2;
  display: grid;
  width: clamp(48px, 3.2vw, 68px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: clamp(24px, 1.7vw, 36px);
  line-height: 1;
}

.camera-controls {
  position: absolute;
  top: 57%;
  right: 4.2vw;
  z-index: 5;
  width: 22px;
  height: auto;
}

.camera-footer {
  position: absolute;
  right: 4.2vw;
  bottom: clamp(26px, 5.2vh, 56px);
  left: 4.6vw;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  font-family: var(--font-en);
  font-size: clamp(15px, 1.25vw, 27px);
  font-weight: 300;
}

.raw-status {
  gap: 8px;
}

.raw-status img {
  width: clamp(22px, 1.5vw, 31px);
  height: auto;
}

.capture-format {
  gap: 6px;
}

.format-box {
  border: 1px solid currentColor;
  font-size: 0.58em;
  line-height: 1.15;
}

.info-dialog {
  width: min(520px, calc(100vw - 40px));
  padding: 2rem;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: rgba(17, 8, 14, 0.9);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
}

.info-dialog::backdrop {
  background: rgba(4, 2, 4, 0.65);
  backdrop-filter: blur(5px);
}

.info-dialog h2 {
  margin: 0.2rem 0 1rem;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
}

.info-dialog p {
  margin: 0;
  font-size: 18px;
}

.dialog-kicker {
  color: var(--yellow);
  font-family: var(--font-en);
  font-size: 14px !important;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-family: var(--font-en);
  font-size: 32px;
  cursor: pointer;
}

.dialog-close:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

@keyframes record-pulse {
  50% {
    opacity: 0.35;
  }
}

@keyframes lens-breathe {
  to {
    filter: brightness(1.04) saturate(1) contrast(1.12);
    transform: scale(1.035);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 1180px;
    overflow-y: auto;
  }

  .visual-bg,
  .glitch-layer,
  .scan-lines {
    position: fixed;
  }

  .hero-copy {
    top: 150px;
    width: calc(100% - 48px);
  }

  .hero-copy h1 {
    font-size: clamp(70px, 18vw, 150px);
  }

  .cn-title {
    font-size: clamp(36px, 9vw, 62px);
  }

  .project-grid {
    top: 540px;
    right: 24px;
    bottom: auto;
    left: 24px;
    grid-template-columns: 1.35fr 0.9fr;
    height: 500px;
    gap: 16px;
  }

  .project-title,
  .project-card--narrow .project-title {
    font-size: clamp(26px, 5vw, 44px);
  }

  .project-item {
    font-size: clamp(13px, 2vw, 17px);
    white-space: normal;
  }

  .project-arrow {
    font-size: 54px;
  }

  .camera-controls {
    display: none;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 1450px;
  }

  .camera-bar,
  .camera-footer {
    left: 20px;
    right: 20px;
  }

  .hero-copy {
    top: 130px;
    left: 20px;
  }

  .signature {
    width: min(86vw, 420px);
  }

  .project-grid {
    top: 515px;
    grid-template-columns: 1fr;
    height: auto;
  }

  .project-card {
    min-height: 410px;
  }

  .project-card--narrow {
    min-height: 340px;
  }

  .project-copy {
    top: 14%;
  }

  .camera-footer {
    position: absolute;
    bottom: 24px;
  }
}

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

/* AI product index */
.work-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #11090e;
}

.work-page .visual-bg,
.work-page .glitch-layer,
.work-page .scan-lines {
  position: fixed;
}

.work-page .visual-bg {
  filter: brightness(0.64) saturate(0.72) contrast(1.12);
}

.work-page .glitch-layer {
  opacity: 0.43;
}

.work-header {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 104px;
  padding: 0 5.6vw;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(9, 5, 9, 0.2);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: clamp(17px, 1.28vw, 25px);
}

.breadcrumb a,
.work-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible,
.work-footer a:hover,
.work-footer a:focus-visible {
  color: var(--yellow);
  outline: none;
}

.breadcrumb span:last-child {
  color: var(--yellow);
}

.work-index {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0;
}

.work-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.work-column {
  min-width: 0;
}

.work-column--left {
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.work-entry {
  min-width: 0;
  min-height: 620px;
  padding: 4.2vw 5.4vw 5vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.work-column--right .work-entry:first-child {
  padding-top: 9.2vw;
}

.work-visual {
  position: relative;
  width: 117.361%;
  margin-left: -8.6805%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background-image:
    linear-gradient(120deg, rgba(255, 212, 0, 0.07), rgba(15, 5, 18, 0.42)),
    url("./assets/lens-bg-web.webp");
  background-position: center;
  background-size: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  transition: border-color 220ms ease, transform 320ms ease;
}

.work-entry:hover .work-visual {
  border-color: rgba(255, 212, 0, 0.62);
  transform: translateY(-4px);
}

.work-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./assets/glitch-overlay.png") center / cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.34;
  pointer-events: none;
}

.work-visual--agent {
  background-position: 72% center;
}

.work-visual--review {
  background-position: 24% 56%;
}

.work-visual--flow {
  background-position: 88% 45%;
}

.visual-label {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-en);
  font-size: 10px;
}

.mock-toolbar {
  position: absolute;
  top: 7%;
  right: 5%;
  left: 5%;
  z-index: 1;
  display: flex;
  height: 28px;
  padding: 0 10px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-en);
  font-size: 8px;
}

.mock-stage {
  position: absolute;
  inset: 24% 9% 16%;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.62fr;
  align-items: end;
  gap: 4%;
}

.mock-poster {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(7, 5, 8, 0.54);
}

.mock-poster--one { height: 100%; }
.mock-poster--two { height: 76%; background: rgba(255, 212, 0, 0.18); }
.mock-poster--three { height: 54%; }

.agent-orbit {
  position: absolute;
  top: 12%;
  left: 9%;
  z-index: 1;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 212, 0, 0.64);
  border-radius: 50%;
}

.agent-orbit::before,
.agent-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
}

.agent-orbit::before { inset: 15%; }
.agent-orbit::after { inset: 32%; background: rgba(255, 212, 0, 0.5); }

.agent-orbit span {
  position: absolute;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-en);
  font-size: 8px;
}

.agent-orbit span:nth-child(1) { top: 4%; left: 62%; }
.agent-orbit span:nth-child(2) { right: -8%; bottom: 26%; }
.agent-orbit span:nth-child(3) { bottom: 2%; left: 4%; }

.agent-panel {
  position: absolute;
  right: 8%;
  bottom: 20%;
  z-index: 1;
  width: 42%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(9, 4, 10, 0.56);
}

.agent-panel p,
.agent-panel strong { margin: 0; }
.agent-panel p { color: var(--yellow); font-size: 10px; }
.agent-panel strong { display: block; margin: 7px 0 14px; font-family: var(--font-en); font-size: 20px; font-weight: 300; }
.agent-progress { display: block; width: 72%; height: 2px; background: var(--yellow); }

.review-list {
  position: absolute;
  top: 18%;
  left: 8%;
  z-index: 1;
  display: grid;
  width: 60%;
  gap: 9px;
}

.review-list > span {
  display: grid;
  grid-template-columns: 11px 1fr auto;
  gap: 10px;
  padding: 11px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(7, 4, 8, 0.48);
  font-family: var(--font-en);
  font-size: 9px;
}

.review-list i { width: 7px; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); }
.review-list b { color: var(--yellow); font-size: 8px; font-weight: 400; }

.review-score {
  position: absolute;
  right: 8%;
  bottom: 19%;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  font-family: var(--font-en);
}

.review-score strong { color: var(--yellow); font-size: 58px; font-weight: 200; line-height: 0.8; }
.review-score span { width: 55px; font-size: 7px; }

.flow-line {
  position: absolute;
  top: 51%;
  right: 13%;
  left: 13%;
  z-index: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.52);
}

.flow-node {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: grid;
  width: 19%;
  aspect-ratio: 1.6;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(10, 5, 10, 0.75);
  font-family: var(--font-en);
  font-size: 8px;
}

.flow-node--one { left: 8%; }
.flow-node--two { left: 40.5%; border-color: var(--yellow); color: var(--yellow); }
.flow-node--three { right: 8%; }

.work-meta {
  display: flex;
  margin-top: 16px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.work-meta h2,
.work-meta p { margin: 0; }
.work-meta h2 { font-size: clamp(17px, 1.15vw, 23px); font-weight: 400; }
.work-meta p { margin-top: 5px; color: rgba(255, 255, 255, 0.64); font-family: var(--font-en); font-size: 10px; }
.work-meta time { flex: 0 0 auto; color: rgba(255, 255, 255, 0.72); font-family: var(--font-en); font-size: 9px; line-height: 1.3; text-align: right; }

.work-footer {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100px;
  padding: 0 5.6vw;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--font-en);
  font-size: 11px;
}

@media (max-width: 900px) {
  .work-header { min-height: 82px; padding: 0 24px; }
  .work-index { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .work-column--left { border-right: 0; }
  .work-entry { min-height: auto; padding: 48px 24px 64px; border-right: 0 !important; }
  .work-column--right .work-entry:first-child { padding-top: 48px; }
  .work-footer { padding: 0 24px; }
}

@media (max-width: 520px) {
  .work-entry { padding: 34px 18px 48px; }
  .work-meta { gap: 10px; }
  .work-meta p { max-width: 250px; line-height: 1.45; }
  .agent-panel { padding: 10px; }
  .agent-panel strong { font-size: 14px; }
  .review-score strong { font-size: 42px; }
}

/* Responsive homepage: viewport HUD with independently scaled content groups. */
.home-body {
  display: grid;
  width: 100vw;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  place-items: center;
  background: #020102;
}

.home-body .hero {
  width: 100vw;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
}

.home-stage {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100svh;
  --home-unit: min(1vw, 1.77778svh);
  container-type: size;
}

.home-body .camera-bar {
  top: 6.4svh;
  right: 4.2vw;
  left: 4.6vw;
  font-size: calc(1.25 * var(--home-unit));
}

.home-body .recording { gap: calc(0.42 * var(--home-unit)); }
.home-body .record-dot { width: calc(0.75 * var(--home-unit)); }
.home-body .battery-status { gap: calc(0.26 * var(--home-unit)); }
.home-body .battery-status img { width: calc(2.14 * var(--home-unit)); }

.home-body .hero-copy {
  top: 50%;
  left: 4.6vw;
  width: calc(43 * var(--home-unit));
  transform: translateY(-49%);
}

.home-body .hero-copy h1 { font-size: calc(9.6 * var(--home-unit)); }
.home-body .cn-title {
  margin-top: calc(0.47 * var(--home-unit)) !important;
  font-size: calc(4 * var(--home-unit));
}

.home-body .signature {
  width: calc(24 * var(--home-unit));
  margin: calc(-0.08 * var(--home-unit)) 0 calc(1.21 * var(--home-unit)) calc(0.2 * var(--home-unit));
}

.home-body .about-button {
  width: calc(15 * var(--home-unit));
  min-height: calc(3.34 * var(--home-unit));
  padding: calc(0.37 * var(--home-unit)) calc(1.35 * var(--home-unit));
  font-size: calc(2.1 * var(--home-unit));
}

.home-body .project-grid {
  top: 50%;
  right: 8.6vw;
  bottom: auto;
  left: auto;
  width: calc(61.2 * var(--home-unit));
  height: calc(39.6 * var(--home-unit));
  grid-template-columns: minmax(0, 1.72fr) minmax(0, 0.88fr);
  gap: calc(2 * var(--home-unit));
  transform: translateY(-50%);
}

.home-body .project-card,
.home-body .project-card--narrow {
  min-height: 0;
  border-radius: calc(1.25 * var(--home-unit));
}

.home-body .notch {
  width: calc(5.1 * var(--home-unit));
  height: calc(0.56 * var(--home-unit));
  border-radius: 0 0 calc(0.42 * var(--home-unit)) calc(0.42 * var(--home-unit));
}

.home-body .project-copy {
  top: 12.8%;
  right: 7.5%;
}

.home-body .project-title {
  margin-bottom: calc(1.04 * var(--home-unit));
  font-size: calc(3 * var(--home-unit));
}

.home-body .project-card--narrow .project-title { font-size: calc(2.5 * var(--home-unit)); }
.home-body .accent-line {
  width: calc(1.62 * var(--home-unit));
  height: calc(0.16 * var(--home-unit));
  margin-bottom: calc(0.83 * var(--home-unit));
}

.home-body .project-item {
  font-size: calc(1.03 * var(--home-unit));
  white-space: nowrap;
}

.home-body .project-arrow {
  margin-top: calc(0.92 * var(--home-unit));
  font-size: calc(4.4 * var(--home-unit));
}

.home-body .play {
  right: 5.2%;
  bottom: 4.7%;
  width: calc(3.2 * var(--home-unit));
  font-size: calc(1.7 * var(--home-unit));
}

.home-body .camera-controls {
  display: block;
  top: 57%;
  right: 4.2vw;
  width: calc(1.15 * var(--home-unit));
}

.home-body .camera-footer {
  right: 4.2vw;
  bottom: 5.2svh;
  left: 4.6vw;
  font-size: calc(1.25 * var(--home-unit));
}

.home-body .raw-status { gap: calc(0.42 * var(--home-unit)); }
.home-body .raw-status img { width: calc(1.3 * var(--home-unit)); }
.home-body .capture-format { gap: calc(0.31 * var(--home-unit)); }

/* Fixed 16:9 AI product stage with a viewport-filling background. */
.ai-body {
  width: 100vw;
  height: 100svh;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #090509;
}

.ai-page {
  position: relative;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #11090e;
}

.ai-page .visual-bg,
.ai-page .glitch-layer,
.ai-page .scan-lines {
  position: absolute;
  inset: 0;
}

.ai-page .visual-bg {
  filter: brightness(0.82) saturate(0.84) contrast(1.12);
}

.ai-page .glitch-layer { opacity: 0.56; }

.ai-stage {
  display: contents;
}

.ai-back {
  position: absolute;
  top: 7.1svh;
  left: 4.55vw;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.62vw;
  color: var(--white);
  font-size: clamp(13px, 1.48vw, 30px);
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease;
}

.ai-back span:first-child {
  font-family: var(--font-en);
  font-size: clamp(16px, 1.8vw, 36px);
  transform: translateY(-0.08svh);
}

.ai-back:hover,
.ai-back:focus-visible {
  color: var(--yellow);
  outline: none;
}

.guide-dots {
  display: grid;
  gap: 0.42svh;
  width: clamp(4px, 0.48vw, 10px);
}

.guide-dots i {
  display: block;
  width: clamp(4px, 0.48vw, 10px);
  height: clamp(5px, 0.72svh, 9px);
  background: var(--white);
}

.ai-left-guide,
.ai-right-guide {
  position: absolute;
  z-index: 5;
  pointer-events: none;
}

.ai-left-guide {
  top: 12.7svh;
  bottom: 5.6svh;
  left: 4.58vw;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 3.2svh;
}

.ai-left-guide .guide-line {
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.74);
}

.ai-side-title {
  position: absolute;
  top: 6.7svh;
  right: 4.55vw;
  z-index: 5;
  display: flex;
  width: clamp(150px, 14vw, 290px);
  flex-direction: column;
  align-items: flex-end;
  color: var(--white);
  text-align: right;
}

.ai-side-title h1,
.ai-side-title p,
.ai-side-label { margin: 0; }

.ai-side-title h1 {
  font-size: clamp(24px, 2.55vw, 54px);
  font-weight: 400;
  line-height: 1;
}

.ai-side-accent {
  width: clamp(18px, 1.22vw, 26px);
  height: max(1px, 0.18svh);
  margin: 1.75svh 0 1.25svh;
  background: var(--yellow);
}

.ai-side-title p {
  color: var(--yellow);
  font-family: "FZLantingThin", var(--font-cn);
  font-size: clamp(8px, 0.66vw, 14px);
  font-weight: 300;
  line-height: 1.7;
  white-space: nowrap;
}

.ai-right-guide {
  top: 21.8svh;
  right: 4.6vw;
  bottom: 9.2svh;
  display: grid;
  grid-template-rows: 1fr auto 1.65fr;
  justify-items: center;
  gap: 2svh;
}

.ai-right-guide .guide-line {
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.74);
}

.ai-side-label {
  position: absolute;
  right: 4.55vw;
  bottom: 5.7svh;
  z-index: 5;
  font-family: var(--font-en);
  font-size: clamp(13px, 1.47vw, 30px);
  font-weight: 300;
}

.ai-project-scroll {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100vw;
  height: 100svh;
  container-type: size;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.ai-project-scroll::-webkit-scrollbar { display: none; }

.ai-project-columns {
  display: grid;
  width: 80.9cqw;
  min-height: 100%;
  margin-left: 9.55cqw;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4.05cqw;
}

.ai-project-column {
  display: flex;
  min-width: 0;
  padding-top: 15.95cqh;
  padding-bottom: 28cqh;
  flex-direction: column;
  gap: 12.2cqh;
}

.ai-project-column--right { padding-top: 33.7cqh; }
.ai-project {
  width: 96%;
  min-width: 0;
  align-self: center;
  color: inherit;
  text-decoration: none;
  transition: transform 220ms ease;
}

.ai-project--agent-offset {
  position: relative;
  top: 60px;
}

.ai-project--workflow-offset {
  position: relative;
  top: 60px;
}

.marketing-project-columns .ai-project[href] {
  position: relative;
  display: block;
  cursor: pointer;
  pointer-events: auto;
}

.ai-project-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0.5px solid rgba(255, 255, 255, 0.74);
  border-radius: 0.42cqw;
  background: #585858;
  transition: background 220ms ease, border-color 220ms ease;
}

.ai-project-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.09) 49%, transparent 58%);
  pointer-events: none;
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

@media (hover: hover) {
  .ai-project:hover {
    z-index: 3;
    transform: translateY(-7px);
  }

  .ai-project:hover .ai-project-cover {
    border-color: #fff;
    background: rgba(15, 7, 13, 0.4);
  }

  .ai-project:hover .ai-project-cover::after {
    transform: translateX(120%);
  }
}

.ai-project-cover--placeholder {
  display: grid;
  place-items: center;
}

.ai-project-cover--placeholder p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 2.6cqw;
  font-weight: 300;
  white-space: nowrap;
}

.ai-project-cover--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-project-meta {
  display: flex;
  margin-top: 2.45cqh;
  align-items: center;
  justify-content: space-between;
  gap: 1.2cqw;
}

.ai-project-meta h2,
.ai-project-meta p { margin: 0; }

.ai-project-meta h2 {
  font-family: "FZLantingThin", var(--font-cn);
  font-size: 0.83cqw;
  font-weight: 300;
  line-height: 1.15;
  white-space: nowrap;
}

.ai-project-meta h2 span {
  font-family: inherit;
  font-size: 1.1em;
}

.ai-project-meta p {
  margin: 0.78cqh 0 0 1.02cqw;
  color: #e6e6e6;
  font-family: "FZLantingThin", var(--font-cn);
  font-size: clamp(10px, 0.82vw, 17px);
  font-weight: 300;
  line-height: 1.7;
  white-space: nowrap;
}

.ai-project-meta > p {
  flex: 0 0 auto;
  margin: 0;
  text-align: right;
}

/* Project detail */
.case-body {
  width: 100vw;
  height: 100svh;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #001411;
}

.case-page {
  position: relative;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #001915;
  --case-green: #49b7b7;
  --case-yellow: #ffbf00;
}

.case-page .visual-bg,
.case-page .glitch-layer,
.case-page .scan-lines {
  position: absolute;
  inset: 0;
}

.case-page .visual-bg {
  background-color: #001c18;
  background-image:
    linear-gradient(110deg, rgba(0, 32, 27, 0.8), rgba(0, 18, 16, 0.72)),
    url("./assets/lens-bg-web.webp");
  background-position: center;
  background-size: cover;
  filter: hue-rotate(115deg) brightness(0.38) saturate(0.72) contrast(1.18);
}

.case-page .glitch-layer {
  opacity: 0.28;
  filter: hue-rotate(95deg) saturate(0.75);
}

.case-page .scan-lines { opacity: 0.72; }

.case-back,
.case-home {
  position: absolute;
  z-index: 8;
  display: flex;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.case-back {
  top: 7.5svh;
  left: 4.8vw;
  gap: 0.65vw;
  font-size: clamp(16px, 1.45vw, 30px);
}

.case-back span:first-child {
  font-family: var(--font-en);
  font-size: 1.3em;
}

.case-back:hover,
.case-back:focus-visible,
.case-home:hover,
.case-home:focus-visible {
  color: var(--case-green);
  outline: none;
  transform: translateY(-2px);
}

.case-left-guide,
.case-right-guide {
  position: absolute;
  z-index: 7;
  pointer-events: none;
}

.case-left-guide {
  top: 13.5svh;
  bottom: 6.2svh;
  left: 5.05vw;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 2.5svh;
}

.case-right-guide {
  top: 14.2svh;
  right: 3.8vw;
  bottom: 9.3svh;
  display: grid;
  grid-template-rows: 1fr auto 1.1fr;
  justify-items: center;
  gap: 2.2svh;
}

.case-guide-line {
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.58);
}

.case-dots {
  display: grid;
  gap: 0.44svh;
}

.case-dots i {
  display: block;
  width: clamp(5px, 0.45vw, 9px);
  height: clamp(6px, 0.7svh, 10px);
  background: var(--white);
}

.case-sidebar {
  position: absolute;
  top: 13.4svh;
  bottom: 6.3svh;
  left: 7vw;
  z-index: 6;
  width: clamp(280px, 14.4vw, 308px);
  overflow: hidden;
  border: 0;
  border-radius: clamp(12px, 1vw, 22px);
  background: rgba(0, 40, 35, 0.48);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.72), 0 24px 80px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(3px);
}

.case-notch {
  position: absolute;
  top: -1px;
  left: 50%;
  z-index: 2;
  width: 24%;
  height: 0.9svh;
  border-radius: 0 0 12px 12px;
  background: var(--white);
  transform: translateX(-50%);
}

.case-sidebar-scroll {
  height: 100%;
  padding: clamp(30px, 2.8svh, 46px) clamp(20px, 1.45vw, 30px) clamp(18px, 1.9svh, 30px);
  overflow-y: auto;
  scrollbar-width: none;
}

.case-sidebar-scroll::-webkit-scrollbar { display: none; }

.case-title { margin-bottom: 2svh; }

.case-title span {
  display: block;
  color: var(--case-green);
  font-family: var(--font-en);
  font-size: clamp(17px, 1.15vw, 24px);
  font-weight: 300;
  line-height: 1;
}

.case-summary-block { margin-top: 1.8svh; }

.case-summary-block h2 {
  margin: 0 0 0.65svh;
  color: var(--case-green);
  font-size: clamp(12px, 0.78vw, 16px);
  font-weight: 400;
}

.case-summary-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(9px, 0.53vw, 11px);
  line-height: 1.72;
}

.case-summary-block strong {
  color: var(--case-yellow);
  font-weight: 400;
}

.case-stack dl,
.case-stack dl div,
.case-stack dt,
.case-stack dd { margin: 0; }

.case-stack dl { display: grid; gap: 0.42svh; }

.case-stack dl div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(8px, 0.49vw, 10px);
}

.case-stack dl div::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  height: 1px;
  margin-bottom: 0.35em;
  background: repeating-linear-gradient(90deg, rgba(73, 183, 183, 0.5) 0 6px, transparent 6px 13px);
}

.case-stack dt { grid-column: 1; grid-row: 1; }
.case-stack dd { grid-column: 3; grid-row: 1; text-align: right; }

.case-nav {
  display: grid;
  margin-top: 2.1svh;
  grid-template-columns: 1fr 1fr;
  gap: 0.62svh 1vw;
}

.case-nav a {
  color: var(--case-green);
  font-size: clamp(11px, 0.72vw, 15px);
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.case-nav a:hover,
.case-nav a:focus-visible,
.case-nav a.is-active {
  color: var(--case-yellow);
  outline: none;
  transform: translateX(3px);
}

.case-role {
  position: absolute;
  top: 7.7svh;
  right: 5vw;
  z-index: 7;
  display: flex;
  align-items: flex-start;
  gap: 2.6vw;
  text-align: right;
}

.case-role h2,
.case-role p { margin: 0; }

.case-role h2 {
  font-size: clamp(16px, 1.45vw, 30px);
  font-weight: 400;
}

.case-role p {
  margin-top: 0.45svh;
  color: var(--case-green);
  font-size: clamp(8px, 0.56vw, 12px);
}

.case-role time {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-en);
  font-size: clamp(10px, 0.72vw, 15px);
  line-height: 1.25;
}

.case-content {
  position: absolute;
  top: 13.4svh;
  right: 4.2vw;
  bottom: 6.8svh;
  left: calc(9vw + clamp(280px, 14.4vw, 308px) - 10px);
  z-index: 2;
  padding: 0 2.2vw 9svh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-padding-top: 10svh;
  scrollbar-width: none;
}

.case-content::-webkit-scrollbar { display: none; }

.case-section {
  min-height: 66svh;
  padding-bottom: 10svh;
  scroll-margin-top: 10svh;
}

.case-section > h2,
.section-heading h2 {
  margin: 0;
  color: var(--case-green);
  font-size: clamp(19px, 1.42vw, 29px);
  font-weight: 400;
}

.section-heading {
  display: flex;
  margin-bottom: 2.5svh;
  align-items: baseline;
  justify-content: space-between;
}

.section-heading span {
  color: rgba(73, 183, 183, 0.6);
  font-family: var(--font-en);
  font-size: clamp(8px, 0.55vw, 12px);
}

.competition-layout {
  display: grid;
  margin-top: 2.7svh;
  grid-template-columns: 1fr 1fr 0.92fr;
  align-items: start;
  gap: 1.3vw;
}

.competitor-shot p,
.brand-cluster > p {
  margin: 0 0 1svh;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(8px, 0.57vw, 12px);
}

.brand-cluster > p { grid-column: 1 / -1; }

.competitor-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1.78;
  border: 1px solid rgba(255, 255, 255, 0.15);
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.8) brightness(0.82);
  transition: filter 220ms ease, transform 220ms ease;
}

.competitor-shot:hover img {
  filter: saturate(1) brightness(1);
  transform: translateY(-3px);
}

.competitor-shot h3 {
  margin: 0.7svh 0 0;
  font-family: var(--font-en);
  font-size: clamp(18px, 1.55vw, 32px);
  font-weight: 300;
  text-align: center;
}

.brand-cluster {
  display: grid;
  min-height: clamp(210px, 23svh, 270px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: center;
  align-items: center;
  gap: clamp(16px, 2.2svh, 28px) 0.9vw;
}

.brand-bubble {
  display: flex;
  width: auto;
  min-width: 0;
  aspect-ratio: auto;
  align-items: center;
  justify-content: flex-start;
  gap: 0.42vw;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.brand-bubble:hover,
.brand-bubble:focus-visible {
  z-index: 3;
  color: var(--case-green);
  outline: none;
  box-shadow: none;
  transform: translateY(-2px);
}

.brand-bubble b {
  display: grid;
  min-width: clamp(20px, 1.45vw, 30px);
  min-height: clamp(20px, 1.45vw, 30px);
  place-items: center;
  border-radius: 4px;
  color: var(--case-green);
  background: transparent;
  font-family: var(--font-en);
  font-size: clamp(11px, 0.78vw, 16px);
}

.brand-bubble span {
  overflow: hidden;
  color: var(--white);
  font-size: clamp(9px, 0.62vw, 13px);
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-bubble--gaoding b { color: #857cff; }
.brand-bubble--jimeng b { color: #f4f4f4; }
.brand-bubble--doubao b { color: #6f94ff; }
.brand-bubble--meitu b { color: #ff6baa; }
.brand-bubble--canva b { color: #31c9ce; }
.brand-bubble--kling b { color: #65d3b8; }
.brand-bubble--liblib b { color: #9a76ff; }
.brand-bubble--lovart b { color: #ff7657; }

.competition-note {
  margin: 2.5svh 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(10px, 0.67vw, 14px);
  line-height: 1.85;
}

.competition-note strong { color: var(--white); font-weight: 400; }

.workflow-board,
.prototype-board,
.prompt-board {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(0, 23, 20, 0.48);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.16);
}

.workflow-board {
  display: grid;
  min-height: 34svh;
  padding: 3.4vw;
  grid-template-columns: repeat(9, auto);
  align-items: center;
  justify-content: space-between;
  gap: 1vw;
}

.workflow-step {
  display: flex;
  width: clamp(112px, 8.1vw, 168px);
  aspect-ratio: 1;
  padding: 1.2vw;
  border: 1px solid rgba(73, 183, 183, 0.58);
  flex-direction: column;
  justify-content: space-between;
  background: rgba(73, 183, 183, 0.05);
}

.workflow-step span { color: var(--case-green); font-family: var(--font-en); font-size: 0.72em; }
.workflow-step strong { font-size: clamp(12px, 0.82vw, 17px); font-weight: 400; }
.workflow-step small { color: rgba(255, 255, 255, 0.55); font-size: clamp(8px, 0.51vw, 11px); line-height: 1.5; }
.workflow-board > i { color: var(--case-green); font-family: var(--font-en); font-size: clamp(18px, 1.5vw, 32px); font-style: normal; }

.prototype-board {
  display: grid;
  min-height: 48svh;
  grid-template-columns: 0.22fr 1fr 0.3fr;
  grid-template-rows: auto 1fr;
}

.prototype-toolbar {
  display: flex;
  min-height: 6svh;
  padding: 0 1.6vw;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--font-en);
  font-size: clamp(9px, 0.62vw, 13px);
}

.prototype-aside,
.prototype-actions {
  display: flex;
  padding: 1.6vw;
  flex-direction: column;
  gap: 1.1svh;
}

.prototype-aside { border-right: 1px solid rgba(255, 255, 255, 0.2); }
.prototype-aside b,
.prototype-actions span { margin-bottom: 0.7svh; color: var(--case-green); font-size: clamp(10px, 0.66vw, 14px); font-weight: 400; }
.prototype-aside span,
.prototype-actions b { color: rgba(255, 255, 255, 0.58); font-size: clamp(8px, 0.56vw, 12px); font-weight: 300; }

.prototype-canvas {
  display: grid;
  padding: 2.7vw;
  grid-template-columns: 1.3fr 0.85fr 0.65fr;
  align-items: end;
  gap: 1.5vw;
  background: radial-gradient(circle at 50% 50%, rgba(73, 183, 183, 0.1), transparent 56%);
}

.prototype-canvas div {
  height: 80%;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: linear-gradient(145deg, rgba(73, 183, 183, 0.18), rgba(4, 12, 11, 0.5));
}

.prototype-canvas div:nth-child(2) { height: 64%; }
.prototype-canvas div:nth-child(3) { height: 48%; }
.prototype-actions { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.prototype-actions button { margin-top: auto; padding: 0.8vw; border: 0; color: #00211c; background: var(--case-green); cursor: pointer; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1vw;
}

.metric-grid article {
  min-height: 30svh;
  padding: 1.8vw;
  border-top: 1px solid var(--case-green);
  background: rgba(0, 28, 24, 0.5);
}

.metric-grid article > strong { color: var(--case-green); font-family: var(--font-en); font-size: clamp(24px, 2vw, 42px); font-weight: 200; }
.metric-grid h3 { margin: 8svh 0 1svh; font-size: clamp(13px, 0.92vw, 19px); font-weight: 400; }
.metric-grid p { margin: 0; color: rgba(255, 255, 255, 0.58); font-size: clamp(9px, 0.58vw, 12px); line-height: 1.7; }

.prompt-board { display: grid; grid-template-columns: repeat(3, 1fr); }
.prompt-board > div { min-height: 35svh; padding: 2.2vw; border-right: 1px solid rgba(255, 255, 255, 0.18); }
.prompt-board > div:last-child { border-right: 0; }
.prompt-board span { color: var(--case-green); font-family: var(--font-en); font-size: clamp(11px, 0.7vw, 15px); }
.prompt-board p { margin: 13svh 0 0; color: rgba(255, 255, 255, 0.74); font-size: clamp(11px, 0.7vw, 15px); line-height: 1.8; }

.iteration-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.iteration-list li { display: grid; min-height: 12svh; padding: 0 1vw; grid-template-columns: 0.25fr 1fr; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.iteration-list span { color: var(--case-green); font-family: var(--font-en); }
.iteration-list strong { font-size: clamp(13px, 0.95vw, 20px); font-weight: 300; }

.case-home {
  right: 4.9vw;
  bottom: 3.7svh;
  gap: 0.35vw;
  font-size: clamp(16px, 1.45vw, 30px);
}

.case-home span { font-family: var(--font-en); font-size: 1.2em; }

.case-page,
.case-page * {
  font-family: "FZLantingThin", var(--font-cn);
}

.case-role h2,
.case-summary-block h2,
.case-section > h2,
.section-heading h2,
.case-nav a {
  font-family: var(--font-cn);
}

@media (max-width: 1180px) {
  .case-sidebar { width: 270px; min-width: 0; left: 6.5vw; }
  .case-content { left: calc(6.5vw + 275px); }
  .competition-layout { grid-template-columns: 1fr 1fr; }
  .brand-cluster { grid-column: 1 / -1; min-height: 260px; }
  .workflow-board { grid-template-columns: repeat(5, 1fr); }
  .workflow-board > i { display: none; }
  .workflow-step { width: auto; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .case-back { top: 4svh; }
  .case-role { display: none; }
  .case-left-guide,
  .case-right-guide { display: none; }
  .case-sidebar {
    top: 10svh;
    right: 5vw;
    bottom: auto;
    left: 5vw;
    width: auto;
    height: 190px;
  }
  .case-sidebar-scroll { padding: 28px 24px; }
  .case-title { margin-bottom: 18px; }
  .case-summary-block { display: none; }
  .case-stack { display: none; }
  .case-nav { margin-top: 22px; }
  .case-content {
    inset: 0;
    padding: calc(10svh + 230px) 5vw 14svh;
  }
  .competition-layout { grid-template-columns: 1fr; }
  .brand-cluster { grid-column: auto; }
  .workflow-board { grid-template-columns: 1fr 1fr; }
  .prototype-board { grid-template-columns: 1fr; }
  .prototype-toolbar { grid-column: auto; }
  .prototype-aside,
  .prototype-actions { display: none; }
  .metric-grid { grid-template-columns: 1fr; }
  .prompt-board { grid-template-columns: 1fr; }
  .prompt-board > div { min-height: 220px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .prompt-board p { margin-top: 70px; }
}

/* Project One — rebuilt from the supplied Illustrator layout. */
.project-one-body {
  min-width: 320px;
  margin: 0;
  color: #f3f6f2;
  background: #020505;
  font-family: "FZLantingThin", var(--font-cn);
}

.project-one-page {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 46% 30% at 79% 10%, rgba(0, 161, 163, 0.22), transparent 69%),
    radial-gradient(ellipse 42% 20% at 0% 40%, rgba(0, 161, 163, 0.13), transparent 76%),
    #020505;
}

.project-one-page::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: min(94vw, 1180px);
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.98) 2%, rgba(0, 0, 0, 0.82) 48%, rgba(0, 22, 23, 0.15) 100%);
  pointer-events: none;
}

/* Kept deliberately identical to .ai-back: same top, left and type scale. */
.project-one-back {
  position: absolute;
  top: 7.1svh;
  left: 4.55vw;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 0.62vw;
  color: var(--white);
  font-size: clamp(13px, 1.48vw, 30px);
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease;
}

.project-one-back span:first-child {
  font-family: var(--font-en);
  font-size: clamp(16px, 1.8vw, 36px);
  transform: translateY(-0.08svh);
}

.project-one-back:hover,
.project-one-back:focus-visible {
  color: #00a1a3;
  outline: none;
}

.project-one-marks {
  position: absolute;
  top: 10.7svh;
  left: 50%;
  z-index: 4;
  display: flex;
  gap: clamp(7px, 0.64vw, 13px);
  transform: translateX(-50%);
}

.project-one-marks i {
  display: block;
  width: clamp(5px, 0.42vw, 8px);
  aspect-ratio: 1;
  background: #f3f6f2;
}

.project-one-header {
  position: absolute;
  top: 6.8svh;
  right: 4.6vw;
  z-index: 5;
  text-align: right;
}

.project-one-header h2,
.project-one-header nav,
.project-one-header a { margin: 0; }

.project-one-header h2 {
  color: #f3f6f2;
  font-family: var(--font-cn);
  font-size: clamp(14px, 1.1vw, 22px);
  font-weight: 400;
  line-height: 1.1;
}

.project-one-header nav {
  display: grid;
  margin-top: clamp(15px, 1.55vw, 30px);
  gap: clamp(1px, 0.14vw, 3px);
}

.project-one-header a {
  color: rgba(243, 246, 242, 0.92);
  font-size: clamp(8px, 0.56vw, 12px);
  line-height: 1.18;
  text-decoration: none;
  transition: color 160ms ease;
}

.project-one-header a.is-active,
.project-one-header a:hover,
.project-one-header a:focus-visible {
  color: #00a1a3;
  outline: none;
}

.project-one-hero {
  position: relative;
  display: grid;
  min-height: max(660px, 76svh);
  padding: clamp(140px, 18svh, 220px) 6.4vw clamp(82px, 10svh, 134px);
  grid-template-columns: minmax(420px, 0.91fr) minmax(470px, 1.09fr);
  align-items: center;
  gap: 2.4vw;
}

.project-one-hero-copy { position: relative; z-index: 2; max-width: 735px; }
.project-one-kicker { margin: 0 0 clamp(11px, 1.3vw, 22px); color: #00a1a3; font-family: var(--font-en); font-size: clamp(25px, 2.15vw, 44px); font-weight: 700; letter-spacing: 0.055em; }

.project-one-hero h1 {
  margin: 0;
  color: #f5f6ef;
  font-family: var(--font-cn);
  font-size: clamp(48px, 4.38vw, 88px);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.08;
  white-space: nowrap;
}

.project-one-lead {
  max-width: 560px;
  margin: clamp(37px, 4.5vw, 76px) 0 0;
  color: rgba(227, 235, 231, 0.74);
  font-size: clamp(14px, 1.02vw, 20px);
  line-height: 1.7;
}

.project-one-meta {
  display: grid;
  margin: clamp(40px, 4.5vw, 76px) 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 5.3vw, 90px);
}

.project-one-meta div,
.project-one-meta dt,
.project-one-meta dd { margin: 0; }

.project-one-meta dt {
  margin-bottom: 9px;
  color: #00a1a3;
  font-family: var(--font-en);
  font-size: clamp(9px, 0.58vw, 12px);
  font-weight: 700;
  letter-spacing: 0.085em;
}

.project-one-meta dd {
  color: #eef4ee;
  font-size: clamp(13px, 0.85vw, 17px);
  line-height: 1.4;
  white-space: nowrap;
}

.project-one-status {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: clamp(24px, 2.7vw, 45px) 0 0;
  padding: 0 clamp(16px, 1.5vw, 27px);
  align-items: center;
  border: 1px solid #00a1a3;
  border-radius: 999px;
  color: #eaf6f2;
  list-style: none;
  overflow: hidden;
}

.project-one-status li {
  display: flex;
  min-height: clamp(39px, 3.2vw, 57px);
  padding: 0 clamp(14px, 1.45vw, 27px);
  align-items: center;
  font-size: clamp(11px, 0.76vw, 15px);
  white-space: nowrap;
}

.project-one-status li + li { border-left: 1px solid rgba(0, 161, 163, 0.42); }
.project-one-status li::before { margin-right: 0.62em; color: #00a1a3; content: "✓"; font-family: var(--font-en); font-size: 1.16em; }

.project-one-art {
  position: relative;
  width: min(100%, 890px);
  margin: 0 0 0 auto;
  aspect-ratio: 0.967;
}

.project-one-art::before {
  position: absolute;
  inset: 18% 3% 0;
  z-index: -1;
  border-radius: 50%;
  content: "";
  background: radial-gradient(ellipse, rgba(0, 222, 226, 0.21), transparent 67%);
  filter: blur(24px);
}

.project-one-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.48));
}

.project-one-introduction {
  position: relative;
  min-height: 660px;
  padding: clamp(64px, 8.2vw, 138px) 6.4vw clamp(90px, 9.4vw, 158px);
  background: radial-gradient(ellipse 52% 30% at 0% 40%, rgba(0, 161, 163, 0.16), transparent 72%);
}

.project-one-section-heading {
  display: flex;
  max-width: 100%;
  margin-bottom: clamp(46px, 5.5vw, 94px);
  align-items: end;
  justify-content: space-between;
  gap: 5vw;
}

.project-one-section-heading > div > p { margin: 0 0 9px; color: #00a1a3; font-family: var(--font-en); font-size: clamp(12px, 0.9vw, 18px); font-weight: 700; letter-spacing: 0.08em; }

.project-one-section-heading h2 {
  margin: 0;
  font-family: var(--font-cn);
  font-size: clamp(42px, 3.45vw, 70px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
}

.project-one-question { text-align: right; }
.project-one-question span { display: block; margin-bottom: 10px; color: #00a1a3; font-family: var(--font-en); font-size: clamp(10px, 0.63vw, 13px); font-weight: 700; letter-spacing: 0.08em; }
.project-one-question p { margin: 0; color: rgba(232, 240, 235, 0.72); font-size: clamp(14px, 1.03vw, 20px); }

.project-one-card-grid {
  display: grid;
  grid-template-columns: 1.12fr 1.1fr 1.15fr 1.1fr;
  align-items: start;
  gap: clamp(17px, 2.2vw, 42px);
}

.project-one-card {
  position: relative;
  min-height: clamp(277px, 24vw, 446px);
  padding: clamp(25px, 2.1vw, 38px);
  border: 1px solid rgba(0, 161, 163, 0.52);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(1, 19, 19, 0.72), rgba(1, 9, 9, 0.46));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.project-one-card--accent {
  min-height: clamp(313px, 27vw, 500px);
  margin-top: clamp(-36px, -2.45vw, -20px);
  border-color: rgba(0, 201, 203, 0.72);
  background: linear-gradient(155deg, rgba(0, 161, 163, 0.54), rgba(0, 31, 31, 0.82) 57%, rgba(0, 12, 12, 0.8));
  box-shadow: 0 19px 54px rgba(0, 161, 163, 0.08), inset 0 1px 0 rgba(212, 255, 255, 0.22);
}

.project-one-card--ability { min-height: clamp(327px, 28vw, 518px); margin-top: clamp(20px, 1.9vw, 36px); }
.project-one-card--goal { min-height: clamp(287px, 25vw, 470px); margin-top: clamp(-9px, -0.8vw, -4px); }

.project-one-card h3 {
  margin: 0 0 clamp(24px, 2.3vw, 43px);
  padding-bottom: clamp(12px, 1.15vw, 20px);
  border-bottom: 1px solid rgba(0, 161, 163, 0.72);
  color: #f1f8f4;
  font-family: var(--font-cn);
  font-size: clamp(19px, 1.4vw, 28px);
  font-weight: 400;
}

.project-one-card p {
  margin: 0;
  color: rgba(232, 241, 235, 0.74);
  font-size: clamp(11px, 0.75vw, 15px);
  line-height: 1.86;
}

.project-one-card--accent p { color: rgba(237, 251, 249, 0.86); }
.project-one-anchor { height: 1px; }

@media (max-width: 1100px) {
  .project-one-hero { min-height: 720px; grid-template-columns: minmax(350px, 0.9fr) minmax(380px, 1.1fr); }
  .project-one-meta { gap: 28px; }
  .project-one-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-one-card,
  .project-one-card--accent,
  .project-one-card--ability,
  .project-one-card--goal { min-height: 280px; margin-top: 0; }
}

@media (max-width: 720px) {
  .project-one-page::before { height: 720px; }
  .project-one-back { top: 30px; left: 24px; }
  .project-one-marks { top: 73px; }
  .project-one-header { top: 30px; right: 24px; }
  .project-one-header h2 { font-size: 12px; }
  .project-one-header nav { display: none; }
  .project-one-hero { min-height: 0; padding: 140px 24px 75px; grid-template-columns: 1fr; }
  .project-one-hero h1 { white-space: normal; }
  .project-one-lead { margin-top: 28px; }
  .project-one-meta { margin-top: 35px; grid-template-columns: 1fr; gap: 22px; }
  .project-one-meta dd { white-space: normal; }
  .project-one-status { display: grid; width: 100%; padding: 0; border-radius: 14px; }
  .project-one-status li { min-height: 40px; padding: 0 16px; border-left: 0 !important; border-bottom: 1px solid rgba(0, 161, 163, 0.35); }
  .project-one-status li:last-child { border-bottom: 0; }
  .project-one-art { width: min(100%, 480px); margin: 35px auto 0; }
  .project-one-introduction { padding: 74px 24px 100px; }
  .project-one-section-heading { display: block; margin-bottom: 50px; }
  .project-one-question { margin-top: 28px; text-align: left; }
  .project-one-card-grid { grid-template-columns: 1fr; }
  .project-one-card,
  .project-one-card--accent,
  .project-one-card--ability,
  .project-one-card--goal { min-height: 0; margin: 0; }
}

/* Project One — model selection accordion. */
.project-one-model-selection {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(84px, 8.4vw, 138px) 6.9vw clamp(120px, 10vw, 164px);
  /* Match the introduction section: let the page ground continue through this chapter. */
  background: transparent;
  scroll-margin-top: 8vh;
}

.project-one-model-selection::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: none;
  pointer-events: none;
}

.project-one-model-selection::after {
  position: absolute;
  top: -60px;
  left: max(-60.43vw, -987.8px);
  z-index: 0;
  width: min(102.96vw, 1683.1px);
  aspect-ratio: 1;
  content: "";
  background: url("./assets/project-one-glow-web.webp") center / 100% 100% no-repeat;
  pointer-events: none;
}

@media (min-width: 721px) {
  /* Let the shared left-side glow occupy the hand-off space from Prompt to Model Selection. */
  .project-one-model-selection { overflow: visible; }
  .project-one-model-selection::after { top: max(-23vw, -360px); }
}

.project-one-model-inner { position: relative; z-index: 1; max-width: 1410px; margin: 0 auto; }

.project-one-model-heading { padding-bottom: clamp(40px, 3.65vw, 60px); border-bottom: 0; }
.project-one-model-heading p { margin: 0; color: #00a3a4; font-family: var(--font-en); font-size: clamp(12px, 0.92vw, 15px); font-weight: 700; letter-spacing: .06em; line-height: 1; }
.project-one-model-heading h2 { margin: 16px 0 0; color: #eef0e5; font-family: var(--font-cn); font-size: clamp(38px, 3.02vw, 49px); font-weight: 400; line-height: 1; }
.project-one-model-heading span { display: block; margin-top: 29px; color: #72817d; font-size: clamp(13px, 0.92vw, 15px); letter-spacing: .04em; line-height: 1.6; }

.project-one-model-list { display: grid; margin-top: clamp(46px, 4.25vw, 70px); gap: 14px; }
.project-one-model-item { overflow: hidden; border-radius: 11px; }

.project-one-model-trigger {
  display: grid;
  width: 100%;
  min-height: clamp(76px, 4.965vw, 81px);
  padding: 11px 24px;
  grid-template-columns: minmax(315px, 1.5fr) minmax(230px, .9fr) minmax(330px, 1.5fr) 62px;
  align-items: stretch;
  border: 1px solid #263b3c;
  border-radius: 11px;
  color: inherit;
  background: #0b1112;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.project-one-model-trigger:hover { border-color: rgba(0, 161, 163, 0.7); background: #0d1516; }
.project-one-model-trigger:focus-visible { outline: 2px solid #00d4d7; outline-offset: 4px; }
.project-one-model-item.is-open .project-one-model-trigger { border-color: #00a3a4; border-radius: 11px 11px 0 0; background: #071819; box-shadow: inset 4px 0 #00a3a4; }

.project-one-model-node,
.project-one-model-choice,
.project-one-model-reason { min-width: 0; }

.project-one-model-node { display: grid; grid-template-columns: clamp(52px, 4vw, 70px) minmax(0, 1fr); align-items: center; }
.project-one-model-node b { color: #00a3a4; font-family: var(--font-en); font-size: clamp(12px, .962vw, 15.75px); font-weight: 400; }
.project-one-model-node span,
.project-one-model-choice,
.project-one-model-reason { display: grid; align-content: center; }
.project-one-model-trigger small { display: block; color: #71817d; font-family: "FZLantingThin", var(--font-cn); font-size: clamp(10px, .648vw, 10.5px); font-weight: 400; letter-spacing: .04em; line-height: 1; }
.project-one-model-trigger strong { display: block; margin-top: 15px; color: #eef0e5; font-family: "FZLantingThin", var(--font-cn); font-size: clamp(17.5px, 1.295vw, 21px); font-weight: 400; line-height: 1.1; }
.project-one-model-choice { padding-left: clamp(24px, 2.15vw, 35px); border-left: 1px solid #263b3c; }
.project-one-model-choice strong { color: #00a3a4; }
.project-one-model-reason { padding-left: clamp(24px, 2.15vw, 35px); border-left: 1px solid #263b3c; }
.project-one-model-reason strong { color: #c3cfca; font-size: clamp(14px, 1.094vw, 17.5px); line-height: 1.26; }

.project-one-model-icon { position: relative; display: grid; width: 29.333px; aspect-ratio: 1; margin: auto 0 auto auto; place-items: center; border: 1px solid #00a3a4; border-radius: 50%; }
.project-one-model-icon::after { width: 7px; height: 7px; border-right: 1.5px solid #00a3a4; border-bottom: 1.5px solid #00a3a4; content: ""; transform: translateY(-1.5px) rotate(45deg); transition: transform 260ms cubic-bezier(.16, 1, .3, 1); }
.project-one-model-item.is-open .project-one-model-icon::after { transform: translateY(2px) rotate(225deg); }

.project-one-model-panel { overflow: hidden; border: 1px solid #263b3c; border-top: 0; background: #080d0e; opacity: 0; transform: translateY(-8px); transition: opacity 260ms ease, transform 260ms cubic-bezier(.16, 1, .3, 1); }
.project-one-model-item.is-open .project-one-model-panel { opacity: 1; transform: translateY(0); }
.project-one-model-table-scroll { overflow-x: auto; }
.project-one-model-table { width: 100%; min-width: 860px; table-layout: fixed; border-collapse: collapse; color: #aebbb6; font-size: min(.795vw, 13px); line-height: 1.4; }
.project-one-model-table th,
.project-one-model-table td { padding: 13.5px 18px; border-right: 1px solid #263b3c; border-bottom: 1px solid #263b3c; font-weight: 400; text-align: left; vertical-align: middle; }
.project-one-model-table tr:last-child th,
.project-one-model-table tr:last-child td { border-bottom: 0; }
.project-one-model-table th:last-child,
.project-one-model-table td:last-child { border-right: 0; }
.project-one-model-table thead tr:last-child th { border-bottom: 1px solid #263b3c; color: #dce8e2; background: #0b1112; font-size: min(.795vw, 13px); }
.project-one-model-table th:first-child { width: 13.3%; color: #00a3a4; background: #0b1112; }
.project-one-model-table th:nth-child(n + 2) { width: 28.9%; }
.project-one-model-table th:nth-child(2),
.project-one-model-table td:nth-child(2) { background: #082020; }
.project-one-model-table thead th:nth-child(2) { color: #00a3a4; }
.project-one-model-table tbody tr:nth-child(even) th:not(:first-child),
.project-one-model-table tbody tr:nth-child(even) td:not(:nth-child(2)) { background: #0a1011; }
.project-one-model-table tbody tr:nth-child(even) td:nth-child(2) { background: #082525; }

.project-one-model-principles { margin-top: clamp(76px, 7.2vw, 118px); }
.project-one-model-principles h3 { width: max-content; max-width: 100%; margin: 0; padding-bottom: 15px; border-bottom: 2px solid #00a3a4; color: #eef0e5; font-family: var(--font-cn); font-size: clamp(27px, 2.1vw, 34px); font-weight: 400; line-height: 1; }
.project-one-model-principles > div { display: grid; margin-top: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-one-model-principles article { min-height: 136px; padding: 14px 24px; border: 1px solid #263b3c; border-radius: 11px; background: #0e1617; }
.project-one-model-principles b { display: block; color: #005e60; font-family: var(--font-en); font-size: clamp(28px, 2.2vw, 36px); font-weight: 400; line-height: 1; }
.project-one-model-principles h4 { margin: 13px 0 0; padding-top: 14px; border-top: 1px solid #263b3c; color: #e9f0eb; font-family: "FZLantingThin", var(--font-cn); font-size: clamp(15px, 1.1vw, 18px); font-weight: 400; line-height: 1.35; }
.project-one-model-principles p { margin: 10px 0 0; color: #75837f; font-size: clamp(12px, .86vw, 14px); line-height: 1.5; }

@media (max-width: 900px) {
  .project-one-model-trigger { grid-template-columns: minmax(250px, 1.28fr) minmax(200px, .88fr) minmax(250px, 1.2fr) 56px; }
  .project-one-model-trigger strong { font-size: 16.625px; }
  .project-one-model-reason strong { font-size: 14px; }
}

@media (max-width: 720px) {
  .project-one-model-selection { padding: 78px 24px 100px; }
  .project-one-model-heading { padding-bottom: 32px; }
  .project-one-model-heading h2 { margin-top: 16px; font-size: 37px; }
  .project-one-model-heading span { margin-top: 22px; font-size: 13px; }
  .project-one-model-list { margin-top: 38px; gap: 12px; }
  .project-one-model-trigger { min-height: 0; padding: 19px 20px; grid-template-columns: minmax(0, 1fr) 46px; gap: 18px; }
  .project-one-model-node { grid-column: 1; grid-row: 1; grid-template-columns: 48px minmax(0, 1fr); }
  .project-one-model-icon { grid-column: 2; grid-row: 1 / span 3; width: 40px; align-self: center; }
  .project-one-model-icon::after { width: 10px; height: 10px; border-right-width: 2px; border-bottom-width: 2px; transform: translateY(-2px) rotate(45deg); }
  .project-one-model-item.is-open .project-one-model-icon::after { transform: translateY(3px) rotate(225deg); }
  .project-one-model-choice,
  .project-one-model-reason { grid-column: 1; padding: 15px 0 0; border-top: 1px solid #263b3c; border-left: 0; }
  .project-one-model-choice { grid-row: 2; }
  .project-one-model-reason { grid-row: 3; }
  .project-one-model-trigger strong { margin-top: 10px; font-size: 16.625px; white-space: normal; }
  .project-one-model-reason strong { font-size: 14px; line-height: 1.45; }
  .project-one-model-table { min-width: 780px; font-size: 13px; }
  .project-one-model-table th,
  .project-one-model-table td { padding: 10.5px 14px; }
  .project-one-model-principles { margin-top: 70px; }
  .project-one-model-principles h3 { font-size: 27px; }
  .project-one-model-principles > div { grid-template-columns: 1fr; gap: 12px; }
  .project-one-model-principles article { min-height: 0; padding: 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .project-one-model-trigger,
  .project-one-model-icon::after,
  .project-one-model-panel { transition: none; }
}

/* Fixed chapter controls and interaction states. */
.project-one-back,
.project-one-header {
  position: fixed;
}

.project-one-header { z-index: 9; }

.project-one-card {
  overflow: hidden;
  transition: transform 460ms cubic-bezier(0.16, 1, 0.3, 1), border-color 280ms ease, background 380ms ease, box-shadow 380ms ease;
}

.project-one-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 18%, rgba(121, 255, 255, 0.13) 48%, transparent 64%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-125%);
}

/* The highlighted second card is a hover state, not a permanent selected state. */
.project-one-card--accent,
.project-one-card--ability,
.project-one-card--goal {
  min-height: clamp(277px, 24vw, 446px);
  margin-top: 0;
  border-color: rgba(0, 161, 163, 0.52);
  background: linear-gradient(145deg, rgba(1, 19, 19, 0.72), rgba(1, 9, 9, 0.46));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

@media (hover: hover) {
  .project-one-card:hover,
  .project-one-card:focus-within {
    z-index: 1;
    border-color: rgba(0, 202, 204, 0.8);
    box-shadow: 0 20px 52px rgba(0, 161, 163, 0.11), inset 0 1px 0 rgba(207, 255, 255, 0.12);
    transform: translateY(-8px);
  }

  .project-one-card:hover::after,
  .project-one-card:focus-within::after {
    opacity: 1;
    animation: project-one-light-sweep 880ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .project-one-card--accent:hover,
  .project-one-card--accent:focus-within {
    border-color: rgba(0, 218, 220, 0.9);
    background: linear-gradient(155deg, rgba(0, 161, 163, 0.54), rgba(0, 31, 31, 0.82) 57%, rgba(0, 12, 12, 0.8));
    box-shadow: 0 25px 62px rgba(0, 161, 163, 0.18), inset 0 1px 0 rgba(212, 255, 255, 0.22);
    transform: translateY(-32px);
  }

  .project-one-card--accent:hover p,
  .project-one-card--accent:focus-within p { color: rgba(237, 251, 249, 0.88); }
}

@media (prefers-reduced-motion: no-preference) {
  .project-one-motion .project-one-hero-copy > *,
  .project-one-motion .project-one-art,
  .project-one-motion [data-reveal] {
    opacity: 0;
  }

  .project-one-motion .project-one-hero-copy > * { transform: translateY(24px); }
  .project-one-motion .project-one-art { transform: translate3d(34px, 0, 0) scale(0.97); }
  .project-one-motion [data-reveal] { transform: translateY(28px); }

  .project-one-motion--ready .project-one-hero-copy > * {
    animation: project-one-reveal-up 820ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .project-one-motion--ready .project-one-kicker { animation-delay: 60ms; }
  .project-one-motion--ready .project-one-hero h1 { animation-delay: 135ms; }
  .project-one-motion--ready .project-one-lead { animation-delay: 235ms; }
  .project-one-motion--ready .project-one-meta { animation-delay: 340ms; }
  .project-one-motion--ready .project-one-status { animation-delay: 445ms; }

  .project-one-motion--ready .project-one-art {
    animation: project-one-art-arrive 1050ms 160ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .project-one-motion--ready .project-one-art img {
    animation: project-one-art-drift 8s 1.2s ease-in-out infinite alternate;
    transform-origin: 53% 57%;
  }

  .project-one-motion [data-reveal].is-visible {
    animation: project-one-reveal-up 760ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .project-one-motion .project-one-question.is-visible { animation-delay: 100ms; }
  .project-one-motion .project-one-card:nth-child(2).is-visible { animation-delay: 90ms; }
  .project-one-motion .project-one-card:nth-child(3).is-visible { animation-delay: 180ms; }
  .project-one-motion .project-one-card:nth-child(4).is-visible { animation-delay: 270ms; }
}

@keyframes project-one-reveal-up {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes project-one-art-arrive {
  62% { opacity: 1; transform: translate3d(0, 0, 0) scale(1.012); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes project-one-art-drift {
  from { transform: translate3d(-0.45%, 0.3%, 0) scale(1); filter: brightness(0.98); }
  to { transform: translate3d(0.7%, -0.5%, 0) scale(1.022); filter: brightness(1.12); }
}

@keyframes project-one-light-sweep {
  from { transform: translateX(-125%); }
  to { transform: translateX(125%); }
}

/* Project One — full-length case study layout aligned to 项目一.jpg. */
.project-one-page {
  min-height: 100vh;
  background: #020505;
}

.project-one-page::after {
  position: absolute;
  top: min(31vw, 520px);
  left: min(-26vw, -280px);
  z-index: -1;
  width: min(70vw, 1120px);
  aspect-ratio: 1;
  content: "";
  background: url("./assets/project-one-glow-web.webp") center / contain no-repeat;
  mix-blend-mode: screen;
  opacity: 0.1;
  pointer-events: none;
}

.project-one-top-rail {
  position: absolute;
  top: 11.35svh;
  left: 6.4vw;
  z-index: 3;
  width: 43.6vw;
  height: 1px;
  background: linear-gradient(90deg, rgba(238, 246, 243, 0.58), rgba(238, 246, 243, 0.3) 76%, transparent);
}

.project-one-hero {
  min-height: min(61.2vw, 1000px);
  padding-top: clamp(148px, 16.9vw, 276px);
  padding-bottom: clamp(98px, 9.9vw, 162px);
}

.project-one-art {
  width: min(100%, 940px);
  aspect-ratio: 1.228;
}

.project-one-art::before { inset: 14% 1% 3%; }
.project-one-art img { object-position: center; }

.project-one-introduction {
  min-height: min(50vw, 818px);
  padding-top: clamp(72px, 7.5vw, 122px);
  padding-bottom: clamp(92px, 9vw, 148px);
}

.project-one-competition,
.project-one-architecture,
.project-one-business-flow,
.project-one-system-flow {
  position: relative;
  padding-right: 6.4vw;
  padding-left: 6.4vw;
}

.project-one-competition {
  min-height: min(66vw, 1080px);
  padding-top: clamp(90px, 9.7vw, 158px);
  padding-bottom: clamp(95px, 10vw, 164px);
}

.project-one-competition::before {
  position: absolute;
  top: 14%;
  right: 3.8vw;
  width: min(28vw, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle at center, rgba(0, 161, 163, 0.1), transparent 58%);
  filter: blur(5px);
  pointer-events: none;
}

.project-one-competition-heading {
  position: relative;
  z-index: 1;
  width: max-content;
  margin: 0 0 clamp(66px, 7.2vw, 118px) auto;
  text-align: right;
}

.project-one-competition-heading p,
.project-one-architecture-copy > p:first-child,
.project-one-business-heading p,
.project-one-system-heading p,
.project-one-layer-heading p {
  margin: 0 0 9px;
  color: #00a1a3;
  font-family: var(--font-en);
  font-size: clamp(10px, 0.72vw, 14px);
  font-weight: 700;
  letter-spacing: 0.09em;
}

.project-one-competition-heading h2,
.project-one-architecture-copy h2,
.project-one-business-heading h2,
.project-one-system-heading h2 {
  margin: 0;
  color: #f3f7f2;
  font-family: var(--font-cn);
  font-size: clamp(42px, 3.45vw, 70px);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1;
}

.project-one-competition-grid {
  display: grid;
  max-width: 1280px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-one-competitor-group {
  min-height: clamp(320px, 29vw, 480px);
  padding: 0 clamp(48px, 5.5vw, 92px) clamp(20px, 2vw, 34px) 0;
}

.project-one-competitor-group--domestic {
  padding-right: 0;
  padding-left: clamp(48px, 5.5vw, 92px);
  border-left: 1px solid rgba(0, 161, 163, 0.28);
}

.project-one-competitor-group h3,
.project-one-advantages > h3 {
  display: flex;
  margin: 0;
  align-items: center;
  color: rgba(237, 246, 242, 0.94);
  font-family: var(--font-cn);
  font-size: clamp(16px, 1.22vw, 24px);
  font-weight: 400;
}

.project-one-competitor-group h3 span,
.project-one-advantages > h3 span {
  width: clamp(7px, 0.5vw, 10px);
  aspect-ratio: 1;
  margin-right: 0.65em;
  border-radius: 50%;
  background: #00a1a3;
  box-shadow: 0 0 13px rgba(0, 161, 163, 0.7);
}

.project-one-brand-cloud {
  display: flex;
  min-height: clamp(184px, 17vw, 278px);
  padding: clamp(32px, 3vw, 50px) clamp(7px, 0.8vw, 14px) clamp(16px, 1.8vw, 30px);
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(16px, 1.4vw, 27px) clamp(22px, 2vw, 38px);
}

.project-one-brand-cloud span {
  position: relative;
  display: inline-flex;
  min-height: 28px;
  padding: 0.22em 0.44em;
  align-items: center;
  justify-content: center;
  color: rgba(239, 247, 243, 0.8);
  font-family: var(--font-en);
  font-size: clamp(13px, 1.18vw, 23px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.project-one-brand-cloud small { margin-left: 0.28em; font-size: 0.35em; font-weight: 600; letter-spacing: 0; }
.brand-smartly { color: #efeef8 !important; background: linear-gradient(100deg, #8371ca, #46377c); font-size: clamp(8px, 0.67vw, 13px) !important; }
.brand-genstudio { color: #262326 !important; background: linear-gradient(135deg, #d8cfbe, #77818a); font-family: Georgia, serif !important; font-size: clamp(10px, 0.88vw, 17px) !important; }
.brand-pixfit { flex-direction: column; align-items: flex-start !important; color: #fff !important; font-size: clamp(19px, 1.65vw, 32px) !important; }
.brand-pixfit small { align-self: flex-end; margin-top: 0.2em; }
.brand-celtra { padding-left: 0 !important; color: #f1efed !important; font-size: clamp(22px, 1.86vw, 36px) !important; }
.brand-firefly { color: #ee7547 !important; font-size: clamp(11px, 0.9vw, 18px) !important; }
.brand-firefly b { margin-left: 0.3em; color: #e62179; }
.brand-chatgpt { flex-direction: column; color: rgba(255, 255, 255, 0.6) !important; font-size: clamp(24px, 2.1vw, 40px) !important; }
.brand-chatgpt small { margin: 0.35em 0 0; }
.brand-lib { border-radius: 8px; color: #eee8ff !important; background: linear-gradient(135deg, #5138c9, #9575dd); font-size: clamp(19px, 1.55vw, 30px) !important; }
.brand-kling { color: #eee !important; font-size: clamp(12px, 0.92vw, 18px) !important; }
.brand-meitu { padding: 0.5em 0.6em !important; border-radius: 7px; color: #3b3855 !important; background: #f7f6ef; font-size: clamp(12px, 1.02vw, 19px) !important; }
.brand-meitu small { display: block; margin: 0.2em 0 0; color: #555; }
.brand-gaoding { border-radius: 9px; color: #fff !important; background: #116ee8; font-size: clamp(16px, 1.38vw, 26px) !important; }
.brand-canva { width: clamp(42px, 3.6vw, 68px); aspect-ratio: 1; border-radius: 50%; color: #fff !important; background: #22bdcf; font-family: Georgia, serif !important; font-size: clamp(11px, 0.9vw, 17px) !important; font-style: italic; }
.brand-doubao { border-radius: 50%; color: #182a4f !important; background: #eef0ff; font-size: clamp(9px, 0.7vw, 14px) !important; }
.brand-lovart { color: #a6f1df !important; font-size: clamp(14px, 1.12vw, 21px) !important; }
.brand-miora { color: #7f94a1 !important; font-size: clamp(11px, 0.88vw, 17px) !important; }

.project-one-competition-note {
  max-width: 420px;
  margin: 0;
  padding-top: clamp(18px, 1.8vw, 30px);
  border-top: 1px solid rgba(0, 161, 163, 0.24);
  color: rgba(229, 239, 235, 0.56);
  font-size: clamp(10px, 0.64vw, 13px);
  line-height: 1.75;
}

.project-one-advantages {
  max-width: 1280px;
  margin: clamp(45px, 4.6vw, 76px) auto 0;
}

.project-one-advantages > h3 { margin-bottom: clamp(20px, 2vw, 35px); }
.project-one-advantages > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 36px); }
.project-one-advantages article { padding-top: clamp(14px, 1.4vw, 25px); border-top: 1px solid rgba(0, 161, 163, 0.56); }
.project-one-advantages strong { color: #e7f1ec; font-size: clamp(12px, 0.85vw, 17px); font-weight: 400; }
.project-one-advantages p { margin: 10px 0 0; color: rgba(224, 236, 231, 0.48); font-size: clamp(9px, 0.62vw, 12px); line-height: 1.6; }

.project-one-architecture {
  display: grid;
  min-height: min(62vw, 1010px);
  padding-top: clamp(106px, 10.8vw, 176px);
  padding-bottom: clamp(92px, 9vw, 148px);
  grid-template-columns: minmax(260px, 0.78fr) minmax(600px, 1.22fr);
  align-items: start;
  gap: clamp(54px, 6.4vw, 104px);
}

.project-one-architecture::before {
  position: absolute;
  bottom: -12%;
  left: -8%;
  z-index: -1;
  width: min(52vw, 850px);
  height: min(42vw, 680px);
  content: "";
  background: linear-gradient(90deg, rgba(0, 7, 7, 0.2), rgba(0, 7, 7, 0.84)), url("./assets/project-one-hero-art-web.webp") center / cover no-repeat;
  filter: brightness(0.44) saturate(0.82);
  opacity: 0.28;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 88%);
  pointer-events: none;
}

.project-one-architecture-copy > span {
  display: block;
  margin-top: clamp(14px, 1.25vw, 22px);
  color: rgba(0, 161, 163, 0.72);
  font-family: var(--font-en);
  font-size: clamp(8px, 0.55vw, 11px);
  font-weight: 700;
  letter-spacing: 0.07em;
}

.project-one-architecture-intro {
  max-width: 340px;
  margin: clamp(28px, 3.2vw, 55px) 0 0;
  color: rgba(234, 244, 239, 0.68);
  font-size: clamp(12px, 0.84vw, 16px);
}

.project-one-architecture-guide { margin: clamp(80px, 9vw, 150px) 0 0; }
.project-one-architecture-guide div { margin-top: clamp(22px, 2.3vw, 38px); }
.project-one-architecture-guide dt { color: #00a1a3; font-family: var(--font-en); font-size: clamp(8px, 0.54vw, 11px); font-weight: 700; letter-spacing: 0.1em; }
.project-one-architecture-guide dd { margin: 8px 0 0; color: rgba(232, 242, 237, 0.65); font-size: clamp(10px, 0.68vw, 13px); line-height: 1.6; }
.project-one-architecture-footnote { margin: clamp(65px, 7.4vw, 120px) 0 0; color: rgba(239, 247, 243, 0.82); font-size: clamp(11px, 0.76vw, 15px); }

.project-one-system-layers { padding-top: clamp(26px, 2vw, 36px); }
.project-one-layer-heading { display: grid; margin-bottom: clamp(14px, 1.35vw, 22px); grid-template-columns: 0.3fr 0.29fr 1fr; align-items: end; column-gap: 1.5vw; }
.project-one-layer-heading p { margin-bottom: 7px; }
.project-one-layer-heading h3 { margin: 0; color: #f1f6f2; font-family: var(--font-cn); font-size: clamp(22px, 1.76vw, 35px); font-weight: 400; line-height: 1; }
.project-one-layer-heading > span { padding-bottom: 2px; color: rgba(230, 242, 237, 0.5); font-size: clamp(8px, 0.52vw, 10px); }
.project-one-system-layers ol { display: grid; margin: 0; padding: 0; gap: clamp(7px, 0.65vw, 11px); list-style: none; }
.project-one-system-layers li { position: relative; display: grid; min-height: clamp(37px, 3vw, 52px); padding: 0 clamp(18px, 1.4vw, 25px); grid-template-columns: 0.3fr 0.29fr 1fr 10px; align-items: center; gap: 1.5vw; border: 1px solid rgba(35, 110, 109, 0.38); border-radius: 8px; background: linear-gradient(90deg, rgba(11, 42, 42, 0.78), rgba(6, 20, 20, 0.5)); box-shadow: inset 0 1px rgba(255, 255, 255, 0.025); }
.project-one-system-layers li::before { position: absolute; inset: 0 auto 0 0; width: 27%; border-radius: inherit; content: ""; background: linear-gradient(90deg, rgba(0, 161, 163, 0.1), transparent); pointer-events: none; }
.project-one-system-layers b { position: relative; z-index: 1; width: max-content; min-width: clamp(56px, 4.2vw, 76px); padding: 0.2em 0.75em; border: 1px solid rgba(104, 180, 177, 0.46); border-radius: 99px; color: rgba(230, 247, 242, 0.78); font-size: clamp(9px, 0.62vw, 12px); font-weight: 400; line-height: 1.2; text-align: center; }
.project-one-system-layers strong { position: relative; z-index: 1; color: rgba(236, 247, 242, 0.9); font-size: clamp(10px, 0.72vw, 14px); font-weight: 400; white-space: nowrap; }
.project-one-system-layers p { position: relative; z-index: 1; margin: 0; color: rgba(221, 239, 232, 0.5); font-size: clamp(8px, 0.54vw, 11px); line-height: 1.35; }
.project-one-system-layers i { position: relative; z-index: 1; width: clamp(4px, 0.32vw, 7px); aspect-ratio: 1; border-radius: 50%; background: #00a1a3; box-shadow: 0 0 10px rgba(0, 161, 163, 0.75); }

.project-one-business-flow {
  min-height: min(70vw, 1144px);
  padding-top: clamp(82px, 8.2vw, 134px);
  padding-bottom: clamp(120px, 12vw, 195px);
}

.project-one-business-flow::before {
  position: absolute;
  top: 9%;
  right: 0;
  left: 0;
  z-index: -1;
  height: 55%;
  content: "";
  background: radial-gradient(ellipse 36% 30% at 51% 97%, rgba(0, 161, 163, 0.16), transparent 73%);
  pointer-events: none;
}

.project-one-business-heading { width: max-content; margin: 0 0 clamp(38px, 4vw, 65px) auto; text-align: right; }
.project-one-flow-tabs { display: grid; max-width: 1320px; margin: 0 auto; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1vw, 18px); }
.project-one-flow-tabs button { position: relative; display: flex; min-height: clamp(76px, 6.6vw, 108px); padding: clamp(14px, 1.35vw, 24px); align-items: center; gap: clamp(9px, 0.86vw, 16px); border: 1px solid rgba(52, 128, 128, 0.45); border-radius: 7px; color: #edf6f1; background: #020505; box-shadow: inset 0 1px rgba(255,255,255,.035); cursor: pointer; text-align: left; transition: transform 260ms cubic-bezier(.16,1,.3,1), border-color 240ms ease, background 240ms ease, box-shadow 240ms ease; }
.project-one-flow-tabs button::after { position: absolute; right: 13px; bottom: 12px; width: 5px; aspect-ratio: 1; border-radius: 50%; content: ""; background: rgba(0, 161, 163, 0.35); }
.project-one-flow-tabs button b { color: #00a1a3; font-family: var(--font-en); font-size: clamp(12px, 0.867vw, 17.333px); font-weight: 700; }
.project-one-flow-tabs button span { display: grid; gap: 7px; }
.project-one-flow-tabs button strong { font-family: var(--font-cn); font-size: clamp(16px, 1.173vw, 22.667px); font-weight: 400; }
.project-one-flow-tabs button small { color: rgba(223, 239, 233, 0.48); font-size: clamp(10.667px, 0.693vw, 13.333px); line-height: 1.45; }
.project-one-flow-tabs button.is-active,
.project-one-flow-tabs button:hover,
.project-one-flow-tabs button:focus-visible { border-color: rgba(0, 189, 192, 0.95); outline: none; background: linear-gradient(145deg, rgba(0, 75, 76, 0.72), rgba(6, 23, 23, 0.9)); box-shadow: 0 0 27px rgba(0, 161, 163, 0.11), inset 0 1px rgba(141,255,255,.18); transform: translateY(-4px); }
.project-one-flow-tabs button.is-active::after { background: #00a1a3; box-shadow: 0 0 10px rgba(0,161,163,.92); }

.project-one-prototype-stage { position: relative; display: grid; min-height: clamp(370px, 31vw, 510px); max-width: 1320px; margin: clamp(30px, 3vw, 52px) auto 0; place-items: center; overflow: hidden; border: 2px solid rgba(0, 161, 163, 0.78); border-radius: 12px; background: linear-gradient(125deg, rgba(14, 34, 33, 0.91), rgba(8, 17, 17, 0.86)); text-align: center; transition: border-color 300ms ease, box-shadow 300ms ease; }
.project-one-prototype-stage::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 50% 115%, rgba(0, 161, 163, 0.36), transparent 42%); opacity: .7; pointer-events: none; }
.project-one-prototype-stage > div { position: relative; z-index: 1; }
.project-one-prototype-video { position: relative; z-index: 1; display: block; width: 100%; height: 100%; min-height: 0; background: #020505; object-fit: contain; }
.project-one-prototype-label { margin: 0 0 1.2em; color: #00a1a3; font-family: var(--font-en); font-size: clamp(8px, 0.55vw, 11px); font-weight: 700; letter-spacing: 0.12em; opacity: 0; transform: translateY(10px); transition: opacity 260ms ease, transform 260ms ease; }
.project-one-prototype-stage h3 { margin: 0; color: #f1f6f3; font-family: var(--font-cn); font-size: clamp(35px, 3.35vw, 66px); font-weight: 400; letter-spacing: .04em; }
.project-one-prototype-copy { margin: clamp(16px, 1.6vw, 28px) 0 0; color: rgba(239, 248, 243, 0.9); font-size: clamp(17px, 1.44vw, 28px); line-height: 1.45; }
.project-one-prototype-stage.is-selected { border-color: #00d4d7; box-shadow: 0 0 34px rgba(0,161,163,.15), inset 0 0 60px rgba(0,161,163,.07); }
.project-one-prototype-stage.is-selected .project-one-prototype-label { opacity: 1; transform: translateY(0); }

.project-one-system-flow { min-height: min(47vw, 770px); padding-top: clamp(44px, 4.8vw, 78px); padding-bottom: clamp(200px, 18vw, 300px); }
.project-one-system-heading { margin-bottom: clamp(50px, 4.8vw, 78px); }
.project-one-system-steps { position: relative; display: grid; max-width: 1330px; margin: 0 auto; padding: 0; grid-template-columns: repeat(7, 1fr); list-style: none; }
.project-one-system-steps::before { position: absolute; top: clamp(17px, 1.48vw, 25px); right: 6%; left: 6%; height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgba(0, 161, 163, 0.82) 8%, rgba(0, 161, 163, 0.52) 92%, transparent); box-shadow: 0 0 11px rgba(0, 161, 163, 0.24); }
.project-one-system-steps li { position: relative; z-index: 1; min-width: 0; padding: 0 clamp(7px, 0.6vw, 12px); }
.project-one-system-steps b { display: grid; width: clamp(31px, 2.7vw, 48px); aspect-ratio: 1; margin-bottom: clamp(14px, 1.35vw, 23px); place-items: center; border: 1px solid rgba(0, 161, 163, 0.8); border-radius: 50%; color: #00a1a3; background: #062020; box-shadow: 0 0 0 5px rgba(2, 5, 5, .88), 0 0 14px rgba(0, 161, 163, 0.24); font-family: var(--font-en); font-size: clamp(8px, 0.61vw, 12px); font-weight: 700; }
.project-one-system-steps strong { display: block; color: rgba(240, 247, 244, 0.88); font-size: clamp(9px, 0.69vw, 13px); font-weight: 400; line-height: 1.3; }
.project-one-system-steps small { display: block; margin-top: 6px; color: rgba(223, 238, 232, 0.44); font-size: clamp(7px, 0.47vw, 9px); line-height: 1.45; }
.project-one-system-benefits { display: grid; max-width: 1330px; margin: clamp(72px, 7.2vw, 118px) auto 0; grid-template-columns: repeat(3, 1fr); }
.project-one-system-benefits article { min-height: clamp(76px, 6.7vw, 109px); padding: 0 clamp(36px, 3.5vw, 57px); border-left: 1px solid rgba(0, 161, 163, 0.22); }
.project-one-system-benefits article:first-child { padding-left: 0; border-left: 0; }
.project-one-system-benefits h3 { margin: 0; color: #00a1a3; font-family: var(--font-cn); font-size: clamp(12px, 0.9vw, 17px); font-weight: 400; }
.project-one-system-benefits p { margin: 13px 0 0; color: rgba(224, 238, 233, 0.5); font-size: clamp(8px, 0.56vw, 11px); line-height: 1.65; }

.project-one-prompt {
  position: relative;
  min-height: min(60.83vw, 994.4px);
  overflow: hidden;
  background: #020505;
  scroll-margin-top: 8vh;
}

.project-one-prompt::before {
  position: absolute;
  top: min(-34.233vw, -559.62px);
  left: min(12.348vw, 201.85px);
  width: min(75.367vw, 1232px);
  height: min(113.006vw, 1847px);
  content: "";
  display: none;
  pointer-events: none;
}

.project-one-prompt-heading {
  position: absolute;
  z-index: 1;
  top: min(4.86vw, 79.46px);
  left: min(74.605vw, 1219.57px);
  width: max-content;
  text-align: right;
}

.project-one-prompt-heading p {
  margin: 0;
  color: #00a3a4;
  font-family: var(--font-en);
  font-size: min(.918vw, 15px);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
}

.project-one-prompt-heading h2 {
  margin: min(.65vw, 10.62px) 0 0;
  color: #eef0e5;
  font-family: var(--font-cn);
  font-size: min(3.012vw, 49.24px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.project-one-prompt-module {
  position: absolute;
  z-index: 1;
  width: min(38.41vw, 627.87px);
  padding-left: min(2.157vw, 35.27px);
}

.project-one-prompt-module::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(.253vw, 4.13px);
  content: "";
  background: #00a3a4;
}

.project-one-prompt-module--vlm1 {
  top: min(11.84vw, 193.52px);
  left: min(6.882vw, 112.5px);
}

.project-one-prompt-module--vlm2 {
  top: min(16.062vw, 262.58px);
  left: min(52.704vw, 861.52px);
}

.project-one-prompt-module h3 {
  margin: 0;
  color: #00a3a4;
  font-family: var(--font-cn);
  font-size: min(1.488vw, 24.328px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.project-one-prompt-summary,
.project-one-prompt-rules,
.project-one-prompt-outpaint-copy {
  color: #9aa5a1;
  font-family: "FZLantingThin", var(--font-cn);
  font-size: min(.795vw, 13px);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.969;
}

.project-one-prompt-summary { margin-top: min(1.86vw, 30.41px); }
.project-one-prompt-rules { margin-top: min(1.23vw, 20.1px); }

.project-one-prompt-summary p,
.project-one-prompt-rules p,
.project-one-prompt-outpaint-copy p { margin: 0; }

.project-one-prompt-summary strong,
.project-one-prompt-rules strong,
.project-one-prompt-outpaint-copy strong {
  color: inherit;
  font-family: var(--font-cn);
  font-weight: 400;
}

.project-one-prompt-tags {
  display: flex;
  align-items: center;
  gap: min(.63vw, 10.28px);
  margin-top: min(.49vw, 8px);
}

.project-one-prompt-tags span {
  display: grid;
  height: min(1.228vw, 20.08px);
  padding: 0 min(.47vw, 7.66px);
  place-items: center;
  border: .5px solid #00a3a4;
  border-radius: 999px;
  color: #00a3a4;
  background: #032c2c;
  font-family: "FZLantingThin", var(--font-cn);
  font-size: min(.653vw, 10.68px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.project-one-prompt-tags span:nth-child(1) { width: min(7.205vw, 117.81px); }
.project-one-prompt-tags span:nth-child(2) { width: min(4.91vw, 80.26px); }
.project-one-prompt-tags span:nth-child(3) { width: min(6.365vw, 104.05px); }
.project-one-prompt-tags span:nth-child(4) { width: min(4.681vw, 76.53px); }
.project-one-prompt-module--vlm2 .project-one-prompt-tags span:nth-child(2) { width: min(6.365vw, 104.05px); }
.project-one-prompt-module--vlm2 .project-one-prompt-tags span:nth-child(3) { width: min(4.681vw, 76.53px); }

.project-one-prompt-work-title {
  margin: 0;
  color: #00a3a4;
  font-family: var(--font-cn);
  font-size: min(.795vw, 13px);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1;
}

.project-one-prompt-steps {
  --project-one-prompt-step-inset: min(.825vw, 13.5px);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: min(1vw, 16px);
  margin: min(.79vw, 13px) 0 0;
  padding: var(--project-one-prompt-step-inset) 0;
  list-style: none;
}

.project-one-prompt-steps::before,
.project-one-prompt-steps::after {
  position: absolute;
  right: 0;
  left: 0;
  height: .52px;
  content: "";
  background: #00a3a4;
}

.project-one-prompt-steps::before { top: 0; }
.project-one-prompt-steps::after { bottom: 0; }

.project-one-prompt-steps li {
  position: relative;
  flex: 0 0 auto;
  color: #fff;
  font-family: "FZLantingThin", var(--font-cn);
  font-size: min(.795vw, 13px);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1;
  white-space: nowrap;
}

.project-one-prompt-steps li::before {
  position: absolute;
  top: calc(0px - var(--project-one-prompt-step-inset) - min(.132vw, 2.16px));
  left: 50%;
  width: min(.296vw, 4.84px);
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: #00a3a4;
  transform: translateX(-50%);
}

.project-one-prompt-module--vlm2 .project-one-prompt-work-title { margin-top: 0; }

.project-one-prompt-module--outpaint {
  top: min(39.29vw, 642.24px);
  left: min(6.878vw, 112.44px);
  width: min(83vw, 1356px);
}

.project-one-prompt-module--outpaint h3 { margin-top: 0; }
.project-one-prompt-outpaint-copy { margin-top: min(1.47vw, 24px); }
.project-one-prompt-outpaint-copy strong { color: inherit; }
.project-one-prompt-outpaint-copy p + p { margin-top: min(.88vw, 14.4px); }
.project-one-prompt-outpaint-copy span { white-space: pre; }

.project-one-anchor { height: 1px; scroll-margin-top: 15vh; }
.project-one-competition,
.project-one-architecture,
.project-one-business-flow,
.project-one-system-flow { scroll-margin-top: 8vh; }

@media (max-width: 1100px) {
  .project-one-hero { min-height: 760px; }
  .project-one-competition-grid { max-width: 900px; }
  .project-one-architecture { grid-template-columns: minmax(220px, .7fr) minmax(500px, 1.3fr); }
  .project-one-system-layers li,
  .project-one-layer-heading { grid-template-columns: .28fr .35fr 1fr 8px; }
  .project-one-layer-heading { grid-template-columns: .28fr .35fr 1fr; }
}

@media (max-width: 720px) {
  .project-one-top-rail { top: 72px; left: 24px; width: calc(50% - 25px); }
  .project-one-marks { top: 68px; }
  .project-one-hero { min-height: 0; padding-top: 140px; }
  .project-one-introduction,
  .project-one-competition,
  .project-one-architecture,
  .project-one-business-flow,
  .project-one-system-flow { padding-right: 24px; padding-left: 24px; }
  .project-one-competition { min-height: 0; }
  .project-one-competition-heading,
  .project-one-business-heading { margin-right: 0; }
  .project-one-competition-grid,
  .project-one-advantages > div,
  .project-one-architecture,
  .project-one-flow-tabs,
  .project-one-system-benefits { grid-template-columns: 1fr; }
  .project-one-competitor-group,
  .project-one-competitor-group--domestic { min-height: 0; padding: 40px 0; border-left: 0; border-bottom: 1px solid rgba(0,161,163,.25); }
  .project-one-brand-cloud { min-height: 145px; padding-right: 0; padding-left: 0; }
  .project-one-advantages { margin-top: 42px; }
  .project-one-advantages article { padding-bottom: 16px; }
  .project-one-architecture { min-height: 0; gap: 50px; }
  .project-one-architecture-guide { margin-top: 58px; }
  .project-one-architecture-footnote { margin-top: 54px; }
  .project-one-layer-heading { grid-template-columns: 1fr 1fr; }
  .project-one-layer-heading > span:last-child { display: none; }
  .project-one-system-layers li { min-height: 72px; padding: 12px 16px; grid-template-columns: 90px 1fr 8px; gap: 12px; }
  .project-one-system-layers strong { white-space: normal; }
  .project-one-system-layers li p { display: none; }
  .project-one-flow-tabs { gap: 12px; }
  .project-one-prototype-stage { min-height: 320px; }
  .project-one-system-flow { min-height: 0; padding-bottom: 150px; }
  .project-one-system-steps { grid-template-columns: 1fr; gap: 22px; }
  .project-one-system-steps::before { top: 18px; bottom: 18px; left: 18px; width: 1px; height: auto; background: rgba(0,161,163,.52); }
  .project-one-system-steps li { display: grid; min-height: 58px; padding-left: 55px; grid-template-columns: 1fr; }
  .project-one-system-steps b { position: absolute; top: 0; left: 0; margin: 0; }
  .project-one-system-benefits { gap: 26px; }
  .project-one-system-benefits article,
  .project-one-system-benefits article:first-child { min-height: 0; padding: 0 0 0 18px; border-left: 1px solid rgba(0,161,163,.22); }
}

/* Final positional pass — scaled from the 1635 × 6043 supplied composition. */
.project-one-top-rail {
  position: fixed;
  top: 11.35svh;
  right: 4.6vw;
  left: 6.4vw;
  z-index: 7;
  width: auto;
  background: linear-gradient(90deg, rgba(238, 246, 243, 0.65), rgba(238, 246, 243, 0.4) 42%, rgba(238, 246, 243, 0.42) 70%, rgba(238, 246, 243, 0.58));
}

.project-one-marks {
  position: fixed;
  z-index: 10;
}

.project-one-art {
  width: min(110%, 1034px);
  max-width: none;
  margin-right: 0;
}

.project-one-question p { color: #f3f7f2; }

/* The four cards step up and down exactly as in the supplied board. */
.project-one-card { min-height: clamp(277px, 24vw, 446px); }
.project-one-card--accent {
  min-height: clamp(313px, 27vw, 500px);
  margin-top: clamp(-40px, -2.55vw, -22px);
}
.project-one-card--ability {
  min-height: clamp(327px, 28vw, 518px);
  margin-top: clamp(26px, 2.4vw, 42px);
}
.project-one-card--goal {
  min-height: clamp(287px, 25vw, 470px);
  margin-top: clamp(-13px, -0.9vw, -5px);
}

.project-one-competition {
  min-height: min(51vw, 834px);
  padding-top: clamp(52px, 5.5vw, 90px);
  padding-bottom: clamp(58px, 5.8vw, 95px);
}

.project-one-competition-heading { margin-bottom: clamp(42px, 4.4vw, 72px); }
.project-one-competitor-group { min-height: 0; }
.project-one-brand-cloud { min-height: clamp(153px, 13.8vw, 226px); padding-top: clamp(25px, 2.25vw, 37px); }
.project-one-advantages { max-width: none; margin: clamp(38px, 3.6vw, 59px) 0 0; }
.project-one-advantages > h3 { margin-bottom: clamp(15px, 1.35vw, 22px); }
.project-one-advantages > div { gap: clamp(9px, 0.85vw, 14px); }
.project-one-advantages article { min-width: 0; padding-top: clamp(10px, 0.85vw, 14px); }
.project-one-advantages strong { display: block; font-size: clamp(9px, 0.63vw, 12px); white-space: nowrap; }
.project-one-advantages p { margin-top: 7px; font-size: clamp(7px, 0.46vw, 9px); }

.project-one-architecture {
  min-height: min(52vw, 850px);
  padding-top: clamp(58px, 5.8vw, 95px);
  padding-bottom: clamp(62px, 5.9vw, 96px);
  grid-template-columns: minmax(240px, 0.7fr) minmax(620px, 1.3fr);
}

.project-one-system-layers {
  width: min(100%, 960px);
  justify-self: end;
  padding-top: clamp(14px, 1.25vw, 21px);
}

.project-one-layer-heading p { color: #00a1a3; opacity: 1; }
.project-one-architecture-guide { margin-top: clamp(55px, 5.8vw, 95px); }
.project-one-architecture-footnote { margin-top: clamp(44px, 4.6vw, 76px); }

.project-one-business-flow {
  min-height: min(68vw, 1112px);
  padding-top: clamp(31px, 3.1vw, 51px);
  padding-bottom: clamp(77px, 7.4vw, 121px);
}

.project-one-business-heading { margin-bottom: clamp(28px, 2.7vw, 44px); }
.project-one-prototype-stage { min-height: min(45.8vw, 750px); }

.project-one-system-flow {
  min-height: min(90vw, 1470px);
  padding-top: clamp(31px, 3vw, 49px);
  padding-bottom: clamp(380px, 28vw, 458px);
}

.project-one-system-heading { margin-bottom: clamp(57px, 5.2vw, 85px); }
.project-one-system-steps::before {
  top: clamp(18px, 1.58vw, 26px);
  right: 2.1%;
  left: 2.1%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 161, 163, 0.08), rgba(0, 161, 163, 0.9) 9%, rgba(0, 161, 163, 0.58) 91%, rgba(0, 161, 163, 0.08));
  box-shadow: 0 0 14px rgba(0, 161, 163, 0.34);
}

.project-one-system-steps li { padding-top: clamp(17px, 1.45vw, 24px); }
.project-one-system-steps li::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: clamp(16px, 1.42vw, 23px);
  content: "";
  background: linear-gradient(rgba(0, 161, 163, 0.8), rgba(0, 161, 163, 0.08));
}
.project-one-system-steps em {
  position: absolute;
  bottom: calc(100% - 1px);
  left: 50%;
  width: max-content;
  max-width: 125%;
  color: rgba(0, 161, 163, 0.62);
  font-family: var(--font-cn);
  font-size: clamp(7px, 0.46vw, 9px);
  font-style: normal;
  line-height: 1;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
}
.project-one-system-steps b { position: relative; }
.project-one-system-benefits { margin-top: clamp(80px, 7.5vw, 122px); }

.project-one-system-flow::before {
  position: absolute;
  top: -24vw;
  left: 50%;
  z-index: -1;
  width: min(72vw, 1160px);
  aspect-ratio: 1;
  content: "";
  background: url("./assets/project-one-glow-web.webp") center / contain no-repeat;
  opacity: 0.12;
  transform: translateX(-50%);
  pointer-events: none;
}

@media (max-width: 720px) {
  .project-one-top-rail { right: 24px; left: 24px; width: auto; }
  .project-one-art { width: min(100%, 480px); max-width: 100%; margin-right: auto; }
  .project-one-card--accent,
  .project-one-card--ability,
  .project-one-card--goal { min-height: 0; margin-top: 0; }
  .project-one-competition,
  .project-one-architecture,
  .project-one-business-flow,
  .project-one-system-flow { min-height: 0; }
  .project-one-system-flow { padding-bottom: 160px; }
  .project-one-system-steps li { padding-top: 0; }
  .project-one-system-steps li::before,
  .project-one-system-steps em { display: none; }
  .project-one-advantages > div { grid-template-columns: 1fr; }
}

/* AI-coordinate reconstruction: desktop geometry follows the 1634.67 × 6043.39 artboard. */
@media (min-width: 721px) {
  .project-one-system-heading p {
    margin: 0 0 min(0.55vw, 9px);
    font-size: min(0.918vw, 15px);
    line-height: 1;
  }

  .project-one-system-heading h2 {
    font-size: min(3.012vw, 49.24px);
    line-height: 1;
  }

  .project-one-page > section { z-index: 1; }

  .project-one-page::after {
    top: min(12.25vw, 200.3px);
    left: max(-60.43vw, -987.8px);
    z-index: 0;
    width: min(102.96vw, 1683.1px);
    opacity: 1;
    mix-blend-mode: normal;
  }

  .project-one-hero {
    display: block;
    width: 100%;
    height: min(64.78vw, 1058.9px);
    min-height: 0;
    padding: 0;
  }

  .project-one-hero::before {
    position: absolute;
    top: max(-60.96vw, -996.4px);
    left: min(41.63vw, 680.6px);
    z-index: 0;
    width: min(102.96vw, 1683.1px);
    aspect-ratio: 1;
    content: "";
    background: url("./assets/project-one-glow-web.webp") center / 100% 100% no-repeat;
    pointer-events: none;
  }

  .project-one-hero-copy {
    position: absolute;
    top: min(19.2vw, 314px);
    left: 6.9vw;
    z-index: 2;
    width: min(43vw, 703px);
  }

  .project-one-art {
    position: absolute;
    top: min(12.25vw, 200.3px);
    left: min(48.54vw, 793.5px);
    z-index: 1;
    width: min(58.95vw, 963.7px);
    height: auto;
    aspect-ratio: 1.107;
    margin: 0;
  }

  .project-one-art::before { display: none; }
  .project-one-art img { width: 100%; height: auto; object-fit: fill; filter: none; }

  .project-one-introduction {
    height: min(42.9vw, 701.4px);
    min-height: 0;
    padding: 0 6.9vw;
    background: none;
  }

  .project-one-section-heading {
    position: absolute;
    inset: 0 6.9vw auto;
    height: min(6.1vw, 100px);
    margin: 0;
  }

  .project-one-question { position: absolute; top: 0; right: 0; }

  .project-one-card-grid {
    position: absolute;
    top: min(6.15vw, 100.5px);
    right: 6.9vw;
    left: 6.9vw;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: min(1.84vw, 30px);
  }

  .project-one-card,
  .project-one-card--accent,
  .project-one-card--ability,
  .project-one-card--goal {
    height: min(27.28vw, 446px);
    min-height: 0;
  }

  .project-one-card:nth-child(1) { margin-top: min(4.15vw, 67.8px); }
  .project-one-card--accent { margin-top: 0; }
  .project-one-card--ability { margin-top: min(6.33vw, 103.5px); }
  .project-one-card--goal { margin-top: min(2.02vw, 33px); }

  .project-one-competition {
    height: min(50.3vw, 822.3px);
    min-height: 0;
    padding: 0;
  }

  .project-one-competition::before {
    top: min(-1vw, -16px);
    right: 2vw;
    z-index: 0;
    width: min(31vw, 507px);
    background:
      radial-gradient(circle at center, rgba(0, 161, 163, 0.15), transparent 62%),
      radial-gradient(circle, rgba(0, 161, 163, 0.34) 0.7px, transparent 0.9px) 0 0 / 10px 10px;
    filter: none;
    opacity: 0.5;
    mask-image: radial-gradient(circle, #000 0 25%, transparent 68%);
  }

  .project-one-competition::after {
    position: absolute;
    top: min(4.34vw, 70.9px);
    left: min(75.83vw, 1239.6px);
    z-index: 0;
    width: min(58.24vw, 952px);
    height: min(77.49vw, 1266.8px);
    content: "";
    background: url("./assets/project-one-glow-web.webp") center / 100% 100% no-repeat;
    pointer-events: none;
  }

  .project-one-competition > * { z-index: 1; }

  .project-one-competition-heading {
    position: absolute;
    top: 0;
    right: 6.9vw;
    margin: 0;
  }

  .project-one-competition-grid {
    position: absolute;
    top: min(5.45vw, 89px);
    right: 8.8vw;
    left: 9.2vw;
    max-width: none;
    margin: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-one-competitor-group {
    position: relative;
    height: min(38vw, 621px);
    min-height: 0;
    padding: 0;
  }

  .project-one-competitor-group--overseas { padding: 0; }
  .project-one-competitor-group--domestic {
    padding: min(6.49vw, 106px) 0 0 min(5.05vw, 82.5px);
    border-left-color: rgba(0, 161, 163, 0.3);
  }

  .project-one-brand-cloud {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: min(20vw, 327px);
    min-height: 0;
    padding: 0;
  }

  .project-one-brand-cloud img {
    position: absolute;
    display: block;
    max-width: none;
    height: auto;
    padding: 0;
    object-fit: contain;
  }

  .project-one-brand-cloud img.brand-meitu { padding: 0 !important; }

  .project-one-competitor-group--overseas .brand-smartly { top: min(4.61vw, 75.3px); left: min(3.86vw, 63.1px); width: min(7.86vw, 128.4px); }
  .project-one-competitor-group--overseas .brand-gemini { top: min(1.38vw, 22.5px); left: min(15.9vw, 260px); width: min(5.65vw, 92.3px); }
  .project-one-competitor-group--overseas .brand-pixfit { top: min(7.75vw, 126.7px); left: min(12.27vw, 200.6px); width: min(12.91vw, 211.1px); }
  .project-one-competitor-group--overseas .brand-celtra { top: min(3.86vw, 63.1px); left: min(24.8vw, 405.5px); width: min(9.48vw, 155px); }
  .project-one-competitor-group--overseas .brand-firefly { top: min(12.9vw, 210.9px); left: min(25.59vw, 418.3px); width: min(9.74vw, 159.2px); }
  .project-one-competitor-group--overseas .brand-chatgpt { top: min(9.98vw, 163.1px); left: min(6.85vw, 111.9px); width: min(4.31vw, 70.5px); }

  .project-one-competitor-group--domestic .brand-lib { top: max(-2.63vw, -43px); left: min(22.55vw, 368.6px); width: min(4.51vw, 73.7px); }
  .project-one-competitor-group--domestic .brand-kling { top: min(2.71vw, 44.4px); left: min(7.75vw, 126.7px); width: min(6.3vw, 103px); }
  .project-one-competitor-group--domestic .brand-meitu { top: min(3.86vw, 63.1px); left: min(15.13vw, 247.3px); width: min(14.77vw, 241.5px); }
  .project-one-competitor-group--domestic .brand-gaoding { top: min(0.67vw, 11px); left: min(30.56vw, 499.7px); width: min(5.19vw, 84.8px); }
  .project-one-competitor-group--domestic .brand-canva { top: min(8.98vw, 146.7px); left: min(29.49vw, 482.3px); width: min(6.25vw, 102.2px); }
  .project-one-competitor-group--domestic .brand-avatar { top: min(6.92vw, 113px); left: min(34.9vw, 570.7px); width: min(4.12vw, 67.4px); }
  .project-one-competitor-group--domestic .brand-keling { top: max(-1.87vw, -30.6px); left: min(36.99vw, 604.8px); width: min(4.08vw, 66.6px); }
  .project-one-competitor-group--domestic .brand-miora { top: min(11.01vw, 179.7px); left: min(19.44vw, 317.7px); width: min(8.11vw, 132.6px); }
  .project-one-competitor-group--domestic .brand-lovart { top: min(7.6vw, 124px); left: min(8.9vw, 145px); width: min(4.1vw, 67px); opacity: 0.86; }
  .project-one-competitor-group--domestic .brand-comfy { position: absolute; top: min(12.55vw, 205px); left: min(8.35vw, 136.5px); color: rgba(236, 242, 240, 0.54); font-family: var(--font-en); font-size: min(1.25vw, 20px); font-weight: 700; }

  .project-one-competitor-group--overseas .project-one-competition-note {
    position: absolute;
    top: min(19.83vw, 324.2px);
    left: min(3.28vw, 53.7px);
    width: min(31vw, 507px);
  }

  .project-one-competitor-group--domestic .project-one-competition-note {
    position: absolute;
    top: min(19.16vw, 313.1px);
    left: min(3.4vw, 55.7px);
    width: min(31vw, 507px);
  }

  .project-one-advantages {
    position: absolute;
    top: min(27.63vw, 451.7px);
    left: 0;
    width: min(36.5vw, 597px);
    margin: 0;
  }

  .project-one-advantages > h3 { margin-bottom: min(2.2vw, 36px); }
  .project-one-advantages > div { grid-template-columns: repeat(3, 1fr); gap: min(1.55vw, 25px); }

  .project-one-architecture {
    display: block;
    height: min(50.62vw, 827.4px);
    min-height: 0;
    padding: 0;
  }

  .project-one-architecture::before {
    top: min(15.98vw, 261.3px);
    bottom: auto;
    left: 0;
    z-index: 0;
    width: min(39.99vw, 653.7px);
    height: min(72.03vw, 1177.5px);
    background: url("./assets/project-one-architecture-art-web.webp") center / 100% 100% no-repeat;
    filter: none;
    opacity: 1;
    mask-image: none;
  }

  .project-one-architecture > * { z-index: 1; }

  .project-one-architecture-copy {
    position: absolute;
    top: 0;
    left: 6.94vw;
    width: min(29vw, 474px);
  }

  .project-one-architecture-guide {
    position: absolute;
    top: min(16.53vw, 270.3px);
    left: 0;
    width: min(30vw, 490px);
    margin: 0;
  }

  .project-one-architecture-guide div { margin: 0 0 min(4.7vw, 76.8px); }
  .project-one-architecture-footnote { position: absolute; top: min(40.74vw, 665.9px); left: 0; margin: 0; }

  .project-one-system-layers {
    position: absolute;
    top: min(3.14vw, 51.3px);
    right: 6.9vw;
    left: min(37.41vw, 611.5px);
    width: auto;
    padding: 0;
  }

  .project-one-layer-heading { display: block; margin: 0; }
  .project-one-layer-labels {
    position: absolute;
    top: min(4.59vw, 75px);
    right: 0;
    left: min(1.22vw, 20px);
    display: grid;
    grid-template-columns: 21.5% 27.1% 51.4%;
    color: rgba(230, 242, 237, 0.5);
    font-size: min(0.52vw, 10px);
  }

  .project-one-system-layers ol {
    position: absolute;
    top: min(7.63vw, 124.7px);
    right: 0;
    left: 0;
    gap: min(1.32vw, 21.6px);
  }

  .project-one-system-layers li {
    min-height: min(3.45vw, 56.4px);
    padding: 0 min(1.22vw, 20px);
    grid-template-columns: 21.5% 27.1% 49% 2.4%;
    gap: 0;
  }

  .project-one-business-flow {
    /* Pull this chapter and every following chapter up by the same measured lift. */
    height: calc(min(72.84vw, 1190.7px) - 30px);
    min-height: 0;
    padding: 0;
  }

  .project-one-business-flow::before { display: none; }
  .project-one-business-flow::after {
    position: absolute;
    top: min(29.95vw, 489.7px);
    left: min(11.25vw, 183.9px);
    z-index: 0;
    width: min(77.49vw, 1266.8px);
    height: min(58.24vw, 952px);
    content: "";
    background: url("./assets/project-one-glow-web.webp") center / 100% 100% no-repeat;
    pointer-events: none;
  }

  .project-one-business-flow > * { z-index: 1; }
  .project-one-business-heading { position: absolute; top: 0; right: 6.9vw; margin: 0; }
  .project-one-flow-tabs { position: absolute; top: calc(min(9.37vw, 153.2px) - 30px); right: 6.9vw; left: 6.9vw; max-width: none; margin: 0; }
  /* Tighten the vertical gap to match the horizontal tab spacing. */
  .project-one-prototype-stage { position: absolute; top: calc(min(17.15vw, 280.3px) - 50px); right: 6.9vw; left: 6.9vw; width: auto; max-width: none; min-height: 0; height: min(45.8vw, 748.7px); margin: 0; }

  .project-one-system-flow {
    height: min(88.27vw, 1442.7px);
    min-height: 0;
    padding: 0;
  }

  .project-one-system-flow::before { display: none; }
  .project-one-system-heading { position: absolute; top: 0; left: 6.94vw; margin: 0; }

  .project-one-system-branches {
    position: absolute;
    top: min(4.25vw, 69.5px);
    right: 6.9vw;
    left: 6.9vw;
    height: min(6.85vw, 112px);
  }

  .project-one-system-branches svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .project-one-system-branches path { fill: none; stroke: rgba(0, 161, 163, 0.46); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
  .project-one-system-branches span { position: absolute; top: 0; color: rgba(222, 239, 234, 0.44); font-size: min(0.5vw, 9px); white-space: nowrap; }
  .project-one-branch-replan { left: 29.2%; }
  .project-one-branch-pass { left: 59.7%; }

  .project-one-system-steps {
    position: absolute;
    top: min(10.83vw, 177.1px);
    right: 6.9vw;
    left: 6.9vw;
    max-width: none;
    margin: 0;
  }

  .project-one-system-steps::before { top: min(1.48vw, 24.2px); right: 1%; left: 1%; }
  .project-one-system-steps li { padding-top: 0; }
  .project-one-system-steps li::before,
  .project-one-system-steps em { display: none; }

  .project-one-system-benefits {
    position: absolute;
    top: min(26.88vw, 439.5px);
    right: 6.9vw;
    left: 6.9vw;
    max-width: none;
    margin: 0;
  }
}

/* Fixed top control rail: the line intentionally breaks around the three square marks. */
@media (min-width: 721px) {
  .project-one-page {
    --project-one-control-drop: clamp(6px, 0.52vw, 9px);
    --project-one-rail-half-gap: clamp(31px, 2.55vw, 42px);
    --project-one-nav-drop: clamp(18px, 1.35vw, 25px);
  }

  .project-one-top-rail {
    top: calc(10.7svh + var(--project-one-control-drop) + clamp(2.5px, 0.21vw, 4px));
    right: 4.6vw;
    left: 4.6vw;
    background: none;
  }

  .project-one-top-rail::before,
  .project-one-top-rail::after {
    position: absolute;
    top: 0;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, rgba(238, 246, 243, 0.65), rgba(238, 246, 243, 0.4) 80%, rgba(238, 246, 243, 0.58));
  }

  .project-one-top-rail::before {
    right: calc(50% + var(--project-one-rail-half-gap));
    left: 0;
  }

  .project-one-top-rail::after {
    right: 0;
    left: calc(50% + var(--project-one-rail-half-gap));
  }

  .project-one-marks { top: calc(10.7svh + var(--project-one-control-drop)); }

  .project-one-header { top: 7.1svh; }
  .project-one-header h2 {
    font-family: "FZLantingThin", var(--font-cn);
    font-size: clamp(13px, 1.48vw, 30px);
    font-weight: 300;
    line-height: 1;
  }
  .project-one-header nav { transform: translateY(var(--project-one-nav-drop)); }
}

/* Review adjustments from the annotated desktop captures. */
@media (min-width: 721px) {
  /* Move the visible main-art composition from the yellow frame to the red frame. */
  .project-one-art { left: min(40.35vw, 659.6px); }

  /* Every introduction card uses the same lifted turquoise hover treatment. */
  .project-one-card:hover,
  .project-one-card:focus-within {
    border-color: rgba(0, 218, 220, 0.9);
    background: linear-gradient(155deg, rgba(0, 161, 163, 0.54), rgba(0, 31, 31, 0.82) 57%, rgba(0, 12, 12, 0.8));
    box-shadow: 0 25px 62px rgba(0, 161, 163, 0.18), inset 0 1px 0 rgba(212, 255, 255, 0.22);
    transform: translateY(-32px);
  }

  .project-one-card:hover p,
  .project-one-card:focus-within p { color: rgba(237, 251, 249, 0.88); }

  /* The statement is white and shares the right edge of its English label. */
  .project-one-section-heading .project-one-question {
    text-align: right;
  }

  .project-one-section-heading .project-one-question p {
    width: max-content;
    margin-left: auto;
    color: #f3f7f2 !important;
    text-align: right;
  }

  /* Domestic competitors begin below, so their mark cluster clears the analysis heading. */
  .project-one-competitor-group--domestic {
    transform: translateY(min(10.15vw, 166px));
  }

  /* The three advantage rules start beneath the heading rather than at the outer container edge. */
  .project-one-advantages > div {
    width: calc(100% - min(1.85vw, 30.2px));
    margin-left: min(1.85vw, 30.2px);
  }
}

/* Final alignment pass from the latest desktop annotations. */
@media (min-width: 721px) {
  /* Keep the two introduction labels together, but lift that label group by 10px. */
  .project-one-section-heading > div:first-child {
    position: relative;
    top: -10px;
  }

  /* Match the reference scale for the three product-advantage captions. */
  .project-one-advantages strong {
    font-size: clamp(18px, 1.26vw, 24px);
  }

  .project-one-advantages p {
    font-size: clamp(14px, 0.92vw, 18px);
    line-height: 1.6;
  }

  /* Move the entire domestic cluster—not just its logos—40px down from the title. */
  .project-one-competitor-group--domestic {
    top: 40px;
    transform: none;
  }

  /* Centre the domestic note beneath its logo cluster. */
  .project-one-competitor-group--domestic .project-one-competition-note {
    left: min(8.44vw, 138px);
  }
}

/* Fold alignment: lift the whole scrollable composition into the marked red area. */
@media (min-width: 721px) {
  .project-one-page {
    --project-one-hero-lift: min(9.7vw, 150px);
  }

  /* The hero contents and its reserved height move together, so all following sections rise too. */
  .project-one-hero {
    height: calc(min(64.78vw, 1058.9px) - var(--project-one-hero-lift));
  }

  .project-one-hero-copy {
    top: calc(min(19.2vw, 314px) - var(--project-one-hero-lift));
  }

  .project-one-art {
    top: calc(min(12.25vw, 200.3px) - var(--project-one-hero-lift));
  }

  /* Equalise the distance from the rail to the title above and the chapter links below. */
  .project-one-header nav {
    position: absolute;
    top: calc(
      7.2svh + clamp(12px, 1.04vw, 18px) + clamp(5px, 0.42vw, 8px)
      - clamp(13px, 1.48vw, 30px)
    );
    right: 0;
    margin: 0;
    transform: none;
  }
}

/* Competition artwork: use the supplied, pre-composed source assets at their design positions. */
@media (min-width: 721px) {
  /* Remove the decorative circular point-pattern behind the competitor logo group. */
  .project-one-competition::before {
    display: none;
  }

  .project-one-competitor-group h3 {
    position: relative;
    z-index: 1;
  }

  .project-one-brand-cloud { overflow: visible; }

  .project-one-brand-art {
    position: absolute;
    display: block;
    max-width: none;
    height: auto;
    padding: 0 !important;
    object-fit: contain;
  }

  /* The 547px source art sits beside the overseas label exactly as in the board. */
  .project-one-brand-art--overseas {
    top: 0;
    left: min(3.1vw, 50px);
    width: min(33.46vw, 547px);
  }

  /* Reset the former 40px drift: the new domestic collage has its own measured offset. */
  .project-one-competitor-group--domestic {
    top: 0;
    transform: none;
  }

  .project-one-brand-art--domestic {
    top: min(5.2vw, 85px);
    left: min(7.2vw, 118px);
    width: min(33.34vw, 545px);
  }

  .project-one-competitor-group--domestic .project-one-competition-note {
    top: min(24vw, 392px);
    left: min(8.44vw, 138px);
  }
}

/* System flow rebuilt from the source-artboard coordinates (1634.67px wide). */
@media (min-width: 721px) {
  .project-one-system-branches {
    top: 0;
    right: 0;
    left: 0;
    height: min(9.18vw, 150px);
  }

  .project-one-system-branches svg {
    width: 100%;
    height: 100%;
  }

  .project-one-system-branches path {
    fill: none;
    stroke: rgb(40 83 85);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
  }

  .project-one-system-branches marker path { vector-effect: none; }

  .project-one-system-branches span {
    top: min(4.06vw, 66.3px);
    color: #9aa5a1;
    font-size: min(0.8vw, 13px);
    line-height: 1;
  }

  .project-one-branch-replan { left: min(31.83vw, 520.3px); }
  .project-one-system-branches .project-one-branch-pass {
    top: min(4.06vw, 66.3px);
    left: min(58.29vw, 952.87px);
  }

  .project-one-system-steps {
    top: min(8.63vw, 141.02px);
    right: 0;
    left: 0;
    display: block;
    height: min(13.4vw, 219px);
  }

  .project-one-system-steps::before {
    top: min(1.71vw, 28px);
    right: min(11.34vw, 185.3px);
    left: min(10.41vw, 170.22px);
    height: 2px;
    background: rgb(40 83 85);
    box-shadow: none;
  }

  .project-one-system-steps li {
    position: absolute;
    top: 0;
    width: min(13.7vw, 224px);
    padding: 0;
  }

  .project-one-system-steps li:nth-child(1) { left: min(6.77vw, 110.65px); }
  .project-one-system-steps li:nth-child(2) { left: min(19.63vw, 320.84px); }
  .project-one-system-steps li:nth-child(3) { left: min(33.96vw, 555.09px); }
  .project-one-system-steps li:nth-child(4) { left: min(48vw, 784.62px); }
  .project-one-system-steps li:nth-child(5) { left: min(60.51vw, 989.08px); }
  .project-one-system-steps li:nth-child(6) { left: min(73.09vw, 1194.73px); }
  .project-one-system-steps li:nth-child(7) { left: min(85.22vw, 1393.08px); }

  .project-one-system-steps b {
    width: min(3.55vw, 58px);
    margin: 0 0 min(1.04vw, 17px);
    border: 2px solid #00a1a3;
    color: #00a1a3;
    background: #102b2c;
    box-shadow: none;
    font-size: min(1.407vw, 23px);
    font-weight: 400;
    line-height: 1;
  }

  .project-one-system-steps li:nth-child(1) b { margin-left: min(0.157vw, 2.57px); }
  .project-one-system-steps li:nth-child(2) b { margin-left: min(0.023vw, 0.38px); }
  .project-one-system-steps li:nth-child(3) b { margin-left: min(0.018vw, 0.29px); }
  .project-one-system-steps li:nth-child(4) b { margin-left: max(-0.024vw, -0.4px); }
  .project-one-system-steps li:nth-child(5) b { margin-left: min(0.018vw, 0.3px); }
  .project-one-system-steps li:nth-child(6) b { margin-left: min(0.153vw, 2.5px); }
  .project-one-system-steps li:nth-child(7) b { margin-left: min(0.018vw, 0.29px); }

  .project-one-system-steps strong {
    color: #f3f7f2;
    font-size: min(1.224vw, 20px);
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
  }

  .project-one-system-steps small {
    margin-top: min(0.734vw, 12px);
    color: #9aa5a1;
    font-size: min(0.8vw, 13px);
    line-height: 1.4;
    white-space: nowrap;
  }

  .project-one-system-benefits {
    top: min(23.5vw, 384.12px);
    right: 0;
    left: 0;
    display: block;
    width: auto;
    height: min(7.6vw, 124.22px);
    margin: 0;
    isolation: isolate;
  }

  .project-one-system-benefits::before {
    position: absolute;
    top: 0;
    right: min(7.05vw, 115.28px);
    bottom: 0;
    left: min(7.02vw, 114.75px);
    z-index: 0;
    content: "";
    border-top: 1px solid rgb(40 83 85);
    border-bottom: 1px solid rgb(40 83 85);
    pointer-events: none;
  }

  .project-one-system-benefits::after {
    position: absolute;
    top: min(1.33vw, 21.73px);
    left: min(32.34vw, 528.73px);
    z-index: 0;
    width: 1px;
    height: min(4.94vw, 80.77px);
    content: "";
    background: rgb(40 83 85);
    box-shadow: min(31.92vw, 521.85px) 0 0 rgb(40 83 85);
    pointer-events: none;
  }

  .project-one-system-benefits article {
    position: absolute;
    top: min(2.04vw, 33.35px);
    z-index: 1;
    min-height: 0;
    padding: 0;
    border: 0;
  }

  .project-one-system-benefits article:nth-child(1) { left: min(6.72vw, 109.93px); }
  .project-one-system-benefits article:nth-child(2) { left: min(40.66vw, 664.6px); }
  .project-one-system-benefits article:nth-child(3) { left: min(71.54vw, 1169.5px); }

  .project-one-system-benefits h3 {
    color: #00a1a3;
    font-size: min(1.47vw, 24px);
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
  }

  .project-one-system-benefits p {
    margin-top: 11px;
    color: #9aa5a1;
    font-size: min(0.8vw, 13px);
    line-height: 1.4;
    white-space: nowrap;
  }
}

/* Architecture section: measured directly from the 1634.67px source artboard. */
@media (min-width: 721px) {
  .project-one-architecture::before { opacity: 0.05; }

  .project-one-architecture-copy > p:first-child {
    margin: 0 0 min(0.812vw, 13.27px);
    font-size: min(0.918vw, 15px);
    line-height: 1;
  }

  .project-one-architecture-copy h2 {
    font-size: min(3.012vw, 49.238px);
    line-height: 1;
  }

  .project-one-architecture-copy > span {
    margin-top: min(4.336vw, 70.88px);
    font-size: min(0.734vw, 12px);
    line-height: 1;
  }

  .project-one-architecture-intro {
    margin-top: min(0.935vw, 15.28px);
    font-size: min(1.224vw, 20px);
    line-height: 1;
  }

  .project-one-architecture-guide dt {
    font-size: min(0.734vw, 12px);
    line-height: 1;
  }

  .project-one-architecture-guide dd {
    margin-top: min(1.002vw, 16.38px);
    font-size: min(0.795vw, 13px);
    line-height: 1;
  }

  .project-one-architecture-guide div { margin-bottom: min(4.687vw, 76.62px); }

  .project-one-architecture-copy::after {
    position: absolute;
    top: min(36.718vw, 600.23px);
    left: min(0.081vw, 1.32px);
    width: min(25.448vw, 416px);
    height: min(0.122vw, 2px);
    content: "";
    background: #00a1a3;
  }

  .project-one-architecture-footnote {
    top: min(40.443vw, 661.12px);
    font-size: min(1.224vw, 20px);
    line-height: 1;
  }

  .project-one-system-layers {
    top: min(3.14vw, 51.3px);
    right: min(6.985vw, 114.19px);
    left: min(37.407vw, 611.481px);
    width: auto;
    justify-self: stretch;
  }

  .project-one-layer-heading p {
    margin: 0 0 min(0.601vw, 9.83px);
    font-size: min(0.734vw, 12px);
    line-height: 1;
  }

  .project-one-layer-heading h3 {
    font-size: min(1.905vw, 31.145px);
    line-height: 1;
  }

  .project-one-layer-labels {
    top: min(4.506vw, 73.65px);
    left: min(1.224vw, 20px);
    grid-template-columns: min(11.929vw, 195px) min(15.049vw, 246px) 1fr;
    font-size: min(0.856vw, 14px);
    line-height: 1;
  }

  .project-one-system-layers ol {
    top: min(5.986vw, 97.84px);
    gap: min(0.979vw, 16px);
  }

  .project-one-system-layers li {
    height: min(3.793vw, 62px);
    min-height: 0;
    padding: 0 min(0.979vw, 16px) 0 min(1.164vw, 19.03px);
    grid-template-columns: min(11.988vw, 195.97px) min(15.049vw, 246px) min(25.938vw, 424px) min(0.489vw, 8px);
    gap: 0;
    border-color: #263b3c;
    border-radius: min(0.612vw, 10px);
    background: #0f1718;
    box-shadow: none;
  }

  .project-one-system-layers li:nth-child(even) { background: #0c1112; }
  .project-one-system-layers li::before { display: none; }

  .project-one-system-layers b {
    display: grid;
    width: min(9.053vw, 148px);
    min-width: 0;
    height: min(1.835vw, 30px);
    padding: 0;
    place-items: center;
    border-color: rgba(202, 217, 210, 0.66);
    border-radius: min(0.918vw, 15px);
    color: rgba(230, 247, 242, 0.78);
    background: #172223;
    font-size: min(0.795vw, 13px);
    line-height: 1;
  }

  .project-one-system-layers strong {
    font-size: min(0.918vw, 15px);
    line-height: 1;
  }

  .project-one-system-layers li p {
    font-size: min(0.795vw, 13px);
    line-height: 1;
  }

  .project-one-system-layers i {
    width: min(0.489vw, 8px);
    background: #315456;
    box-shadow: none;
  }

  .project-one-system-layers li:nth-child(3) b,
  .project-one-system-layers li:nth-child(6) b {
    border-color: #00a1a3;
    color: #00a1a3;
    background: #102b2c;
  }

  .project-one-system-layers li:nth-child(3) i,
  .project-one-system-layers li:nth-child(6) i { background: #00a1a3; }
}

/* Hero spacing pass: drop the marked title/description blocks so the three red gaps align. */
@media (min-width: 721px) {
  .project-one-kicker,
  .project-one-hero h1 {
    position: relative;
    top: min(4.4vw, 72px);
  }

  .project-one-lead {
    position: relative;
    top: min(1.9vw, 31px);
  }

  /* Keep the final gap at its source measure; the two blocks above move toward it. */
  .project-one-status { margin-top: clamp(24px, 2.7vw, 45px); }
}

/* Competition alignment pass from the latest annotated review. */
@media (min-width: 721px) {
  /* Match the overseas group baseline to the domestic group without touching the heading. */
  .project-one-competitor-group--overseas {
    top: min(6.49vw, 106px);
  }

  /* Centre the complete advantages block beneath the overseas comparison. */
  .project-one-advantages {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Keep the title halo, but cover the dot field inside the domestic competitor area. */
  .project-one-competition::before { display: block; }

  .project-one-competitor-group--domestic::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    background: rgba(2, 5, 5, 0.94);
    pointer-events: none;
  }
}

/* Competition finish: remove the divider and centre the benefits in one measured row. */
@media (min-width: 721px) {
  .project-one-competitor-group--domestic {
    border-left: 0;
  }

  .project-one-advantages {
    position: absolute;
    top: min(39.57vw, 647px);
    left: 6.9vw;
    width: min(61vw, 997px);
    display: grid;
    grid-template-columns: minmax(120px, 0.5fr) minmax(0, 2.33fr);
    gap: min(3.7vw, 60px);
    align-items: start;
    margin: 0;
    transform: none;
  }

  .project-one-advantages > h3 {
    margin: 0;
  }

  .project-one-advantages > div {
    display: grid;
    width: 100%;
    margin: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: min(3.8vw, 62px);
  }

  .project-one-advantages article {
    padding-top: min(0.8vw, 13px);
  }
}

/* Competition refinement: restore the transparent domestic panel and centre the benefit row. */
@media (min-width: 721px) {
  .project-one-competitor-group--domestic::before {
    display: none;
  }

  .project-one-brand-art--domestic {
    top: calc(min(5.2vw, 85px) + 40px);
  }

  .project-one-competitor-group--domestic .project-one-competition-note {
    top: calc(min(6.49vw, 106px) + min(19.83vw, 324.2px));
  }

  .project-one-advantages {
    left: 0;
    width: 100%;
    display: block;
  }

  .project-one-advantages > h3 {
    position: absolute;
    top: 0;
    left: 6.9vw;
  }

  .project-one-advantages > div {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(47vw, 768px);
    transform: translateX(-50%);
  }

  .project-one-advantages article {
    padding-top: min(0.6vw, 10px);
    text-align: center;
  }

  .project-one-advantages strong {
    display: block;
    font-size: clamp(12px, 0.84vw, 16px);
    text-align: center;
  }
}

/* Final competition spacing from the annotated page review. */
@media (min-width: 721px) {
  .project-one-competitor-group--overseas .project-one-competition-note {
    top: calc(min(19.83vw, 324.2px) + 20px);
  }

  .project-one-competitor-group--domestic .project-one-competition-note {
    top: calc(min(6.49vw, 106px) + min(19.83vw, 324.2px) + 20px);
  }

  .project-one-advantages > h3 {
    left: 50%;
    color: #00a1a3;
    transform: translateX(-50%);
  }

  .project-one-advantages > div {
    top: 45px;
  }
}

/* Section offsets from the latest visual review. */
@media (min-width: 721px) {
  .project-one-advantages > h3 {
    top: 35px;
  }

  .project-one-advantages > div {
    top: 75px;
  }

  .project-one-architecture {
    position: relative;
    top: 50px;
  }

  .project-one-business-flow {
    position: relative;
    top: 20px;
  }
}

/* Competition panel offsets from the final review. */
@media (min-width: 721px) {
  .project-one-prompt {
    min-height: calc(min(60.83vw, 994.4px) - 80px);
    margin-top: -170px;
  }

  .project-one-model-selection { padding-top: 20px; margin-top: -20px; }

  .project-one-model-heading {
    position: relative;
    top: 10px;
    width: min(52%, 700px);
    margin-left: auto;
    border-bottom: 0;
    text-align: right;
  }

  .project-one-model-heading::after { content: none; }

  .project-one-model-heading span {
    position: relative;
    top: -20px;
  }

  .project-one-model-list {
    position: relative;
    top: -80px;
  }

  .project-one-model-principles {
    position: relative;
    top: -140px;
  }

  .project-one-model-principles h3 {
    font-size: clamp(18px, 1.4vw, 22.667px);
  }

  .project-one-prompt-module--vlm1 .project-one-prompt-summary p:first-child,
  .project-one-prompt-module--vlm2 .project-one-prompt-summary p:first-child {
    white-space: nowrap;
  }

  .project-one-competition {
    position: relative;
    top: -40px;
    margin-top: -80px;
  }

  .project-one-competition-heading {
    top: 40px;
  }

  .project-one-brand-art--domestic {
    width: min(26.672vw, 436px);
  }
}

@media (min-width: 1000px) {
  .project-one-prompt { min-height: calc(min(60.83vw, 994.4px) - 180px); }
  .project-one-prompt-module--outpaint { top: calc(min(39.29vw, 642.24px) - 40px); }
}

/* Exact desktop measures from the latest annotated review. */
@media (min-width: 721px) {
  .project-one-card,
  .project-one-card--accent,
  .project-one-card--ability,
  .project-one-card--goal {
    height: 280px;
  }

  .project-one-brand-art--domestic {
    width: min(31.61vw, 516.7px);
  }

  .project-one-advantages strong {
    font-size: clamp(18px, 1.9135vw, 31px);
  }
}

/* Competitor notes: enlarge both aligned annotations by one third. */
@media (min-width: 721px) {
  .project-one-competition-note {
    font-size: clamp(13.333px, 0.8533vw, 17.333px);
  }
}

/* Type scale corrections from the latest annotations. */
@media (min-width: 721px) {
  .project-one-advantages strong {
    font-size: clamp(14px, 1.3311vw, 21.333px);
  }

  .project-one-advantages > h3 {
    font-size: clamp(16px, 1.4975vw, 24px);
  }

  .project-one-architecture-guide dt {
    font-size: min(0.9787vw, 16px);
  }

  .project-one-architecture-guide dd {
    font-size: min(1.06vw, 17.333px);
  }

  /* The selected flow layers are absolutely positioned; offset all of them
     from their current rendered position, while preserving the fixed title. */
  .project-one-system-branches { top: 46px; }

  .project-one-system-steps {
    top: calc(min(8.63vw, 141.02px) + 46px);
  }

  .project-one-system-benefits {
    top: calc(min(23.5vw, 384.12px) + 26px);
  }

  .project-one-system-flow { height: min(48vw, 720px); }

}

/* Business-flow tabs: use the compact annotated desktop card height. */
@media (min-width: 721px) {
  .project-one-flow-tabs button {
    height: 70px;
    min-height: 70px;
  }
}

/* Keep the desktop chapter cadence stable while the artboard scales. */
@media (min-width: 721px) {
  .project-one-page { --project-one-chapter-gap: clamp(72px, 7.4vw, 90px); }

  /* Architecture content ends at the footnote; the next chapter begins after one shared gap. */
  .project-one-architecture {
    height: calc(min(40.74vw, 665.9px) + 52px + var(--project-one-chapter-gap));
  }

  /* The business prototype ends at its stage edge, then hands off using the same gap. */
  .project-one-business-flow {
    height: calc(20px + min(17.15vw, 280.3px) + min(45.8vw, 748.7px) + var(--project-one-chapter-gap));
  }
}

@media (max-width: 720px) {
  .project-one-prompt {
    min-height: 0;
    padding: 72px 24px 92px;
  }

  .project-one-prompt-heading {
    position: relative;
    top: auto;
    left: auto;
    margin-left: auto;
  }

  .project-one-prompt-heading p { font-size: 11px; }
  .project-one-prompt-heading h2 { margin-top: 18px; font-size: 37px; }

  .project-one-prompt-module,
  .project-one-prompt-module--vlm1,
  .project-one-prompt-module--vlm2,
  .project-one-prompt-module--outpaint {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    min-height: 0;
    margin-top: 56px;
    padding-left: 24px;
  }

  .project-one-prompt-module--outpaint { margin-top: 68px; }
  .project-one-prompt-module h3 { font-size: 17px; white-space: normal; }

  .project-one-prompt-summary,
  .project-one-prompt-rules,
  .project-one-prompt-outpaint-copy {
    font-size: 13px;
    line-height: 1.9;
  }

  .project-one-prompt-summary { margin-top: 24px; }
  .project-one-prompt-rules { margin-top: 30px; }
  .project-one-prompt-tags { gap: 6px; margin-top: 22px; }
  .project-one-prompt-tags span { height: 20px; font-size: 10px; }
  .project-one-prompt-tags span:nth-child(n) { width: auto; }
  .project-one-prompt-work-title { margin-top: 20px; font-size: 13px; }

  .project-one-prompt-steps,
  .project-one-prompt-module--vlm2 .project-one-prompt-steps {
    display: grid;
    margin-top: 12px;
    padding: 22px 0 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .project-one-prompt-steps li { font-size: 12px; white-space: normal; }
  .project-one-prompt-steps li::before { display: none; }
  .project-one-prompt-module--outpaint h3 { margin-top: 0; }
  .project-one-prompt-outpaint-copy { margin-top: 20px; }
  .project-one-prompt-outpaint-copy p + p { margin-top: 14px; }
  .project-one-prompt-outpaint-copy span { white-space: normal; }
}

/* Project One — evaluation and iteration. */
.project-one-evaluation {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 5.2vw, 84px) 6.9vw clamp(84px, 6.5vw, 104px);
  /* Allow the preceding model-selection glow to pass continuously into this section. */
  background: transparent;
  scroll-margin-top: 8vh;
}

.project-one-evaluation::before,
.project-one-evaluation::after {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.project-one-evaluation::before {
  display: none;
}

.project-one-evaluation::after {
  right: min(-30vw, -320px);
  bottom: min(-31vw, -330px);
  width: min(90vw, 1470px);
  height: min(72vw, 1180px);
  background: radial-gradient(ellipse at 60% 55%, rgba(0, 135, 140, .22) 0%, rgba(0, 92, 96, .12) 35%, rgba(0, 45, 48, .05) 58%, rgba(0, 0, 0, 0) 78%);
  filter: blur(30px);
}

.project-one-evaluation-inner {
  position: relative;
  z-index: 1;
  max-width: 1410px;
  margin: 0 auto;
}

.project-one-evaluation-heading {
  display: block;
  padding-bottom: clamp(24px, 1.85vw, 30px);
}

.project-one-evaluation-heading > div { padding-top: 0; }
.project-one-evaluation-heading > div > p {
  display: inline-block;
  margin: -7px 0 0;
  color: #00bcc0;
  font-family: var(--font-en);
  font-size: clamp(11px, .85vw, 14px);
  font-weight: 700;
  letter-spacing: .27em;
  line-height: 1;
}

.project-one-evaluation-heading h2 {
  margin: 18px 0 0;
  color: #eef0e8;
  font-family: var(--font-cn);
  font-size: clamp(38px, 3.02vw, 49px);
  font-weight: 400;
  line-height: 1;
}


.project-one-evaluation-methods {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  gap: clamp(26px, 3vw, 48px);
}

.project-one-evaluation-method { min-width: 0; }
.project-one-evaluation-method--iteration {
  padding-left: clamp(28px, 2.5vw, 40px);
  border-left: 1px solid rgba(0, 161, 163, .75);
}

.project-one-evaluation-method header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(15px, 1.55vw, 25px);
}

.project-one-evaluation-method header b {
  color: #00c3c8;
  font-family: var(--font-en);
  font-size: clamp(30px, 2.5vw, 40px);
  font-weight: 400;
  line-height: 1;
}

.project-one-evaluation-method h3 {
  margin: 0;
  color: #eef0e8;
  font-family: "FZLantingThin", var(--font-cn);
  font-size: clamp(16px, 1.23vw, 20px);
  font-weight: 400;
  line-height: 1.35;
}

.project-one-evaluation-method h3 span { color: #00b5b8; }
.project-one-evaluation-method h3 em { font-style: normal; font-weight: 300; }
.project-one-evaluation-method > p {
  min-height: 3.3em;
  margin: 14px 0 15px;
  color: #75837f;
  font-family: "FZLantingThin", var(--font-cn);
  font-size: clamp(12px, .88vw, 14px);
  letter-spacing: .025em;
  line-height: 1.7;
}

.project-one-evaluation-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(148px, .65fr);
  align-items: stretch;
  height: 300px;
  gap: clamp(16px, 1.7vw, 26px);
}

.project-one-placement-carousel {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.project-one-placement-carousel-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.project-one-placement-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  display: block;
  width: auto;
  max-width: 72%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.95);
  transition: opacity 280ms ease, transform 460ms cubic-bezier(.16, 1, .3, 1), filter 400ms ease;
}

.project-one-placement-slide.is-active {
  z-index: 2;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.project-one-placement-slide.is-previous,
.project-one-placement-slide.is-next {
  z-index: 1;
  opacity: .22;
  filter: brightness(.72) saturate(.82);
}

.project-one-placement-slide.is-previous {
  transform: translate(calc(-50% - clamp(76px, 7.5vw, 124px)), -50%) scale(.84);
}

.project-one-placement-slide.is-next {
  transform: translate(calc(-50% + clamp(76px, 7.5vw, 124px)), -50%) scale(.84);
}

.project-one-poster-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
}

.project-one-poster-grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: contain;
  object-position: center;
}

.project-one-evaluation-placeholder {
  width: 100%;
  height: 300px;
  border: 1px solid rgba(49, 107, 110, .68);
  border-radius: 11px;
  background: linear-gradient(145deg, #385a5e, #2e5054);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .2);
}

.project-one-evaluation-placeholder--landscape {
  height: 300px;
}

.project-one-evaluation-placeholder--image {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.project-one-evaluation-placeholder--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.project-one-evaluation-results {
  display: grid;
  grid-template-columns: minmax(260px, .36fr) minmax(0, .64fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(34px, 4.1vw, 66px);
  margin-top: clamp(24px, 2vw, 32px);
  padding-top: clamp(22px, 1.8vw, 30px);
}

.project-one-evaluation-results h3,
.project-one-evaluation-roadmap h3 {
  margin: 0;
  color: #00a3a4;
  font-family: "FZZZhun", var(--font-cn);
  font-size: clamp(19px, 1.45vw, 23px);
  font-weight: 400;
  line-height: 1.2;
}

.project-one-evaluation-results h3 { grid-column: 1; grid-row: 1; }

.project-one-evaluation-results > p {
  grid-column: 1;
  grid-row: 2;
  margin: 15px 0 0;
  color: #75837f;
  font-family: "FZLantingThin", var(--font-cn);
  font-size: clamp(11px, .82vw, 13px);
  letter-spacing: .02em;
  line-height: 1.55;
}

.project-one-evaluation-results > div {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  margin-top: calc(0px - clamp(22px, 1.8vw, 30px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.1vw, 18px);
}

.project-one-evaluation-results article {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: clamp(112px, 8.9vw, 146px);
  padding: clamp(28px, 2.5vw, 40px) 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.project-one-evaluation-results strong {
  color: #00c9ce;
  font-family: var(--font-en);
  font-size: clamp(42px, 3.7vw, 60px);
  font-weight: 400;
  line-height: 1;
}

.project-one-evaluation-results strong small { font-size: .58em; }
.project-one-evaluation-results article > span {
  margin-top: 10px;
  color: #d4ddda;
  font-family: "FZLantingThin", var(--font-cn);
  font-size: clamp(12px, .93vw, 15px);
  line-height: 1.2;
}

.project-one-evaluation-results article::after {
  width: clamp(88px, 8vw, 128px);
  height: 4px;
  margin-top: 14px;
  background: #00a3a4;
  content: "";
}

.project-one-evaluation-roadmap { margin-top: 42px; }

.project-one-evolution-heading { margin: 0; }

.project-one-evolution-list {
  position: relative;
  display: grid;
  gap: clamp(10px, .85vw, 14px);
  margin: clamp(16px, 1.35vw, 22px) 0 0;
  padding: 0;
  list-style: none;
}

.project-one-evolution-list::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, rgba(0, 161, 163, .46), rgba(0, 161, 163, .78), rgba(0, 161, 163, .24));
  content: "";
}

.project-one-evolution-list li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(72px, 8vw, 132px) minmax(0, 1fr);
  align-items: stretch;
  min-width: 0;
}

.project-one-evolution-current,
.project-one-evolution-next {
  display: grid;
  min-height: clamp(58px, 4.3vw, 70px);
  margin: 0;
  padding: clamp(11px, .9vw, 14px) clamp(16px, 1.35vw, 22px);
  align-items: center;
  border: 1px solid rgba(41, 91, 92, .75);
  border-radius: 10px;
  color: #c8d5d1;
  background: rgba(7, 20, 21, .66);
  font-family: "FZLantingThin", var(--font-cn);
  font-size: clamp(13px, .95vw, 16px);
  letter-spacing: .01em;
  line-height: 1.45;
}

.project-one-evolution-next {
  grid-column: 3;
  border-color: rgba(44, 112, 113, .82);
  color: #dce8e3;
  background: linear-gradient(105deg, rgba(7, 36, 37, .92), rgba(6, 19, 20, .82));
}

.project-one-evolution-arrow {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(34px, 2.55vw, 43px);
  height: 18px;
  margin: auto;
  background: #020606;
}

.project-one-evolution-arrow::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: calc(100% - 8px);
  height: 2px;
  background: #00c9ce;
  box-shadow: 0 0 11px rgba(0, 201, 206, .34);
  content: "";
}

.project-one-evolution-arrow::after {
  position: absolute;
  top: 4px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid #00c9ce;
  border-right: 2px solid #00c9ce;
  content: "";
  transform: rotate(45deg);
}

.project-one-evolution-summary {
  max-width: 760px;
  margin: 11px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgb(117, 131, 127);
  font-family: "FZLantingThin", var(--font-cn);
  font-size: clamp(13px, .95vw, 16px);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .project-one-evaluation-methods { grid-template-columns: 1fr; }
  .project-one-evaluation-method--iteration { padding: 34px 0 0; border-top: 1px solid rgba(0, 161, 163, .55); border-left: 0; }
  .project-one-evaluation-showcase { max-width: 680px; }
  .project-one-evaluation-placeholder--landscape { max-width: 100%; }
  .project-one-evaluation-results { display: block; }
  .project-one-evaluation-results > p { margin-top: 10px; }
  .project-one-evaluation-results > div { margin-top: 20px; }
  .project-one-evolution-list::before { display: none; }
  .project-one-evolution-list li { grid-template-columns: 1fr; gap: 10px; }
  .project-one-evolution-next { grid-column: auto; }
  .project-one-evolution-arrow { width: 18px; height: 26px; transform: rotate(90deg); }
}

@media (max-width: 720px) {
  .project-one-evaluation { padding: 78px 24px 96px; }
  .project-one-evaluation-heading { display: block; }
  .project-one-evaluation-heading h2 { font-size: 37px; }
  .project-one-evaluation-methods { gap: 38px; }
  .project-one-evaluation-method header { gap: 16px; }
  .project-one-evaluation-method header b { font-size: 34px; }
  .project-one-evaluation-method h3 { font-size: 18px; }
  .project-one-evaluation-method > p { min-height: 0; font-size: 13px; }
  .project-one-evaluation-showcase { gap: 14px; }
  .project-one-evaluation-results > div { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .project-one-evaluation-results article { min-height: 88px; padding: 18px 0 0; }
  .project-one-evaluation-results strong { font-size: 32px; }
  .project-one-evaluation-results article > span { font-size: 11px; }
  .project-one-evaluation-results article::after { width: 72px; height: 3px; margin-top: 10px; }
  .project-one-evolution-list { gap: 10px; }
  .project-one-evolution-current,
  .project-one-evolution-next { min-height: 0; padding: 13px 15px; font-size: 13px; }
  .project-one-evolution-summary { padding: 0; font-size: 13px; }
}

@media (max-width: 560px) {
  .project-one-evaluation-showcase {
    grid-template-columns: 1fr;
    height: auto;
  }

  .project-one-placement-carousel { height: 300px; }

  .project-one-poster-grid {
    width: min(100%, 220px);
    height: auto;
    margin: 0 auto;
  }

  .project-one-poster-grid img {
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-one-placement-slide { transition: none; }
}

@media (min-width: 721px) {
  .project-one-evaluation { margin-top: -180px; }
  .project-one-evaluation-heading { position: relative; top: -40px; }
  .project-one-evaluation-results { margin-top: clamp(64px, calc(2vw + 40px), 72px); }
  .project-one-evaluation-roadmap { margin-top: 122px; }
  .project-one-evolution-heading { position: relative; top: -20px; }
}

/* Project One — confirmed sequence motion pass. */
@property --project-one-art-reveal-radius {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@media (prefers-reduced-motion: no-preference) {
  /* Only the hero artwork opens from its own centre; all surrounding content remains unchanged. */
  .project-one-motion .project-one-art {
    --project-one-art-reveal-radius: 0px;
    opacity: 0.3;
    transform: none;
    -webkit-mask-image: radial-gradient(circle at 53% 57%, #000 0 var(--project-one-art-reveal-radius), transparent calc(var(--project-one-art-reveal-radius) + 140px));
    mask-image: radial-gradient(circle at 53% 57%, #000 0 var(--project-one-art-reveal-radius), transparent calc(var(--project-one-art-reveal-radius) + 140px));
  }

  .project-one-motion--ready .project-one-art {
    animation: project-one-art-reveal 4000ms 160ms cubic-bezier(.33, 0, .12, 1) forwards;
  }

  .project-one-motion--ready .project-one-art img {
    animation: none;
    transform: none;
  }

  /* System flow: the main route draws first; upper branches rise shortly before it completes. */
  .project-one-motion .project-one-system-branches[data-motion-sequence] {
    opacity: 0;
  }

  .project-one-motion .project-one-system-branches.is-motion-visible {
    opacity: 1;
  }

  .project-one-motion .project-one-system-branches[data-motion-sequence] .project-one-system-arc {
    opacity: 0;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }

  .project-one-motion .project-one-system-branches[data-motion-sequence] span {
    opacity: 0;
  }

  .project-one-motion .project-one-system-branches.is-motion-visible .project-one-system-arc {
    animation: project-one-branch-rise 700ms 1200ms cubic-bezier(.16, 1, .3, 1) forwards;
  }

  .project-one-motion .project-one-system-branches.is-motion-visible span {
    animation: project-one-fade-in 420ms 1660ms ease-out forwards;
  }

  .project-one-motion .project-one-system-steps[data-motion-sequence]::before {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
  }

  .project-one-motion .project-one-system-steps[data-motion-sequence].is-motion-visible::before {
    animation: project-one-draw-line-x 2200ms ease-out forwards;
  }

  .project-one-motion .project-one-system-steps[data-motion-sequence] li {
    opacity: 0;
  }

  .project-one-motion .project-one-system-steps[data-motion-sequence].is-motion-visible li {
    animation: project-one-fade-in 620ms cubic-bezier(.16, 1, .3, 1) forwards;
  }

  .project-one-motion .project-one-system-steps li:nth-child(1) { animation-delay: 220ms; }
  .project-one-motion .project-one-system-steps li:nth-child(2) { animation-delay: 420ms; }
  .project-one-motion .project-one-system-steps li:nth-child(3) { animation-delay: 620ms; }
  .project-one-motion .project-one-system-steps li:nth-child(4) { animation-delay: 820ms; }
  .project-one-motion .project-one-system-steps li:nth-child(5) { animation-delay: 1020ms; }
  .project-one-motion .project-one-system-steps li:nth-child(6) { animation-delay: 1220ms; }
  .project-one-motion .project-one-system-steps li:nth-child(7) { animation-delay: 1420ms; }

  /* Metrics fade in at their fixed coordinates, then count from 50. */
  .project-one-motion .project-one-evaluation-results[data-motion-sequence="metrics"],
  .project-one-motion .project-one-evaluation-roadmap[data-motion-sequence="evolution"] {
    opacity: 0;
  }

  .project-one-motion .project-one-evaluation-results.is-motion-visible,
  .project-one-motion .project-one-evaluation-roadmap.is-motion-visible {
    animation: project-one-fade-in 680ms ease-out forwards;
  }

  .project-one-evaluation-results strong {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-variant-numeric: tabular-nums;
  }

  /* Capability roadmap: each row reads from current state → arrow → next state. */
  .project-one-motion .project-one-evolution-list::before {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: center top;
  }

  .project-one-motion .project-one-evaluation-roadmap.is-motion-visible .project-one-evolution-list::before {
    animation: project-one-draw-line-y 760ms 150ms ease-out forwards;
  }

  .project-one-motion .project-one-evaluation-roadmap[data-motion-sequence="evolution"] .project-one-evolution-current,
  .project-one-motion .project-one-evaluation-roadmap[data-motion-sequence="evolution"] .project-one-evolution-arrow,
  .project-one-motion .project-one-evaluation-roadmap[data-motion-sequence="evolution"] .project-one-evolution-next,
  .project-one-motion .project-one-evaluation-roadmap[data-motion-sequence="evolution"] .project-one-evolution-summary {
    opacity: 0;
  }

  .project-one-motion .project-one-evaluation-roadmap.is-motion-visible .project-one-evolution-current,
  .project-one-motion .project-one-evaluation-roadmap.is-motion-visible .project-one-evolution-arrow,
  .project-one-motion .project-one-evaluation-roadmap.is-motion-visible .project-one-evolution-next,
  .project-one-motion .project-one-evaluation-roadmap.is-motion-visible .project-one-evolution-summary {
    animation: project-one-fade-in 560ms cubic-bezier(.16, 1, .3, 1) forwards;
  }

  .project-one-evolution-list li { --project-one-evolution-delay: 0ms; }
  .project-one-evolution-list li:nth-child(2) { --project-one-evolution-delay: 340ms; }
  .project-one-evolution-list li:nth-child(3) { --project-one-evolution-delay: 680ms; }
  .project-one-evolution-list li:nth-child(4) { --project-one-evolution-delay: 1020ms; }
  .project-one-evolution-list li:nth-child(5) { --project-one-evolution-delay: 1360ms; }
  .project-one-evolution-list li:nth-child(6) { --project-one-evolution-delay: 1700ms; }
  .project-one-evolution-list li:nth-child(7) { --project-one-evolution-delay: 2040ms; }

  .project-one-motion .project-one-evaluation-roadmap.is-motion-visible .project-one-evolution-current {
    animation-delay: calc(180ms + var(--project-one-evolution-delay));
  }

  .project-one-motion .project-one-evaluation-roadmap.is-motion-visible .project-one-evolution-arrow {
    animation-delay: calc(300ms + var(--project-one-evolution-delay));
  }

  .project-one-motion .project-one-evaluation-roadmap.is-motion-visible .project-one-evolution-next {
    animation-delay: calc(420ms + var(--project-one-evolution-delay));
  }

  .project-one-motion .project-one-evaluation-roadmap.is-motion-visible .project-one-evolution-summary {
    animation-delay: 0ms;
  }
}

@keyframes project-one-fade-in {
  to { opacity: 1; }
}

@keyframes project-one-art-reveal {
  to {
    --project-one-art-reveal-radius: 150vmax;
    opacity: 1;
  }
}

@keyframes project-one-draw-line-x {
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes project-one-draw-line-y {
  to { opacity: 1; transform: scaleY(1); }
}

@keyframes project-one-branch-rise {
  to {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

/* Shared viewport safe area and page-control type. */
:root { --portfolio-viewport-inset: 25px; }

/* Home: the recording HUD and footer keep a consistent 25px screen clearance. */
.home-body .camera-bar {
  top: var(--portfolio-viewport-inset);
  right: var(--portfolio-viewport-inset);
  left: var(--portfolio-viewport-inset);
}

.home-body .camera-controls { right: var(--portfolio-viewport-inset); }

.home-body .camera-footer {
  right: var(--portfolio-viewport-inset);
  bottom: var(--portfolio-viewport-inset);
  left: var(--portfolio-viewport-inset);
}

/* Product index: align all edge controls and labels to the same safe area. */
.ai-back {
  top: var(--portfolio-viewport-inset);
  left: var(--portfolio-viewport-inset);
  font-family: "FZZZhun", var(--font-cn);
  font-size: 20px;
  font-weight: 400;
}

.ai-back span:first-child {
  font-family: var(--font-en);
  font-size: 24px;
}

.ai-left-guide {
  left: var(--portfolio-viewport-inset);
  bottom: var(--portfolio-viewport-inset);
}

.ai-left-guide .guide-line,
.ai-right-guide .guide-line {
  width: 0.667px;
  background: rgba(245, 244, 242, 0.8);
}

.ai-left-guide .guide-dots,
.ai-right-guide .guide-dots {
  width: clamp(2px, 0.24vw, 5px);
}

.ai-left-guide .guide-dots i,
.ai-right-guide .guide-dots i {
  width: clamp(2px, 0.24vw, 5px);
  height: clamp(2.5px, 0.36svh, 4.5px);
  background: rgba(245, 244, 242, 0.8);
}

.ai-side-title {
  top: var(--portfolio-viewport-inset);
  right: var(--portfolio-viewport-inset);
}

.ai-side-title h1 {
  font-family: "FZZZhun", var(--font-cn);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.ai-right-guide {
  right: var(--portfolio-viewport-inset);
  bottom: calc(var(--portfolio-viewport-inset) + 44px);
}

.ai-side-label {
  right: var(--portfolio-viewport-inset);
  bottom: var(--portfolio-viewport-inset);
}

/* Case study: the top return control and page title use the supplied 方正兰亭黑体. */
.project-one-back {
  top: var(--portfolio-viewport-inset);
  left: calc(var(--portfolio-viewport-inset) + 2px);
  font-family: "FZLantingHei", "FZLantingThin", var(--font-cn);
  font-size: 16px;
  font-weight: 400;
}

.project-one-back span:first-child {
  font-family: var(--font-en);
  font-size: 21px;
  transform: none;
}

.project-one-header {
  top: var(--portfolio-viewport-inset);
  right: var(--portfolio-viewport-inset);
}

.project-one-header h2 {
  font-family: "FZLantingHei", "FZLantingThin", var(--font-cn);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 720px) {
  .project-one-header h2 { font-size: 12px; }
}

/* Keep the fixed top rail with the controls instead of placing it by viewport height. */
.project-one-page { --project-one-rail-top: calc(var(--portfolio-viewport-inset) + 34px); }

.project-one-top-rail {
  top: var(--project-one-rail-top);
  right: var(--portfolio-viewport-inset);
  left: var(--portfolio-viewport-inset);
}

.project-one-top-rail::before,
.project-one-top-rail::after {
  height: 0.667px;
  background: rgba(238, 246, 243, 0.8);
}

.project-one-marks {
  top: calc(var(--project-one-rail-top) - 2px);
  gap: clamp(3.5px, 0.32vw, 6.5px);
  opacity: 0.8;
}

.project-one-marks i {
  width: clamp(2.5px, 0.21vw, 4px);
}

/* Latest annotation: lift only the right-side chapter list by 3px. */
.project-one-header nav { transform: translateY(-3px); }

/* Chapter navigation is quiet at rest and fully legible for the active section. */
.project-one-header nav a {
  opacity: 0.7;
  transition: color 160ms ease, opacity 160ms ease;
}

.project-one-header nav a.is-active,
.project-one-header nav a:hover,
.project-one-header nav a:focus-visible {
  color: #00a1a3;
  opacity: 1;
}

/* AI products: golden OGL gradient waves, with the page content held above the canvas. */
.ai-body,
.ai-page { background: #0d0d0d; }

.ai-page .visual-bg,
.ai-page .glitch-layer,
.ai-page .scan-lines { display: none; }

.ai-page::before {
  display: none;
}

.gradient-waves-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 68% 46% at 50% 78%, rgba(186, 152, 37, 0.17), transparent 72%),
    #0d0d0d;
  pointer-events: none;
}

.gradient-waves-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .project-one-motion .project-one-system-steps[data-motion-sequence]::before {
    transform: scaleY(0);
    transform-origin: center top;
  }

  .project-one-motion .project-one-system-steps[data-motion-sequence].is-motion-visible::before {
    animation-name: project-one-draw-line-y;
  }
}

/* Project Two uses the same 25px viewport-safe frame as the home, AI, and Project One pages. */
.project-two-page {
  --project-two-page-inset: var(--portfolio-viewport-inset);
  padding: var(--project-two-page-inset);
  background: #000;
}

.project-two-page::before {
  display: none;
}

.project-two-back {
  top: var(--project-two-page-inset);
  left: var(--project-two-page-inset);
  align-items: center;
  font-size: 16px;
  line-height: 1;
}

.project-two-header {
  top: var(--project-two-page-inset);
  right: var(--project-two-page-inset);
}

.project-two-header--plain {
  padding: 0;
}

.project-two-header h2 {
  font-size: 16px;
  line-height: 1;
}

.project-two-hero--layered {
  display: block;
  min-height: calc(100svh - (var(--project-two-page-inset) * 2));
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: #070202;
}

.project-two-hero-background {
  position: absolute;
  inset: -3%;
  z-index: -1;
  background: #070202 url("./assets/project-two-hero-background-web.webp") center / cover no-repeat;
}

.project-two-hero-title-art {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.project-two-hero-detail-art {
  position: absolute;
  top: 28.2%;
  right: 3.4%;
  z-index: 2;
  display: block;
  width: min(28.2%, 405px);
  height: auto;
  pointer-events: none;
}

.project-two-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Project Two opening: the supplied master visual sits behind the first case-study image. */
.project-two-context-stage {
  position: relative;
  z-index: 1;
  width: calc(100% - 170px);
  margin: 0 auto;
  padding: 0;
  isolation: isolate;
  scroll-margin-top: 52px;
}

.project-two-context-visual {
  width: 100%;
  aspect-ratio: 3028 / 1983;
  background: #000 url("./assets/project-two-main-visual-web.webp") center / 110% auto no-repeat;
}

.project-two-context-art-pair {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: clamp(-96px, -4vw, -40px);
  scroll-margin-top: 52px;
}

.project-two-chapter {
  width: calc(100% - 170px);
  margin-right: auto;
  margin-left: auto;
}

.project-two-heading h2 {
  font-size: clamp(42px, 3.45vw, 70px);
  letter-spacing: 0.02em;
  line-height: 1;
}

.project-two-heading p {
  font-size: clamp(12px, 0.9vw, 18px);
  letter-spacing: 0.08em;
}

/* Section titles and visual cards share a 110px viewport inset on desktop. */
.project-two-chapter > .project-two-art-link,
.project-two-chapter > .project-two-art-pair {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

@media (max-width: 840px) {
  .project-two-page { padding: var(--project-two-page-inset); }
  .project-two-back { top: var(--project-two-page-inset); left: var(--project-two-page-inset); font-size: 16px; }
  .project-two-header { top: var(--project-two-page-inset); right: var(--project-two-page-inset); }
  .project-two-hero--layered { min-height: max(460px, calc(100svh - (var(--project-two-page-inset) * 2))); }
  .project-two-hero-title-art { object-position: 51% center; }
  .project-two-hero-detail-art { top: 27%; right: 2.5%; width: 31%; }
  .project-two-chapter { width: 100%; }
  .project-two-context-stage { width: 100%; scroll-margin-top: 44px; }
  .project-two-context-art-pair { margin-top: clamp(-48px, -7vw, -24px); scroll-margin-top: 44px; }
  .project-two-chapter > .project-two-art-link,
  .project-two-chapter > .project-two-art-pair { width: 100%; }
}

@media (max-width: 520px) {
  .project-two-hero--layered { min-height: max(390px, calc(100svh - (var(--project-two-page-inset) * 2))); }
  .project-two-hero-background { background-position: 54% center; }
  .project-two-hero-title-art { object-position: 52% center; }
  .project-two-hero-detail-art { top: 26%; right: 2%; width: 35%; }
}

/* Shared top controls: Project Two is the reference for position, type and chapter rhythm. */
.ai-back,
.project-one-back {
  top: var(--portfolio-viewport-inset);
  left: var(--portfolio-viewport-inset);
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 230, 214, 0.74);
  font-family: "FZLantingThin", var(--font-cn);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.ai-back span:first-child,
.project-one-back span:first-child {
  font-family: inherit;
  font-size: inherit;
  transform: none;
}

.ai-back:hover,
.ai-back:focus-visible,
.project-one-back:hover,
.project-one-back:focus-visible {
  color: #efc693;
}

.ai-side-title,
.project-one-header {
  top: var(--portfolio-viewport-inset);
  right: var(--portfolio-viewport-inset);
  z-index: 12;
  width: auto;
  max-width: 220px;
  text-align: right;
}

.ai-side-title {
  display: grid;
  justify-items: end;
  align-items: initial;
}

.ai-side-title h1,
.project-one-header h2 {
  margin: 0;
  color: #f0e6d9;
  font-family: "FZLantingThin", var(--font-cn);
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
}

.ai-side-accent { display: none; }

.ai-side-title p,
.project-one-header a {
  color: rgba(244, 230, 214, 0.56);
  font-family: "FZLantingThin", var(--font-cn);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.2;
}

.ai-side-title p:first-of-type { margin-top: 13px; }
.ai-side-title p + p { margin-top: 4px; }

.ai-right-guide { bottom: var(--portfolio-viewport-inset); }

.project-one-header a { opacity: 1; }

.project-one-header a.is-active,
.project-one-header a:hover,
.project-one-header a:focus-visible {
  color: #efc693;
  opacity: 1;
}

/* Project Three — a full-bleed gallery that preserves every supplied design board edge to edge. */
.project-three-body {
  min-width: 320px;
  margin: 0;
  color: #f0e7dc;
  background: #060303;
}

.project-three-page {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  background: #060303;
}

.project-three-back,
.project-three-header {
  position: fixed;
  z-index: 12;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.86);
}

.project-three-back {
  top: var(--portfolio-viewport-inset);
  left: var(--portfolio-viewport-inset);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 230, 214, 0.84);
  font-family: "FZLantingThin", var(--font-cn);
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease;
}

.project-three-back:hover,
.project-three-back:focus-visible { color: #efc693; outline: none; }

.project-three-header {
  top: var(--portfolio-viewport-inset);
  right: var(--portfolio-viewport-inset);
  display: grid;
  max-width: 220px;
  justify-items: end;
  text-align: right;
}

.project-three-header p,
.project-three-header h2 { margin: 0; }
.project-three-header p {
  color: rgba(228, 167, 112, 0.88);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.project-three-header h2 {
  margin-top: 7px;
  color: #f0e6d9;
  font-family: "FZLantingThin", var(--font-cn);
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
}

.project-three-header nav {
  display: grid;
  margin-top: 13px;
  gap: 4px;
}

.project-three-header a {
  color: rgba(244, 230, 214, 0.68);
  font-family: "FZLantingThin", var(--font-cn);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.2;
  text-decoration: none;
  transition: color 160ms ease;
}

.project-three-header a:hover,
.project-three-header a:focus-visible,
.project-three-header a.is-active { color: #efc693; outline: none; }

.project-three-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #060303;
}

.project-three-hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-three-stack {
  position: relative;
  width: 100%;
  margin-top: -10px;
  line-height: 0;
}

.project-three-panel {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  scroll-margin-top: 0;
}

.project-three-panel + .project-three-panel { margin-top: -10px; }

.project-three-panel img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.project-three-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 840px) {
  .project-three-back {
    top: 15px;
    left: 18px;
    font-size: 14px;
  }

  .project-three-header {
    top: 12px;
    right: 14px;
    display: block;
    max-width: calc(100vw - 150px);
  }

  .project-three-header p,
  .project-three-header h2 { display: none; }

  .project-three-header nav {
    display: flex;
    max-width: 100%;
    margin: 0;
    gap: 13px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .project-three-header nav::-webkit-scrollbar { display: none; }
  .project-three-header a { flex: 0 0 auto; font-size: 10px; }
}

@media (min-width: 721px) {
  .project-one-header nav {
    position: static;
    display: grid;
    margin-top: 13px;
    gap: 4px;
    transform: none;
  }
}

/* AI product directory v1 — use the supplied static product backdrop. */
.ai-body { background: #0b0807; }
.ai-page { background: #0b0807; }
.ai-page .ai-project-cover { border: 0.3px solid #fff; }

.ai-page .visual-bg {
  display: block;
  background: #0b0807 url("./assets/ai-products-background-current.jpg") center / cover no-repeat;
  filter: none;
}

.ai-page .glitch-layer,
.ai-page .scan-lines,
.gradient-waves-container { display: none; }

/* Advertising directory: the AI directory layout with temporary solid-color project art. */
.marketing-project-columns .ai-project-cover { border: 0; }
.marketing-project-columns .ai-project-meta h2,
.marketing-project-columns .ai-project-meta p { font-size: 11px; }
.marketing-project-cover--one { background: #71464a; }
.marketing-project-cover--two { background: #435b73; }
.marketing-project-cover--three { background: #76613d; }
.marketing-project-cover--four { background: #3d6a62; }

.marketing-page .visual-bg {
  background-image: url("./assets/marketing-background.jpg");
}

@media (max-width: 900px) {
  .marketing-project-columns .ai-project-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .marketing-project-columns .ai-project-meta h2,
  .marketing-project-columns .ai-project-meta p {
    max-width: 100%;
    white-space: normal;
  }

  .marketing-project-columns .ai-project-meta > p {
    align-self: flex-end;
  }
}
