:root {
  --bg: #fff;
  --panel: #fff;
  --ink: #151515;
  --muted: #777;
  --line: #d8d8d5;
  --header-bg: rgba(255, 255, 255, 0.94);
  --menu-bg: rgba(255, 255, 255, 0.98);
  --copy: #424242;
  --label: #555;
  --media-bg: #f1f1ef;
  --body-copy: #333;
  --card-bg: #fff;
  --card-hover: #fff;
  --archive-bg: var(--bg);
  --archive-ink: var(--ink);
  --archive-muted: var(--muted);
  --archive-line: var(--line);
  --archive-media-bg: var(--media-bg);
  --archive-media-sheen: rgba(0, 0, 0, 0.05);
  --placeholder-sheen: rgba(10, 10, 10, 0.08);
  --placeholder-a: #202020;
  --placeholder-b: #d6d6d2;
  --placeholder-c: #797975;
  --thumb-sheen-a: rgba(0, 0, 0, 0.22);
  --thumb-sheen-b: rgba(255, 255, 255, 0.22);
  --toggle-track: #d9d9d5;
  --toggle-thumb: #fff;
  --toggle-track-active: #2f2f2b;
  --toggle-thumb-active: #f3f3ee;
  --toggle-active-border: #55554f;
  --mono: "Courier New", Courier, monospace;
  --sans: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --brand-case-sidebar: minmax(150px, 0.32fr);
  --brand-case-main: minmax(360px, 0.68fr);
  --brand-case-column-gap: 84px;
  --brand-case-title-gap: 34px;
  --brand-case-title-size: clamp(28px, 3.9vw, 56px);
  --brand-case-title-weight: 700;
  --brand-case-title-line-height: 1.08;
  --case-section-title-size: clamp(21px, 2.35vw, 32px);
  --case-section-title-line-height: 1.12;
}

/* Case 02: Perfume-grade hair spray */
.perfume-case-page {
  --perfume-bg: #f0efec;
  --perfume-ink: #101010;
  --perfume-copy: rgb(16 16 16 / 72%);
  --perfume-muted: rgb(16 16 16 / 48%);
  --perfume-line: rgb(16 16 16 / 18%);
  background: var(--perfume-bg);
}

.perfume-case {
  width: min(100% - 52px, 1120px);
  margin: 0 auto;
  padding: 44px 0 32px;
  color: var(--perfume-copy);
  font-family: var(--mono);
}

.perfume-case p,
.perfume-case h1,
.perfume-case h2,
.perfume-case h3,
.perfume-case figure {
  margin: 0;
}

.perfume-case-hero {
  display: grid;
  grid-template-columns: var(--brand-case-sidebar) var(--brand-case-main);
  grid-template-rows: minmax(0, 1fr);
  gap: 30px var(--brand-case-column-gap);
  min-height: calc(100vh - 96px);
  align-content: start;
}

.perfume-case-meta {
  align-content: start;
}

.perfume-case-meta h2 {
  color: var(--perfume-muted);
}

.perfume-case-meta p {
  color: var(--perfume-copy);
}

.perfume-case-result {
  gap: 16px;
}

.docs-case-result.perfume-case-result strong {
  color: var(--perfume-ink);
  font-size: 16px;
  font-weight: 400;
}

.perfume-case-result span {
  color: var(--perfume-muted);
}

.perfume-case-hero-visual {
  position: relative;
  grid-column: 2;
  min-width: 0;
  height: 100%;
  overflow: visible;
}

.perfume-case-hero-copy {
  width: 100%;
}

.perfume-case-identity {
  margin-bottom: var(--brand-case-title-gap) !important;
  color: var(--perfume-copy);
  font-size: clamp(13px, 1.4vw, 18px);
  line-height: 1.22;
}

.perfume-case-hero-copy h1 {
  color: var(--perfume-ink);
  font-family: var(--sans);
  max-width: none;
  font-size: var(--brand-case-title-size);
  font-weight: var(--brand-case-title-weight);
  letter-spacing: 0;
  line-height: var(--brand-case-title-line-height);
}

.perfume-case-hero-copy h1 span {
  display: block;
}

.perfume-case-subtitle {
  margin-top: 22px !important;
  color: var(--perfume-copy);
  font-family: var(--sans);
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.5;
}

.perfume-case-kv {
  position: absolute;
  bottom: -68px;
  left: calc(-50% + 35px);
  width: 162.5305%;
  height: auto;
}

.perfume-case-kv img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}

.perfume-case-page .perfume-case-kv {
  transform: scale(0.85);
  transform-origin: center bottom;
}

.perfume-case-standard,
.perfume-case-asset {
  min-height: calc(100vh - 96px);
  padding-top: clamp(64px, 9vh, 110px);
}

.perfume-case-standard {
  position: relative;
  top: 55px;
  display: grid;
  align-content: start;
  gap: 0;
  padding-bottom: clamp(110px, 16vh, 180px);
}

.perfume-case-standard-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.perfume-case-standard-head > p:first-child,
.perfume-case-asset-head > p:first-child,
.perfume-case-seasonal-copy > p:first-child {
  color: var(--perfume-muted);
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.perfume-case-standard-head > p:first-child {
  grid-column: 1;
  margin-bottom: 8px;
}

.perfume-case-standard-head h2,
.perfume-case-asset-head h2,
.perfume-case-seasonal-copy h3 {
  color: var(--perfume-ink);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0;
}

.perfume-case-standard-head h2 {
  white-space: nowrap;
  font-size: var(--case-section-title-size);
  line-height: var(--case-section-title-line-height);
}

.perfume-case-standard-head h2 span {
  display: inline;
}

.perfume-case-standard-head > p:last-child,
.perfume-case-asset-head > p:last-child,
.perfume-case-seasonal-copy > p:nth-of-type(2) {
  max-width: 580px;
  font-size: 13px;
  line-height: 1.62;
}

.perfume-case-standard-head > p:last-child {
  display: grid;
  gap: 3px;
  max-width: 650px;
  line-height: 1.45;
}

.perfume-case-standard-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.8fr);
  gap: clamp(54px, 7vw, 92px);
  margin-top: clamp(260px, 33vh, 380px);
  align-items: end;
}

.perfume-case-standard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(56px, 8vh, 86px);
  margin-top: 0;
  background: transparent;
}

.perfume-case-standard-grid article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px 18px;
  min-height: 0;
  padding: 0;
  align-content: start;
  background: transparent;
}

.perfume-case-standard-grid article > span {
  grid-row: 1 / span 2;
  color: var(--perfume-muted);
  font-size: 10px;
  line-height: 1.4;
}

.perfume-case-standard-grid h3 {
  color: var(--perfume-ink);
  font-family: var(--sans);
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.18;
}

.perfume-case-standard-grid article > p {
  grid-column: 2;
  max-width: 390px;
  font-size: 11px;
  line-height: 1.55;
}

.perfume-case-asset {
  display: flex;
  flex-direction: column;
  padding-top: clamp(220px, 27vh, 320px);
}

.perfume-case-asset-content {
  position: relative;
  top: -15px;
}

.perfume-case-asset-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.perfume-case-asset-head > p:first-child {
  grid-column: 1;
  margin-bottom: 8px;
}

.perfume-case-asset-head h2 {
  font-size: var(--case-section-title-size);
  line-height: var(--case-section-title-line-height);
}

.perfume-case-asset-head > p:last-child {
  max-width: 650px;
  margin-top: 12px;
  line-height: 1.7;
}

.perfume-case-product-system {
  width: 68%;
  margin-top: clamp(24px, 3vh, 38px) !important;
}

.perfume-case-product-system img {
  display: block;
  width: 100%;
  height: auto;
}

.perfume-case-chain {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 70px);
  margin-top: clamp(42px, 6vh, 68px);
}

.perfume-case-chain p {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 0;
  padding: 0;
  align-content: start;
}

.perfume-case-chain p:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: calc(clamp(36px, 5vw, 70px) / -2 - 5px);
  z-index: 1;
  width: 10px;
  background: transparent;
  color: var(--perfume-muted);
  content: "→";
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
}

.perfume-case-chain span {
  color: var(--perfume-muted);
  font-size: 9px;
}

.perfume-case-chain strong {
  color: var(--perfume-ink);
  font-family: var(--sans);
  font-size: clamp(15px, 1.45vw, 19px);
  font-weight: 500;
}

.perfume-case-chain em {
  color: var(--perfume-ink);
  font-style: normal;
}

.perfume-case-seasonal {
  display: grid;
  grid-template-columns: minmax(260px, 0.32fr) minmax(0, 0.68fr);
  gap: 48px;
  margin-top: clamp(70px, 11vh, 126px);
  align-items: start;
}

.perfume-case-seasonal-copy {
  display: grid;
  gap: 18px;
}

.perfume-case-seasonal-copy h3 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 3.7vw, 52px);
  line-height: 1.05;
}

.perfume-case-seasonal-copy ul {
  display: grid;
  gap: 5px;
  margin: 10px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--perfume-line);
  color: var(--perfume-muted);
  font-size: 10px;
  line-height: 1.45;
  list-style: none;
}

