@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap");

:root {
  color-scheme: light;

  /* Professional light surfaces — cool near-white, OKLCH (no cream) */
  --bg: oklch(95.8% 0.014 88);
  --paper: oklch(95.8% 0.014 88);
  --surface: oklch(98.6% 0.01 88);
  --white: oklch(98.6% 0.01 88);
  --surface-2: oklch(93.5% 0.016 86);
  --wash: oklch(93.5% 0.016 86);

  /* Dark immersive zone (key works only) */
  --charcoal: oklch(24% 0.035 255);
  --ink-deep: oklch(22% 0.035 258);

  /* Text */
  --ink: oklch(24% 0.022 270);
  --muted: oklch(39% 0.028 268);
  --soft: oklch(47% 0.025 268);
  --on-dark: oklch(96% 0.01 255);
  --on-dark-muted: oklch(74% 0.022 255);

  /* Hairlines */
  --line: oklch(85% 0.014 86);
  --line-dark: oklch(38% 0.02 258);

  /* Accent — electric blue, used sparingly */
  --accent: oklch(49% 0.13 252);
  --accent-text: oklch(44% 0.13 254);
  --accent-soft: oklch(95% 0.03 255);
  --accent-ink: oklch(99% 0.005 255);

  --moss: oklch(56% 0.14 155);
  --rust: oklch(56% 0.16 40);

  --shadow: 0 10px 30px oklch(26% 0.03 255 / 0.1);
  --shadow-sm: 0 2px 10px oklch(26% 0.03 255 / 0.07);
  --radius: 12px;
  --radius-sm: 8px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

body {
  margin: 0;
  padding-bottom: clamp(92px, 12vw, 116px);
  overflow-x: clip; /* 裁掉入场动画/3D 画布的横向外溢,移动端不出现横向滚动;不破坏 sticky */
  background: var(--m2, var(--bg));  /* 随音乐主题变(桌面被水墨着色器覆盖,移动端/无着色器时显示) */
  transition: background 1.4s ease;
  color: var(--ink);
  font-family: Inter, "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img,
video {
  display: block;
  width: 100%;
  background: var(--surface);
  object-fit: cover;
}

.site-header {
  position: fixed;
  left: 50%;
  bottom: clamp(14px, 2.4vw, 26px);
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 22px);
  max-width: calc(100vw - 24px);
  padding: 8px 12px;
  border: 1px solid oklch(40% 0.02 258);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 14px 44px oklch(26% 0.03 255 / 0.3);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  display: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent) center / cover no-repeat;
  background-image: url("./assets/images/profile-photo.jpg");
  color: transparent;
  font-size: 0;
}

.nav {
  gap: clamp(10px, 1.5vw, 20px);
  font-family: "Chakra Petch", "Noto Sans SC", sans-serif;
  font-weight: 600;
  color: oklch(78% 0.018 255);
  font-size: 14px;
}

.nav a {
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 160ms ease;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--surface);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Last nav link (联系) becomes a light pill button, Magnetto-style */
.nav a:last-child {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
}
.nav a:last-child::after { display: none; }
.nav a:last-child:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.eyebrow {
  margin: 0 0 16px;
  font-family: "Chakra Petch", "Noto Sans SC", sans-serif;
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Chakra Petch", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(52px, 7.5vw, 92px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.8vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.04;
  letter-spacing: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  transition: transform 180ms var(--ease-out-expo), background 160ms ease, color 160ms ease, box-shadow 220ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.button.primary:hover {
  background: var(--accent-text);
  border-color: var(--accent-text);
}

.button.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button.ghost:hover {
  border-color: var(--ink);
}

.button.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 28px;
}

.skill-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
}

.home-hero .eyebrow {
  color: var(--accent);
}

.home-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 4vw;
  transform: translateY(-34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.proof-strip.compact {
  transform: none;
}

.proof-strip a,
.proof-strip div {
  min-height: 132px;
  padding: 22px;
  background: var(--white);
}

.proof-strip strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.proof-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 7.2vw 4vw 0;
}

.section[id] {
  scroll-margin-top: 104px;
}

.section-head {
  display: grid;
  grid-template-columns: 0.34fr minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2 {
  max-width: 1080px;
}

.route-card {
  position: relative;
  grid-column: span 3;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.route-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--accent);
  content: "";
}

.route-card:nth-child(2)::before {
  background: var(--rust);
}

.route-card:nth-child(3)::before {
  background: var(--moss);
}

.route-card:nth-child(4)::before {
  background: var(--charcoal);
}

