:root {
  --ink: #111318;
  --paper: #f5f4ef;
  --surface: #ffffff;
  --muted: #686c74;
  --line: #d9d8d1;
  --soft: #e9e8e2;
  --accent: #2457ff;
  --accent-dark: #1738a8;
  --max: 1360px;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(20px, 4vw, 64px);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.05; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}
.brand-text { font-weight: 800; }
.brand-text small { font-size: 9px; letter-spacing: .15em; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav > a, .nav-dropdown-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 0;
  text-decoration: none;
  border-radius: 999px;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease;
}
.site-nav > a:hover, .site-nav > a.active,
.nav-dropdown-toggle:hover, .nav-dropdown-toggle.active,
.nav-dropdown.open .nav-dropdown-toggle { color: #fff; background: var(--ink); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { gap: 7px; }
.nav-dropdown-toggle svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 40px));
  max-height: min(70vh, 520px);
  overflow-y: auto;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 60px rgba(17, 18, 22, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  min-height: 48px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { color: var(--ink); background: var(--paper); }
.project-nav-no { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.project-nav-title { overflow-wrap: anywhere; font-size: 13px; font-weight: 700; line-height: 1.35; }
.menu-button { display: none; border: 0; background: none; min-width: 48px; min-height: 48px; cursor: pointer; }
.menu-button svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.section-shell { width: min(var(--max), calc(100% - clamp(40px, 8vw, 128px))); margin-inline: auto; }
.hero { padding-block: clamp(64px, 9vw, 136px) 56px; }
.hero-kicker, .section-index, .eyebrow, .card-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-kicker { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .65fr); gap: clamp(48px, 7vw, 112px); padding-top: 40px; }
.eyebrow, .section-index, .card-label { color: var(--accent); }
.hero h1, .section-heading h2, .contact-section h2 {
  margin: 0;
  letter-spacing: -.055em;
  line-height: 1.02;
  font-weight: 800;
}
.hero h1 { max-width: 920px; font-size: clamp(48px, 7vw, 104px); }
.hero-summary { max-width: 680px; margin: 32px 0 0; color: #393c43; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 200ms var(--ease), background 200ms ease, color 200ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: var(--accent); }
.button-light { border: 1px solid var(--line); background: rgba(255,255,255,.5); }
.button-light:hover { background: #fff; }
.hero-panel { align-self: start; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.portrait-placeholder {
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #878a90;
  background: linear-gradient(145deg, #ecebe5, #d9d8d1);
}
.portrait-placeholder span { font-size: clamp(32px, 4vw, 64px); font-weight: 900; letter-spacing: -.05em; }
.portrait-placeholder small { margin-top: 2px; font-size: 12px; letter-spacing: .12em; }
.portrait-photo { display: block; background: #e6e7e6; }
.portrait-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-meta { display: grid; grid-template-columns: 1fr 1fr; }
.hero-meta div { padding: 18px; border-top: 1px solid var(--line); }
.hero-meta div:nth-child(even) { border-left: 1px solid var(--line); }
.hero-meta span, .hero-meta strong { display: block; }
.hero-meta span { color: var(--muted); font-size: 12px; }
.hero-meta strong { margin-top: 4px; font-size: 14px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-stats div { padding: 24px; border-left: 1px solid var(--line); }
.hero-stats div:first-child { border-left: 0; }
.hero-stats strong { display: block; font-size: clamp(28px, 3vw, 48px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-stats span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }

.resume-section, .experience-section, .work-index { padding-block: clamp(96px, 12vw, 176px); scroll-margin-top: 76px; }
.section-heading { display: grid; grid-template-columns: 190px minmax(0, 1fr) minmax(280px, 480px); gap: 32px; align-items: start; margin-bottom: 64px; }
.section-heading h2 { font-size: clamp(44px, 6vw, 82px); }
.section-heading > p:last-child { margin: 10px 0 0; color: var(--muted); }
.resume-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 16px; align-items: stretch; }
.resume-card { height: 100%; padding: clamp(24px, 3vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.resume-card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(168px, .28fr) minmax(0, 1.72fr); gap: clamp(28px, 3.5vw, 56px); align-items: start; }
.resume-card h3, .education-strip h3 { margin: 6px 0 20px; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.2; }
.resume-card p:not(.card-label) { max-width: 760px; color: #42454b; }
.profile-copy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.profile-copy-item { min-width: 0; }
.profile-copy-grid p { max-width: none !important; margin: 0; }
.profile-copy-label { margin-bottom: 14px !important; color: var(--blue) !important; font-family: Arial, sans-serif; font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .1em; }
.plain-list { padding: 0; margin: 0; list-style: none; }
.plain-list li { padding: 12px 0; border-bottom: 1px solid var(--soft); }
.plain-list li:last-child { border-bottom: 0; }
.focus-note { margin: 22px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tool-item { min-width: 0; border: 1px solid var(--line); background: var(--paper); }
.tool-item-icon { display: grid; justify-items: center; align-content: center; gap: 8px; min-height: 88px; padding: 12px 8px; border-radius: 16px; }
.tool-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; font-family: Arial, sans-serif; font-size: 18px; font-weight: 700; line-height: 1; }
.tool-mark svg { display: block; width: 24px; height: 24px; }
.tool-mark-ps { color: #31a8ff; background: #001e36; }
.tool-mark-ai { color: #ff9a00; background: #330000; }
.tool-mark-pr { color: #9999ff; background: #00005b; }
.tool-mark-keyshot { background: #f5f7f8; box-shadow: inset 0 0 0 1px #d7dce0; }
.tool-mark-capcut { color: #fff; background: #111; }
.tool-mark-dreamina {
  background: #0b0d11;
}
.tool-mark-dreamina img { width: 100%; height: 100%; display: block; object-fit: contain; }
.tool-mark-kling { color: #fff; background: #070707; }
.tool-mark-gemini { color: #fff; background: linear-gradient(135deg, #5065df, #8f6fd1 55%, #d56fa7); }
.tool-mark-chatgpt { color: #111; background: #fff; box-shadow: inset 0 0 0 1px #d7d7d5; }
.tool-mark-codex { color: #fff; background: #111; }
.tool-mark-remotion { color: #fff; background: linear-gradient(145deg, #5b21b6, #22d3ee); }
.tool-mark-wps { color: #fff; background: #e6452f; }
.tool-name { max-width: 100%; overflow-wrap: anywhere; color: var(--ink); font-size: 11px; font-weight: 700; line-height: 1.25; text-align: center; }
.tool-item-text { align-self: center; display: grid; place-items: center; min-height: 46px; padding: 9px 10px; border-radius: 999px; color: var(--ink); font-size: 12px; font-weight: 700; text-align: center; }
.tag-cloud span, .project-tags span {
  padding: 7px 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.experience-section { border-top: 1px solid var(--line); }
.timeline { border-top: 1px solid var(--ink); }
.timeline-item { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.timeline-date { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.timeline-content { max-width: 850px; }
.timeline-content h3 { margin: 6px 0 14px; font-size: clamp(23px, 2.4vw, 34px); line-height: 1.25; }
.timeline-content p:last-child { margin-bottom: 0; color: var(--muted); }
.education-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.education-strip > div { padding: 32px; background: var(--surface); }
.education-strip p:last-child { color: var(--muted); }
.legacy-projects { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--ink); }
.legacy-heading { display: grid; grid-template-columns: 260px 1fr; gap: 40px; margin-bottom: 32px; }
.legacy-heading h3 { margin: 0; font-size: clamp(30px, 3vw, 44px); line-height: 1.2; }
.legacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); }
.legacy-grid article { min-height: 240px; padding: 28px; background: var(--surface); }
.legacy-grid span { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.legacy-grid h4 { margin: 22px 0 12px; font-size: 20px; line-height: 1.3; }
.legacy-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.work-index { background: var(--ink); color: #fff; width: 100%; max-width: none; padding-inline: max(calc((100vw - var(--max)) / 2), clamp(20px, 4vw, 64px)); }
.work-index .section-index { color: #8eabff; }
.work-index .section-heading > p:last-child { color: #adb0b8; }
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.project-card {
  grid-column: span 4;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 28px;
  color: #fff;
  background: #1b1e24;
  border: 1px solid #30343c;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 240ms var(--ease), background 240ms ease, border-color 240ms ease;
}
.project-card:nth-child(1), .project-card:nth-child(2) { grid-column: span 6; min-height: 390px; }
.project-card:hover { transform: translateY(-6px); background: var(--accent); border-color: var(--accent); }
.project-card:focus-visible { outline: 3px solid #8eabff; outline-offset: 5px; }
.project-card-no { font-size: 13px; font-weight: 800; letter-spacing: .13em; }
.project-card h3 { margin: 16px 0 10px; max-width: 450px; font-size: clamp(25px, 2.5vw, 38px); line-height: 1.15; letter-spacing: -.035em; }
.project-card p { margin: 0; color: #bfc2c9; }
.project-card:hover p { color: #fff; }
.project-card-arrow { align-self: flex-end; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #535761; border-radius: 50%; font-size: 24px; }
.project-card-media { position: relative; height: clamp(156px, 14vw, 208px); overflow: hidden; background: #0f1116; border: 1px solid #343842; border-radius: calc(var(--radius-md) - 8px); }
.project-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: transform 300ms var(--ease), filter 300ms ease; }
.project-card-media::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(to bottom, transparent, rgba(8, 10, 14, .62)); pointer-events: none; }
.project-card-media .project-card-arrow { position: absolute; right: 14px; bottom: 14px; z-index: 1; color: #fff; background: rgba(14, 16, 21, .72); border-color: rgba(255,255,255,.48); backdrop-filter: blur(8px); }
.project-card:hover .project-card-media img { transform: scale(1.025); filter: saturate(1.05); }
.collection-card { align-self: stretch; }

.project-list { background: var(--paper); }
.project-case { padding-block: clamp(96px, 11vw, 168px); border-bottom: 1px solid var(--line); scroll-margin-top: 76px; }
.project-case-inner { width: min(var(--max), calc(100% - clamp(40px, 8vw, 128px))); margin-inline: auto; }
.project-topline { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.project-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr); gap: clamp(48px, 7vw, 112px); padding: 56px 0 80px; align-items: center; min-height: 70vh; }
.project-copy .project-type { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.project-copy h2 { margin: 14px 0 28px; font-size: clamp(44px, 6vw, 84px); line-height: 1.12; letter-spacing: .04em; }
.project-title-line { display: block; }
.project-title-line + .project-title-line { margin-top: .06em; }
.project-copy .project-lead { color: #3c3f46; font-size: clamp(17px, 1.45vw, 20px); }
.project-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.project-facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.project-facts div:nth-child(even) { padding-left: 20px; }
.project-facts span, .project-facts strong { display: block; }
.project-facts span { color: var(--muted); font-size: 12px; }
.project-facts strong { margin-top: 3px; font-size: 14px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.video-placeholder {
  aspect-ratio: 16 / 9;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #17191e;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 70px rgba(22, 24, 30, .18);
}
.video-placeholder::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 20%, rgba(36,87,255,.6), transparent 34%), linear-gradient(140deg, transparent 35%, rgba(255,255,255,.04)); }
.video-placeholder-content { z-index: 1; text-align: center; }
.play-icon { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 16px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; }
.play-icon svg { width: 22px; fill: #fff; transform: translateX(2px); }
.video-placeholder strong { display: block; }
.video-placeholder small { color: #aaadb5; }

.project-video { margin: 0; overflow: hidden; background: #111319; border: 1px solid #252831; border-radius: var(--radius-md); box-shadow: 0 30px 70px rgba(22, 24, 30, .18); }
.project-video video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #090a0d; object-fit: contain; }
.project-video figcaption { display: flex; justify-content: space-between; gap: 24px; padding: 16px 18px; color: #fff; font-size: 13px; }
.project-video figcaption span { color: #aaadb5; font-variant-numeric: tabular-nums; }
.project-video-portrait { width: min(100%, 520px); justify-self: end; }
.project-video-portrait video { aspect-ratio: 3 / 4; }
.lazy-video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #090a0d;
}
.project-video .lazy-video-frame { aspect-ratio: 16 / 9; }
.project-video-portrait .lazy-video-frame { aspect-ratio: 3 / 4; }
.lazy-video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  background: #090a0d;
  object-fit: contain;
}
.project-video .lazy-video-frame video { aspect-ratio: auto; }
.lazy-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: clamp(58px, 7vw, 82px);
  height: clamp(58px, 7vw, 82px);
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: rgba(14, 16, 21, .72);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
  transform: translate(-50%, -50%);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}
.lazy-video-play svg {
  width: 30%;
  fill: currentColor;
  transform: translateX(8%);
}
.lazy-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(0,0,0,.18), transparent 34%);
  opacity: 1;
  transition: opacity 180ms ease;
}
.lazy-video-frame.is-loaded .lazy-video-play,
.lazy-video-frame.is-loaded::after { opacity: 0; pointer-events: none; }
.lazy-video-frame:not(.is-loaded):hover .lazy-video-play,
.lazy-video-play:focus-visible {
  background: rgba(36, 87, 255, .88);
  transform: translate(-50%, -50%) scale(1.04);
}

.project-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); padding: 64px 0; border-top: 1px solid var(--line); }
.story-block h3, .media-section h3 { margin: 8px 0 18px; font-size: clamp(28px, 3vw, 44px); line-height: 1.15; letter-spacing: -.03em; }
.story-block p, .story-block li { color: #4d5057; }
.story-block ul { margin: 0; padding-left: 1.2em; }
.story-block li { margin-bottom: 10px; }
.media-section { padding-top: 64px; border-top: 1px solid var(--line); }
.media-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 28px; }
.media-heading p { max-width: 500px; margin: 0; color: var(--muted); }
.placeholder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.media-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  background: repeating-linear-gradient(135deg, #eeede8, #eeede8 12px, #e8e7e1 12px, #e8e7e1 24px);
  border: 1px dashed #a9a8a2;
  border-radius: var(--radius-sm);
  text-align: center;
}
.media-placeholder span { font-weight: 800; }
.media-placeholder small { margin-top: 4px; color: var(--muted); }
.final-grid { grid-template-columns: 1.3fr .7fr; margin-top: 16px; }
.final-grid .media-placeholder:first-child { aspect-ratio: 16 / 9; }
.final-grid .media-placeholder:last-child { aspect-ratio: auto; min-height: 100%; }
.real-media-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.media-card { min-width: 0; color: var(--ink); text-decoration: none; }
.media-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: var(--radius-sm); }
.media-card figure { height: 100%; margin: 0; }
.media-image-frame { overflow: hidden; background: #deddd7; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.media-image-frame img { width: 100%; height: auto; display: block; transition: transform 350ms var(--ease); }
.media-card:hover .media-image-frame img { transform: scale(1.015); }
.media-card figcaption { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 2px 0; }
.media-card figcaption > span { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.media-card figcaption strong, .media-card figcaption small { display: block; }
.media-card figcaption strong { font-size: 16px; }
.media-card figcaption small { max-width: 560px; margin-top: 5px; color: var(--muted); line-height: 1.55; }
.process-media-grid .media-card { grid-column: span 6; }
.process-media-grid .media-card:first-child { grid-column: 1 / -1; }
.process-media-grid .media-image-frame { box-shadow: 0 14px 34px rgba(17, 19, 25, .08); transition: border-color 250ms ease, box-shadow 250ms ease; }
.process-media-grid .media-card:hover .media-image-frame { border-color: #b8bdca; box-shadow: 0 20px 46px rgba(17, 19, 25, .12); }
.process-media-grid .media-card figcaption { grid-template-columns: 48px minmax(0, 1fr) auto; align-items: start; gap: 14px; padding: 18px 4px 22px; border-bottom: 1px solid var(--line); }
.process-media-grid .media-card figcaption > span { width: 40px; height: 28px; display: inline-flex; align-items: center; justify-content: center; color: var(--accent); background: #eef0ff; border: 1px solid #d9ddff; border-radius: 999px; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.process-media-grid .media-card figcaption strong { font-size: 18px; letter-spacing: .015em; line-height: 1.4; }
.process-media-grid .media-card figcaption small { margin-top: 7px; font-size: 14px; line-height: 1.65; }
.process-media-grid .media-card figcaption::after { content: "查看原图  ↗"; align-self: center; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; transition: color 200ms ease, transform 200ms ease; }
.process-media-grid .media-card:hover figcaption::after { color: var(--accent); transform: translate(2px, -2px); }
.process-media-grid .media-card:not(:first-child) .media-image-frame { aspect-ratio: 2880 / 1462; }
.process-media-grid .media-card:not(:first-child) .media-image-frame img { height: 100%; object-fit: cover; }
.process-media-grid .media-card:nth-child(3) .media-image-frame img { object-position: center top; }
.final-media-grid .media-card { grid-column: span 6; }
.final-media-grid .media-image-frame { aspect-ratio: 16 / 9; }
.final-media-grid .media-image-frame img { height: 100%; object-fit: cover; }
.case-media-section + .case-media-section { margin-top: 80px; }
.case-media-section .media-heading { padding-left: 20px; border-left: 3px solid var(--accent); }
.single-process-grid .media-card:first-child { grid-column: span 6; }
.single-process-grid .media-card:nth-child(2) { grid-column: span 6; }
.single-process-grid .media-card:nth-child(3) { grid-column: 1 / -1; }
.single-process-grid .media-image-frame { aspect-ratio: 2880 / 1462; box-shadow: 0 14px 34px rgba(17, 19, 25, .08); }
.single-process-grid .media-card:nth-child(3) .media-image-frame { aspect-ratio: 2880 / 1462; }
.single-process-grid .media-image-frame img { height: 100%; object-fit: cover; object-position: center top; }
.hermes-workflow-grid .media-card { grid-column: span 6; }
.hermes-workflow-grid .media-image-frame { aspect-ratio: 2880 / 1704; box-shadow: 0 14px 34px rgba(17, 19, 25, .08); }
.hermes-workflow-grid .media-image-frame img { height: 100%; object-fit: cover; object-position: center top; }
.single-process-grid .media-card figcaption,
.hermes-workflow-grid .media-card figcaption { grid-template-columns: 42px minmax(0, 1fr); padding: 18px 4px 24px; border-bottom: 1px solid var(--line); }
.process-media-grid .media-card figure,
.single-process-grid .media-card figure,
.hermes-workflow-grid .media-card figure,
.amazon-process-grid .media-card figure { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.single-process-grid .media-card figcaption > span,
.hermes-workflow-grid .media-card figcaption > span { font-variant-numeric: tabular-nums; }
.single-process-grid .media-card figcaption strong,
.hermes-workflow-grid .media-card figcaption strong { font-size: 18px; letter-spacing: .015em; }
.single-process-grid .media-card figcaption small,
.hermes-workflow-grid .media-card figcaption small { margin-top: 7px; font-size: 14px; line-height: 1.65; }
.workflow-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
.workflow-video-card { min-width: 0; margin: 0; }
.workflow-video-frame { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: #0c0e12; border: 1px solid #252831; border-radius: var(--radius-md); box-shadow: 0 18px 42px rgba(17, 19, 25, .12); }
.workflow-video-frame video { width: 100%; height: 100%; display: block; object-fit: contain; background: #090a0d; }
.workflow-video-kind { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 7px 10px; color: #fff; background: rgba(12, 14, 18, .82); border: 1px solid rgba(255,255,255,.24); border-radius: 999px; backdrop-filter: blur(8px); font-size: 10px; font-weight: 800; letter-spacing: .12em; pointer-events: none; }
.workflow-video-card figcaption { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 18px 4px 0; }
.workflow-video-card figcaption > span { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.workflow-video-card figcaption strong, .workflow-video-card figcaption small { display: block; }
.workflow-video-card figcaption strong { font-size: 18px; }
.workflow-video-card figcaption small { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.amazon-process-grid .media-card { grid-column: span 6; }
.amazon-process-grid .media-image-frame { aspect-ratio: 2880 / 1462; box-shadow: 0 14px 34px rgba(17, 19, 25, .08); }
.amazon-process-grid .media-image-frame img { height: 100%; object-fit: cover; object-position: center top; }
.amazon-process-grid .media-card figcaption { grid-template-columns: 42px minmax(0, 1fr); padding: 18px 4px 24px; border-bottom: 1px solid var(--line); }
.amazon-process-grid .media-card figcaption strong { font-size: 18px; letter-spacing: .015em; }
.amazon-process-grid .media-card figcaption small { margin-top: 7px; font-size: 14px; line-height: 1.65; }
.amazon-video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 16px; }
.amazon-video-card { min-width: 0; margin: 0; }
.amazon-video-frame { position: relative; overflow: hidden; aspect-ratio: 9 / 16; background: #090a0d; border: 1px solid #252831; border-radius: var(--radius-md); box-shadow: 0 18px 42px rgba(17, 19, 25, .12); }
.amazon-video-frame video { width: 100%; height: 100%; display: block; object-fit: contain; background: #090a0d; }
.amazon-video-card figcaption { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 16px 2px 0; }
.amazon-video-card figcaption > span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.amazon-video-card figcaption strong, .amazon-video-card figcaption small { display: block; }
.amazon-video-card figcaption strong { font-size: 15px; line-height: 1.45; }
.amazon-video-card figcaption small { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.professor-series-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 20px; }
.professor-series-card { min-width: 0; margin: 0; }
.professor-series-video { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #090a0d; border: 1px solid #252831; border-radius: var(--radius-md); box-shadow: 0 18px 42px rgba(17, 19, 25, .12); }
.professor-series-video video { width: 100%; height: 100%; display: block; object-fit: contain; background: #090a0d; }
.professor-series-video > span { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 7px 10px; color: #fff; background: rgba(12, 14, 18, .84); border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; backdrop-filter: blur(8px); font-size: 10px; font-weight: 800; letter-spacing: .14em; pointer-events: none; }
.professor-series-card figcaption { display: grid; grid-template-columns: minmax(150px, .65fr) minmax(0, 1.35fr); gap: 24px; padding: 18px 2px 0; }
.professor-series-card figcaption strong, .professor-series-card figcaption small { display: block; }
.professor-series-card figcaption strong { font-size: clamp(22px, 2.4vw, 34px); letter-spacing: .045em; }
.professor-series-card figcaption small { margin-top: 7px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.professor-series-card figcaption p { margin: 3px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.professor-process { display: grid; gap: clamp(72px, 8vw, 112px); }
.professor-process-episode { padding-top: 24px; border-top: 1px solid var(--ink); }
.professor-process-heading { display: grid; grid-template-columns: 72px minmax(180px, .7fr) minmax(0, 1.3fr); gap: 20px clamp(24px, 4vw, 56px); align-items: baseline; margin-bottom: 28px; }
.professor-process-heading > span { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.professor-process-heading h4 { margin: 0; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.15; letter-spacing: .045em; }
.professor-process-heading p { max-width: 620px; margin: 0; color: var(--muted); line-height: 1.75; }
.professor-process-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.professor-process-card { min-width: 0; color: var(--ink); text-decoration: none; }
.professor-process-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: var(--radius-sm); }
.professor-process-card figure { margin: 0; }
.professor-process-image { overflow: hidden; aspect-ratio: 2880 / 1462; background: #17191d; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 14px 34px rgba(17, 19, 25, .08); }
.professor-process-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; transition: transform 350ms var(--ease); }
.professor-process-card:hover .professor-process-image img { transform: scale(1.012); }
.professor-process-card figcaption { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 18px 2px 0; }
.professor-process-card figcaption > span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.professor-process-card figcaption strong, .professor-process-card figcaption small { display: block; }
.professor-process-card figcaption strong { font-size: 18px; letter-spacing: .02em; }
.professor-process-card figcaption small { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.professor-frame-grid .media-card:nth-child(-n+2) { grid-column: span 6; }
.professor-frame-grid .media-card:nth-child(n+3) { grid-column: span 3; }
.professor-frame-grid .media-image-frame { aspect-ratio: 16 / 9; }
.professor-frame-grid .media-image-frame img { height: 100%; object-fit: cover; }
.ecommerce-showcase { display: grid; gap: clamp(96px, 10vw, 144px); }
.ecommerce-product { padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ink); }
.ecommerce-product-heading { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: 48px; }
.ecommerce-product-index span, .ecommerce-product-index small { display: block; }
.ecommerce-product-index span { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.ecommerce-product-index small { margin-top: 8px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.ecommerce-product-heading h4 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 56px); line-height: 1.1; letter-spacing: .025em; }
.ecommerce-product-heading p { max-width: 640px; margin: 0; color: var(--muted); line-height: 1.75; }
.ecommerce-counts { display: flex; gap: 8px; }
.ecommerce-counts span { min-width: 78px; padding: 12px 14px; background: #eeede8; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; text-align: center; white-space: nowrap; }
.ecommerce-counts strong { color: var(--ink); font-size: 15px; }
.ecommerce-gallery-group + .ecommerce-gallery-group { margin-top: 64px; }
.ecommerce-gallery-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ecommerce-gallery-title span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.ecommerce-gallery-title h5 { margin: 0; font-size: 20px; }
.ecommerce-gallery-title small { margin-left: auto; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.ecommerce-main-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 12px; }
.ecommerce-aplus-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 12px; align-items: start; }
.ecommerce-image-card { min-width: 0; color: var(--ink); text-decoration: none; }
.ecommerce-image-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: var(--radius-sm); }
.ecommerce-image-card figure { margin: 0; }
.ecommerce-image-frame { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 12px 30px rgba(17, 19, 25, .06); }
.ecommerce-image-frame img { width: 100%; height: 100%; display: block; object-fit: contain; transition: transform 300ms var(--ease); }
.ecommerce-image-card:hover .ecommerce-image-frame img { transform: scale(1.015); }
.ecommerce-image-card figcaption { padding: 9px 2px 0; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.ecommerce-main-grid .ecommerce-image-frame { aspect-ratio: 1 / 1; }
.ecommerce-aplus-grid .format-landscape { grid-column: span 6; }
.ecommerce-aplus-grid .format-square { grid-column: span 4; }
.ecommerce-aplus-grid .format-strip { grid-column: span 6; }
.ecommerce-aplus-grid .format-landscape .ecommerce-image-frame { aspect-ratio: 970 / 600; }
.ecommerce-aplus-grid .format-square .ecommerce-image-frame { aspect-ratio: 1 / 1; }
.ecommerce-aplus-grid .format-strip .ecommerce-image-frame { aspect-ratio: 970 / 300; }
.asset-showcase { display: grid; gap: clamp(64px, 7vw, 96px); }
.asset-subheading { max-width: 680px; margin-bottom: 28px; }
.asset-subheading h4, .model-asset-copy h4 { margin: 8px 0 12px; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; letter-spacing: -.02em; }
.asset-subheading > p:last-child, .asset-subheading-inline > p, .model-asset-intro { margin: 0; color: var(--muted); line-height: 1.75; }
.asset-subheading-inline { max-width: none; display: grid; grid-template-columns: minmax(260px, .8fr) minmax(320px, 1fr); gap: 40px; align-items: end; }
.storyboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 16px; }
.storyboard-card { min-width: 0; color: var(--ink); text-decoration: none; }
.storyboard-card:focus-visible, .asset-wide-image:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: var(--radius-sm); }
.storyboard-card figure { margin: 0; }
.storyboard-image { overflow: hidden; aspect-ratio: 1792 / 2400; background: #deddd7; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 14px 34px rgba(17, 19, 25, .07); }
.storyboard-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 350ms var(--ease); }
.storyboard-card:hover .storyboard-image img { transform: scale(1.015); }
.storyboard-card figcaption { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 14px 2px 0; }
.storyboard-card figcaption > span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.storyboard-card figcaption strong, .storyboard-card figcaption small { display: block; }
.storyboard-card figcaption strong { font-size: 15px; line-height: 1.4; }
.storyboard-card figcaption small { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.product-asset-block { padding-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.asset-wide-image { display: block; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 18px 46px rgba(17, 19, 25, .08); }
.asset-wide-image img { width: 100%; height: auto; display: block; }
.model-asset-row { display: grid; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 5vw, 72px); align-items: start; padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.model-asset-intro { max-width: 560px; }
.asset-prompt-summary { margin-top: 32px; border-top: 1px solid var(--line); }
.asset-prompt-summary > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.asset-prompt-summary span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.asset-prompt-summary p { margin: 0; color: #4d5057; font-size: 14px; line-height: 1.7; }
.asset-prompt-details { margin-top: 22px; }
.asset-prompt-details summary { width: fit-content; color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.asset-prompt-details summary:hover { color: var(--accent); }
.asset-prompt-details summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.asset-prompt-details > p { margin: 18px 0 0; padding: 20px; color: #565960; background: #eeede8; border-radius: var(--radius-sm); font-size: 13px; line-height: 1.8; }
.model-asset-image { position: sticky; top: 104px; }
.character-lead-row { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(36px, 5vw, 72px); align-items: start; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ink); }
.character-lead-copy { padding-top: 8px; }
.character-lead-copy h4, .supporting-character-heading h4 { margin: 8px 0 12px; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; letter-spacing: .025em; }
.character-lead-intro, .supporting-character-heading > p:last-child { margin: 0; color: var(--muted); line-height: 1.75; }
.character-anchor-list { margin-top: 32px; border-top: 1px solid var(--line); }
.character-anchor-list > div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.character-anchor-list span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.character-anchor-list p { margin: 0; color: #4d5057; font-size: 14px; line-height: 1.7; }
.character-lead-image { display: block; overflow: hidden; background: #f7f8fc; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 18px 46px rgba(17, 19, 25, .08); }
.character-lead-image img { width: 100%; height: auto; display: block; }
.character-lead-image:focus-visible, .supporting-character-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: var(--radius-sm); }
.supporting-character-block { margin-top: clamp(64px, 7vw, 96px); padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.supporting-character-heading { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(320px, 1.2fr); column-gap: 40px; align-items: end; max-width: 980px; margin-bottom: 28px; }
.supporting-character-heading .card-label { grid-column: 1; }
.supporting-character-heading h4 { grid-column: 1; }
.supporting-character-heading > p:last-child { grid-column: 2; grid-row: 1 / span 2; }
.supporting-character-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 16px; }
.supporting-character-card { min-width: 0; color: var(--ink); text-decoration: none; }
.supporting-character-card figure { margin: 0; }
.supporting-character-image { overflow: hidden; aspect-ratio: 3 / 4; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 14px 34px rgba(17, 19, 25, .07); }
.supporting-character-image img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; transition: transform 300ms var(--ease); }
.supporting-character-card:hover .supporting-character-image img { transform: scale(1.015); }
.supporting-character-card figcaption { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 14px 2px 0; }
.supporting-character-card figcaption > span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.supporting-character-card figcaption strong, .supporting-character-card figcaption small { display: block; }
.supporting-character-card figcaption strong { font-size: 15px; line-height: 1.4; }
.supporting-character-card figcaption small { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.shiyilu-worldview-panel { overflow: hidden; padding: clamp(32px, 5vw, 72px); color: #e8e0d8; background: #0d0d0d; border: 1px solid #292929; border-radius: var(--radius-md); box-shadow: 0 22px 54px rgba(17, 19, 25, .14); }
.shiyilu-worldview-panel .card-label { color: #c8a050; }
.shiyilu-manifesto { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr); gap: 24px clamp(32px, 6vw, 88px); align-items: end; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid #35312c; }
.shiyilu-manifesto .card-label { grid-column: 1 / -1; }
.shiyilu-manifesto strong { max-width: 800px; font-size: clamp(30px, 4.4vw, 66px); line-height: 1.16; letter-spacing: .09em; }
.shiyilu-manifesto > p:last-child { margin: 0; color: #bdb5aa; line-height: 1.85; }
.shiyilu-palette-intro { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: clamp(28px, 5vw, 72px); align-items: end; padding-top: clamp(40px, 5vw, 64px); }
.shiyilu-palette-intro h4 { margin: 10px 0 0; color: #f3efe8; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.25; letter-spacing: .05em; }
.shiyilu-palette-intro > p { max-width: 720px; margin: 0; color: #bdb5aa; font-size: 14px; line-height: 1.85; }
.shiyilu-palette { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding: 28px 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid #35312c; }
.shiyilu-color { min-width: 0; }
.shiyilu-color-swatch { height: clamp(86px, 10vw, 148px); display: block; margin-bottom: 14px; background: var(--swatch); border: 1px solid rgba(255, 255, 255, .18); border-radius: 4px; }
.shiyilu-color strong, .shiyilu-color small { display: block; }
.shiyilu-color strong { font-size: 14px; letter-spacing: .08em; }
.shiyilu-color small { margin-top: 7px; color: #8f8981; font-size: 10px; line-height: 1.55; letter-spacing: .06em; }
.shiyilu-rule-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); padding-top: clamp(40px, 5vw, 64px); }
.shiyilu-rule-grid article > span { color: #c03020; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.shiyilu-rule-grid h4 { margin: 18px 0 10px; color: #f3efe8; font-size: 20px; letter-spacing: .05em; }
.shiyilu-rule-grid p { margin: 0; color: #a7a097; font-size: 14px; line-height: 1.75; }
.shiyilu-character-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) 18px; }
.shiyilu-character-card { min-width: 0; }
.shiyilu-character-image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #17191d; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 18px 42px rgba(17, 19, 25, .09); }
.shiyilu-character-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 350ms var(--ease); }
.shiyilu-character-image:hover img { transform: scale(1.012); }
.shiyilu-character-image:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.shiyilu-character-copy { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 20px 2px 0; }
.shiyilu-character-copy > span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.shiyilu-character-copy .card-label { margin-bottom: 8px; }
.shiyilu-character-copy h4 { margin: 0; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: .06em; }
.shiyilu-character-copy div > p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.shiyilu-scene-grid .media-card { grid-column: span 4; }
.shiyilu-scene-grid .media-image-frame { aspect-ratio: 16 / 9; }
.shiyilu-process-grid .media-card:first-child { grid-column: span 12; }
.shiyilu-process-grid .media-card:nth-child(2), .shiyilu-process-grid .media-card:nth-child(3) { grid-column: span 6; }
.shiyilu-process-grid .media-card:first-child .media-image-frame, .shiyilu-process-grid .media-card:nth-child(2) .media-image-frame, .shiyilu-process-grid .media-card:nth-child(3) .media-image-frame { aspect-ratio: 2880 / 1462; }
.shiyilu-process-grid .media-image-frame img { object-position: top center; }
.shiyilu-frame-grid .media-card:nth-child(-n+2) { grid-column: span 6; }
.shiyilu-frame-grid .media-card:nth-child(n+3) { grid-column: span 3; }
.shiyilu-frame-grid .media-image-frame { aspect-ratio: 16 / 9; }

.safe-analysis-panel { overflow: hidden; padding: clamp(30px, 5vw, 68px); color: #f4f4f1; background: #101116; border: 1px solid #292c35; border-radius: var(--radius-md); box-shadow: 0 24px 58px rgba(17, 19, 25, .15); }
.safe-analysis-panel .card-label { color: #8ea7ff; }
.safe-analysis-lead { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 16px clamp(30px, 6vw, 88px); align-items: end; padding-bottom: clamp(34px, 4vw, 52px); border-bottom: 1px solid #343740; }
.safe-analysis-lead .card-label { grid-column: 1 / -1; }
.safe-analysis-lead h4 { margin: 0; font-size: clamp(30px, 4.2vw, 58px); line-height: 1.12; letter-spacing: .035em; }
.safe-analysis-lead > p:last-child { max-width: 620px; margin: 0; color: #b4b7c0; line-height: 1.8; }
.safe-analysis-timeline { display: grid; }
.safe-analysis-timeline article { display: grid; grid-template-columns: 48px 100px minmax(150px, .5fr) minmax(0, 1.5fr); gap: 18px clamp(16px, 3vw, 46px); align-items: baseline; padding: 26px 0; border-bottom: 1px solid #2d3038; }
.safe-analysis-timeline article:last-child { padding-bottom: 0; border-bottom: 0; }
.safe-analysis-index { color: #5f78ff; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.safe-analysis-timeline time { color: #d7d9df; font-size: 12px; font-weight: 800; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.safe-analysis-timeline h4 { margin: 0; font-size: 19px; letter-spacing: .04em; }
.safe-analysis-timeline p { margin: 0; color: #9da0aa; font-size: 14px; line-height: 1.75; }

.safe-assets { display: grid; gap: clamp(48px, 6vw, 80px); }
.safe-asset-lead { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(26px, 4vw, 52px); background: #ebeae5; border: 1px solid var(--line); border-radius: var(--radius-md); }
.safe-asset-copy { max-width: 520px; }
.safe-asset-number { width: 42px; height: 28px; display: inline-flex; align-items: center; justify-content: center; margin: 32px 0 22px; color: var(--accent); background: #f5f6ff; border: 1px solid #d7dcff; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.safe-asset-copy h4 { margin: 0; font-size: clamp(30px, 3.3vw, 48px); line-height: 1.16; letter-spacing: .05em; }
.safe-asset-copy > p:last-child { margin: 20px 0 0; color: var(--muted); line-height: 1.8; }
.safe-asset-image { display: block; overflow: hidden; background: #d9d9d6; border: 1px solid #cfd0cc; border-radius: var(--radius-sm); }
.safe-asset-image img { width: 100%; height: auto; display: block; transition: transform 350ms var(--ease); }
.safe-asset-image:hover img { transform: scale(1.012); }
.safe-asset-image:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.safe-product-assets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) 18px; }
.safe-product-copy { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 20px 2px 0; }
.safe-product-copy > span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.safe-product-copy h4 { margin: 0; font-size: clamp(22px, 2.5vw, 34px); letter-spacing: .05em; }
.safe-product-copy p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.safe-generation-grid .media-card { grid-column: span 6; }
.safe-generation-grid .media-image-frame { aspect-ratio: 2880 / 1462; box-shadow: 0 14px 34px rgba(17, 19, 25, .08); }
.safe-generation-grid .media-image-frame img { height: 100%; object-fit: cover; object-position: center top; }
.safe-frame-grid { gap: 38px 16px; }
.safe-frame-grid .media-card { grid-column: span 4; }
.safe-frame-grid .media-image-frame { aspect-ratio: 9 / 16; background: #111319; box-shadow: 0 16px 38px rgba(17, 19, 25, .1); }
.safe-frame-grid .media-image-frame img { height: 100%; object-fit: cover; }

.next-project { display: flex; justify-content: space-between; align-items: center; min-height: 72px; margin-top: 72px; padding: 0 22px; color: #fff; background: var(--ink); border-radius: 999px; text-decoration: none; font-weight: 800; transition: background 200ms ease; }
.next-project:hover { background: var(--accent); }

.showcase-section { padding-block: clamp(96px, 11vw, 168px); border-bottom: 1px solid var(--line); scroll-margin-top: 76px; }
.showcase-topline { display: flex; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.showcase-heading { display: grid; grid-template-columns: 176px minmax(0, 1fr) minmax(280px, 420px); gap: clamp(24px, 3.6vw, 52px); align-items: end; padding: 56px 0 48px; }
.showcase-heading .section-index { align-self: start; }
.showcase-heading h2 { margin: 0; font-size: clamp(48px, 6vw, 88px); line-height: 1.05; letter-spacing: .035em; }
.showcase-heading > p:last-child { margin: 0; color: var(--muted); }
.showcase-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.showcase-tile { grid-column: span 4; min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.showcase-tile-wide { grid-column: span 8; min-height: 440px; }
.showcase-tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.showcase-tile > * { position: relative; z-index: 1; }
.showcase-no { font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.showcase-tile strong, .showcase-tile small { display: block; }
.showcase-tile strong { font-size: clamp(25px, 2.6vw, 40px); line-height: 1.15; }
.showcase-tile small { margin-top: 8px; font-weight: 800; letter-spacing: .12em; }
.showcase-tile-video { color: #fff; background: #15171c; }
.showcase-tile-video::before { background: radial-gradient(circle at 70% 25%, rgba(36,87,255,.78), transparent 36%), linear-gradient(145deg, transparent 35%, rgba(255,255,255,.07)); }
.showcase-tile-blue { color: #fff; background: var(--accent); }
.showcase-tile-blue::before { background: linear-gradient(145deg, transparent 40%, rgba(255,255,255,.16)), radial-gradient(circle at 20% 15%, rgba(255,255,255,.18), transparent 28%); }
.showcase-tile-light { background: #e8e7e1; }
.showcase-tile-light::before { background: repeating-linear-gradient(135deg, transparent, transparent 22px, rgba(255,255,255,.45) 22px, rgba(255,255,255,.45) 23px); }
.showcase-tile-motion { color: #fff; background: #262930; }
.showcase-tile-motion::before { background: radial-gradient(circle at 18% 78%, rgba(36,87,255,.75), transparent 30%), radial-gradient(circle at 78% 20%, rgba(255,255,255,.14), transparent 24%); }
.showcase-play { width: 68px; height: 68px; display: grid; place-items: center; align-self: center; border: 1px solid currentColor; border-radius: 50%; }
.showcase-next { margin-top: 56px; }

.other-ai-collection { display: grid; gap: clamp(88px, 10vw, 144px); }
.other-ai-block-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); gap: clamp(32px, 6vw, 88px); align-items: end; margin-bottom: 36px; padding-left: 18px; border-left: 3px solid var(--accent); }
.other-ai-block-heading > * { min-width: 0; }
.other-ai-block-heading h3 { margin: 7px 0 0; font-size: clamp(34px, 4.2vw, 62px); line-height: 1.08; letter-spacing: .045em; }
.other-ai-block-heading > p { margin: 0; color: var(--muted); line-height: 1.8; }
.other-game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 16px; }
.other-game-grid .other-video-card { grid-column: auto; }
.other-video-grid, .other-commerce-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 42px 16px; }
.other-video-card, .other-commerce-card figure, .other-collab-card figure { margin: 0; }
.other-video-landscape { grid-column: span 6; }
.other-video-portrait { grid-column: span 3; }
.other-video-frame { overflow: hidden; background: #111319; border-radius: var(--radius-md); box-shadow: 0 16px 40px rgba(17, 19, 25, .1); }
.other-video-landscape .other-video-frame { aspect-ratio: 16 / 9; }
.other-video-portrait .other-video-frame { aspect-ratio: 9 / 16; }
.other-video-frame .lazy-video-frame,
.workflow-video-frame .lazy-video-frame,
.amazon-video-frame .lazy-video-frame,
.professor-series-video .lazy-video-frame { height: 100%; }
.other-video-frame video { width: 100%; height: 100%; display: block; object-fit: contain; }
.other-video-card figcaption, .other-commerce-card figcaption { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 18px 2px 0; }
.other-video-card figcaption > span, .other-commerce-card figcaption > span, .other-collab-card figcaption > span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.other-video-card strong, .other-video-card small, .other-commerce-card strong, .other-commerce-card small { display: block; }
.other-video-card strong, .other-commerce-card strong { font-size: clamp(17px, 1.65vw, 24px); line-height: 1.35; letter-spacing: .035em; }
.other-video-card small, .other-commerce-card small { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.6; letter-spacing: .02em; }
.other-commerce-card { grid-column: span 4; color: inherit; text-decoration: none; }
.other-commerce-card.is-featured { grid-column: span 12; }
.other-commerce-image { overflow: hidden; aspect-ratio: 4 / 3; background: #e9e8e3; border: 1px solid var(--line); border-radius: var(--radius-md); }
.other-commerce-card.is-featured .other-commerce-image { aspect-ratio: 14373 / 6922; }
.other-commerce-image img { width: 100%; height: 100%; display: block; object-fit: contain; transition: transform 350ms var(--ease); }
.other-commerce-card:hover img, .other-collab-card:hover img { transform: scale(1.012); }
.other-commerce-card:focus-visible, .other-collab-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: var(--radius-md); }
.other-collab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 16px; }
.other-collab-card { color: inherit; text-decoration: none; }
.other-collab-image { overflow: hidden; aspect-ratio: 16 / 9; background: #111319; border-radius: var(--radius-md); box-shadow: 0 16px 40px rgba(17, 19, 25, .08); }
.other-collab-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 350ms var(--ease); }
.other-collab-card figcaption { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: start; padding: 18px 2px 0; }
.other-collab-card strong { font-size: clamp(17px, 1.65vw, 24px); line-height: 1.35; letter-spacing: .035em; }

.archive-showcase { color: #fff; background: var(--ink); }
.archive-showcase .section-index { color: #8eabff; }
.archive-showcase .showcase-heading > p:last-child { color: #adb0b8; }
.archive-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; overflow: hidden; background: #343841; border: 1px solid #343841; border-radius: var(--radius-md); }
.archive-tile { grid-column: span 4; min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; background: #1b1e24; }
.archive-tile-large { grid-column: span 8; }
.archive-tile > span { color: #8eabff; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.archive-tile h3 { margin: 0; font-size: clamp(26px, 3vw, 44px); line-height: 1.15; letter-spacing: .025em; }
.archive-tile p { margin: 9px 0 0; color: #aeb2bb; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.archive-work-collection { display: grid; gap: clamp(96px, 11vw, 160px); }
.archive-work-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); gap: clamp(32px, 6vw, 88px); align-items: end; margin-bottom: 34px; padding-left: 18px; border-left: 3px solid #8eabff; }
.archive-work-heading > * { min-width: 0; }
.archive-work-heading > div > p { margin: 0; color: #8eabff; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.archive-work-heading h3 { margin: 8px 0 0; color: #fff; font-size: clamp(34px, 4.2vw, 62px); line-height: 1.08; letter-spacing: .045em; }
.archive-work-heading > p { margin: 0; color: #adb0b8; line-height: 1.8; }
.archive-work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 44px 16px; }
.archive-work-card { grid-column: span 4; min-width: 0; max-width: 100%; color: #fff; text-decoration: none; }
.archive-work-card.archive-work-wide { grid-column: span 8; }
.archive-work-card figure { margin: 0; }
.archive-work-image { min-width: 0; max-width: 100%; overflow: hidden; aspect-ratio: 4 / 3; background: #f1f0eb; border: 1px solid #343841; border-radius: var(--radius-md); }
.archive-work-wide .archive-work-image { aspect-ratio: 16 / 9; }
.archive-work-tall .archive-work-image { aspect-ratio: 3 / 4; }
.archive-work-image img { width: 100%; max-width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; transition: transform 350ms var(--ease); }
.archive-work-fit-contain { padding: 12px; }
.archive-work-fit-contain img { object-fit: contain; object-position: center; }
.archive-work-card:hover img { transform: scale(1.012); }
.archive-work-card:focus-visible { outline: 3px solid #8eabff; outline-offset: 5px; border-radius: var(--radius-md); }
.archive-work-card figcaption { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 18px 2px 0; }
.archive-work-card figcaption > span { color: #8eabff; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.archive-work-card strong, .archive-work-card small { display: block; }
.archive-work-card strong { font-size: clamp(17px, 1.65vw, 24px); line-height: 1.35; letter-spacing: .035em; }
.archive-work-card small { margin-top: 7px; color: #9fa4ae; font-size: 12px; line-height: 1.6; letter-spacing: .04em; }
.archive-next { color: var(--ink); background: #fff; }
.archive-next:hover { color: #fff; }

/* Numbered captions: optically align the smaller index with the title glyphs. */
:is(
  .media-card,
  .workflow-video-card,
  .amazon-video-card,
  .professor-process-card,
  .storyboard-card,
  .supporting-character-card,
  .other-video-card,
  .other-commerce-card,
  .other-collab-card,
  .archive-work-card
) figcaption { align-items: start; }
:is(
  .media-card,
  .workflow-video-card,
  .amazon-video-card,
  .professor-process-card,
  .storyboard-card,
  .supporting-character-card,
  .other-video-card,
  .other-commerce-card,
  .other-collab-card,
  .archive-work-card
) figcaption > span,
.shiyilu-character-copy > span,
.safe-product-copy > span {
  position: relative;
  top: .24em;
  align-self: start;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.contact-section { padding-block: clamp(96px, 12vw, 176px) 32px; scroll-margin-top: 76px; }
.contact-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; margin-top: 32px; }
.contact-section h2 { font-size: clamp(52px, 7vw, 108px); line-height: 1.16; letter-spacing: .06em; }
.contact-section h2 span { display: block; white-space: nowrap; }
.contact-details { align-self: end; }
.contact-details p { max-width: 480px; color: var(--muted); }
.contact-details a, .contact-details .contact-item { display: block; width: fit-content; margin-top: 10px; font-size: clamp(18px, 2vw, 28px); font-weight: 800; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.footer-line { display: flex; justify-content: space-between; margin-top: 112px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.footer-line a { min-height: 44px; display: inline-flex; align-items: center; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
  .hero-layout, .project-intro { grid-template-columns: 1fr; }
  .hero-panel { max-width: 520px; }
  .resume-card-wide { grid-template-columns: 1fr; gap: 28px; }
  .section-heading { grid-template-columns: 1fr 2fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .project-card, .project-card:nth-child(1), .project-card:nth-child(2) { grid-column: span 6; min-height: 320px; }
  .legacy-grid { grid-template-columns: 1fr 1fr; }
  .project-intro { min-height: auto; }
  .video-placeholder { max-width: 900px; }
  .project-video { max-width: 900px; }
  .project-video-portrait { width: min(100%, 520px); justify-self: start; }
  .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .showcase-heading { grid-template-columns: 1fr 2fr; }
  .showcase-heading > p:last-child { grid-column: 2; }
  .showcase-tile, .showcase-tile-wide { grid-column: span 6; }
  .other-video-portrait { grid-column: span 6; }
  .other-commerce-card { grid-column: span 6; }
  .archive-tile, .archive-tile-large { grid-column: span 6; }
  .archive-tile:last-child { grid-column: span 12; }
  .archive-work-card, .archive-work-card.archive-work-wide { grid-column: span 6; }
  .amazon-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 18px; }
  .professor-frame-grid .media-card:nth-child(n) { grid-column: span 6; }
  .ecommerce-product-heading { grid-template-columns: 130px minmax(0, 1fr); }
  .ecommerce-counts { grid-column: 2; }
  .ecommerce-main-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shiyilu-frame-grid .media-card:nth-child(n) { grid-column: span 6; }
  .safe-frame-grid .media-card { grid-column: span 6; }
}

@media (max-width: 720px) {
  #archive-title span { display: block; }

  .site-header { min-height: 68px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-text { font-size: 14px; }
  .menu-button { display: inline-flex; align-items: center; gap: 8px; }
  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 12px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav > a, .nav-dropdown-toggle { width: 100%; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-menu {
    position: static;
    width: 100%;
    max-height: none;
    display: none;
    margin-top: 6px;
    padding: 8px;
    border-radius: 16px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: grid; }
  .nav-dropdown-menu a { min-height: 46px; }
  .section-shell, .project-case-inner { width: calc(100% - 40px); }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(43px, 13vw, 66px); }
  .hero-summary { margin-top: 24px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .hero-stats div:nth-child(4) { border-top: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; }
  .section-heading > p:last-child { grid-column: auto; }
  .resume-grid, .education-strip, .project-story, .contact-layout { grid-template-columns: 1fr; }
  .resume-grid { align-items: start; }
  .resume-card { height: auto; }
  .resume-card-wide { grid-column: auto; grid-template-columns: 1fr; gap: 24px; }
  .profile-copy-grid { grid-template-columns: 1fr; gap: 24px; }
  .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; padding: 30px 0; }
  .legacy-heading, .legacy-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card, .project-card:nth-child(1), .project-card:nth-child(2) { grid-column: auto; min-height: 280px; }
  .project-card-has-media { min-height: 0; }
  .project-card-media { height: clamp(164px, 48vw, 220px); }
  .project-intro { gap: 40px; padding: 40px 0 64px; }
  .project-copy h2 { font-size: clamp(42px, 12vw, 68px); line-height: 1.15; letter-spacing: .03em; }
  .showcase-heading { grid-template-columns: 1fr; gap: 14px; padding: 40px 0 32px; }
  .showcase-heading > p:last-child { grid-column: auto; }
  .showcase-heading h2 { font-size: clamp(42px, 12vw, 64px); }
  #other-ai-title span { display: block; }
  .other-ai-block-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; padding-left: 14px; }
  .other-game-grid, .other-video-grid, .other-commerce-grid, .other-collab-grid { grid-template-columns: 1fr; gap: 40px; }
  .other-video-landscape, .other-video-portrait, .other-commerce-card, .other-commerce-card.is-featured { grid-column: auto; }
  .other-video-portrait { width: min(100%, 430px); }
  .other-commerce-image, .other-commerce-card.is-featured .other-commerce-image { aspect-ratio: auto; }
  .other-commerce-image img { height: auto; }
  .showcase-gallery, .archive-grid { grid-template-columns: 1fr; gap: 12px; background: transparent; border: 0; }
  .showcase-tile, .showcase-tile-wide, .archive-tile, .archive-tile-large { grid-column: auto; min-height: 320px; border-radius: var(--radius-md); }
  .archive-tile:last-child { grid-column: auto; }
  .archive-tile { border: 1px solid #343841; }
  .archive-work-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; padding-left: 14px; }
  .archive-work-grid { grid-template-columns: 1fr; gap: 42px; }
  .archive-work-card, .archive-work-card.archive-work-wide { grid-column: auto; }
  .archive-work-image, .archive-work-wide .archive-work-image { aspect-ratio: 4 / 3; }
  .archive-work-tall .archive-work-image { aspect-ratio: 3 / 4; }
  .media-heading { align-items: start; flex-direction: column; }
  .placeholder-grid, .final-grid { grid-template-columns: 1fr; }
  .real-media-grid { grid-template-columns: 1fr; }
  .process-media-grid .media-card, .process-media-grid .media-card:first-child, .final-media-grid .media-card { grid-column: auto; }
  .single-process-grid .media-card:first-child, .single-process-grid .media-card:nth-child(2), .single-process-grid .media-card:nth-child(3), .hermes-workflow-grid .media-card, .amazon-process-grid .media-card { grid-column: auto; }
  .single-process-grid .media-image-frame, .single-process-grid .media-card:nth-child(3) .media-image-frame, .hermes-workflow-grid .media-image-frame, .amazon-process-grid .media-image-frame { aspect-ratio: auto; }
  .single-process-grid .media-image-frame img, .hermes-workflow-grid .media-image-frame img, .amazon-process-grid .media-image-frame img { height: auto; object-fit: contain; }
  .workflow-video-grid { grid-template-columns: 1fr; gap: 40px; }
  .amazon-video-grid { grid-template-columns: 1fr; gap: 44px; }
  .professor-series-grid, .professor-process-grid { grid-template-columns: 1fr; gap: 40px; }
  .professor-series-card figcaption { grid-template-columns: 1fr; gap: 10px; }
  .professor-process-heading { grid-template-columns: 48px minmax(0, 1fr); gap: 10px 14px; }
  .professor-process-heading p { grid-column: 2; }
  .professor-process-image { aspect-ratio: auto; }
  .professor-process-image img { height: auto; object-fit: contain; }
  .professor-frame-grid .media-card:nth-child(n) { grid-column: auto; }
  .ecommerce-product-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
  .ecommerce-counts { grid-column: auto; }
  .ecommerce-main-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .ecommerce-aplus-grid .format-landscape, .ecommerce-aplus-grid .format-strip { grid-column: span 12; }
  .ecommerce-aplus-grid .format-square { grid-column: span 6; }
  .ecommerce-gallery-group + .ecommerce-gallery-group { margin-top: 48px; }
  .asset-subheading-inline, .model-asset-row { grid-template-columns: 1fr; gap: 24px; }
  .character-lead-row, .supporting-character-heading { grid-template-columns: 1fr; gap: 24px; }
  .character-lead-copy { padding-top: 0; }
  .character-lead-image { grid-row: auto; }
  .supporting-character-heading .card-label, .supporting-character-heading h4, .supporting-character-heading > p:last-child { grid-column: auto; grid-row: auto; }
  .supporting-character-heading h4 { margin-top: -16px; }
  .supporting-character-grid { grid-template-columns: 1fr; gap: 40px; }
  .supporting-character-image { aspect-ratio: auto; }
  .supporting-character-image img { height: auto; object-fit: contain; }
  .character-anchor-list > div { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .storyboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
  .model-asset-image { position: static; }
  .asset-prompt-summary > div { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .shiyilu-manifesto, .shiyilu-palette-intro, .shiyilu-character-grid { grid-template-columns: 1fr; }
  .shiyilu-manifesto .card-label { grid-column: auto; }
  .shiyilu-palette { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shiyilu-color:last-child { grid-column: span 2; }
  .shiyilu-rule-grid { grid-template-columns: 1fr; }
  .shiyilu-scene-grid .media-card, .shiyilu-process-grid .media-card:nth-child(n), .shiyilu-frame-grid .media-card:nth-child(n) { grid-column: auto; }
  .shiyilu-process-grid .media-image-frame, .shiyilu-process-grid .media-card:nth-child(3) .media-image-frame { aspect-ratio: auto; }
  .shiyilu-process-grid .media-image-frame img { height: auto; object-fit: contain; }
  .safe-analysis-lead, .safe-asset-lead, .safe-product-assets { grid-template-columns: 1fr; }
  .safe-analysis-lead .card-label { grid-column: auto; }
  .safe-analysis-timeline article { grid-template-columns: 38px 86px minmax(0, 1fr); gap: 10px 14px; }
  .safe-analysis-timeline article p { grid-column: 3; }
  .safe-frame-grid .media-card, .safe-generation-grid .media-card { grid-column: auto; }
  .case-media-section + .case-media-section { margin-top: 64px; }
  .case-media-section .media-heading { padding-left: 14px; }
  .process-media-grid .media-card figcaption { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; padding-inline: 2px; }
  .process-media-grid .media-card figcaption::after { display: none; }
  .process-media-grid .media-card:not(:first-child) .media-image-frame { aspect-ratio: auto; }
  .process-media-grid .media-card:not(:first-child) .media-image-frame img { height: auto; object-fit: contain; }
  .project-video figcaption { align-items: flex-start; flex-direction: column; gap: 4px; }
  .final-grid .media-placeholder:last-child { min-height: 260px; }
  .contact-layout { gap: 40px; }
  .contact-section h2 { font-size: clamp(48px, 14vw, 72px); }
  .footer-line { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