.perfume-case-seasonal-result {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.perfume-case-seasonal-result p {
  display: grid;
  gap: 3px;
}

.perfume-case-seasonal-result strong {
  color: var(--perfume-ink);
  font-family: var(--sans);
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1;
}

.perfume-case-seasonal-result span {
  color: var(--perfume-muted);
  font-size: 10px;
}

.perfume-case-fragrance-system {
  width: 100%;
  overflow: hidden;
}

.perfume-case-fragrance-system img {
  display: block;
  width: 100%;
  height: auto;
}

.perfume-case-standard-visual {
  width: 100%;
  margin-top: 0;
}

.perfume-case-footer {
  --docs-line: var(--perfume-line);
  --docs-muted: var(--perfume-muted);
  margin-top: clamp(76px, 11vh, 132px);
}

@media (max-width: 760px) {
  .perfume-case {
    width: calc(100% - 32px);
    padding-top: 28px;
  }

  .perfume-case-hero,
  .perfume-case-standard-head,
  .perfume-case-asset-head,
  .perfume-case-seasonal {
    grid-template-columns: 1fr;
  }

  .perfume-case-hero-visual {
    grid-column: 1;
    height: auto;
  }

  .perfume-case-hero-copy {
    width: 100%;
  }

  .perfume-case-kv {
    position: static;
    grid-row: auto;
    width: 100%;
    height: auto;
    min-height: 360px;
    margin-top: 0;
    margin-left: 0;
  }

  .perfume-case-kv img {
    position: static;
    width: 100%;
  }

  .perfume-case-standard-head > p:first-child,
  .perfume-case-asset-head > p:first-child {
    grid-column: 1;
    margin-bottom: 0;
  }

  .perfume-case-standard-grid,
  .perfume-case-chain {
    grid-template-columns: 1fr;
  }

  .perfume-case-standard-lower {
    grid-template-columns: 1fr;
    margin-top: 96px;
  }

  .perfume-case-product-system {
    width: 100%;
  }

  .perfume-case-chain p:not(:last-child)::after {
    display: none;
  }

  .perfume-case-seasonal {
    gap: 42px;
  }

  .perfume-case-footer {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

:root[data-theme="dark"] {
  --bg: #000;
  --panel: #000;
  --ink: #efefea;
  --muted: #8f8f87;
  --line: #343431;
  --header-bg: rgba(0, 0, 0, 0.94);
  --menu-bg: rgba(0, 0, 0, 0.98);
  --copy: #d1d1ca;
  --label: #9c9c94;
  --media-bg: #191918;
  --body-copy: #d1d1ca;
  --card-bg: #000;
  --card-hover: #20201e;
  --archive-bg: #000;
  --archive-ink: #efefea;
  --archive-muted: #9a9a92;
  --archive-line: #2a2a27;
  --archive-media-bg: #1b1b1a;
  --archive-media-sheen: rgba(255, 255, 255, 0.13);
  --placeholder-sheen: rgba(255, 255, 255, 0.08);
  --placeholder-a: #0f0f0e;
  --placeholder-b: #343431;
  --placeholder-c: #76766f;
  --thumb-sheen-a: rgba(255, 255, 255, 0.12);
  --thumb-sheen-b: rgba(255, 255, 255, 0.03);
  --toggle-track: #2b2b28;
  --toggle-thumb: #8f8f87;
  --toggle-track-active: #efefea;
  --toggle-thumb-active: #111110;
  --toggle-active-border: #efefea;
}

:root[data-theme="dark"] .perfume-case-page {
  --perfume-bg: var(--bg);
  --perfume-ink: var(--ink);
  --perfume-copy: var(--copy);
  --perfume-muted: var(--muted);
  --perfume-line: var(--line);
}

/* Case 05: Genggeng IP */
.genggeng-case-page {
  background: var(--bg);
}

.genggeng-case {
  width: min(100% - 52px, 1120px);
  margin: 0 auto;
  padding: 44px 0 32px;
  color: var(--copy);
  font-family: var(--mono);
}

.genggeng-case p,
.genggeng-case h1,
.genggeng-case h2,
.genggeng-case figure {
  margin: 0;
}

.genggeng-hero {
  position: relative;
  display: grid;
  grid-template-columns: var(--brand-case-sidebar) var(--brand-case-main);
  gap: var(--brand-case-column-gap);
  min-height: calc(100vh - 96px);
  isolation: isolate;
}

.genggeng-meta {
  align-content: start;
}

.genggeng-hero-main {
  position: relative;
  min-width: 0;
  min-height: calc(100vh - 96px);
  overflow: visible;
}

.genggeng-label,
.genggeng-kicker,
.genggeng-section-head > p:first-child {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}

.genggeng-label {
  margin-bottom: var(--brand-case-title-gap) !important;
  font-size: clamp(13px, 1.4vw, 18px);
}

.genggeng-kicker {
  margin-bottom: 18px !important;
}

.genggeng-hero h1 {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--brand-case-title-size);
  font-weight: 700;
  letter-spacing: 0;
  line-height: var(--brand-case-title-line-height);
}

.genggeng-intro {
  position: relative;
  z-index: 1;
  max-width: 610px;
  margin-top: 34px !important;
  font-size: 12px;
  line-height: 1.75;
}

.genggeng-base-visual {
  position: absolute;
  right: auto;
  bottom: -2%;
  left: 3%;
  width: 28.8%;
}

.genggeng-base-visual img,
.genggeng-wide-visual img,
.genggeng-wide-visual video {
  display: block;
  width: 100%;
  height: auto;
}

.genggeng-system,
.genggeng-application {
  min-height: calc(100vh - 96px);
  padding-top: clamp(90px, 13vh, 150px);
}

.genggeng-section-head {
  display: grid;
  gap: 22px;
  max-width: 720px;
}

.genggeng-section-head h2 {
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--case-section-title-size);
  font-weight: 700;
  letter-spacing: 0;
  line-height: var(--case-section-title-line-height);
}

.genggeng-section-head > p:last-child {
  max-width: 620px;
  font-size: 12px;
  line-height: 1.7;
}

.genggeng-wide-visual {
  width: 100%;
  margin-top: clamp(100px, 17vh, 180px) !important;
}

.genggeng-character-group {
  width: 90%;
  margin: clamp(100px, 17vh, 180px) auto 0;
}

.genggeng-character-group .genggeng-wide-visual {
  margin-top: 0 !important;
}

.genggeng-character-names {
  position: relative;
  width: 100%;
  height: 74px;
  margin-top: 20px;
  color: var(--copy);
  font-family: var(--sans);
}

.genggeng-character-names p {
  position: absolute;
  top: 0;
  display: grid;
  gap: 3px;
  width: 150px;
  transform: translateX(-50%);
}

.genggeng-character-names p:nth-child(1) { left: 7%; }
.genggeng-character-names p:nth-child(2) { left: 27%; }
.genggeng-character-names p:nth-child(3) { left: 55%; }
.genggeng-character-names p:nth-child(4) { left: 72%; }
.genggeng-character-names p:nth-child(5) { left: 86%; }
.genggeng-character-names p:nth-child(6) { left: 97%; }

.genggeng-character-names strong {
  color: var(--copy);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.genggeng-character-names span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.genggeng-application {
  display: flex;
  flex-direction: column;
}

.genggeng-application-content {
  position: relative;
  top: 100px;
}

.genggeng-card-visual {
  width: 40%;
  margin-top: clamp(38px, 5vh, 58px) !important;
}

.docs-case-footer.genggeng-footer {
  --docs-line: var(--line);
  --docs-muted: var(--muted);
  margin-top: clamp(110px, 16vh, 180px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 760px) {
  .genggeng-case { width: calc(100% - 32px); padding-top: 28px; }
  .genggeng-hero { grid-template-columns: 1fr; gap: 42px; }
  .genggeng-hero-main { min-height: 720px; }
  .genggeng-base-visual { left: 8%; width: 48%; }
  .genggeng-system, .genggeng-application { min-height: 0; padding-top: 96px; }
  .genggeng-application-content { top: 0; }
  .genggeng-wide-visual { margin-top: 72px !important; }
  .genggeng-character-group { width: 100%; margin-top: 72px; }
  .genggeng-character-names { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; height: auto; }
  .genggeng-character-names p { position: static; width: auto; transform: none; }
}

/* Case 06: Oxygen shell jacket */
.oxygen-case-page { background: var(--bg); }

.oxygen-case {
  width: min(100% - 52px, 1120px);
  margin: 0 auto;
  padding: 44px 0 32px;
  color: var(--copy);
  font-family: var(--mono);
}

.oxygen-case p,
.oxygen-case h1,
.oxygen-case h2,
.oxygen-case h3,
.oxygen-case figure { margin: 0; }

.oxygen-hero {
  display: grid;
  grid-template-columns: var(--brand-case-sidebar) var(--brand-case-main);
  gap: var(--brand-case-column-gap);
  min-height: calc(100vh - 96px);
}

.oxygen-meta { align-content: start; }

.oxygen-hero-main {
  position: relative;
  min-width: 0;
  min-height: calc(100vh - 96px);
  overflow: hidden;
}

.oxygen-label {
  margin-bottom: var(--brand-case-title-gap) !important;
  color: var(--muted);
  font-size: clamp(13px, 1.4vw, 18px);
  line-height: 1.22;
}

.oxygen-hero h1 {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--brand-case-title-size);
  font-weight: var(--brand-case-title-weight);
  letter-spacing: 0;
  line-height: var(--brand-case-title-line-height);
}

.oxygen-selling-point {
  position: relative;
  z-index: 1;
  margin-top: 28px !important;
  color: var(--copy);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
}

.oxygen-hero-visual {
  position: absolute;
  top: clamp(320px, 30vh, 370px);
  right: auto;
  bottom: auto;
  left: 0;
  width: 70.2%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--media-bg);
}

.oxygen-hero-visual video,
.oxygen-film video,
.oxygen-product-system img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oxygen-hero-visual video {
  object-fit: contain;
  object-position: center;
}

.oxygen-strategy,
.oxygen-creative {
  min-height: calc(100vh - 96px);
  padding-top: clamp(90px, 13vh, 150px);
}

.oxygen-section-head {
  display: grid;
  gap: 22px;
  max-width: 720px;
}

.oxygen-section-head > p:first-child,
.oxygen-layer-system > div > p:first-child {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}

.oxygen-section-head h2 {
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--case-section-title-size);
  font-weight: 700;
  letter-spacing: 0;
  line-height: var(--case-section-title-line-height);
}

.oxygen-section-head > p:last-child {
  max-width: 650px;
  font-size: 12px;
  line-height: 1.7;
}

.oxygen-strategy-lower {
  margin-top: clamp(100px, 16vh, 180px);
}

.oxygen-strategy-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 70%;
  align-items: start;
}

.oxygen-strategy-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 55 / 78;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.warm-skin-placeholder-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  padding-top: clamp(24px, 3vh, 40px);
  padding-bottom: 64px;
  overflow: hidden;
}

.warm-skin-placeholder-screen .oxygen-section-head {
  gap: 0;
  transform: translateY(32px);
}

.warm-skin-gradient-slot {
  width: 100%;
  height: 8px;
}

.warm-skin-gradient-bar {
  position: absolute;
  left: 0;
  width: min(100%, 720px);
  height: 8px;
  background: linear-gradient(90deg, #ffd400 0%, #ff9f00 50%, #ff3b18 100%);
}

.warm-skin-placeholder-screen .oxygen-section-head h2 {
  margin-top: 8px;
  color: #ff4a00;
}

.warm-skin-placeholder-screen .oxygen-section-head > p:last-child {
  margin-top: 22px;
  line-height: 1.5;
}

.warm-skin-copy span {
  display: block;
}

.warm-skin-copy span + span {
  margin-top: 8px;
}

.warm-skin-placeholder-screen .oxygen-strategy-lower {
  margin-top: clamp(45px, calc(4vh + 10px), 55px);
  transform: translateY(32px);
}

@media (min-width: 761px) {
  .warm-skin-placeholder-screen .oxygen-section-head h2 {
    white-space: nowrap;
  }
}

.warm-skin-placeholder-screen .docs-case-footer.oxygen-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 0 !important;
}