.route-card:hover {
  transform: translateY(-4px);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.route-card span,
.work-card span,
.workflow-list span,
.meta-list dt,
.lab-grid span {
  color: var(--soft);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

.route-card strong {
  display: block;
  margin: 34px 0 14px;
  font-size: 28px;
  line-height: 1.08;
}

.route-card p,
.work-card p,
.workflow-list p,
.project-copy p,
.lab-grid p {
  color: var(--muted);
}

.route-card:hover span,
.route-card:hover p {
  color: rgba(255, 255, 255, 0.68);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.compact-video-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.video-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.video-card video {
  aspect-ratio: 16 / 10;
  background: #e8eee9;
}

.video-card-body {
  padding: 20px;
}

.video-card-body span,
.prompt-grid span,
.module-title span {
  color: var(--soft);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

.video-card h3 {
  margin: 16px 0 12px;
  font-size: clamp(24px, 2.4vw, 34px);
}

.video-card p {
  color: var(--muted);
}

.video-card-body a {
  display: inline-flex;
  margin-top: 6px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 760;
}

.asset-gallery {
  display: block;
  columns: 2 320px;
  column-gap: 14px;
}

.asset-gallery img {
  height: auto;
  min-height: 0;
  margin: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(17, 20, 22, 0.06);
  object-fit: contain;
  break-inside: avoid;
}

.two-up {
  columns: 2 280px;
}

.gallery-grid {
  columns: 3 260px;
}

.gallery-grid img {
  aspect-ratio: auto;
}

.material-grid img {
  aspect-ratio: auto;
}

.material-grid {
  columns: 2 340px;
}

.module-block {
  margin-bottom: 54px;
}

.module-title {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.module-title h3 {
  font-size: clamp(28px, 3.8vw, 52px);
}

.compact-lessons .lesson-card h3 {
  font-size: 26px;
}

.compact-lessons .lesson-card p {
  min-height: 52px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.44fr minmax(0, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}

.split-section h2 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.08;
}

.workflow-list {
  border-top: 1px solid var(--line);
}

.workflow-list div {
  display: grid;
  grid-template-columns: 90px 0.34fr minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.workflow-list strong {
  font-size: 22px;
  line-height: 1.12;
}

.workflow-list p {
  margin-bottom: 0;
}

.visual-hero {
  min-height: auto;
  padding-bottom: 3vw;
}

.visual-wall-section {
  padding-top: 2vw;
  background: var(--white);
}

.visual-image-wall {
  columns: 3 320px;
  column-gap: 16px;
}

.visual-image-wall figure {
  margin: 0 0 16px;
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  break-inside: avoid;
}

.visual-image-wall img {
  height: auto;
  min-height: 0;
  background: var(--paper);
  object-fit: contain;
}

.commercial-jump-head .eyebrow {
  margin-bottom: 0;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 8vw;
  padding: 5vw 4vw;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}

.contact::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--moss), var(--rust));
  content: "";
}

.contact .eyebrow {
  color: var(--accent);
}

.contact h2 {
  max-width: 980px;
}

.contact p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4vw;
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.page-hero {
  display: grid;
  align-content: end;
  min-height: 52vh;
  padding: 8vw 4vw 5vw;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.page-hero h1 {
  max-width: 1120px;
  font-size: clamp(48px, 7vw, 88px);
}

.page-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.page-hero .button {
  justify-self: start;
  margin-top: 32px;
}

.commercial-directory-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.commercial-filter button.is-active {
  background: var(--ink);
  color: var(--white);
}

.commercial-case-card.is-hidden {
  display: none;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.project-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.project-media video {
  aspect-ratio: 16 / 9;
}

.project-media img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.herair-thumb-row button.is-active {
  background: var(--accent-soft);
  color: var(--accent);
}

.project-copy {
  padding-top: 6px;
}

.project-copy h2 {
  margin-bottom: 26px;
  font-size: clamp(36px, 4.6vw, 64px);
}

.project-copy > p:not(.eyebrow) {
  font-size: 18px;
}

.meta-list {
  display: grid;
  gap: 1px;
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.meta-list div {
  padding: 18px;
  background: var(--white);
}

.meta-list dt {
  margin-bottom: 8px;
}

.meta-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 720;
}

.meta-list a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.herair-theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(12px, 1.8vw, 22px);
}

.herair-theme-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.herair-theme-grid img {
  aspect-ratio: 1;
  background: var(--surface-2);
  object-fit: cover;
}

.herair-theme-grid figcaption {
  padding: 12px 13px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 820;
}

.character-direction .section-head {
  align-items: start;
}

.character-direction .section-head h2 {
  max-width: 820px;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.05;
}

.character-board {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: stretch;
}

.character-board-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.character-board-media img {
  height: 100%;
  min-height: 520px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.character-board-panel {
  display: grid;
  align-content: center;
  padding: clamp(22px, 3.2vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.character-board-panel h3 {
  max-width: 620px;
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
}

.character-board-panel p:not(.eyebrow) {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
}

.character-tabs {
  display: grid;
  gap: 10px;
}

.character-tabs button {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 62px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.character-tabs button.is-active {
  border-color: rgba(11, 110, 255, 0.32);
  background: var(--accent-soft);
}

.character-tabs span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 880;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.character-tabs strong {
  overflow: hidden;
  font-size: 18px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-hero {
  min-height: 62vh;
  padding: 8vw 4vw 5vw;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.topic-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: clamp(30px, 6vw, 96px);
  align-items: end;
}

h1.topic-title {
  max-width: 1040px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.94;
}

h1.topic-title span {
  display: block;
}

.topic-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 20px;
}

.topic-note {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.topic-note span {
  display: block;
  margin-bottom: 46px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.topic-note strong {
  display: block;
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 1.08;
}

.topic-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.topic-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 4vw;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.topic-summary div {
  min-height: 140px;
  padding: 24px;
  background: var(--white);
}

.topic-summary strong {
  display: block;
  margin-bottom: 8px;
  font-size: 34px;
}

.topic-summary span,
.module-grid p,
.lesson-card p,
.method-grid p {
  color: var(--muted);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.module-grid article {
  min-height: 210px;
  padding: 22px;
  background: var(--white);
}

.module-grid span,
.lesson-card span,
.method-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.module-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lesson-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.lesson-card video {
  aspect-ratio: 16 / 9;
}

.lesson-card div {
  padding: 20px;
}

.lesson-card span {
  margin-bottom: 22px;
}

.lesson-card h3 {
  margin-bottom: 12px;
  font-size: 28px;
}

.method-section {
  padding-bottom: 8vw;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.method-grid article {
  min-height: 250px;
  padding: 22px;
  background: var(--white);
}

.method-grid h3 {
  margin-bottom: 14px;
  font-size: 28px;
}

.center-section-head {
  max-width: 1240px;
  margin: 0 auto 4.8vw;
  text-align: center;
}

.center-section-head .eyebrow {
  margin-bottom: 10px;
}

.center-section-head h2 {
  font-family: Impact, "Arial Narrow", Inter, sans-serif;
  font-size: clamp(50px, 6.5vw, 96px);
  line-height: 0.9;
  text-transform: uppercase;
}

.center-section-head h2 span {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 360;
}

.home-short-card a {
  display: grid;
  gap: 20px;
}

.home-short-card video {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(17, 20, 22, 0.08);
}

.home-short-body h3 {
  margin-bottom: 14px;
  font-family: Impact, "Arial Narrow", Inter, sans-serif;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 0.98;
  text-transform: uppercase;
}

.home-short-body p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}

.home-short-body ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: 17px;
  font-style: italic;
  line-height: 1.45;
  list-style: none;
}

@media (max-width: 1040px) {
  

  

  

  

  .route-card,
  .work-card,
  .lab-grid article {
    grid-column: span 6;
  }

  

  .section-head,
  .split-section,
  .project-feature,
  .commercial-directory,
  .character-board,
  .topic-hero-layout,
  .contact,
  .media-pair,
  .brand-material-layout {
    grid-template-columns: 1fr;
  }

  .topic-summary,
  .capability-strip,
  .home-shorts-grid,
  .commercial-jump-grid,
  .module-grid,
  .lesson-grid,
  .method-grid,
  .video-grid,
  .compact-video-grid,
  .prompt-grid {
    grid-template-columns: 1fr;
  }

  

  

  

  .gallery-grid,
  .two-up,
  .material-grid,
  .asset-gallery,
  .visual-image-wall {
    columns: 2 260px;
  }

  

  
}

@media (max-width: 680px) {
  .site-header {
    gap: 8px;
    padding: 6px 10px;
    max-width: calc(100vw - 16px);
  }

  .nav {
    gap: 9px;
    font-size: 13px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: none;
    white-space: nowrap;
  }

  .nav a:last-child {
    padding: 7px 12px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 40px;
  }

  

  

  

  

  

  

  

  .center-section-head {
    margin-bottom: 38px;
  }

  .center-section-head h2 {
    font-size: 48px;
  }

  .home-short-body h3 {
    font-size: 38px;
  }

  .home-short-body p,
  .home-short-body ul {
    font-size: 16px;
  }

  .character-board-media img {
    min-height: 300px;
  }

  .character-board-panel {
    padding: 22px;
  }

  .character-tabs button {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 58px;
    padding: 0 12px;
  }

  .character-tabs strong {
    font-size: 16px;
  }

  

  

  

  .home-hero p:not(.eyebrow),
  .page-hero p:not(.eyebrow),
  .topic-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    transform: none;
    margin-top: 18px;
  }

  .proof-strip a,
  .proof-strip div {
    min-height: 108px;
  }

  

  

  

  

  

  

  

  

  

  

  

  .route-card,
  .work-card,
  .feature-card,
  .lab-grid article {
    grid-column: span 12;
  }

  .route-card {
    min-height: 220px;
  }

  .route-card strong {
    margin-top: 38px;
  }

  .work-card video,
  .feature-card video,
  .video-card video {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  

  .gallery-grid,
  .two-up,
  .material-grid,
  .asset-gallery,
  .visual-image-wall {
    columns: 1;
  }

  

  .module-title {
    display: grid;
    gap: 8px;
  }

  .workflow-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .split-section h2 {
    font-size: 30px;
    line-height: 1.18;
  }

  .page-hero,
  .topic-hero {
    min-height: auto;
    padding-top: 16vw;
  }

  .page-hero h1,
  h1.topic-title {
    font-size: 44px;
  }

  .site-footer {
    display: block;
  }
}

/* ─── Animate: Easing tokens ──────────────────────────────────────── */

:root {
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ─── Animate: Button :active press ──────────────────────────────── */

.button:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 80ms;
}

/* ─── Overdrive: Cursor Glow ───────────────────────────────────────── */

@property --glow-x {
  syntax: "<percentage>";
  initial-value: 50%;
  inherits: false;
}

@property --glow-y {
  syntax: "<percentage>";
  initial-value: 50%;
  inherits: false;
}

/* ─── Overdrive: Hero Scroll Parallax ─────────────────────────────── */

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    

    @keyframes parallax-media {
      to { transform: translateY(-56px); }
    }

    

    @keyframes parallax-intro {
      to { transform: translateY(-28px); }
    }
  }
}

/* ─── Overdrive: Card 3-D Tilt ─────────────────────────────────────── */

.home-short-card {
  transition: transform 80ms ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}

.home-short-card video {
  transition: box-shadow 180ms ease;
}

.home-short-card:hover video {
  box-shadow: 0 24px 60px rgba(17, 20, 22, 0.18);
}

/* ─── Overdrive: Cross-document cinematic page transitions ─────────── */
/* Cross-document (MPA) View Transitions. Same-origin http(s) only —      */
/* gracefully falls back to instant navigation on Firefox and file://.    */

@view-transition {
  navigation: auto;
}

/* Persistent chrome: the header is its own snapshot group, so it stays   */
/* anchored while the page body performs the cinematic cut.               */
.site-header {
  view-transition-name: site-header;
}

/* The featured film travels between the homepage showcase and the films  */
/* hero. Scoped per page so the name stays unique within each document.   */
[data-page="home"] .work-list .work-row:first-child .work-thumb {
  view-transition-name: featured-film;
}

[data-page="films"] .project-feature .project-media video {
  view-transition-name: featured-film;
}

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-group(root) {
    animation-duration: 480ms;
    animation-timing-function: var(--ease-out-expo);
  }

  ::view-transition-old(root) {
    animation-name: vt-shot-out;
  }

  ::view-transition-new(root) {
    animation-name: vt-shot-in;
  }

  @keyframes vt-shot-out {
    to {
      opacity: 0;
      transform: scale(0.985) translateY(-10px);
    }
  }

  @keyframes vt-shot-in {
    from {
      opacity: 0;
      transform: scale(1.014) translateY(16px);
    }
  }

  /* The travelling film gets a longer, smoother arc than the page body. */
  ::view-transition-group(featured-film) {
    animation-duration: 600ms;
    animation-timing-function: var(--ease-out-expo);
  }
}

/* ─────────────────────────────────────────────────────────────────── */

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

/* ════════════════════════════════════════════════════════════════════
   CINEMA-NOIR · Homepage (scoped to [data-page="home"])
   ════════════════════════════════════════════════════════════════════ */

[data-page="home"] .film-grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

[data-page="home"] main {
  position: relative;
  z-index: 0;
}

/* ── Hero: the screening room ─────────────────────────────────────── */
[data-page="home"] .cinema-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: calc(100svh - 72px);
  padding: clamp(32px, 7vw, 96px) 6vw clamp(40px, 6vw, 80px);
  overflow: hidden;
  background: var(--charcoal) center / cover no-repeat;
  isolation: isolate;
}

[data-page="home"] .cinema-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(0.85) contrast(1.05);
}

[data-page="home"] .cinema-hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 88% at 16% 100%, oklch(12% 0.006 70 / 0.92), transparent 60%),
    linear-gradient(0deg, oklch(12% 0.006 70 / 0.97) 3%, oklch(12% 0.006 70 / 0.34) 56%, oklch(12% 0.006 70 / 0.72));
}

[data-page="home"] .cinema-hero-inner {
  position: relative;
  width: min(900px, 100%);
}

[data-page="home"] .cinema-hero .eyebrow {
  color: var(--accent);
}

[data-page="home"] .cinema-hero-name {
  margin: 0 0 24px;
  font-size: clamp(60px, 13vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.015em;
  color: var(--ink);
}

[data-page="home"] .cinema-hero-lead {
  max-width: 54ch;
  margin: 0;
  color: oklch(89% 0.012 85);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.62;
}

[data-page="home"] .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

[data-page="home"] .cinema-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin: 42px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-family: "Big Shoulders Display", "Noto Sans SC", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

[data-page="home"] .cinema-hero-scroll {
  position: absolute;
  right: 6vw;
  bottom: clamp(40px, 6vw, 80px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

[data-page="home"] .cinema-hero-scroll::after {
  content: "";
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--accent), transparent);
}

/* ── Section marquee heads ────────────────────────────────────────── */
[data-page="home"] .section-marquee {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 0 clamp(28px, 4vw, 52px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

[data-page="home"] .section-marquee .eyebrow {
  margin: 0;
}

[data-page="home"] .section-marquee h2 {
  margin: 0;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 0.94;
}

[data-page="home"] .section {
  padding: clamp(64px, 9vw, 132px) 6vw 0;
}

/* ── Selected films ───────────────────────────────────────────────── */
[data-page="home"] .home-showcase-section {
  background: var(--bg);
}

[data-page="home"] .home-shorts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}

[data-page="home"] .home-short-card a {
  display: block;
}

[data-page="home"] .home-short-card video {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
  transition: border-color 220ms ease, box-shadow 280ms ease;
}

[data-page="home"] .home-short-card:hover video {
  border-color: oklch(80% 0.155 75 / 0.5);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.62), 0 0 0 1px oklch(80% 0.155 75 / 0.22);
}

[data-page="home"] .home-short-body {
  padding: 18px 4px 0;
}

[data-page="home"] .home-short-body h3 {
  margin: 0 0 8px;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: none;
}

[data-page="home"] .home-short-body p {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  line-height: 1.55;
}

/* ── About strip ──────────────────────────────────────────────────── */
[data-page="home"] .cinema-about {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(64px, 9vw, 132px) 6vw 0;
}

[data-page="home"] .cinema-portrait {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

[data-page="home"] .cinema-portrait img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.04);
}

[data-page="home"] .cinema-about-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.05;
}

[data-page="home"] .cinema-about-copy p {
  max-width: 60ch;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
}

[data-page="home"] .cinema-about-loc {
  font-family: "Big Shoulders Display", "Noto Sans SC", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
  font-size: 14px;
}

/* ── Work categories ──────────────────────────────────────────────── */
[data-page="home"] .route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

[data-page="home"] .route-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
  transition: transform 240ms var(--ease-out-expo), border-color 240ms ease, background 240ms ease;
}

[data-page="home"] .route-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 100% 0, oklch(80% 0.155 75 / 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 240ms ease;
}

[data-page="home"] .route-card:hover {
  transform: translateY(-5px);
  border-color: oklch(80% 0.155 75 / 0.45);
  background: var(--surface-2);
}

[data-page="home"] .route-card:hover::before {
  opacity: 1;
}

[data-page="home"] .route-card strong {
  position: relative;
  margin: 0 0 10px;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  line-height: 1.05;
}

[data-page="home"] .route-card p {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

[data-page="home"] .route-card::after {
  content: "→";
  position: absolute;
  top: 24px;
  right: 26px;
  font-size: 22px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 220ms ease, transform 220ms var(--ease-out-expo);
}

[data-page="home"] .route-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* ── Contact: the amber moment ────────────────────────────────────── */
[data-page="home"] .contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin: clamp(72px, 10vw, 150px) 6vw clamp(40px, 6vw, 90px);
  padding: clamp(40px, 6vw, 80px);
  border: 1px solid oklch(80% 0.155 75 / 0.3);
  border-radius: var(--radius);
  background:
    radial-gradient(130% 170% at 100% 0, oklch(27% 0.05 75), transparent 60%),
    var(--surface);
  overflow: hidden;
}

[data-page="home"] .contact::before {
  display: none;
}

[data-page="home"] .contact .eyebrow {
  color: var(--accent);
}

[data-page="home"] .contact h2 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(28px, 3.6vw, 50px);
  line-height: 1.05;
}

