@scope (.growth-surface) {
:scope {
  --dark: #0b0b0d;
  --paper: #f3f3f1;
  --ink: #19191b;
  --muted: #57575a;
  --line: #d9d9d6;
  --red: #b51f34;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  color-scheme: dark;
  background: var(--dark);
}
* { box-sizing: border-box; }
html, body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
[hidden] { display: none !important; }
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 2px solid #82abdb; outline-offset: 4px; }

#growth-gallery {
  position: relative;
  min-height: max(680px, 100svh);
  padding: max(113px, 17svh) 0 72px;
  overflow: hidden;
  color: #f5f4f3;
  background:
    radial-gradient(ellipse 35% 43% at 30% 68%, #55434d30, transparent 97%),
    radial-gradient(ellipse 35% 45% at 72% 68%, #43516a35, transparent 98%),
    var(--dark);
}
.nav {
  position: absolute;
  z-index: 5;
  top: clamp(14px, 3.56svh, 32px);
  left: 50%;
  translate: -50%;
  width: min(602px, calc(100% - 28px));
  display: grid;
  grid-template-columns: 1.15fr 1.17fr 1.29fr .67fr;
  padding: 3px;
  border: 1px solid #ffffff24;
  border-radius: 28px;
  background: #181819db;
  text-align: center;
  color: #bcbabd;
  font-size: 14px;
  line-height: 17px;
}
.nav span { padding: 10px 3px; border-radius: 26px; white-space: nowrap; }
.nav [aria-current] { background: #eeedee; color: #171717; font-weight: 650; }
#growth-gallery > h1 {
  margin: 0 14px;
  font-size: min(146px, calc(100vw * 146 / 1440), calc(100svh * 146 / 900));
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -.063em;
  text-align: center;
  white-space: nowrap;
}
.folders {
  width: min(1090px, calc(100% - 10vw));
  margin: clamp(51px, 9.8svh, 89px) auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6.3vw, 90px);
}
.folder {
  --tone: #a692ac;
  --back-surface: linear-gradient(137deg, #55505d9c 0%, #323038b8 39%, #29282ed9 93%);
  --face-surface: linear-gradient(150deg,#43404ad4 0%,#2a2930df 43%,#18181ce8 97%);
  --edge: linear-gradient(135deg, #c9bfd661, #a1a2b038 57%, #fff2);
  --seam: #f1edf02c;
  position: relative;
  display: block;
  width: 100%;
  height: clamp(265px, 24.4vw, 350px);
  padding: 0;
  border: 0;
  border-radius: 31px;
  background: transparent;
  text-align: left;
  isolation: isolate;
}
.folder[data-case="cid"] {
  --tone: #96afd7;
  --back-surface: linear-gradient(137deg, #4a55699c 0%,#2c3342b8 41%,#252935d9 92%);
  --face-surface: linear-gradient(151deg,#3e4554cf 0%,#272c36e2 43%,#181a22ec 98%);
  --edge: linear-gradient(130deg, #c4d4ff60,#9ba7b73b 67%,#fff2);
}
.folder::before {
  content: "";
  position: absolute;
  inset: auto 1% -14% 1%;
  height: 29%;
  background: radial-gradient(ellipse, #0008, transparent 69%);
  pointer-events: none;
  filter: blur(15px);
}
.folder-back, .folder-front {
  position: absolute;
  inset: 0 0 5%;
  border-radius: 29px;
  pointer-events: none;
  clip-path: polygon(0 0, 38% 0, 46% 18%, 100% 18%, 100% 100%, 0 100%);
}
.folder-back {
  background: var(--edge);
  clip-path: shape(from 0 9%, curve to 6% 0 with 0 3% / 2% 0, line to 34% 0,
    curve to 41% 5% with 37% 0 / 39% 2%, line to 45% 12%,
    curve to 53% 18% with 47% 16% / 49% 18%, line to 94% 18%,
    curve to 100% 26% with 98% 18% / 100% 21%, line to 100% 100%, line to 0 100%, close);
}
.folder-back::after, .folder-front::after {
  content: "";
  position: absolute;
  inset: 1px;
  clip-path: inherit;
  border-radius: inherit;
  background: var(--back-surface);
}
.folder-front {
  z-index: 2;
  inset: 23% 0 0;
  background: var(--edge);
  clip-path: shape(from 0 12%, curve to 7% 0 with 0 4% / 3% 0, line to 35% 0,
    curve to 43% 7% with 39% 0 / 41% 3%, line to 48% 18%,
    curve to 58% 27% with 51% 24% / 53% 27%, line to 93% 27%,
    curve to 100% 40% with 98% 27% / 100% 31%, line to 100% 87%,
    curve to 92.5% 100% with 100% 95% / 97.5% 100%, line to 7% 100%,
    curve to 0 87% with 3% 100% / 0 96%, line to 0 12%, close);
  filter: drop-shadow(0 13px 20px #08080bf0);
}
.folder-front::after { background: var(--face-surface); backdrop-filter: blur(22px); }

.folder-previews {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.preview-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 34%;
  height: 64%;
  padding: clamp(4px, .44vw, 6px);
  border: 1px solid #fff9;
  border-radius: clamp(12px, 1.24vw, 17px);
  background: #f4f3f6;
  color: #272631;
  box-shadow: 0 8px 21px #0909144a;
  pointer-events: auto;
}
.preview-card:first-child { left: 6%; top: -9%; rotate: -12deg; }
.preview-card:nth-child(2) { left: 33%; top: -17%; height: 72%; z-index: 2; }
.preview-card:last-child { right: 7%; top: -5%; rotate: 13deg; }
.preview-label {
  flex: none;
  padding: 4px 5px 7px;
  font-size: clamp(9px, .9vw, 12px);
  font-weight: 650;
  white-space: nowrap;
}
.preview-card:last-child .preview-label { text-align: right; padding-right: 7px; }
.preview-body, .preview-image {
  flex: 1;
  min-height: 0;
  width: 100%;
  border-radius: clamp(8px, .9vw, 12px);
}
.preview-image { display: block; object-fit: cover; object-position: 50% 34%; }
.preview-body {
  display: block;
  padding: clamp(7px, .88vw, 12px);
  overflow: hidden;
  background: #eae8ee;
}
.folder[data-case="cid"] .preview-body { background: #e6edf6; color: #253748; }
.preview-script strong { display: block; margin-bottom: 5px; font-size: clamp(10px, 1.02vw, 14px); }
.preview-script > span, .preview-data > span { display: block; padding: 6px 0; border-top: 1px solid #292e3d20; }
.preview-body b, .preview-body span span { display: block; }
.preview-body span span { margin-top: 2px; font-size: clamp(8px, .76vw, 10px); line-height: 1.4; }
.preview-script b { font-size: clamp(9px, .86vw, 11px); }
.preview-data { text-align: right; }
.preview-data > span:first-child { border-top: 0; padding-top: 1px; }
.preview-data b { font-size: clamp(14px, 1.45vw, 21px); line-height: 1.12; letter-spacing: -.045em; white-space: nowrap; }

.folder-info {
  display: block;
  position: absolute;
  inset: 51% 7.7% auto;
  z-index: 3;
}
.folder-title {
  display: block;
  font-size: clamp(21px, 2.05vw, 30px);
  line-height: 1.13;
  font-weight: 680;
  letter-spacing: -.037em;
}
.folder-stat {
  display: flex;
  gap: 11px;
  align-items: baseline;
  margin-top: 17px;
  padding-top: 12px;
  border-top: 1px solid var(--seam);
}
.folder-stat b { font-size: clamp(27px, 2.75vw, 39px); line-height: 1.04; font-weight: 670; letter-spacing: -.06em; white-space: nowrap; }
.folder-stat span { font-size: 13px; color: #d0cdd5; line-height: 1.35; }
@media (hover: hover) {
  .folder:hover { --edge: linear-gradient(135deg, color-mix(in srgb, var(--tone) 83%, white), #fff4 62%, #fff3); }
}
.folder:focus-visible { outline-offset: 7px; }

.case-window {
  --case-gutter: clamp(22px, 3.25vw, 44px);
  position: fixed;
  inset: 0;
  width: min(1228px, calc(100vw - 2 * clamp(22px, 5.2vw, 82px)));
  height: min(820px, calc(100dvh - 2 * clamp(22px, 6vh, 64px)));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 1px solid #ffffffdf;
  border-radius: 27px;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
  overflow: hidden;
  box-shadow: 0 34px 100px #08050996, 0 5px 24px #0d0a0c4a;
}
.case-window[open] { display: flex; flex-direction: column; }
.case-window::backdrop { background: #1411167d; backdrop-filter: blur(5px); }
.detail-nav {
  flex: none;
  min-height: 53px;
  padding-inline: var(--case-gutter);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #f9f9f7;
}
.detail-nav button {
  min-height: 37px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 9px 2px 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 15px;
  color: #303032;
}
.detail-nav span { font: 26px/1 system-ui; margin-block-start: -3px; }
.case-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #b8b6b2 transparent;
}
.case-copy {
  padding: clamp(22px, 3.1vw, 38px) var(--case-gutter) 28px;
}
.case-copy h1 {
  margin-bottom: clamp(17px, 2vw, 26px);
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.15;
  letter-spacing: -.045em;
  font-weight: 710;
}
.case-copy h1:focus { outline: none; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, .91fr)) minmax(0, 1.9fr);
  align-items: stretch;
  gap: clamp(10px, 1.15vw, 18px);
}
.case-window[data-case="cid"] .case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.72fr);
}
.case-card {
  min-width: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 0 #17172008, 0 5px 17px #24262d09;
}
.film {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  align-self: start;
  padding: 13px 11px 11px;
}
.film figcaption {
  align-self: stretch;
  padding-inline: 3px;
  font-size: clamp(13px, 1.17vw, 17px);
  line-height: 1.43;
  font-weight: 650;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  background: #e8e7e3;
}
.screen video, .screen-hit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.screen video { display: block; object-fit: contain; }
.screen-hit { padding: 0; background: transparent; border: 0; }
.screen-hit span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #ffffff68;
  border-radius: 50%;
  background: #1b1b22a8;
  backdrop-filter: blur(8px);
  transition: background .16s, scale .16s;
}
.screen-hit span::after {
  content: "";
  margin-left: 2px;
  border-block: 5px solid transparent;
  border-left: 8px solid white;
}
.screen-hit:hover span, .screen-hit:focus-visible span { background: #161619da; scale: 1.09; }
.media-error {
  position: absolute;
  inset: auto 8px 8px;
  padding: 8px;
  border-radius: 7px;
  font-size: 13px;
  color: white;
  background: #222e;
  text-align: center;
  pointer-events: none;
}
.case-notes {
  align-self: start;
  padding: clamp(14px, 1.5vw, 21px);
}
.case-notes h2 {
  margin-bottom: 9px;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.24;
  letter-spacing: -.045em;
  font-weight: 680;
}
.case-note {
  padding: 11px 0;
  border-bottom: 1px solid #e9e8e5;
}
.case-note h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 9px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 670;
}
.case-note h3 span { color: var(--red); white-space: nowrap; }
.case-note p {
  margin-top: 4px;
  color: #515154;
  font-size: 13px;
  line-height: 1.6;
  line-break: strict;
}
.documents { margin-top: 12px; }
.documents h3 { margin-bottom: 6px; font-size: 13px; font-weight: 650; }
.excerpt-thumb {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 35px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 3px 4px;
  margin-top: 6px;
  border: 1px solid #e8e8e5;
  border-radius: 999px;
  background: #efefec;
  box-shadow: inset 0 1px 3px #2020270a;
}
.excerpt-face {
  display: grid;
  grid-template-columns: 41px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 3px 9px 3px 6px;
  border-radius: 999px;
  background: linear-gradient(#fff 45%, #f9f9f7);
  box-shadow: 0 2px 5px #25242819;
}
.excerpt-thumb:hover { background: #e8e8e5; }
.excerpt-face img {
  width: 41px;
  height: 27px;
  object-fit: cover;
  object-position: left top;
  border-radius: 7px;
  background: white;
}
.excerpt-thumb strong, .excerpt-thumb small { display: block; font-size: 12px; line-height: 1.3; }
.excerpt-thumb small { color: var(--muted); margin-top: 2px; }
.excerpt-arrow { color: #373739; text-align: center; font: 19px/1 system-ui; }
.excerpt-window {
  width: min(860px, calc(100% - 40px));
  max-height: 88dvh;
  color: var(--ink);
  background: #f6f6f3;
  color-scheme: light;
  border: 0;
  padding: 0;
  border-radius: 17px;
  overflow: hidden;
  box-shadow: 0 28px 80px #0805096b;
}
.excerpt-window[open] { display: flex; flex-direction: column; }
.excerpt-window.excerpt-wide { width: min(1080px, calc(100% - 32px)); }
.excerpt-window::backdrop { background: #17151d88; backdrop-filter: blur(3px); }
.excerpt-header {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px 10px 20px;
  border-bottom: 1px solid var(--line);
}
.excerpt-header h2 { font-size: clamp(15px, 2.3vw, 19px); }
.excerpt-header button {
  width: 37px;
  height: 37px;
  border: 0;
  border-radius: 50%;
  background: #e8e8e4;
  font: 25px/1 system-ui;
}
.excerpt-pages { overflow: auto; padding: 16px; overscroll-behavior: contain; }
.excerpt-pages figure + figure { margin-top: 18px; }
.excerpt-pages img { display: block; width: 100%; height: auto; border-radius: 6px; }
.excerpt-pages figcaption { margin-top: 7px; font-size: 12px; color: var(--muted); }

.metrics {
  position: relative;
  flex: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  align-items: start;
  padding: 15px var(--case-gutter) 15px;
  border-top: 1px solid var(--line);
  background: #f9f9f7;
}
.metrics > div {
  display: flex;
  flex-direction: column-reverse;
  padding: 0 12px 0 0;
}
.metrics > div + div { border-left: 1px solid var(--line); padding-left: clamp(10px, 1.65vw, 23px); }
.metrics dd {
  color: var(--red);
  font-size: clamp(22px, 2.75vw, 37px);
  font-weight: 680;
  line-height: 1.1;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.metrics dt { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.35; }
@media (min-width: 911px) {
  .case-window[data-case="cid"] .case-note { padding-block: 9px; }
}
@media (max-width: 910px) {
  .case-window[data-case="mcn"] .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-window[data-case="cid"] .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case-notes { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
  .folder { height: clamp(248px, 35vw, 295px); }
  .folder-stat { flex-wrap: wrap; gap: 5px 9px; margin-top: 13px; }
}
@media (max-width: 680px) {
  #growth-gallery { min-height: 100svh; padding: 106px 0 56px; }
  #growth-gallery > h1 { font-size: min(9.8vw, 65px); }
  .nav { max-width: 420px; font-size: clamp(10px, 2.75vw, 13px); }
  .nav span { padding: 8px 2px; }
  .folders { width: min(431px, calc(100% - 42px)); grid-template-columns: 1fr; gap: 77px; margin-top: 86px; }
  .folder { height: clamp(205px, 64vw, 294px); }
  .case-window {
    --case-gutter: clamp(13px, 4vw, 22px);
    width: calc(100% - 24px);
    height: calc(100dvh - 30px);
    border-radius: 20px;
  }
  .detail-nav { min-height: 45px; }
  .case-copy { padding-top: 21px; }
  .film { padding: 8px 6px 6px; gap: 5px; border-radius: 12px; }
  .film figcaption { padding: 0 2px; font-size: clamp(11px, 3.25vw, 15px); }
  .case-window[data-case="cid"] .film figcaption { min-height: 2.86em; }
  .screen { border-radius: 8px; }
  .screen-hit span { left: 6px; bottom: 6px; width: 24px; height: 24px; }
  .screen-hit span::after { border-block-width: 4px; border-left-width: 6px; }
  .metrics { padding-top: 10px; padding-bottom: 11px; }
  .metrics > div { padding-right: 5px; }
  .metrics > div + div { padding-left: 7px; }
  .metrics dd { font-size: clamp(16px, 5.25vw, 24px); }
  .metrics dt { font-size: clamp(9px, 2.7vw, 12px); }
  .excerpt-pages { padding: 10px; }
  .excerpt-wide .excerpt-pages img { min-width: 850px; }
}
@media (prefers-reduced-motion: reduce) {
  .screen-hit span { transition: none; }
}

}