.warm-skin-page .oxygen-case {
  padding-top: 0;
}

.warm-skin-page .oxygen-hero {
  box-sizing: border-box;
  padding-top: 44px;
  background: #ff4a00;
  box-shadow: 0 0 0 100vmax #ff4a00;
  clip-path: inset(0 -100vmax);
}

.warm-skin-page .oxygen-hero-main {
  min-height: 0;
  overflow: visible;
}

.warm-skin-page .oxygen-label {
  color: #ffd9b8;
}

.warm-skin-page .oxygen-hero h1,
.warm-skin-page .oxygen-meta,
.warm-skin-page .oxygen-meta h2,
.warm-skin-page .oxygen-meta p {
  color: #f9dfc2;
}

.warm-skin-page .oxygen-hero-visual {
  position: static;
  left: 0;
  width: 70.2%;
  margin-top: clamp(140px, calc(22vh - 40px), 220px) !important;
  margin-left: 0 !important;
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
  transform: translate(-105px, -150px);
}

.warm-skin-page .oxygen-hero-visual video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: left top;
}

.warm-skin-gallery {
  position: relative;
  display: block;
  width: 59.5%;
  aspect-ratio: 40 / 27;
  overflow: hidden;
}

.warm-skin-gallery img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: left top;
  transform: translate(-50%, -50%) scale(1.2);
  transform-origin: center;
}

@media (min-width: 761px) and (max-height: 1000px) {
  .warm-skin-gallery {
    width: 56.5%;
  }
}

.oxygen-proof {
  display: grid;
  grid-template-columns: 1fr 88px 1fr;
  align-items: center;
  gap: 28px;
}

.oxygen-proof p { display: grid; gap: 8px; }
.oxygen-proof strong {
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(20px, 2.35vw, 32px);
  line-height: 1.08;
}
.oxygen-proof span { color: var(--muted); font-size: 9px; }

.oxygen-drop {
  width: 64px;
  height: 82px;
  border: 1px solid var(--line);
  border-radius: 58% 42% 58% 42% / 68% 42% 58% 32%;
  transform: rotate(45deg);
}

.oxygen-tech {
  display: grid;
  gap: 24px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.oxygen-tech > p { display: grid; gap: 7px; }
.oxygen-tech span { color: var(--muted); font-size: 10px; }
.oxygen-tech strong { color: var(--ink); font-family: var(--sans); font-size: 20px; }
.oxygen-tech ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  color: var(--copy);
  font-size: 11px;
  list-style: none;
}

.oxygen-product-system {
  grid-column: 1 / -1;
  width: 76%;
  max-height: 300px;
  overflow: hidden;
  background: var(--media-bg);
}
.oxygen-product-system img { object-position: center; }

.oxygen-creative {
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

.oxygen-film {
  width: 68%;
  margin-top: clamp(54px, 7vh, 80px) !important;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--media-bg);
}

.oxygen-layer-system {
  display: block;
  margin-top: clamp(72px, 10vh, 120px);
}

.oxygen-layer-system > div {
  display: grid;
  gap: 18px;
  max-width: 760px;
}
.oxygen-layer-system h3 {
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(20px, 2.35vw, 32px);
  line-height: 1.12;
}
.oxygen-layer-system > div > p:last-child { font-size: 11px; line-height: 1.65; }

.oxygen-layer-system ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 1040px);
  margin: clamp(58px, 8vh, 88px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.oxygen-layer-system li { display: grid; gap: 10px; padding: 18px 20px 0 0; }
.oxygen-layer-system li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.oxygen-layer-system span,
.oxygen-layer-system small { color: var(--muted); font-size: 9px; }
.oxygen-layer-system strong { color: var(--ink); font-family: var(--sans); font-size: 15px; }

.docs-case-footer.oxygen-footer {
  --docs-line: var(--line);
  --docs-muted: var(--muted);
  margin-top: clamp(100px, 14vh, 160px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 760px) {
  .oxygen-case { width: calc(100% - 32px); padding-top: 28px; }
  .warm-skin-page .oxygen-case { padding-top: 0; }
  .warm-skin-page .oxygen-hero { padding-top: 28px; }
  .oxygen-hero { grid-template-columns: 1fr; gap: 42px; }
  .oxygen-hero-main { min-height: 760px; }
  .oxygen-hero-visual { width: 88%; }
  .oxygen-strategy,
  .oxygen-creative { min-height: 0; padding-top: 96px; }
  .oxygen-strategy-lower,
  .oxygen-layer-system { grid-template-columns: 1fr; }
  .oxygen-strategy-gallery { grid-template-columns: 1fr; }
  .oxygen-proof { grid-template-columns: 1fr 60px 1fr; gap: 14px; }
  .oxygen-product-system,
  .oxygen-film,
  .oxygen-layer-cards { width: 100%; }
  .oxygen-layer-system ol { grid-template-columns: 1fr; }
  .oxygen-layer-system li + li { padding-left: 0; border-left: 0; }
  .warm-skin-page .warm-skin-placeholder-screen {
    min-height: 100vh;
    padding-top: 24px;
    padding-bottom: 58px;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 68px;
  padding: 0 40px;
  border-bottom: 0;
  background: var(--page-header-bg, var(--bg));
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
}

.works-v2-page {
  --page-header-bg: var(--archive-bg);
}

.perfume-case-page {
  --page-header-bg: var(--perfume-bg);
}

.loong-case-page {
  --page-header-bg: var(--loong-bg);
}

.docs-case-page {
  --page-header-bg: var(--docs-bg);
}

.ellemen-case-page {
  --page-header-bg: var(--ellemen-bg);
}

.site-mark {
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}

.main-nav a,
.site-mark {
  padding: 4px 0;
}

.main-nav a[aria-current="page"],
.site-mark[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-item {
  position: relative;
}

.nav-works::after {
  position: absolute;
  top: 100%;
  right: -88px;
  display: block;
  width: 460px;
  height: 24px;
  content: "";
}

.mega-menu {
  position: absolute;
  top: calc(100% + 21px);
  right: -88px;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 42px;
  min-width: 460px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--menu-bg);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.06);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.theme-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.theme-toggle-track {
  position: relative;
  display: block;
  width: 36px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--toggle-track);
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--toggle-thumb);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.theme-toggle[aria-pressed="true"] .theme-toggle-track {
  border-color: var(--toggle-active-border);
  background: var(--toggle-track-active);
}

.theme-toggle[aria-pressed="true"] .theme-toggle-thumb {
  background: var(--toggle-thumb-active);
  transform: translateX(16px);
}

.theme-toggle:focus-visible .theme-toggle-track {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.nav-works:hover .mega-menu,
.nav-works:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu section {
  display: grid;
  align-content: start;
  gap: 10px;
}

.mega-menu h2 {
  margin: 0 0 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.mega-menu a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 2px 0;
  color: var(--ink);
  text-decoration: none;
}

.mega-menu a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mega-menu span {
  color: var(--muted);
}

.home-stage {
  position: relative;
  display: grid;
  flex: 1;
  min-height: calc(100vh - 132px);
  place-items: center;
  padding: 56px 32px;
}

.archive-window {
  position: relative;
  display: grid;
  width: min(92vw, 1180px);
  min-height: min(64vw, 640px);
  place-items: center;
  background: var(--panel);
  overflow: hidden;
}

.hero-frame {
  position: relative;
  display: block;
  width: min(44vw, 520px);
  min-width: 300px;
  aspect-ratio: 4 / 3;
}

.image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, var(--placeholder-sheen), transparent 34%),
    linear-gradient(135deg, var(--placeholder-a) 0%, var(--placeholder-b) 46%, var(--placeholder-c) 100%);
  filter: grayscale(1);
}

.corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--ink);
  border-style: solid;
  z-index: 1;
}

.corner-tl {
  top: -10px;
  left: -10px;
  border-width: 1px 0 0 1px;
}

.corner-tr {
  top: -10px;
  right: -10px;
  border-width: 1px 1px 0 0;
}

.corner-bl {
  bottom: -10px;
  left: -10px;
  border-width: 0 0 1px 1px;
}

.corner-br {
  right: -10px;
  bottom: -10px;
  border-width: 0 1px 1px 0;
}

.thumb-strip {
  position: absolute;
  left: 50%;
  display: grid;
  gap: 20px;
  transform: translateX(-50%);
}

.thumb-strip-top {
  top: 0;
  transform: translate(-50%, -42%);
}

.thumb-strip-bottom {
  bottom: 0;
  transform: translate(-50%, 42%);
}

.thumb-strip span {
  display: block;
  width: 76px;
  height: 48px;
  background:
    linear-gradient(120deg, var(--thumb-sheen-a), var(--thumb-sheen-b)),
    var(--media-bg);
  filter: blur(3px) grayscale(1);
  opacity: 0.72;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 0 40px 28px;
  font-family: var(--mono);
  font-size: 13px;
}

.content-shell {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 96px 0;
}

.page-title {
  display: grid;
  gap: 18px;
  margin-bottom: 64px;
}

.section-label,
.page-title h1 {
  margin: 0;
}

.section-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
}

.page-title h1 {
  max-width: 780px;
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 400;
  line-height: 0.98;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 64px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.about-grid p,
.contact-panel p {
  margin: 0;
  color: var(--body-copy);
  font-size: 18px;
  line-height: 1.8;
}

.info-list {
  display: grid;
  gap: 24px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.info-list dt,
.info-list dd,
.case-meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
}

.info-list dt {
  color: var(--muted);
}

.about-editorial {
  width: min(1280px, calc(100% - 48px));
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  padding: 22px 0 34px;
}

.about-archive-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.6fr 0.9fr 0.6fr;
  grid-template-rows: minmax(160px, auto) minmax(280px, 1fr) auto;
  gap: 24px 72px;
  min-height: calc(100vh - 124px);
  padding-top: 0;
}

.about-identity,
.about-links,
.about-text,
.about-contact,
.about-meta {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.36;
}

.about-identity {
  font-weight: 700;
}

.about-identity p,
.about-links a,
.about-contact a,
.about-meta p,
.about-text p,
.about-text h1,
.about-contact h2,
.about-meta h2 {
  margin: 0;
}

.about-links,
.about-contact,
.about-meta,
.about-text {
  display: grid;
  align-content: start;
  gap: 3px;
}

.about-links {
  grid-column: 2;
}

.about-text {
  grid-column: 3;
  max-width: 270px;
  gap: 10px;
  font-weight: 700;
}