[data-page="home"] .contact p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
}

/* ── Footer ───────────────────────────────────────────────────────── */
[data-page="home"] .site-footer {
  margin-top: 0;
  border-top: 1px solid var(--line);
  background: var(--charcoal);
  color: var(--soft);
}

/* ── Entrance: rise from black (first load) ───────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  [data-page="home"] .cinema-hero-inner > * {
    animation: cn-rise 900ms var(--ease-out-expo) both;
  }
  [data-page="home"] .cinema-hero .eyebrow { animation-delay: 120ms; }
  [data-page="home"] .cinema-hero-name { animation-delay: 200ms; }
  [data-page="home"] .cinema-hero-lead { animation-delay: 340ms; }
  [data-page="home"] .hero-actions { animation-delay: 460ms; }
  [data-page="home"] .cinema-hero-meta { animation-delay: 560ms; }

  @keyframes cn-rise {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ── Reduced motion: hold a still frame ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  [data-page="home"] .cinema-hero-bg { display: none; }
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1040px) {
  [data-page="home"] .home-shorts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-page="home"] .cinema-about { grid-template-columns: 1fr; }
  [data-page="home"] .cinema-portrait { max-width: 380px; }
  [data-page="home"] .contact { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  [data-page="home"] .cinema-hero {
    min-height: calc(100svh - 64px);
    padding-bottom: 56px;
  }
  [data-page="home"] .cinema-hero-name { font-size: clamp(54px, 18vw, 88px); }
  [data-page="home"] .cinema-hero-scroll { display: none; }
  [data-page="home"] .home-shorts-grid { grid-template-columns: 1fr; }
  [data-page="home"] .home-short-card video { aspect-ratio: 16 / 10; }
  [data-page="home"] .route-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════════
   CINEMA-NOIR · Motion (earned moments, not fade-up-everything)
   ════════════════════════════════════════════════════════════════════ */

/* Hero comes alive: amber light tracks the cursor (set by script.js) */
[data-page="home"] .cinema-hero-inner { z-index: 1; }

[data-page="home"] .cinema-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(560px circle at var(--glow-x, 74%) var(--glow-y, 26%), oklch(83% 0.16 80 / 0.34), transparent 60%);
  opacity: 0.7;
  transition: opacity 420ms var(--ease-out-quart);
}

[data-page="home"] .cinema-hero.is-glowing::after {
  opacity: 1;
}

/* Button press feedback (all pages) */
.button:active {
  transform: translateY(0) scale(0.985);
}

@media (prefers-reduced-motion: no-preference) {
  /* Scroll cue breathes */
  [data-page="home"] .cinema-hero-scroll::after {
    transform-origin: top;
    animation: cn-scroll-pulse 2.4s var(--ease-out-quart) infinite;
  }
  @keyframes cn-scroll-pulse {
    0%, 100% { opacity: 0.25; transform: scaleY(0.55); }
    50%      { opacity: 1;    transform: scaleY(1); }
  }
}

/* Hero film drifts and zooms as you scroll out of the theatre seat */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-page="home"] .cinema-hero-bg {
      animation: cn-hero-parallax linear both;
      animation-timeline: scroll(root);
      animation-range: 0 85vh;
    }
    @keyframes cn-hero-parallax {
      to { transform: translateY(7%) scale(1.12); }
    }
  }
}