.about-text h1,
.about-contact h2,
.about-meta h2 {
  font-size: 12px;
  font-weight: 700;
}

.about-text p {
  color: var(--ink);
}

.about-contact {
  grid-column: 4;
  font-weight: 700;
}

.contact-reveal {
  display: inline-grid;
  grid-template-columns: auto 0fr;
  align-items: baseline;
  gap: 0;
  width: max-content;
  max-width: 100%;
  transition: grid-template-columns 180ms ease;
}

.contact-reveal > span:first-child {
  overflow: hidden;
  white-space: nowrap;
}

.contact-detail {
  min-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 160ms ease;
}

.contact-reveal:hover,
.contact-reveal:focus-visible {
  grid-template-columns: 0fr auto;
}

.contact-reveal:hover .contact-detail,
.contact-reveal:focus-visible .contact-detail {
  opacity: 1;
}

.about-experience {
  grid-column: 2;
  grid-row: 3;
}

.about-awards {
  grid-column: 3;
  grid-row: 3;
}

.about-meta h2 {
  margin-bottom: 8px;
  color: var(--muted);
}

.about-portrait {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  justify-self: start;
  display: grid;
  width: 220px;
  aspect-ratio: 1;
  margin: 0;
  place-items: center;
  background: var(--panel);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.about-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.no-break {
  white-space: nowrap;
}

.about-cv {
  display: grid;
  gap: 48px;
  width: min(1040px, 100%);
  margin-top: 90px;
  padding-bottom: 70px;
}

.cv-entry {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: 56px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.cv-entry header {
  display: grid;
  align-content: start;
  gap: 6px;
  font-family: var(--mono);
}

.cv-entry h2,
.cv-entry header p,
.cv-body p,
.cv-body ul {
  margin: 0;
}

.cv-entry h2 {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.36;
}

.cv-entry header p {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.36;
}

.cv-body {
  display: grid;
  gap: 14px;
  color: var(--body-copy);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.45;
}

.cv-body ul {
  display: grid;
  gap: 6px;
  padding-left: 1.1em;
}

.cv-body li {
  padding-left: 0.15em;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.works-section {
  display: grid;
  gap: 24px;
  margin-top: 72px;
}

.works-section:first-of-type {
  margin-top: 0;
}

.works-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.works-heading h2 {
  margin: 0;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
}

.works-index {
  min-height: calc(100vh - 68px);
  padding: 24px 28px 54px;
  background: var(--archive-bg);
  color: var(--archive-ink);
  font-family: var(--mono);
}

.works-index-head {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 48px;
  margin-bottom: 58px;
  color: var(--archive-ink);
  font-size: 11px;
  line-height: 1.32;
}

.works-index-head p {
  margin: 0;
}

.works-index-section {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.works-index-section h1 {
  margin: 0;
  color: var(--archive-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
}

.works-index-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(88px, 1fr));
  gap: 34px 28px;
  align-items: start;
}

.work-index-item {
  display: grid;
  gap: 8px;
  color: var(--archive-ink);
}

.work-index-item figure {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--archive-media-sheen), transparent),
    var(--archive-media-bg);
}

.work-index-item img,
.work-index-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.work-index-item div {
  display: grid;
  gap: 3px;
  font-size: 10px;
  line-height: 1.25;
}

.work-index-item span,
.work-index-item em {
  color: var(--archive-muted);
  font-style: normal;
}

.work-index-item strong {
  max-width: 16ch;
  overflow: hidden;
  font-size: 10px;
  font-weight: 400;
  opacity: 0;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 160ms ease;
}

.work-index-item:hover img {
  filter: brightness(1.16);
  transform: scale(1.035);
}

.work-index-item:hover strong,
.work-index-item:focus-visible strong {
  opacity: 1;
}

.works-index-grid-creative .work-index-item strong {
  opacity: 1;
}

.work-index-item-large {
  grid-column: span 2;
}

.work-index-item-large figure {
  aspect-ratio: 16 / 9;
}

.work-index-item-wide {
  grid-column: span 2;
}

.work-index-item-tall figure {
  aspect-ratio: 3 / 4;
}

.work-index-red {
  background:
    radial-gradient(circle at 72% 28%, rgb(255 194 158 / 22%), transparent 28%),
    linear-gradient(135deg, #270407 0%, #8f1718 52%, #d93b26 100%);
}

/* Works: dual-brand archive */
.works-brand-archive {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(64px, 6vw, 112px);
  align-items: start;
}

.works-brand-group {
  min-width: 0;
}

.works-brand-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 72px;
  margin-bottom: clamp(34px, 4vw, 58px);
}

.works-brand-logo-wrap {
  position: relative;
  width: 92px;
  height: 34px;
}

.works-brand-logo-wrap-bananain {
  width: 146px;
  height: 30px;
}

.works-brand-logo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.works-brand-logo-light {
  display: none;
}

:root[data-theme="dark"] .works-brand-logo-dark {
  display: none;
}

:root[data-theme="dark"] .works-brand-logo-light {
  display: block;
}

.works-brand-header > div:last-child {
  display: grid;
  gap: 4px;
  color: var(--archive-muted);
  font-size: 9px;
  line-height: 1.3;
}

.works-brand-jishanchuan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(18px, 2vw, 32px);
  align-items: start;
}

.works-brand-column {
  display: grid;
  gap: clamp(44px, 5vw, 78px);
  align-content: start;
}

.works-brand-column-secondary {
  padding-top: clamp(70px, 8vw, 122px);
}

.works-brand-case {
  gap: 10px;
}

.works-brand-case figure {
  background: var(--archive-media-bg);
}

.works-brand-case div {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 12px;
}

.works-brand-case strong {
  max-width: none;
  opacity: 0.82;
}

.works-brand-case em {
  grid-column: 2;
}

.works-brand-case-01 figure,
.works-brand-case-03 figure,
.works-brand-case-02 figure,
.works-brand-case-05 figure,
.works-brand-case-07 figure {
  aspect-ratio: 16 / 9;
}

.works-brand-case-04 {
  width: 88%;
}

.works-brand-case-04 figure {
  aspect-ratio: 4 / 5;
}

.works-brand-case-04 img {
  object-position: center;
}

.works-brand-case-02 {
  width: 90%;
  margin-left: 10%;
}

.works-brand-bananain-grid {
  display: grid;
  gap: clamp(54px, 6vw, 92px);
}

.works-brand-case-06 figure {
  aspect-ratio: 4 / 3;
  background: var(--archive-media-bg);
}

.works-brand-case-06 img {
  object-fit: cover;
  transform: scale(1.24);
}

.works-brand-case-06:hover img {
  transform: scale(1.29);
}

@media (min-width: 1121px) {
  .works-index-head {
    margin-bottom: 34px;
  }

  .works-index-section {
    margin-top: 30px;
  }

  .works-brand-header {
    min-height: 46px;
    margin-bottom: clamp(22px, 2vw, 34px);
  }

  .works-brand-jishanchuan-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(28px, 2.4vw, 48px) clamp(16px, 1.5vw, 26px);
  }

  .works-brand-column {
    display: contents;
  }

  .works-brand-column-secondary {
    padding-top: 0;
  }

  .works-brand-case-01 {
    grid-column: 1 / span 7;
    grid-row: 1;
  }

  .works-brand-case-03 {
    grid-column: 8 / span 5;
    grid-row: 1;
    align-self: end;
    margin-top: clamp(32px, 4vw, 66px);
  }

  .works-brand-case-04 {
    grid-column: 1 / span 4;
    grid-row: 2;
    width: 100%;
  }

  .works-brand-case-02 {
    grid-column: 5 / span 4;
    grid-row: 2;
    width: 100%;
    margin: clamp(30px, 3vw, 50px) 0 0;
  }

  .works-brand-case-05 {
    grid-column: 9 / span 4;
    grid-row: 2;
    margin-top: clamp(4px, 1vw, 18px);
  }

  .works-brand-case-04 figure {
    aspect-ratio: 4 / 3;
  }

  .works-brand-bananain-grid {
    gap: clamp(30px, 3vw, 50px);
  }

  .works-brand-case-06 figure {
    aspect-ratio: 16 / 7;
  }

  .works-brand-case-07 figure {
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 1120px) {
  .works-brand-archive {
    grid-template-columns: 1fr;
    gap: 112px;
  }

  .works-brand-bananain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 680px) {
  .works-brand-header {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 30px;
  }

  .works-brand-jishanchuan-grid,
  .works-brand-bananain-grid {
    grid-template-columns: 1fr;
  }

  .works-brand-column,
  .works-brand-bananain-grid {
    gap: 34px;
  }

  .works-brand-column-secondary {
    padding-top: 34px;
  }

  .works-brand-case-02,
  .works-brand-case-04 {
    width: 100%;
    margin-left: 0;
  }

  .works-brand-case-04 figure {
    aspect-ratio: 16 / 10;
  }
}

.works-index-grid-creative {
  grid-template-columns: repeat(5, minmax(110px, 1fr));
}

.works-index-grid-lab {
  grid-template-columns: repeat(7, minmax(88px, 1fr));
}

.case-viewer-open {
  position: fixed;
  right: 0;
  left: 0;
  overflow: hidden;
}

.case-viewer[hidden] {
  display: none;
}

.case-viewer {
  --viewer-height: 90vh;
  --viewer-width: 60vw;
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: transparent;
}

.case-viewer::before {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--bg) 18%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  content: "";
  pointer-events: none;
}

.case-viewer-frame {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: var(--viewer-width);
  height: var(--viewer-height);
  border: 0;
  border-radius: 7px;
  background: var(--bg);
  box-shadow: 0 18px 46px rgb(0 0 0 / 18%);
  transform: translate(-50%, -50%);
}

.case-viewer-mobile-notice {
  display: none;
}

@media (max-width: 768px) {
  .case-viewer--mobile-notice {
    --viewer-height: 260px;
    --viewer-width: calc(100vw - 40px);
  }

  .case-viewer--mobile-notice .case-viewer-frame {
    display: none;
  }

  .case-viewer--mobile-notice .case-viewer-mobile-notice {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: grid;
    width: var(--viewer-width);
    height: var(--viewer-height);
    place-content: center;
    gap: 14px;
    padding: 44px 28px;
    border-radius: 7px;
    background: var(--bg);
    box-shadow: 0 18px 46px rgb(0 0 0 / 18%);
    color: var(--ink);
    font-family: var(--mono);
    text-align: center;
    transform: translate(-50%, -50%);
  }

  .case-viewer--mobile-notice .case-viewer-mobile-notice strong {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.04em;
  }

  .case-viewer--mobile-notice .case-viewer-mobile-notice span {
    font-size: 11px;
    line-height: 1.6;
    opacity: 0.66;
  }
}