/* Section titles wipe in like a title card (scroll-driven; degrades to static) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-page="home"] .section-marquee h2 {
      animation: cn-wipe-in 720ms var(--ease-out-expo) both;
      animation-timeline: view();
      animation-range: entry 4% cover 30%;
    }
    @keyframes cn-wipe-in {
      from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(10px); }
      to   { opacity: 1; clip-path: inset(0 0 0 0);   transform: translateY(0); }
    }
  }
}

/* ════════════════════════════════════════════════════════════════════
   Magnetto-style adaptation · editorial work index, badge, magnetic
   ════════════════════════════════════════════════════════════════════ */

[data-magnetic] { will-change: transform; }

/* Hero availability badge */
[data-page="home"] .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

[data-page="home"] .hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: oklch(78% 0.17 150);
}

@media (prefers-reduced-motion: no-preference) {
  [data-page="home"] .hero-badge .dot {
    animation: cn-avail 2.6s var(--ease-out-quart) infinite;
  }
  @keyframes cn-avail {
    0%       { box-shadow: 0 0 0 0 oklch(78% 0.17 150 / 0.55); }
    70%, 100% { box-shadow: 0 0 0 8px oklch(78% 0.17 150 / 0); }
  }
}

/* Editorial work index — replaces the card grid */
[data-page="home"] .work-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

[data-page="home"] .work-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  padding: clamp(18px, 2.6vw, 30px) 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: padding-left 360ms var(--ease-out-expo), background 360ms ease;
}

[data-page="home"] .work-row:hover {
  padding-left: 26px;
  background: linear-gradient(90deg, var(--surface), transparent 80%);
}

[data-page="home"] .work-thumb {
  width: 132px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  object-fit: cover;
  filter: grayscale(0.35) brightness(0.82);
  transition: filter 360ms ease, transform 360ms var(--ease-out-expo);
}

[data-page="home"] .work-row:hover .work-thumb {
  filter: none;
  transform: scale(1.05);
}

[data-page="home"] .work-body {
  min-width: 0;
}

[data-page="home"] .work-cat {
  display: block;
  margin-bottom: 8px;
  font-family: "Big Shoulders Display", "Noto Sans SC", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}

[data-page="home"] .work-title {
  display: block;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

[data-page="home"] .work-arrow {
  font-size: 24px;
  color: var(--muted);
  transition: transform 360ms var(--ease-out-expo), color 360ms ease;
}

[data-page="home"] .work-row:hover .work-arrow {
  color: var(--accent);
  transform: translate(5px, -5px);
}

[data-page="home"] .work-all {
  margin-top: 28px;
}

@media (max-width: 680px) {
  [data-page="home"] .work-row {
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 16px;
  }
  [data-page="home"] .work-thumb { width: 92px; }
  [data-page="home"] .work-row:hover { padding-left: 10px; }
}

/* ════════════════════════════════════════════════════════════════════
   Magnetto flow · capabilities, CTA, expanded footer
   ════════════════════════════════════════════════════════════════════ */

/* ── Capabilities (services) list ─────────────────────────────────── */
[data-page="home"] .cap-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

[data-page="home"] .cap-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) auto;
  align-items: baseline;
  gap: clamp(16px, 3vw, 44px);
  padding: clamp(20px, 2.8vw, 34px) 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: padding-left 360ms var(--ease-out-expo), background 360ms ease;
}

[data-page="home"] .cap-row:hover {
  padding-left: 26px;
  background: linear-gradient(90deg, var(--surface), transparent 80%);
}

[data-page="home"] .cap-term {
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

[data-page="home"] .cap-desc {
  max-width: 42ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

[data-page="home"] .cap-arrow {
  font-size: 22px;
  color: var(--muted);
  transition: transform 360ms var(--ease-out-expo), color 360ms ease;
}

[data-page="home"] .cap-row:hover .cap-arrow {
  color: var(--accent);
  transform: translate(5px, -5px);
}

@media (max-width: 820px) {
  [data-page="home"] .cap-row {
    grid-template-columns: 1fr auto;
    row-gap: 10px;
  }
  [data-page="home"] .cap-desc { grid-column: 1 / -1; }
  [data-page="home"] .cap-row:hover { padding-left: 12px; }
}

/* ── CTA block ────────────────────────────────────────────────────── */
[data-page="home"] .cta-block {
  margin: clamp(80px, 11vw, 168px) 6vw clamp(48px, 6vw, 90px);
  padding: clamp(44px, 6vw, 88px);
  border: 1px solid oklch(80% 0.155 75 / 0.3);
  border-radius: var(--radius);
  background:
    radial-gradient(130% 175% at 100% 0, oklch(27% 0.05 75), transparent 60%),
    var(--surface);
  overflow: hidden;
}

[data-page="home"] .cta-headline {
  margin: 0;
  font-size: clamp(40px, 6.5vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

[data-page="home"] .cta-sub {
  max-width: 48ch;
  margin: 24px 0 0;
  color: var(--ink);
  font-size: clamp(17px, 1.6vw, 21px);
}

[data-page="home"] .cta-mail {
  margin-top: 34px;
  font-size: clamp(16px, 1.5vw, 20px);
}

[data-page="home"] .cta-meta {
  margin: 30px 0 0;
  font-family: "Big Shoulders Display", "Noto Sans SC", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 14px;
}

/* ── Expanded footer ──────────────────────────────────────────────── */
[data-page="home"] .home-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-top: 0;
  padding: clamp(48px, 6vw, 88px) 6vw clamp(36px, 4vw, 52px);
  border-top: 1px solid var(--line);
  background: var(--charcoal);
  color: var(--muted);
}

[data-page="home"] .footer-lead {
  display: grid;
  gap: 18px;
}

[data-page="home"] .footer-avail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}

[data-page="home"] .footer-avail .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: oklch(78% 0.17 150);
}

[data-page="home"] .footer-cta {
  margin: 0;
  max-width: 18ch;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink);
}

[data-page="home"] .footer-cta a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

[data-page="home"] .footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
}

[data-page="home"] .footer-nav a {
  color: var(--muted);
  transition: color 160ms ease;
}

[data-page="home"] .footer-nav a:hover {
  color: var(--ink);
}

[data-page="home"] .footer-base {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--soft);
}

@media (max-width: 680px) {
  [data-page="home"] .home-footer { grid-template-columns: 1fr; }
  [data-page="home"] .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 20px;
    text-align: left;
  }
}

/* ════════════════════════════════════════════════════════════════════
   PROFESSIONAL portfolio homepage (light, case-driven)
   ════════════════════════════════════════════════════════════════════ */

/* ── Positioning ──────────────────────────────────────────────────── */

/* Cursor-revealed tech dot-grid (material / 科技感, follows the cursor) */

.intro.is-live::before { opacity: 0.55; }

/* ── Section heads ────────────────────────────────────────────────── */

.section-head2.on-dark h2 { color: var(--on-dark); }
.section-head2.on-dark p { color: var(--on-dark-muted); }

/* ── Selected cases ───────────────────────────────────────────────── */

/* ── Workflow (real sequence) ─────────────────────────────────────── */

/* ── More work (dark immersive zone) ──────────────────────────────── */

.more-card {
  display: grid;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: oklch(28% 0.03 258);
  color: var(--on-dark);
  transition: transform 240ms var(--ease-out-expo), border-color 240ms ease, background 240ms ease;
}
.more-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: oklch(31% 0.04 258);
}

.more-card strong { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.02em; }
.more-card p { margin: 4px 0 0; color: var(--on-dark-muted); font-size: 14px; line-height: 1.5; }

/* ── 关于我 ───────────────────────────────────────────────────────── */

.about-stats {
  max-width: 1180px;
  margin: clamp(36px, 5vw, 56px) auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.about-stats li {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.about-stats strong {
  display: block;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.about-stats span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.4; }

/* ── 语言切换 中 / EN ─────────────────────────────────────────────── */
.lang-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 13px;
  line-height: 1;
}
.lang-link:hover { border-color: var(--accent); color: var(--accent-text); }

/* ── Contact ──────────────────────────────────────────────────────── */

/* ── Footer (light) ───────────────────────────────────────────────── */
.site-footer {
  margin: 0;
  padding: 30px 6vw;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-row {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--soft);
}
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-row a { color: var(--muted); transition: color 160ms ease; }
.footer-row a:hover { color: var(--ink); }

/* ── Responsive ───────────────────────────────────────────────────── */

/* Hint magnetic CTAs for the compositor (GSAP drives the entrance + reveals) */
[data-magnetic] { will-change: transform; }

/* ── Harbin character turnaround sheets (static images) ───────────── */
.char-sheets {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
}
.char-sheets figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.char-sheets img {
  display: block;
  width: 100%;
  height: auto;
}
.char-sheets figcaption {
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

/* ── Selected work — clean text list, no covers (covers live on detail pages) ── */

.worklist {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.worklist li { border-bottom: 1px solid var(--line); }
.worklist a {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 48px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px) 8px;
  color: var(--ink);
  transition: padding-left 360ms var(--ease-out-expo), background 360ms ease;
}
.worklist a:hover {
  padding-left: 22px;
  background: linear-gradient(90deg, var(--surface-2), transparent 82%);
}

.worklist a:hover .wl-go { transform: translateX(5px); }
@media (max-width: 760px) {
  .worklist a { grid-template-columns: 1fr; gap: 10px; align-items: start; }
  .worklist a:hover { padding-left: 8px; }
}

/* ════════════════════════════════════════════════════════════════════
   Commercial — semi-transparent left sidebar, one project panel at a time
   ════════════════════════════════════════════════════════════════════ */
.page-intro {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) 6vw clamp(24px, 4vw, 44px);
}
.page-intro h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.page-intro p {
  margin: 18px 0 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
}

.proj-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 40px) 6vw clamp(64px, 9vw, 120px);
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.proj-nav {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(100% 0 0 / 0.62);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
}