.case-viewer-close {
  position: fixed;
  top: calc((100vh - var(--viewer-height)) / 2 + 20px);
  right: calc((100vw - var(--viewer-width)) / 2 + 20px);
  z-index: 2;
  display: grid;
  width: 28px;
  min-width: 0;
  height: 28px;
  min-height: 0;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.case-viewer-close::before {
  color: var(--ink);
  content: "×";
  font-size: 18px;
  line-height: 1;
}

.case-viewer--taozui .case-viewer-close::before {
  color: #502f2e;
  font-weight: 600;
}

.case-viewer--taozui .case-viewer-close:hover,
.case-viewer--taozui .case-viewer-close:focus-visible {
  text-decoration: none;
}

.case-viewer-close:hover,
.case-viewer-close:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.case-viewer-page .site-header {
  display: none;
}

.case-viewer-page {
  background: var(--bg);
}

.soft-case {
  width: min(100% - 52px, 1120px);
  margin: 0 auto;
  padding: 44px 0 32px;
  font-family: var(--mono);
}

.soft-case-landing {
  position: relative;
  display: grid;
  min-height: calc(100vh - 96px);
  align-content: start;
}

.soft-case-intro {
  display: grid;
  grid-template-columns: var(--brand-case-sidebar) var(--brand-case-main);
  gap: var(--brand-case-column-gap);
  align-items: start;
  min-height: 30vh;
}

.soft-case-meta {
  display: grid;
  gap: 26px;
  color: var(--copy);
  font-size: 11px;
  line-height: 1.38;
}

.soft-case-meta h2,
.soft-case-thinking h2,
.soft-case-thinking h3 {
  margin: 0;
  color: var(--label);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

.soft-case-meta p,
.soft-case-thinking p {
  margin: 0;
}

.soft-case-result {
  display: grid;
  gap: 14px;
}

.soft-case-result p {
  display: grid;
  gap: 2px;
}

.soft-case-result strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}

.soft-case-result span {
  color: var(--muted);
}

.soft-case-statement {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  max-width: none;
  font-size: var(--brand-case-title-size);
  font-weight: var(--brand-case-title-weight);
  letter-spacing: 0;
  line-height: var(--brand-case-title-line-height);
}

.soft-case-headline {
  display: grid;
  gap: var(--brand-case-title-gap);
}

.soft-case-identity {
  margin: 0;
  color: var(--copy);
  font-size: clamp(13px, 1.4vw, 18px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.22;
}

.soft-case-statement span {
  display: block;
}

.soft-case-visuals {
  display: grid;
  justify-items: end;
  margin-top: clamp(4px, 1vh, 16px);
}

.soft-case-hero-product {
  width: min(54%, 480px, 58vh);
  margin: -2vh 6% 0 0;
}

.soft-case-hero-product img {
  display: block;
  width: 100%;
  height: auto;
}

.soft-case-thinking {
  position: relative;
  display: grid;
  min-height: 100vh;
  align-content: start;
  gap: 0;
  padding-top: 14vh;
}

.soft-case-thinking > h2 {
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.98;
  text-transform: none;
}

.soft-case-thinking-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(320px, 0.52fr);
  gap: 64px;
  align-items: start;
  margin-top: clamp(280px, 42vh, 430px);
}

.soft-case-thinking article,
.soft-case-solution section {
  display: grid;
  gap: 10px;
  color: var(--copy);
  font-size: 13px;
  line-height: 1.56;
}

.soft-case-thinking article strong,
.soft-case-solution strong {
  color: var(--ink);
  font-weight: 400;
}

.soft-case-left-stack {
  display: grid;
  gap: 58px;
}

.soft-case-problem,
.soft-case-insight {
  width: 100%;
  max-width: none;
}

.soft-case-solution {
  display: grid;
  gap: 18px;
}

.soft-case-solution h3,
.soft-case-solution h4 {
  margin: 0;
  color: var(--label);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

.soft-case-solution-grid {
  display: grid;
  gap: 30px;
}

.soft-case-footer,
.loong-case-footer,
.docs-case-footer {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(180px, 0.24fr) minmax(240px, 0.28fr);
  gap: 64px;
  padding-top: 10px;
  font-size: 10px;
  line-height: 1.3;
  text-transform: uppercase;
}

.soft-case-footer {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.loong-case-page {
  --loong-bg: #8c2719;
  --loong-ink: #fff7ee;
  --loong-copy: rgb(255 246 238 / 84%);
  --loong-muted: rgb(255 225 204 / 62%);
  --loong-line: rgb(255 238 220 / 24%);
  --loong-red: #b52b1f;
  --loong-red-bright: #d7442b;
  --loong-link: #f6bd7a;
  --loong-link-strong: #ffd098;
  background: var(--loong-bg);
}

.loong-case {
  --loong-title-gap: 34px;
  width: min(100% - 52px, 1120px);
  margin: 0 auto;
  padding: 44px 0 32px;
  color: var(--loong-copy);
  font-family: var(--mono);
}

.loong-case-hero {
  display: grid;
  min-height: calc(100vh - 96px);
  align-content: start;
}

.loong-case-intro {
  display: grid;
  grid-template-columns: var(--brand-case-sidebar) var(--brand-case-main);
  gap: var(--brand-case-column-gap);
  align-items: start;
}

.loong-case-meta {
  display: grid;
  gap: 26px;
  color: var(--loong-copy);
  font-size: 11px;
  line-height: 1.38;
}

.loong-case-meta h2,
.loong-case-evolution h2,
.loong-case-evolution h3 {
  margin: 0;
  color: var(--loong-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

.loong-case-meta p,
.loong-case-evolution p {
  margin: 0;
}

.loong-case-result {
  display: grid;
  gap: 16px;
}

.loong-case-result p {
  display: grid;
  gap: 2px;
}

.loong-case-result strong {
  color: var(--loong-link);
  font-size: 16px;
  font-weight: 400;
}

.loong-case-result span {
  color: var(--loong-muted);
}

.loong-case-award p {
  color: var(--loong-link);
}

.loong-case-headline {
  display: grid;
  gap: var(--brand-case-title-gap);
}

.loong-case-identity {
  margin: 0;
  color: var(--loong-copy);
  font-size: clamp(13px, 1.4vw, 18px);
  line-height: 1.22;
}

.loong-case-statement {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--loong-ink);
  font-family: var(--sans);
  max-width: none;
  font-size: var(--brand-case-title-size);
  font-weight: var(--brand-case-title-weight);
  letter-spacing: 0;
  line-height: var(--brand-case-title-line-height);
}

.loong-case-statement span {
  display: block;
}

.loong-case-kv {
  display: grid;
  width: min(58%, 640px, 62vh);
  aspect-ratio: 16 / 9;
  margin: clamp(28px, 5vh, 52px) 0 0 calc((100% - 84px) * 0.32 + 84px);
  overflow: hidden;
  background: var(--loong-red);
}

.loong-case-kv img {
  display: block;
  width: 100%;
  height: auto;
}

.loong-case-evolution {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 96px);
  padding-top: clamp(64px, 10vh, 112px);
  padding-bottom: 0;
}

.loong-case-evolution > .loong-case-eyebrow {
  margin: 0 0 var(--loong-title-gap);
  color: var(--loong-link);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.loong-case-evolution > .loong-case-eyebrow,
.loong-case-evolution > h2,
.loong-case-evolution-grid {
  transform: translateY(56px);
}

.loong-case-evolution > h2 {
  display: grid;
  gap: 0;
  color: var(--loong-ink);
  font-family: var(--sans);
  font-size: clamp(28px, 3.9vw, 56px);
  line-height: 1.15;
  text-transform: none;
}

.loong-case-evolution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-top: clamp(108px, 18vh, 190px);
  margin-bottom: clamp(88px, 14vh, 144px);
  align-items: start;
}

.loong-case-evolution article {
  display: grid;
  grid-auto-rows: max-content;
  align-content: start;
  align-self: start;
  gap: 12px;
  color: var(--loong-copy);
  font-size: 13px;
  line-height: 1.56;
}

.loong-case-evolution article h3 {
  display: grid;
  gap: 4px;
  margin-bottom: 28px;
  color: var(--loong-ink);
}

.loong-case-evolution article h3 span {
  color: var(--loong-link);
  font-size: 10px;
  line-height: 1.2;
}

.loong-case-evolution article h3 strong {
  color: var(--loong-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.loong-case-evolution article h3 em {
  color: var(--loong-ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.34;
}

.loong-case-video-link {
  justify-self: start;
  margin-top: 22px;
  margin-bottom: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--loong-link);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
}

.loong-case-video-link:hover,
.loong-case-video-link:focus-visible {
  color: var(--loong-link-strong);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.loong-case-footer {
  margin-top: auto;
  border-top: 1px solid var(--loong-line);
  color: var(--loong-muted);
}

.docs-case-page {
  --docs-bg: #b79b6c;
  --docs-ink: #1c140d;
  --docs-copy: rgb(58 39 24 / 84%);
  --docs-muted: rgb(93 74 52 / 66%);
  --docs-line: rgb(20 17 13 / 24%);
  --docs-accent: #fff1ad;
  --docs-accent-strong: #fff7c6;
  --docs-media: #9d8054;
  background: var(--docs-bg);
}

.docs-case {
  --docs-title-gap: 34px;
  width: min(100% - 52px, 1120px);
  margin: 0 auto;
  padding: 44px 0 32px;
  color: var(--docs-copy);
  font-family: var(--mono);
}

.docs-case-hero {
  display: grid;
  min-height: calc(100vh - 96px);
  align-content: start;
}

.docs-case-intro {
  display: grid;
  grid-template-columns: var(--brand-case-sidebar) var(--brand-case-main);
  gap: var(--brand-case-column-gap);
  align-items: start;
}

.docs-case-meta {
  display: grid;
  gap: 26px;
  color: var(--docs-copy);
  font-size: 11px;
  line-height: 1.38;
}

.docs-case-meta h2,
.docs-case-content h2,
.docs-case-content h3 {
  margin: 0;
  color: var(--docs-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

.docs-case-meta p,
.docs-case-content p {
  margin: 0;
}

.docs-case-result {
  display: grid;
  gap: 16px;
}

.docs-case-result p {
  display: grid;
  gap: 2px;
}

.docs-case-result strong {
  color: var(--docs-accent);
  font-size: 18px;
  font-weight: 500;
}

.docs-case-result span {
  color: var(--docs-muted);
}

.docs-case-headline {
  display: grid;
  gap: var(--brand-case-title-gap);
}

.docs-case-identity {
  margin: 0;
  color: var(--docs-copy);
  font-size: clamp(13px, 1.4vw, 18px);
  line-height: 1.22;
}

.docs-case-statement {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--docs-ink);
  font-family: var(--sans);
  max-width: none;
  font-size: var(--brand-case-title-size);
  font-weight: var(--brand-case-title-weight);
  letter-spacing: 0;
  line-height: var(--brand-case-title-line-height);
}

.docs-case-statement span {
  display: block;
}

.docs-case-kv {
  display: grid;
  width: min(58%, 640px, 62vh);
  aspect-ratio: 16 / 9;
  margin: clamp(28px, 5vh, 52px) 0 0 calc((100% - 84px) * 0.32 + 84px);
  overflow: hidden;
  background: transparent;
}

.docs-case-kv-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), var(--docs-line) 0 calc(50% + 1px), transparent 0),
    linear-gradient(0deg, transparent calc(50% - 1px), var(--docs-line) 0 calc(50% + 1px), transparent 0);
}

.docs-case-kv img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.docs-case-video-poster {
  position: relative;
  width: min(54%, 580px, 56vh);
  aspect-ratio: auto;
  margin-top: clamp(-220px, -27vh, -150px);
  overflow: visible;
}

.docs-case-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.docs-case-play {
  position: absolute;
  top: 63%;
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(255 241 173 / 70%);
  border-radius: 50%;
  background: rgb(28 20 13 / 28%);
  color: var(--docs-accent);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.docs-case-play::before {
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentcolor;
  content: "";
}

.docs-case-play:hover,
.docs-case-play:focus-visible {
  background: rgb(28 20 13 / 38%);
  transform: translate(-50%, -50%) scale(1.04);
}

.docs-case-content {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 96px);
  padding-top: clamp(64px, 10vh, 112px);
  padding-bottom: 0;
}

.docs-case-content > .docs-case-eyebrow {
  margin: 0 0 var(--docs-title-gap);
  color: var(--docs-accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.docs-case-content > .docs-case-eyebrow,
.docs-case-content > h2,
.docs-case-content-grid {
  transform: translateY(56px);
}

.docs-case-content > h2 {
  display: grid;
  gap: 0;
  color: var(--docs-ink);
  font-family: var(--sans);
  font-size: clamp(28px, 3.9vw, 56px);
  line-height: 1.15;
  text-transform: none;
}

.docs-case-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-top: clamp(108px, 18vh, 190px);
  margin-bottom: clamp(88px, 14vh, 144px);
  align-items: start;
}

.docs-case-content article {
  display: grid;
  grid-auto-rows: max-content;
  align-content: start;
  align-self: start;
  gap: 12px;
  color: var(--docs-copy);
  font-size: 13px;
  line-height: 1.56;
}

.docs-case-content article h3 {
  display: grid;
  gap: 4px;
  margin-bottom: 28px;
  color: var(--docs-ink);
}

.docs-case-content article h3 span {
  color: var(--docs-accent);
  font-size: 10px;
  line-height: 1.2;
}

.docs-case-content article h3 strong {
  color: var(--docs-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.docs-case-content article h3 em {
  color: var(--docs-ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.34;
}

.docs-case-video-link {
  justify-self: start;
  margin-top: 22px;
  margin-bottom: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--docs-accent);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
}

.docs-case-video-link:hover,
.docs-case-video-link:focus-visible {
  color: var(--docs-accent-strong);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.docs-case:not(.docs-case-b, .docs-case-c) .docs-case-content {
  min-height: calc(100vh + 96px);
}

.docs-case-page:not(.docs-case-page-b, .docs-case-page-c) {
  background: linear-gradient(to right, #302113 0%, #967b57 100%);
}

.docs-case:not(.docs-case-b, .docs-case-c) .docs-case-hero .docs-case-meta {
  color: rgb(223 202 166 / 76%);
}

.docs-case:not(.docs-case-b, .docs-case-c) .docs-case-hero .docs-case-meta h2 {
  color: rgb(221 205 177 / 76%);
}

.docs-case:not(.docs-case-b, .docs-case-c) .docs-case-hero .docs-case-meta p {
  color: rgb(221 205 177 / 76%);
}

.docs-case:not(.docs-case-b, .docs-case-c) .docs-case-hero .docs-case-result strong {
  color: var(--docs-accent);
}

.docs-case:not(.docs-case-b, .docs-case-c) .docs-case-hero .docs-case-result span {
  color: rgb(221 205 177 / 76%);
}

.docs-case:not(.docs-case-b, .docs-case-c) .docs-case-identity,
.docs-case:not(.docs-case-b, .docs-case-c) .docs-case-content h2,
.docs-case:not(.docs-case-b, .docs-case-c) .docs-case-content article h3 strong,
.docs-case:not(.docs-case-b, .docs-case-c) .docs-case-content article h3 em,
.docs-case:not(.docs-case-b, .docs-case-c) .docs-case-content p {
  color: rgb(236 216 181 / 86%);
}

.docs-case:not(.docs-case-b, .docs-case-c) .docs-case-content > .docs-case-eyebrow,
.docs-case:not(.docs-case-b, .docs-case-c) .docs-case-content article h3 span {
  color: var(--docs-accent);
}

.docs-case:not(.docs-case-b, .docs-case-c) .docs-case-footer {
  color: rgb(221 205 177 / 64%);
}

.docs-case:not(.docs-case-b, .docs-case-c) .docs-case-content > .docs-case-eyebrow,
.docs-case:not(.docs-case-b, .docs-case-c) .docs-case-content > h2,
.docs-case:not(.docs-case-b, .docs-case-c) .docs-case-content > .docs-case-content-grid {
  transform: translateY(calc(72px + 11vh));
}

.docs-case-footer {
  margin-top: auto;
  border-top: 1px solid var(--docs-line);
  color: var(--docs-muted);
}

.docs-case-b .docs-case-hero {
  position: relative;
  min-height: calc(100vh - 96px);
  overflow: hidden;
}

.ellemen-case-page {
  --ellemen-bg: #f0efec;
  --ellemen-ink: #101010;
  --ellemen-copy: rgb(16 16 16 / 72%);
  --ellemen-muted: rgb(16 16 16 / 48%);
  --ellemen-line: rgb(16 16 16 / 18%);
  --ellemen-red: #c93b3d;
  background: var(--ellemen-bg);
}

.ellemen-case {
  width: min(100% - 52px, 1120px);
  margin: 0 auto;
  padding: 44px 0 32px;
  color: var(--ellemen-copy);
  font-family: var(--mono);
}

.ellemen-case-hero {
  display: grid;
  grid-template-columns: var(--brand-case-sidebar) var(--brand-case-main);
  grid-template-rows: auto 1fr;
  gap: 30px var(--brand-case-column-gap);
  min-height: calc(100vh - 96px);
  align-content: start;
}

.ellemen-case-topline {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--ellemen-muted);
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.ellemen-case-topline p,
.ellemen-case-meta p,
.ellemen-case-hero-copy p,
.ellemen-case-report-head p,
.ellemen-case-method-copy p,
.ellemen-case-data p {
  margin: 0;
}

.ellemen-case-meta {
  align-content: start;
}

.ellemen-case-hero-copy p,
.ellemen-case-report-head p:first-child,
.ellemen-case-method-copy p:first-child {
  margin: 0 0 8px;
  color: var(--ellemen-muted);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}

.ellemen-case-result {
  gap: 16px;
}

.ellemen-case-result strong {
  color: var(--ellemen-red);
  font-size: 16px;
  font-weight: 400;
}

.ellemen-case-data p {
  display: grid;
  gap: 2px;
}

.ellemen-case-data strong {
  color: var(--ellemen-red);
  font-family: var(--sans);
  font-size: clamp(28px, 4.6vw, 66px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.92;
}

.ellemen-case-data span {
  color: var(--ellemen-copy);
  font-size: 12px;
}

.ellemen-case-hero-copy {
  position: relative;
  z-index: 1;
  grid-column: 2;
  width: 100%;
}

.ellemen-case-hero-copy .ellemen-case-identity {
  margin: 0 0 var(--brand-case-title-gap);
  color: var(--ellemen-copy);
  font-size: clamp(13px, 1.4vw, 18px);
  line-height: 1.22;
  text-transform: none;
}

.ellemen-case-hero-copy h1,
.ellemen-case-report-head h2,
.ellemen-case-method-copy h2 {
  margin: 0;
  color: var(--ellemen-ink);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.02;
}

.ellemen-case-hero-copy h1 {
  max-width: none;
  font-size: var(--brand-case-title-size);
  font-weight: var(--brand-case-title-weight);
  line-height: var(--brand-case-title-line-height);
}

.ellemen-case-hero-copy h1 span,
.ellemen-case-report-head h2 span {
  display: block;
}

.ellemen-case-hero-copy h1 span:first-child {
  white-space: nowrap;
}

.ellemen-case-hero-copy h1 em {
  color: var(--ellemen-red);
  font-style: normal;
}

.ellemen-case-report-head h2 em {
  color: var(--ellemen-red);
  font-style: normal;
}

.ellemen-case-hero-visual {
  grid-column: 2;
  display: grid;
  width: 100%;
  aspect-ratio: 1.72 / 1;
  margin: -18px 0 0;
  overflow: hidden;
  background: #e8e3dc;
}

.ellemen-case-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ellemen-case-report {
  display: grid;
  gap: clamp(34px, 5vh, 62px);
  min-height: calc(100vh - 96px);
  padding-top: clamp(58px, 8vh, 96px);
}

.ellemen-case-report-head {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(240px, 0.42fr);
  gap: 44px;
  align-items: end;
}

.ellemen-case-report-head h2 {
  grid-column: 1;
  font-size: clamp(28px, 3.7vw, 54px);
}

.ellemen-case-report-head p:not(:first-child) {
  grid-column: 2;
  color: var(--ellemen-copy);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.ellemen-case-image-board {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.ellemen-case-trend {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 8px;
  min-height: 0;
  margin: 0;
  align-content: start;
  overflow: hidden;
  background: transparent;
}

.ellemen-case-trend-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f3f3f2;
}

.ellemen-case-trend::before {
  content: none;
}

.ellemen-case-trend-image::before {
  content: none;
}

.ellemen-case-trend img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
  transform-origin: center top;
}

.ellemen-case-trend-01 img {
  object-position: center top;
}

.ellemen-case-trend-02 img {
  object-position: center top;
  transform: none;
}

.ellemen-case-trend-03 img {
  object-position: center 14%;
}

.ellemen-case-trend-04 img {
  object-position: center top;
}

.ellemen-case-trend-05 img {
  object-position: center top;
  transform: none;
}

.ellemen-case-trend-07 img {
  object-position: center 3%;
  transform: scale(1.08);
  transform-origin: 50% 5%;
}

.ellemen-case-trend-06 img {
  object-position: center 15%;
  transform: scale(1.24);
  transform-origin: 50% 11%;
}

.ellemen-case-trend-image::after {
  content: none;
}

.ellemen-case-trend-large {
  grid-column: auto;
}

.ellemen-case-trend figcaption {
  padding: 0;
  color: var(--ellemen-ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.18;
  text-align: left;
}

.ellemen-case-method {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr auto;
  grid-template-areas:
    "method"
    "video"
    "data"
    "."
    "footer";
  gap: clamp(34px, 5vh, 62px);
  min-height: calc(100vh - 96px);
  padding-top: clamp(70px, 10vh, 124px);
}

.ellemen-case-method-copy {
  grid-area: method;
  display: grid;
  gap: 14px;
  align-content: start;
  width: 100%;
  margin: 0;
}

.ellemen-case-method-copy h2 {
  font-size: clamp(24px, 2.8vw, 42px);
}

.ellemen-case-method-copy p:not(:first-child) {
  color: var(--ellemen-copy);
  font-size: 13px;
  line-height: 1.58;
}

.ellemen-case-data {
  grid-area: data;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  gap: 0;
  align-content: start;
  align-items: start;
}

.ellemen-case-data p {
  justify-items: center;
  padding: 0;
  text-align: center;
}

.ellemen-case-data::before,
.ellemen-case-data::after {
  position: absolute;
  top: 50%;
  width: 1px;
  height: clamp(55px, 6vh, 70px);
  background: var(--ellemen-line);
  content: "";
  transform: translateY(-50%);
  pointer-events: none;
}

.ellemen-case-data::before {
  left: 33.333%;
}

.ellemen-case-data::after {
  left: 66.666%;
}

.ellemen-case-video-poster {
  grid-area: video;
  position: relative;
  display: grid;
  width: min(74%, 860px);
  max-width: none;
  justify-self: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgb(16 16 16 / 8%), rgb(16 16 16 / 48%)),
    linear-gradient(135deg, #d8d3ca, #f2f0ec);
}

.ellemen-case-video {
  display: block;
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.ellemen-case-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 50%;
  background: rgb(16 16 16 / 28%);
  color: #fff;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.ellemen-case-play::before {
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentcolor;
  content: "";
}

.ellemen-case-play:hover,
.ellemen-case-play:focus-visible {
  background: rgb(16 16 16 / 40%);
  transform: translate(-50%, -50%) scale(1.04);
}

.ellemen-case-footer {
  --docs-line: var(--ellemen-line);
  --docs-muted: var(--ellemen-muted);
  grid-area: footer;
  grid-column: 1 / -1;
  align-self: end;
}

.docs-case-page-b {
  background:
    radial-gradient(circle at 82% 54%, rgb(99 72 43 / 28%), transparent 34%),
    linear-gradient(105deg, rgb(196 166 114 / 82%) 0%, rgb(183 155 108 / 78%) 48%, rgb(137 103 64 / 68%) 100%),
    linear-gradient(rgb(183 155 108 / 68%), rgb(183 155 108 / 68%)),
    url("jishanchuan-documents-texture.png") center / cover fixed;
}

.docs-case-b .docs-case-b-intro {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(150px, 0.32fr) minmax(520px, 0.68fr);
}

.docs-case-b .docs-case-b-headline {
  grid-column: 2;
  width: min(620px, 58vw);
  margin-top: clamp(88px, 16vh, 156px);
}

.docs-case-b .docs-case-b-headline .docs-case-statement {
  font-size: clamp(34px, 4.8vw, 68px);
}

.docs-case-b .docs-case-kv {
  width: min(58%, 620px, 72vh);
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: visible;
}

.docs-case-b .docs-case-b-portrait {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  transform: translateX(5%);
}

.docs-case-b .docs-case-b-portrait img {
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%, #000 100%),
    linear-gradient(0deg, transparent 0%, #000 8%, #000 100%);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%, #000 100%),
    linear-gradient(0deg, transparent 0%, #000 8%, #000 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.docs-case-b .docs-case-b-portrait img,
.docs-case-b .docs-case-b-video-poster img,
.docs-case-b .docs-case-b-video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.docs-case-b .docs-case-content > .docs-case-eyebrow,
.docs-case-b .docs-case-content > h2,
.docs-case-b .docs-case-content-grid {
  transform: none;
}

.docs-case-b .docs-case-content-grid {
  grid-template-columns: minmax(0, 0.64fr) minmax(260px, 0.36fr);
  gap: 72px;
  margin-top: clamp(74px, 12vh, 132px);
  margin-bottom: clamp(64px, 10vh, 112px);
}

.docs-case-b .docs-case-b-story {
  display: grid;
  gap: 54px;
  align-content: start;
}

.docs-case-b .docs-case-b-idea {
  max-width: 660px;
}

.docs-case-b .docs-case-b-lower {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr);
  gap: 48px;
}

.docs-case-b .docs-case-b-result p:first-of-type {
  color: var(--docs-accent);
  font-size: 15px;
  line-height: 1.45;
}

.docs-case-b .docs-case-b-video-poster {
  position: relative;
  align-self: start;
  display: grid;
  width: min(24vw, 360px);
  margin: 0;
  justify-self: end;
}

.docs-case-b .docs-case-b-video-poster img,
.docs-case-b .docs-case-b-video-poster video {
  grid-area: 1 / 1;
}

.docs-case-b .docs-case-b-play {
  position: absolute;
  top: 63%;
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(255 241 173 / 70%);
  border-radius: 50%;
  background: rgb(28 20 13 / 28%);
  color: var(--docs-accent);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.docs-case-b .docs-case-b-play::before {
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentcolor;
  content: "";
}

.docs-case-b .docs-case-b-play:hover,
.docs-case-b .docs-case-b-play:focus-visible {
  background: rgb(28 20 13 / 38%);
  transform: translate(-50%, -50%) scale(1.04);
}

.docs-case-page-c {
  --docs-bg: #967b57;
  --docs-ink: #201711;
  --docs-copy: rgb(52 38 28 / 86%);
  --docs-muted: rgb(75 60 45 / 68%);
  background: #967b57;
}

.docs-case-c .docs-case-hero {
  position: relative;
  z-index: 0;
  grid-template-columns: 0.2fr minmax(0, 0.8fr);
  column-gap: clamp(24px, 2.5vw, 40px);
  min-height: calc(100vh - 96px);
  overflow: visible;
}

.docs-case-c .docs-case-content {
  position: relative;
  z-index: 0;
}

.docs-case-c .docs-case-hero::before,
.docs-case-c .docs-case-content::before {
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  background: linear-gradient(135deg, #3f291b 0%, #6b4a32 32%, #8b6848 62%, #b09268 100%);
  content: "";
  transform: translateX(-50%);
}

.docs-case-c .docs-case-hero::before {
  top: -44px;
}

.docs-case-c .docs-case-c-intro {
  display: contents;
}

.docs-case-c .docs-case-c-headline {
  grid-column: 2;
  width: 100%;
  max-width: 460px;
  margin-top: clamp(92px, 17vh, 164px);
}

.docs-case-c .docs-case-c-headline .docs-case-statement {
  font-size: clamp(34px, 4.2vw, 60px);
}

.docs-case-c .docs-case-c-portrait {
  position: static;
  grid-column: 2;
  align-self: start;
  justify-self: start;
  width: 100%;
  max-width: 390px;
  height: auto;
  margin: clamp(28px, 5vh, 52px) 0 0;
  transform: none;
}

.docs-case-c .docs-case-c-portrait img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.docs-case-c .docs-case-content > .docs-case-eyebrow,
.docs-case-c .docs-case-content > h2,
.docs-case-c .docs-case-content-grid {
  transform: none;
}

.docs-case-c .docs-case-c-content-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 30%);
  gap: clamp(32px, 3vw, 56px);
}

.docs-case-c .docs-case-c-story {
  display: grid;
  gap: 54px;
  align-content: start;
}

.docs-case-c .docs-case-c-idea {
  max-width: 660px;
}

.docs-case-c .docs-case-c-lower {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.docs-case-c .docs-case-c-result p:first-of-type {
  color: var(--docs-accent);
  font-size: 15px;
  line-height: 1.45;
}

.docs-case-c .docs-case-c-video-poster {
  position: relative;
  align-self: start;
  display: grid;
  width: 100%;
  max-width: 390px;
  margin: 0;
  justify-self: end;
}

.docs-case-c .docs-case-c-video {
  display: block;
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.docs-case-c .docs-case-c-play {
  position: absolute;
  top: 63%;
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(255 241 173 / 70%);
  border-radius: 50%;
  background: rgb(28 20 13 / 28%);
  color: var(--docs-accent);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.docs-case-c .docs-case-c-play::before {
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentcolor;
  content: "";
}

.docs-case-c .docs-case-c-play:hover,
.docs-case-c .docs-case-c-play:focus-visible {
  background: rgb(28 20 13 / 38%);
  transform: translate(-50%, -50%) scale(1.04);
}

.loong-video-viewer[hidden] {
  display: none;
}

.loong-video-viewer {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: grid;
  place-items: center;
  padding: 5vh 5vw;
}

.loong-video-viewer-backdrop {
  position: fixed;
  inset: 0;
  background: rgb(36 6 4 / 62%);
}

.loong-video-viewer-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(78vw, 980px);
  gap: 12px;
  color: var(--loong-copy);
  font-family: var(--mono);
}

.loong-video-viewer-panel p {
  margin: 0;
  color: var(--loong-muted);
  font-size: 11px;
  line-height: 1.25;
  text-transform: uppercase;
}

.loong-video-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #000;
}

.loong-video-close {
  position: absolute;
  top: -34px;
  right: -8px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--loong-ink);
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.loong-video-close:hover,
.loong-video-close:focus-visible {
  color: var(--loong-link-strong);
}

.project-card {
  display: grid;
  min-height: 220px;
  align-content: space-between;
  padding: 18px;
  background: var(--card-bg);
  transition: background 160ms ease;
}

.project-card:hover {
  background: var(--card-hover);
}

.project-card span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

.project-card strong {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(1);
}

.project-card-featured {
  gap: 18px;
}

.contact-panel {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.case-meta {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
  color: var(--muted);
}

.case-placeholder {
  min-height: 54vw;
  max-height: 620px;
  background: var(--panel);
}

.case-study {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 96px 0 120px;
}

.case-study-compact {
  width: min(1180px, calc(100% - 56px));
  padding: 54px 0 84px;
}

.case-file {
  width: min(1160px, calc(100% - 56px));
  margin: 0 auto;
  padding: 22px 0 72px;
}

.file-head {
  display: grid;
  grid-template-columns: minmax(96px, 0.55fr) minmax(260px, 1.15fr) minmax(220px, 0.8fr);
  gap: 72px;
  align-items: start;
  min-height: 156px;
  border-top: 1px solid var(--line);
  padding: 14px 0 44px;
}

.file-head .case-title-block h1 {
  max-width: 390px;
  font-size: clamp(22px, 2.35vw, 30px);
  line-height: 1.12;
}

.file-head .case-title-block p {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
}

.file-image {
  margin: 0;
  background: var(--panel);
  overflow: hidden;
}

.file-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.file-product-section,
.file-story-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(420px, 1fr);
  gap: 76px;
  align-items: start;
}

.file-product-section {
  margin-bottom: 118px;
}

.file-bottle {
  display: grid;
  width: min(100%, 430px);
  height: 470px;
  padding: 34px;
  place-items: center;
  background: var(--media-bg);
}

.file-bottle img {
  width: auto;
  max-width: 70%;
  height: 390px;
  object-fit: contain;
}

.file-product-info {
  display: grid;
  grid-template-columns: minmax(120px, 0.36fr) minmax(0, 0.64fr);
  align-content: start;
  gap: 34px 46px;
  min-width: 0;
}

.file-texture {
  width: 160px;
  max-width: 100%;
  height: 118px;
}

.file-texture img,
.file-model img {
  object-fit: cover;
}

.file-product-title {
  margin-bottom: 54px;
}

.file-product-title p,
.file-copy h2,
.file-challenge-result h3 {
  margin: 0 0 8px;
  color: var(--label);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
}

.file-product-title h2 {
  max-width: 320px;
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.file-challenge-result {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.62fr) minmax(140px, 0.38fr);
  gap: 46px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.file-challenge-result p,
.file-copy p {
  margin: 0 0 8px;
  color: var(--copy);
  font-size: 12px;
  line-height: 1.48;
}

.file-story-section {
  margin-bottom: 40px;
}

.file-copy {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.file-copy article {
  max-width: 520px;
}

.file-model {
  align-self: start;
  justify-self: end;
  width: min(100%, 440px);
  height: 610px;
  background: var(--media-bg);
}

.file-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 32px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
}

.file-flow span {
  min-height: 42px;
  padding: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-archive-head {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 34px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.case-index {
  display: grid;
  gap: 4px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.35;
}

.case-title-block h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 400;
  line-height: 1;
}

.case-title-block p {
  margin: 16px 0 0;
  font-size: 20px;
  line-height: 1.5;
}

.case-hero {
  display: grid;
  gap: 36px;
  margin-bottom: 56px;
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 64px;
  align-items: end;
}

.case-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(48px, 8vw, 116px);
  font-weight: 400;
  line-height: 0.95;
}

.case-subtitle {
  margin: 22px 0 0;
  color: var(--body-copy);
  font-size: 18px;
  line-height: 1.6;
}

.case-role {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.case-role dt,
.case-role dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
}

.case-role dt {
  margin-bottom: 10px;
  color: var(--muted);
}

.case-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 72px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
}

.case-flow-compact {
  margin: 28px 0 42px;
}

.case-flow-compact span {
  min-height: 56px;
}

.case-dossier-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.52fr);
  grid-template-rows: 1fr 0.46fr;
  gap: 16px;
}

.case-dossier-grid figure {
  margin: 0;
}

.case-dossier-grid .case-visual {
  margin: 0;
}

.case-visual-main {
  min-height: 520px;
  grid-row: span 2;
  background: var(--media-bg);
}

.case-visual-main img {
  object-fit: contain;
  object-position: center bottom;
}

.case-visual-bottle {
  min-height: 390px;
  padding: 30px;
}

.case-visual-bottle img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.case-visual-detail {
  min-height: 180px;
}

.case-dossier-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--line);
}

.case-section-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 28px;
  align-content: start;
  min-height: 360px;
  padding: 22px;
  background: var(--bg);
}

.case-section-card-wide {
  grid-column: span 2;
  min-height: auto;
}

.case-copy-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.case-flow span {
  display: grid;
  min-height: 82px;
  align-items: center;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 0.65fr);
  gap: 72px;
  margin: 88px 0;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.case-section-large {
  margin: 112px 0;
}

.case-section-title h2 {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
}

.case-copy {
  display: grid;
  gap: 22px;
}

.case-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--copy);
  font-size: 18px;
  line-height: 1.72;
}

.case-copy .case-emphasis {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.42;
}

.case-big-line {
  font-size: clamp(24px, 3vw, 36px) !important;
  line-height: 1.18 !important;
}

.case-product-name {
  font-family: var(--mono);
  font-size: clamp(30px, 4vw, 48px) !important;
  line-height: 1.05 !important;
  text-transform: uppercase;
}

.case-chain {
  display: grid;
  gap: 1px;
  max-width: 640px;
  margin: 6px 0;
  padding: 0;
  background: var(--line);
  list-style: none;
}

.case-chain li {
  padding: 14px 16px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 13px;
}

.case-chain li::after {
  float: right;
  color: var(--muted);
  content: "→";
}

.case-chain li:last-child::after {
  content: "";
}

.case-image,
.case-image-pair,
.case-visual,
.case-visual-pair {
  margin: 72px 0;
}

.case-image {
  display: grid;
  min-height: 420px;
  place-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, var(--archive-media-sheen), transparent 46%),
    var(--panel);
}

.case-image-wide {
  min-height: min(58vw, 720px);
}

.case-image span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.case-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.case-visual {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.case-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-visual-hero {
  min-height: min(72vw, 860px);
  background: var(--media-bg);
}

.case-visual-hero img {
  object-fit: contain;
  object-position: center bottom;
}

.case-visual-pair {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: 24px;
  align-items: stretch;
}

.case-visual-pair figure {
  margin: 0;
}

.case-visual-product {
  min-height: 720px;
  padding: 40px;
  background: var(--media-bg);
}

.case-visual-product img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.case-visual-texture {
  min-height: 720px;
}

.case-visual-wide {
  min-height: min(46vw, 560px);
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 18px 20px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .nav-item {
    width: auto;
  }

  .nav-works::after {
    display: none;
  }

  .mega-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: -48px;
    grid-template-columns: 1fr;
    gap: 22px;
    min-width: min(320px, calc(100vw - 40px));
    padding: 20px;
    border: 1px solid var(--line);
    background: var(--menu-bg);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.06);
  }

  .mega-menu h2 {
    padding-bottom: 8px;
  }

  .mega-menu a {
    grid-template-columns: 26px 1fr;
  }

  .home-stage {
    min-height: calc(100vh - 176px);
    padding: 24px 18px;
  }

  .archive-window {
    width: 100%;
    min-height: 68vh;
  }

  .hero-frame {
    width: 68vw;
    min-width: 0;
  }

  .site-footer {
    padding: 0 20px 20px;
    font-size: 12px;
  }

  .content-shell {
    width: calc(100% - 40px);
    padding: 64px 0;
  }

  .case-study {
    width: calc(100% - 40px);
    padding: 64px 0 88px;
  }

  .case-study-compact {
    width: calc(100% - 32px);
    padding: 38px 0 64px;
  }

  .case-file {
    width: calc(100% - 32px);
    padding: 18px 0 56px;
  }

  .file-head,
  .file-product-section,
  .file-story-section,
  .file-challenge-result {
    grid-template-columns: 1fr;
  }

  .file-head {
    gap: 14px;
    min-height: 0;
  }

  .file-bottle {
    height: auto;
    min-height: 420px;
  }

  .file-bottle img {
    height: 360px;
  }

  .file-copy {
    padding-top: 0;
  }

  .file-copy article {
    max-width: none;
  }

  .file-model {
    justify-self: stretch;
    width: 100%;
    height: 420px;
  }

  .file-product-title {
    margin-bottom: 28px;
  }

  .file-flow {
    grid-template-columns: 1fr 1fr;
  }

  .case-archive-head,
  .case-dossier-grid,
  .case-dossier-sections,
  .case-section-card,
  .case-copy-columns {
    grid-template-columns: 1fr;
  }

  .case-archive-head {
    gap: 18px;
  }

  .case-section-card-wide {
    grid-column: auto;
  }

  .case-section-card {
    min-height: auto;
  }

  .case-title-block p {
    font-size: 18px;
  }

  .case-hero-grid,
  .case-section,
  .case-image-pair,
  .case-visual-pair {
    grid-template-columns: 1fr;
  }

  .case-hero-grid,
  .case-section {
    gap: 28px;
  }

  .case-flow {
    grid-template-columns: 1fr 1fr;
  }

  .case-copy p {
    font-size: 17px;
  }

  .case-visual-main,
  .case-visual-bottle,
  .case-visual-detail {
    min-height: 320px;
  }

  .case-image {
    min-height: 320px;
  }

  .case-visual-hero,
  .case-visual-product,
  .case-visual-texture,
  .case-visual-wide {
    min-height: 360px;
  }

  .case-visual-product {
    padding: 28px;
  }

  .about-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .works-index {
    padding: 22px 16px 44px;
  }

  .works-index-head,
  .works-index-section,
  .works-index-grid,
  .works-index-grid-creative,
  .works-index-grid-lab {
    grid-template-columns: 1fr;
  }

  .works-index-head {
    gap: 18px;
    margin-bottom: 40px;
  }

  .works-index-section {
    gap: 16px;
  }

  .works-index-grid {
    gap: 28px;
  }

  .work-index-item-large,
  .work-index-item-wide {
    grid-column: auto;
  }

  .work-index-item strong {
    opacity: 1;
  }

  .about-editorial {
    width: calc(100% - 32px);
    min-height: 0;
    padding: 22px 0 48px;
  }

  .about-archive-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 28px;
    min-height: 0;
  }

  .about-links,
  .about-text,
  .about-contact,
  .about-experience,
  .about-awards,
  .about-portrait {
    grid-column: auto;
    grid-row: auto;
  }

  .about-text {
    max-width: none;
  }

  .about-portrait {
    width: min(220px, 62vw);
  }

  .about-cv {
    gap: 56px;
    margin-top: 72px;
  }

  .cv-entry {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cv-body {
    font-size: 15px;
  }

  .works-heading {
    align-items: start;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