.proj-nav-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}
.proj-nav-item span {
  display: block;
  margin-top: 2px;
  font-weight: 400;
  font-size: 12px;
  color: var(--soft);
}
.proj-nav-item:hover { background: var(--surface-2); }
.proj-nav-item.is-active { background: var(--ink); color: var(--surface); }
.proj-nav-item.is-active span { color: oklch(80% 0.02 255); }

.proj-panel { display: none; }
.proj-panel.is-active {
  display: block;
  animation: proj-fade 360ms var(--ease-out-quart) both;
}
@keyframes proj-fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.proj-head { margin-bottom: clamp(20px, 3vw, 32px); }
.proj-tag {
  margin: 0 0 12px;
  font-family: "Chakra Petch", "Noto Sans SC", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.proj-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.proj-lead {
  margin: 16px 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
}
.proj-media {
  margin: 0 0 24px;
  max-height: 74vh;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.proj-media img,
.proj-media video { display: block; width: 100%; height: auto; }
.proj-subhead {
  margin: clamp(28px, 4vw, 44px) 0 18px;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.01em;
}

@media (prefers-reduced-motion: reduce) {
  .proj-panel.is-active { animation: none; }
}
@media (max-width: 900px) {
  .proj-layout { grid-template-columns: 1fr; gap: 20px; }
  .proj-nav {
    position: static;
    display: flex;
    flex-direction: column;
    overflow: visible;
    gap: 6px;
  }
  
  .proj-nav-group { margin: 16px 0 6px; }
  .proj-nav-group:first-child { margin-top: 0; }
  .proj-nav-item { white-space: normal; }
}

/* ════════════════════════════════════════════════════════════════════
   films + manim — professional restyle to match the clean light system
   ════════════════════════════════════════════════════════════════════ */
.page-hero,
.topic-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) 6vw clamp(24px, 4vw, 44px);
  text-align: left;
}
.page-hero h1,
.topic-hero .topic-title {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.page-hero > p,
.topic-hero p { color: var(--muted); max-width: 60ch; }
.topic-hero .topic-title span { display: block; }

[data-page="films"] .section,
[data-page="manim"] .section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 84px) 6vw;
}

/* responsive, consistent video / lesson grids */
.video-grid,
.compact-video-grid,
.lesson-grid {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}
.video-card,
.lesson-card { background: var(--surface); }
.video-card video,
.lesson-card video { background: var(--surface-2); }
.video-card h3,
.lesson-card h3 { font-size: clamp(20px, 2vw, 26px); margin: 14px 0 10px; letter-spacing: -0.01em; }

/* stat strips */
.proof-strip,
.topic-summary { max-width: 1240px; margin: 0 auto; }

/* manim: drop the 01–09 numbered scaffolding (cleaner, matches the site) */
[data-page="manim"] .module-grid article > span:first-child,
[data-page="manim"] .module-title > span:first-child { display: none; }

/* films/manim footer: tidy the bare footer into a row */
[data-page="films"] .site-footer,
[data-page="manim"] .site-footer,
[data-page="lab"] .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--soft);
}

/* ════════════════════════════════════════════════════════════════════
   Media ratio — main / enlarged media keeps its TRUE ratio (no crop).
   Grid thumbnails (.video-card / .lesson-card) keep the neat cover crop.
   ════════════════════════════════════════════════════════════════════ */
.proj-media,
.project-media {
  max-height: none;
  display: grid;
  place-items: center;
}
.proj-media > video,
.proj-media > img,
.project-media > video,
.project-media > img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}
.character-board-media {
  aspect-ratio: auto;
  max-height: none;
  display: grid;
  place-items: center;
  background: var(--surface-2);
}
.character-board-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

/* ── Video lightbox (grid thumbnails stay cropped; click → true ratio) ── */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 5vw;
  background: oklch(15% 0.012 255 / 0.97);
}
.video-lightbox.is-open { display: grid; }
.video-lightbox-stage {
  max-width: 92vw;
  max-height: 88vh;
}
.video-lightbox-stage video {
  display: block;
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius);
  background: #000;
}
.video-lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.video-card video,
.lesson-card video { cursor: zoom-in; }

/* ── Commercial: sidebar groups + poster grid (pro-32) ──────────────── */
.proj-nav-group {
  margin: 24px 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
}
.proj-nav-group:first-child { margin-top: 0; }
.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  align-items: start;
}
.poster-grid figure { margin: 0; }
.poster-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  cursor: zoom-in;
  box-shadow: 0 8px 24px oklch(20% 0.02 255 / 0.1);
  transition: transform 240ms var(--ease-out-expo);
}
.poster-grid img:hover { transform: translateY(-4px); }
.poster-grid figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.video-lightbox-stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius);
}

.herair-theme-grid img, .char-sheets img, .asset-gallery img, .proj-media img, .character-board-media img, .visual-image-wall img { cursor: zoom-in; }

/* ── Contact social links (pro-34) ──────────────────────────────────── */

.social-link {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font: inherit; font-size: 14px; color: var(--muted);
  background: none; cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}
.social-link:hover { border-color: var(--accent); color: var(--accent-text); }

/* ── Hero 墨·余白 prototype（仅中文首页，pro-35）────────────────────── */

.ink-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }

@media (prefers-reduced-motion: reduce) { .ink-canvas { display: none; } }

/* ══ 浮动卡片 + 全局水墨（中文首页 prototype, pro-36）═══════════════════ */
@property --fy { syntax: "<length>"; inherits: false; initial-value: 0px; }

body[data-page="home"] { background: oklch(95.8% 0.013 86); }  /* washi base */
.ink-canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: -1; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .ink-canvas { display: none; } }

/* 首页区块透明，露出全局水墨（深色"更多作品"保留为墨池带）*/

/* 浮动卡片引擎 */
.tilt-card {
  transform: translateY(var(--fy, 0px)) perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
  will-change: transform;
}
.tilt-card.is-hot { transition: box-shadow .3s ease; }
.float-soft { animation: floatBob 7s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.9s); }
@keyframes floatBob { 0%, 100% { --fy: 0px; } 50% { --fy: -8px; } }
.card-glow { position: relative; }
.card-glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), oklch(100% 0 0 / 0.55), transparent 65%);
  opacity: 0; transition: opacity .35s ease; mix-blend-mode: soft-light;
}
.card-glow.is-hot::after { opacity: 1; }

/* 精选案例 → 漂浮和纸卡片 */
.worklist {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px;
}
.worklist li { border: 0; padding: 0; }
.worklist a {
  display: flex; flex-direction: column; gap: 10px; height: 100%;
  padding: 26px 26px 22px; border-radius: var(--radius);
  background: oklch(98.5% 0.006 88 / 0.86);
  border: 1px solid oklch(80% 0.01 270 / 0.7);
  box-shadow: 0 12px 34px oklch(25% 0.03 270 / 0.10);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.worklist .wl-go { margin-top: auto; }

/* ── Hero 个人照片：缩小 + 水墨双色调（中文首页, pro-37）─────────────── */

/* ── 自定义水墨光标（中文首页, pro-38）──────────────────────────────── */
body.has-ink-cursor, body.has-ink-cursor a, body.has-ink-cursor button,
body.has-ink-cursor .tilt-card, body.has-ink-cursor .social-link { cursor: none; }
.ink-cursor-dot, .ink-cursor-blob { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9999; }
.ink-cursor-dot { width: 7px; height: 7px; background: oklch(24% 0.05 270); }
.ink-cursor-blob { width: 34px; height: 34px; background: oklch(42% 0.08 255 / 0.20); transition: width .25s ease, height .25s ease, background .25s ease; }
body.cursor-hot .ink-cursor-blob { width: 62px; height: 62px; background: oklch(46% 0.10 255 / 0.16); }
body.cursor-hot .ink-cursor-dot { background: oklch(55% 0.16 32); }
@media (prefers-reduced-motion: reduce) { .ink-cursor-dot, .ink-cursor-blob { display: none; } }

/* ══ 全站铺开：墨·余白 + 水墨 + 浮动卡片（pro-40）══════════════════════ */
.page-hero, .topic-hero, .page-intro, .section, .workflow, .visual-wall-section,
.manim-showcase, .contact, .contact2, .split-section, .project-feature,
.commercial-page, .more-work { background: transparent; }
.contact::before { display: none; }
.page-hero h1, .topic-title, .section-head h2, .section-head2 h2, .page-intro h1,
.contact h2, .contact2 h2, .project-copy h2, .proj-head h2 {
  font-family: "Songti SC", "Noto Serif SC", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  letter-spacing: 0.03em;
}
/* 深色"更多作品"带：在水墨上做成半透明墨池，文字仍清晰 */



/* ── 平面设计:海报氛围漂浮展示 ───────────────────────────────── */
.poster-stage {
  display: flex; flex-direction: column;
  gap: clamp(72px, 13vh, 168px);
  width: min(1060px, 92vw); margin: 0 auto;
  padding: clamp(36px, 7vh, 100px) 0 clamp(80px, 12vh, 150px);
}
.poster-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.poster-feature:nth-child(even) .poster-img { order: 2; }   /* 左右交错 */
.poster-img { position: relative; justify-self: center; max-width: min(420px, 82vw); }
.poster-img::before {                       /* 各自色调的柔光氛围 */
  content: ""; position: absolute; inset: -16%;
  background: radial-gradient(circle at 50% 46%, var(--glow, rgba(120,130,150,0.4)), transparent 68%);
  filter: blur(48px); z-index: -1; opacity: 0.6;
}
.poster-img img {
  width: 100%; height: auto; display: block; border-radius: 10px; cursor: zoom-in;
  box-shadow: 0 46px 104px -36px rgba(20,24,40,0.55), 0 10px 30px rgba(20,24,40,0.14);
  animation: poster-float var(--fd, 9s) ease-in-out infinite; will-change: transform;
}
@keyframes poster-float { 0%,100%{ transform: translateY(0) rotate(0deg); } 50%{ transform: translateY(-12px) rotate(0.5deg); } }
.poster-feature:nth-child(even) .poster-img img { animation-name: poster-float-alt; }
@keyframes poster-float-alt { 0%,100%{ transform: translateY(0) rotate(0deg); } 50%{ transform: translateY(-9px) rotate(-0.5deg); } }
.poster-copy { max-width: 44ch; }
.poster-copy .poster-no { font: 600 12px/1 Inter, "Noto Sans SC", sans-serif; letter-spacing: 0.24em; color: var(--soft, #5e6373); }
.poster-copy h2 {
  font-family: "Chakra Petch", "Noto Sans SC", sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; line-height: 1.12;
  margin: 14px 0 4px; color: var(--ink, #20242f); letter-spacing: -0.01em;
}
.poster-copy .poster-en { font-size: 13px; letter-spacing: 0.2em; color: var(--soft, #5e6373); text-transform: uppercase; margin: 0 0 20px; }
.poster-copy p:last-child { color: var(--muted, #3a3f50); line-height: 1.85; font-size: clamp(15px, 1.1vw, 16px); margin: 0; }
@media (max-width: 760px) {
  .poster-feature { grid-template-columns: 1fr; gap: 24px; }
  .poster-feature:nth-child(even) .poster-img { order: 0; }
  .poster-img { max-width: min(360px, 80vw); }
}
@media (prefers-reduced-motion: reduce) { .poster-img img { animation: none; } }
