:root {
  --bg: #fafaf7;
  --text: #111111;
  --muted: #666666;
  --line: #dddddd;
  --accent: #1f5e65;
  --accent-soft: #e3ecea;
  --accent-gold: #8f6826;
  --ink-soft: #20201d;
  --paper: #f2f0ea;
  --surface: #ffffff;
  --max: 1120px;
  --side: 48px;
  --section: 96px;
  --measure: 66ch;
  --font-sans: Inter, "Avenir Next", "Helvetica Neue", Arial, "Noto Sans JP", "Noto Sans SC", "Hiragino Kaku Gothic ProN", "Microsoft YaHei", sans-serif;
  --font-display: "Optima", "Avenir Next", "Helvetica Neue", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Noto Serif SC", "Source Han Serif SC", serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Noto Serif SC", serif;
  --font-latin: Inter, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-sc: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

/* Doctoral research proposal */
.proposal-hero {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: end;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

body[data-page="proposal"] .language-suggestion {
  display: none;
}

.detail-title.proposal-title {
  max-width: 980px;
  font-size: clamp(2.1rem, 2.6vw, 3rem);
  line-height: 1.32;
  letter-spacing: -0.018em;
}

.proposal-subtitle {
  max-width: 920px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.proposal-hero-aside {
  display: grid;
  gap: 18px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.proposal-hero-aside p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.proposal-hero-aside .proposal-positioning {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-serif);
}

.proposal-download {
  width: fit-content;
}

.proposal-toc {
  position: sticky;
  top: 86px;
  z-index: 8;
  display: flex;
  gap: 16px;
  align-items: center;
  overflow-x: auto;
  margin: 0 0 34px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  scrollbar-width: thin;
}

.proposal-toc span {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.proposal-toc a {
  color: var(--muted);
  font-size: 0.78rem;
}

.proposal-toc a:hover,
.proposal-toc a:focus-visible {
  color: var(--text);
}

.proposal-section {
  scroll-margin-top: 146px;
}

.proposal-section > .section-header {
  max-width: 1000px;
  row-gap: 18px;
}

.proposal-section > .section-header > .section-intro {
  grid-column: 2;
  max-width: 760px;
}

.proposal-copy {
  max-width: 920px;
  margin-top: 32px;
}

.proposal-copy p {
  margin: 0 0 1.4em;
  color: var(--text);
  font-size: 1rem;
  line-height: 2;
}

.thesis-abstract-full {
  max-width: 900px;
  margin: 36px 0 28px;
}

.thesis-abstract-full h3 {
  margin: 2.6rem 0 0.85rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
}

.thesis-abstract-full h3:first-child {
  margin-top: 0;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.thesis-abstract-full h3:nth-child(2) {
  margin-top: 1.1rem;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.45;
}

.thesis-abstract-full p {
  max-width: 820px;
  margin: 0 0 1.3rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 2;
}

.proposal-bullets {
  display: grid;
  gap: 0;
  max-width: 980px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.proposal-bullets li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.8;
}

.proposal-pipeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 38px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proposal-pipeline div {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: space-between;
  min-height: 142px;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
}

.proposal-pipeline div:last-child {
  border-right: 0;
}

.proposal-pipeline span,
.proposal-studies span,
.proposal-contributions span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.proposal-pipeline strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 520;
  line-height: 1.5;
}

.proposal-studies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.proposal-studies article {
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proposal-studies h3,
.proposal-contributions h3,
.proposal-contributions h2 {
  margin: 16px 0 14px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 520;
  line-height: 1.55;
}

.proposal-studies p,
.proposal-contributions p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.proposal-table-wrap {
  overflow-x: auto;
  margin-top: 36px;
}

.proposal-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.proposal-table th,
.proposal-table td {
  padding: 18px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.proposal-table th {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.proposal-table td:first-child,
.proposal-table td:nth-child(2) {
  white-space: nowrap;
}

.proposal-contributions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.proposal-contributions article {
  min-height: 220px;
  padding: 24px 24px 24px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proposal-contributions article:nth-child(even) {
  padding-left: 24px;
  border-right: 0;
}

.proposal-references details {
  max-width: 980px;
  margin-bottom: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proposal-references summary {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.proposal-references summary span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
}

.proposal-references ol {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding-left: 1.5rem;
}

.proposal-references li {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.reference-citation {
  color: var(--text);
  text-decoration-color: color-mix(in srgb, var(--accent) 44%, transparent);
  text-underline-offset: 0.18em;
}

.reference-citation:hover,
.reference-citation:focus-visible {
  color: var(--accent);
}

.reference-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: 10px;
}

.reference-links a {
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.reference-links a::before {
  content: "↗ ";
}

.reference-links a:hover,
.reference-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 900px) {
  .proposal-hero,
  .proposal-studies,
  .proposal-contributions {
    grid-template-columns: 1fr;
  }

  .proposal-toc {
    position: static;
    top: auto;
    margin-bottom: 24px;
    backdrop-filter: none;
  }

  .proposal-section > .section-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .proposal-section > .section-header > .section-intro {
    grid-column: 1;
  }

  .proposal-hero-aside {
    padding-left: 18px;
  }

  .proposal-pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proposal-pipeline div:nth-child(even) {
    border-right: 0;
  }

  .proposal-contributions article,
  .proposal-contributions article:nth-child(even) {
    min-height: auto;
    padding: 22px 0;
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .detail-title.proposal-title {
    font-size: clamp(1.8rem, 7.5vw, 2.15rem);
    line-height: 1.3;
  }

  .proposal-toc {
    top: 72px;
    margin-bottom: 18px;
  }

  .proposal-copy p {
    font-size: 0.96rem;
    line-height: 1.9;
  }

  .proposal-pipeline {
    grid-template-columns: 1fr;
  }

  .proposal-pipeline div,
  .proposal-pipeline div:nth-child(even) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proposal-pipeline div:last-child {
    border-bottom: 0;
  }

  .proposal-studies article {
    min-height: auto;
    padding: 22px 18px;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.76;
  font-optical-sizing: auto;
  text-rendering: geometricPrecision;
  overflow-x: clip;
}

html:lang(zh) {
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", Inter, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", "Microsoft YaHei", serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
}

html:lang(ja) {
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, Inter, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Noto Sans JP", serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}

html:lang(en) {
  --font-sans: Inter, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Optima", "Avenir Next", "Helvetica Neue", Georgia, serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

body {
  margin: 0;
  background: var(--bg);
  overflow-x: clip;
}

body::selection {
  background: var(--accent-soft);
}

img,
video {
  display: block;
  width: 100%;
  height: auto;
}

video::cue {
  color: #ffffff;
  background: rgba(17, 17, 17, 0.58);
  font-family: var(--font-latin), var(--font-jp), var(--font-sc);
  font-size: 0.92rem;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration-color: var(--line);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.site-shell {
  width: 100%;
  max-width: calc(var(--max) + var(--side) * 2);
  margin: 0 auto;
  padding-left: max(var(--side), env(safe-area-inset-left));
  padding-right: max(var(--side), env(safe-area-inset-right));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), background 240ms ease, box-shadow 240ms ease;
  will-change: transform;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 72px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 520;
  letter-spacing: 0;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 560;
}

.nav-tabs,
.nav-actions,
.lang-switch {
  display: inline-flex;
  align-items: center;
}

.nav-tabs {
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 78%, white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.nav-actions {
  gap: 8px;
}

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

.nav-mobile-works.is-redundant {
  display: none;
}

.nav a,
.nav-project-trigger,
.nav-project-toggle,
.lang-switch .active {
  text-decoration: none;
  white-space: nowrap;
}

.nav-tabs a,
.nav-project-trigger,
.nav-project-toggle,
.lang-switch a,
.lang-switch .active {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--muted);
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.nav-tabs a:hover,
.nav-tabs a:focus-visible,
.nav-project-trigger:hover,
.nav-project-trigger:focus-visible,
.nav-project-toggle:hover,
.nav-project-toggle:focus-visible,
.lang-switch a:hover,
.lang-switch a:focus-visible {
  color: var(--text);
  outline: none;
}

.nav-tabs a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.05), inset 0 -2px 0 var(--accent);
}

.nav-project-trigger[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
  border-color: rgba(49, 93, 98, 0.26);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-project-single {
  display: inline-flex;
}

body.has-project-menu .nav-project-single {
  display: none;
}

.nav-projects {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-projects.is-expanded {
  gap: 2px;
  padding: 2px;
  border-radius: 6px;
  background: rgba(35, 80, 90, 0.07);
  box-shadow: inset 0 0 0 1px rgba(35, 80, 90, 0.1);
}

.nav-projects.is-expanded .nav-project-trigger[aria-current="page"] {
  background: rgba(255, 255, 255, 0.9);
}

.nav-project-inline {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.nav-project-chip {
  min-height: 30px;
  padding: 0 8px;
  border-radius: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-project-chip:hover,
.nav-project-chip:focus-visible,
.nav-project-chip[aria-current="page"] {
  color: var(--text);
  outline: none;
}

.nav-project-chip[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-project-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  box-shadow: none;
}

.nav-project-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0 -4px 0 -2px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.nav-project-toggle::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-project-trigger.is-open + .nav-project-toggle {
  display: none;
}

.nav-projects:hover .nav-project-trigger,
.nav-projects:focus-within .nav-project-trigger {
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
}

.nav-project-panel {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  width: 292px;
  padding: 10px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 97%, white);
  box-shadow: 0 18px 48px rgba(17, 17, 17, 0.11);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-project-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.nav-projects:hover .nav-project-panel,
.nav-projects:focus-within .nav-project-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-projects.is-expanded:hover .nav-project-panel,
.nav-projects.is-expanded:focus-within .nav-project-panel {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
}

.nav-project-item {
  display: grid;
  gap: 2px;
  padding: 12px 12px 13px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.nav-project-item:last-child {
  border-bottom: 0;
}

.nav-project-item:hover,
.nav-project-item:focus-visible {
  background: var(--accent-soft);
  color: var(--text);
  outline: none;
}

.nav-project-title {
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-project-note {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
  white-space: normal;
}

.nav-mobile-works a {
  text-decoration: none;
}

.lang-switch {
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 78%, white);
  color: var(--muted);
  font-size: 0.82rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.lang-switch a {
  text-decoration: none;
}

.lang-switch .active {
  color: var(--text);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.main {
  padding: 76px 0 112px;
}

.language-suggestion {
  position: fixed;
  right: max(24px, calc((100vw - var(--max)) / 2));
  top: 86px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(520px, calc(100vw - 48px));
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 88%, white);
  box-shadow: 0 18px 48px rgba(17, 17, 17, 0.1);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(14px);
}

.language-suggestion:lang(zh) {
  font-family: var(--font-sc);
}

.language-suggestion:lang(ja) {
  font-family: var(--font-jp);
}

.language-suggestion.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.language-suggestion.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
}

.language-suggestion a,
.language-suggestion button {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.language-suggestion button {
  color: var(--muted);
  cursor: pointer;
}

.language-suggestion a:hover,
.language-suggestion a:focus-visible,
.language-suggestion button:hover,
.language-suggestion button:focus-visible {
  border-color: rgba(49, 93, 98, 0.28);
  color: var(--text);
  outline: none;
}

.hero {
  min-height: calc(100vh - 160px);
  display: grid;
  align-content: center;
  gap: 44px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 64px;
}

.hero-with-media {
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.32fr);
  align-items: end;
  min-height: calc(100vh - 118px);
}

.hero-kicker,
.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title {
  margin: 14px 0 18px;
  max-width: 920px;
  font-family: var(--font-display);
  font-size: 5.45rem;
  line-height: 0.96;
  font-weight: 420;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 0;
  max-width: var(--measure);
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.78;
}

.hero-figure {
  position: relative;
}

.hero-figure::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  z-index: -1;
  border: 1px solid var(--line);
  background: var(--paper);
}

.hero-cinema video,
.hero-cinema img {
  aspect-ratio: 16 / 9;
  min-height: auto;
  max-height: min(68vh, 720px);
  object-fit: contain;
  background: #f4f4ef;
}

.hero-cinema::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(17, 17, 17, 0.08));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.text-link::after {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--accent);
}

.work-entry-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0 var(--section);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dasheng-page .dasheng-title {
  max-width: 980px;
  font-size: clamp(2rem, 3vw, 2.85rem);
  line-height: 1.3;
  overflow-wrap: break-word;
}

.production-note-hero {
  gap: 26px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.production-note-subtitle {
  max-width: 850px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.production-note-lead,
.production-prose {
  max-width: 78ch;
  margin: 0 0 24px;
  font-size: 1.02rem;
  line-height: 1.9;
}

.production-note-meta {
  display: grid;
  grid-template-columns: minmax(80px, .2fr) minmax(150px, .4fr) minmax(0, 1fr);
  gap: 20px 30px;
  margin: 0;
}

.production-note-meta dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: .8rem;
}

.production-note-meta dd {
  margin: 0;
  font-size: .92rem;
  line-height: 1.7;
}

.production-question {
  max-width: 800px;
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.7;
}

.production-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  list-style: none;
  counter-reset: production-step;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.production-flow li {
  counter-increment: production-step;
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--line);
}

.production-flow li::before {
  content: counter(production-step, decimal-leading-zero);
  color: var(--accent);
  font-size: .78rem;
}

.production-flow h3 {
  margin: 12px 0;
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.6;
}

.production-flow p {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.85;
}

.production-record-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: .94rem;
  line-height: 1.8;
}

.production-record-table th,
.production-record-table td {
  padding: 18px 22px 18px 0;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.production-record-table th {
  font-weight: 550;
}

.production-record-table thead th {
  font-size: .82rem;
  color: var(--muted);
}

.production-record-table th:first-child {
  width: 22%;
}

.production-record-table th:nth-child(2) {
  width: 36%;
}

.production-record-note {
  max-width: 92ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.85;
}

.production-shot-record {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.production-shot-record .rule-row {
  grid-template-columns: minmax(100px, .32fr) minmax(0, 1fr);
  gap: 24px;
}

.dasheng-page .figure img,
.dasheng-page .hero-media video {
  height: auto;
  object-fit: contain;
}

.dasheng-page .production-shot-record img,
.dasheng-page .hero-media video {
  aspect-ratio: 16 / 9;
}

.dasheng-recognition summary {
  min-height: 44px;
  cursor: pointer;
  color: var(--muted);
  font-size: .9rem;
}

.dasheng-recognition .figure {
  max-width: 680px;
  margin: 24px auto 0;
}

.production-note-link {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  text-decoration: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.production-note-link > span {
  color: var(--muted);
  font-size: .88rem;
}

.production-note-link h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
}

.production-note-link p {
  max-width: 74ch;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.8;
}

.production-note-link .production-note-topic {
  color: var(--text);
}

.production-note-action {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  font-size: .9rem;
}

.production-note-link:hover h3,
.production-note-link:focus-visible h3 {
  color: var(--accent);
}

.nav-project-group-label {
  margin: 8px 10px 0;
  padding: 12px 0 4px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .7rem;
  font-weight: 500;
}

.nav-project-item-secondary .nav-project-title {
  font-size: .86rem;
  font-weight: 500;
}

@media (max-width: 980px) {
  .production-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .production-shot-record {
    grid-template-columns: 1fr;
  }
  .production-shot-record .figure {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .production-note-meta,
  .production-flow,
  .production-note-link,
  .production-shot-record .rule-row {
    grid-template-columns: 1fr;
  }
  .production-note-link,
  .production-shot-record .rule-row {
    gap: 12px;
  }
  .production-flow li {
    padding: 20px 0;
  }
  .production-record-table,
  .production-record-table tbody,
  .production-record-table tr,
  .production-record-table th,
  .production-record-table td {
    display: block;
    width: 100%;
  }
  .production-record-table thead {
    display: none;
  }
  .production-record-table tr {
    padding: 18px 0;
    border-top: 1px solid var(--line);
  }
  .production-record-table th:first-child,
  .production-record-table th:nth-child(2) {
    width: 100%;
  }
  .production-record-table th,
  .production-record-table td {
    padding: 5px 0;
    border: 0;
  }
  .production-record-table td::before {
    display: block;
    content: attr(data-label);
    margin: 6px 0 2px;
    color: var(--muted);
    font-size: .78rem;
  }
}

.work-entry-strip a {
  display: grid;
  gap: 6px;
  padding: 18px 22px 20px 0;
  color: var(--text);
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.dasheng-page .production-note-meta {
  grid-template-columns: minmax(230px, .65fr) minmax(0, 1fr);
}

.dasheng-page .production-film-section {
  margin-top: 0;
}

.evidence-heading {
  margin: 42px 0 22px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 550;
  line-height: 1.6;
}

.action-note-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin: 10px 0 18px;
  padding: 8px 0;
  cursor: pointer;
  font-size: .9rem;
  line-height: 1.6;
}

.action-note-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.action-note-toggle:focus-within {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

.dasheng-page .evidence-figure img,
.dasheng-page .evidence-video video,
.dasheng-page #film video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.dasheng-page .dasheng-recognition img {
  aspect-ratio: auto;
}

.dasheng-page video::cue {
  font-size: clamp(13px, 1.4vw, 20px);
  line-height: 1.4;
}

.dasheng-page .evidence-video {
  margin-bottom: 26px;
}

.subtitle-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 14px;
  color: var(--muted);
  font-size: .82rem;
}

.subtitle-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.evidence-details {
  margin-top: 30px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.evidence-details summary {
  cursor: pointer;
  min-height: 40px;
  font-size: .96rem;
  line-height: 1.75;
}

.evidence-details[open] summary {
  margin-bottom: 20px;
}

.record-fragment {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 18px 0;
  font-size: .85rem;
  line-height: 1.85;
}

.evidence-trace {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 28px;
  padding: 20px 0;
  margin: 22px 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.evidence-trace li {
  min-width: 0;
}

.evidence-trace span,
.evidence-trace small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.evidence-trace strong {
  display: block;
  margin: 10px 0;
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.timeline-clips {
  display: grid;
  gap: 8px;
}

.timeline-clips > span {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 14px 0;
  border-top: 2px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline-clips > span:nth-child(2) {
  border-top-color: var(--accent);
}

.timeline-clips strong {
  font-size: .88rem;
  font-weight: 550;
}

.timeline-clips small {
  font-size: .74rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.artistic-choice-chain {
  padding-left: 1.4em;
  margin: 0;
  max-width: 80ch;
  line-height: 1.9;
}

.artistic-choice-chain li + li {
  margin-top: 14px;
}

@media (max-width: 760px) {
  .dasheng-page .production-note-meta,
  .evidence-trace {
    grid-template-columns: 1fr;
  }
  .timeline-clips {
    grid-template-columns: 1fr !important;
  }
  .timeline-clips > span {
    grid-template-columns: minmax(0, .65fr) minmax(0, 1fr);
    gap: 14px;
  }
  .evidence-trace li + li {
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
}

.work-entry-strip a + a {
  padding-left: 22px;
}

.work-entry-strip a:last-child {
  border-right: 0;
}

.work-entry-strip span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.work-entry-strip strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 520;
}

.work-entry-strip em {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.45;
}

.work-entry-strip a:hover,
.work-entry-strip a:focus-visible {
  color: var(--accent);
  outline: none;
}

.section {
  margin-top: var(--section);
}

.academic-hero {
  min-height: calc(100vh - 132px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 64px;
  align-items: center;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.academic-title {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-size: 5.85rem;
  line-height: 0.96;
  font-weight: 420;
  letter-spacing: 0;
}

.muted-title {
  color: var(--muted);
  font-weight: 380;
}

.academic-identity {
  margin: 0;
  max-width: 780px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.82;
}

.academic-panel {
  position: relative;
  padding: 0 0 0 28px;
  border-left: 1px solid var(--line);
  background: transparent;
}

.academic-panel p {
  margin: 0;
  color: var(--muted);
}

.academic-question > span,
.research-development article > span,
.decision-case-copy > span,
.practice-phd-grid article > span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.academic-question p {
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.78;
}

.research-development {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.research-development article {
  position: relative;
  min-height: 240px;
  padding: 26px 28px 28px 0;
}

.research-development article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.research-development article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -11px;
  top: 31px;
  z-index: 1;
  width: 22px;
  color: var(--accent);
  background: var(--paper);
  font-size: 1rem;
  line-height: 1;
  text-align: center;
}

.research-development h3,
.practice-phd-grid h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 500;
  line-height: 1.28;
}

.research-development p,
.practice-phd-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.academic-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.download-card,
.proposal-card {
  display: grid;
  gap: 10px;
  min-height: 158px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(12px);
  text-decoration: none;
}

.entry-card {
  display: grid;
  gap: 10px;
  min-height: 132px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-decoration: none;
}

.entry-card:hover,
.entry-card:focus-visible,
.download-card:hover,
.download-card:focus-visible {
  border-color: var(--accent);
  color: var(--text);
  outline: none;
}

.download-card-secondary {
  min-height: 122px;
  opacity: 0.7;
  background: rgba(255, 255, 255, 0.22);
  border-color: color-mix(in srgb, var(--line) 72%, transparent);
}

.download-card-secondary:hover,
.download-card-secondary:focus-visible {
  opacity: 0.96;
}

.cv-document-link-secondary {
  opacity: 0.58;
  font-size: 0.88em;
}

.cv-document-link-secondary:hover,
.cv-document-link-secondary:focus-visible { opacity: 1; }

.entry-card span,
.download-card span,
.proposal-card span {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.entry-card strong,
.download-card strong,
.proposal-card strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 520;
  line-height: 1.35;
}

.entry-card p,
.download-card p,
.proposal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.academic-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 48px;
  align-items: start;
}

.education-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.education-seal {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  padding: 34px 28px 34px 0;
  border-right: 1px solid var(--line);
}

.education-seal img {
  width: clamp(96px, 13vw, 148px);
  height: auto;
  filter: saturate(0.88) contrast(1.05);
}

.education-seal span {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.5;
}

.education-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.education-item {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  min-height: 220px;
  padding: 34px 36px;
  border-right: 1px solid var(--line);
}

.education-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.62;
}

.education-item-graduate::before {
  background:
    linear-gradient(90deg, rgba(31, 94, 101, 0.075) 1px, transparent 1px) 0 0 / 18px 100%,
    linear-gradient(0deg, rgba(31, 94, 101, 0.05) 1px, transparent 1px) 0 0 / 100% 42px,
    rgba(255, 255, 255, 0.42);
}

.education-item-undergraduate::before {
  background:
    repeating-linear-gradient(45deg, rgba(143, 104, 38, 0.075) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(-45deg, rgba(143, 104, 38, 0.052) 0 1px, transparent 1px 16px),
    rgba(255, 255, 255, 0.32);
}

.education-item:last-child {
  border-right: 0;
}

.education-item span,
.tool-group h3 {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.education-item h3 {
  margin: 16px 0 8px;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 520;
}

.education-item p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cv-profile-section {
  padding-top: 18px;
}

.cv-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(32px, 6vw, 92px);
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cv-profile-lead {
  max-width: 32em;
  margin: 18px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2vw, 1.82rem);
  line-height: 1.5;
}

.cv-document-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.cv-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  margin: 0;
}

.cv-facts div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.cv-facts dt,
.cv-focus-grid span,
.cv-record-list > article > span,
.cv-phase-grid span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cv-facts dd {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.55;
}

.cv-facts a { color: inherit; }

.cv-focus-grid,
.cv-study-grid,
.cv-phase-grid,
.cv-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cv-focus-grid article,
.cv-study-grid article,
.cv-phase-grid article {
  min-height: 176px;
  padding: 28px 30px;
  border-right: 1px solid var(--line);
}

.cv-focus-grid article:last-child,
.cv-study-grid article:last-child,
.cv-phase-grid article:last-child { border-right: 0; }

.cv-focus-grid h3,
.cv-study-grid h3,
.cv-phase-grid h3,
.cv-record-list h3 {
  margin: 20px 0 9px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 580;
  line-height: 1.45;
}

.cv-focus-grid p,
.cv-study-grid p,
.cv-record-list p,
.cv-research-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.78;
}

.cv-research-section { padding-bottom: 8px; }

.cv-research-title {
  max-width: 1000px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 2.5vw, 2.15rem);
  font-weight: 520;
  line-height: 1.42;
}

.cv-research-copy { max-width: 920px; }

.cv-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
}

.cv-metric-grid article { padding: 18px 22px; border-right: 1px solid var(--line); }
.cv-metric-grid article:last-child { border-right: 0; }
.cv-metric-grid span { color: var(--muted); font-size: 0.82rem; line-height: 1.45; }
.cv-metric-grid p { display: flex; align-items: baseline; gap: 9px; margin: 11px 0 0; }
.cv-metric-grid b { color: var(--muted); font-size: 1rem; font-weight: 500; }
.cv-metric-grid i { color: var(--accent); font-style: normal; }
.cv-metric-grid strong { color: var(--accent); font-size: 1.28rem; }

.cv-phase-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 30px; }
.cv-phase-grid article { min-height: 112px; padding: 20px 22px; }
.cv-phase-grid h3 { margin: 16px 0 0; }

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

.cv-record-list > article {
  display: grid;
  grid-template-columns: minmax(130px, 0.2fr) minmax(0, 1fr);
  gap: 28px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.cv-record-list h3 { margin: 0 0 8px; font-size: 1.27rem; }

@media (max-width: 760px) {
  .cv-profile-grid,
  .cv-focus-grid,
  .cv-study-grid,
  .cv-phase-grid,
  .cv-metric-grid,
  .cv-facts { grid-template-columns: 1fr; }

  .cv-profile-grid { gap: 30px; padding: 26px 0; }
  .cv-facts { gap: 15px; }
  .cv-focus-grid article,
  .cv-study-grid article,
  .cv-phase-grid article,
  .cv-metric-grid article { min-height: 0; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .cv-focus-grid article:last-child,
  .cv-study-grid article:last-child,
  .cv-phase-grid article:last-child,
  .cv-metric-grid article:last-child { border-bottom: 0; }
  .cv-focus-grid h3,
  .cv-study-grid h3 { margin-top: 12px; }
  .cv-record-list > article { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .cv-document-links { gap: 14px 22px; }
}

.cv-skills {
  display: grid;
  gap: 52px;
}

.tool-group {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.24fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.tool-group::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 72px;
  height: 1px;
  background: var(--accent);
}

.tool-group h3 {
  margin: 6px 0 0;
  max-width: 13em;
  line-height: 1.45;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-top: 0;
}

.tool-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 126px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(31, 94, 101, 0.04), transparent 48%),
    rgba(255, 255, 255, 0.42);
  transition: border-color 180ms ease, background 180ms ease;
}

.tool-card:hover {
  border-color: color-mix(in srgb, var(--accent) 24%, var(--line));
  background:
    linear-gradient(135deg, rgba(31, 94, 101, 0.055), transparent 48%),
    rgba(255, 255, 255, 0.58);
}

.tool-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 58px;
  border: 0;
  border-radius: 0;
  color: var(--accent);
  background: transparent;
  overflow: hidden;
}

.tool-mark-logo img {
  display: block;
  max-width: 64px;
  max-height: 38px;
  object-fit: contain;
  filter: grayscale(0.18) saturate(0.86) contrast(1.05);
  opacity: 0.94;
}

.tool-mark-logo .logo-wide {
  max-width: 70px;
}

.tool-mark-logo .logo-comfy {
  max-width: 34px;
  max-height: 38px;
  filter: brightness(0) saturate(100%) invert(29%) sepia(33%) saturate(777%) hue-rotate(139deg) brightness(86%) contrast(89%);
  opacity: 1;
}

.tool-mark-logo .logo-app {
  max-width: 46px;
  max-height: 46px;
  filter: none;
  opacity: 1;
}

.tool-mark-logo .logo-max {
  max-width: 58px;
  max-height: 58px;
}

.tool-mark-text {
  padding: 0 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 640;
  line-height: 1.18;
  text-align: center;
  overflow-wrap: anywhere;
  color: color-mix(in srgb, var(--text) 82%, var(--accent));
}

.tool-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 560;
  line-height: 1.28;
}

.tool-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.48;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.24fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  min-height: 238px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(31, 94, 101, 0.055), transparent 42%),
    transparent;
  overflow: hidden;
}

.contact-panel::before {
  content: none;
}

.contact-panel span {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-panel a {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.7vw, 1.48rem);
  font-weight: 480;
  line-height: 1.34;
  text-decoration: none;
}

.contact-panel a:hover,
.contact-panel a:focus-visible {
  color: var(--accent);
  outline: none;
}

.cv-email-panel {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 10px;
  min-height: auto;
  padding: 28px 24px;
  text-align: center;
  background: linear-gradient(90deg, transparent, rgba(31, 94, 101, 0.04), transparent);
}

.cv-email-panel a {
  max-width: 100%;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  font-weight: 500;
  letter-spacing: 0.012em;
  overflow-wrap: anywhere;
}

.contact-panel-qr {
  grid-template-columns: minmax(190px, 0.26fr) minmax(0, 1fr);
}

.contact-panel-qr figure {
  display: grid;
  gap: 12px;
  margin: 0;
  max-width: 214px;
  padding-left: 0;
}

.contact-panel-qr img {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.contact-panel-qr figcaption {
  color: color-mix(in srgb, var(--text) 78%, var(--accent));
  font-family: var(--font-display);
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact-panel-qr p {
  display: none;
}

.contact-panel-zh {
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.28fr);
  align-items: center;
  min-height: 196px;
  padding: 26px 0;
  background: linear-gradient(90deg, rgba(31, 94, 101, 0.045), transparent 58%);
}

.contact-email-copy {
  display: grid;
  gap: 10px;
  align-content: center;
}

.contact-panel-zh .contact-email-copy a {
  font-size: clamp(1.04rem, 1.45vw, 1.26rem);
  font-weight: 500;
  letter-spacing: 0.012em;
  overflow-wrap: anywhere;
}

.contact-email-copy p {
  max-width: 31em;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

.contact-panel-zh figure {
  display: grid;
  gap: 8px;
  justify-self: end;
  width: 138px;
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.contact-panel-zh img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-panel-zh figcaption {
  color: color-mix(in srgb, var(--text) 72%, var(--accent));
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .contact-panel-zh {
    gap: 24px;
    padding: 26px 22px;
  }

  .contact-panel-zh figure {
    justify-self: start;
    width: 132px;
    padding-left: 0;
    border-left: 0;
  }
}

.thesis-model {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.model-layer {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, white);
}

.model-layer h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.model-layer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.translation-pane {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.translation-pane::before {
  content: attr(data-source);
  position: absolute;
  inset: 18px;
  z-index: -1;
  color: rgba(17, 17, 17, 0.055);
  font-size: 1.18rem;
  line-height: 1.9;
}

.disabled-link {
  color: var(--muted);
  cursor: not-allowed;
}

.visual-index {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 28px;
  align-items: stretch;
}

.visual-index-main,
.visual-index-side {
  display: grid;
  gap: 28px;
}

.visual-index-main .figure img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #f4f4ef;
}

.visual-index-side .figure img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #f4f4ef;
}

.index-link {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

.index-link .figure {
  height: 100%;
}

.index-link::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 47%, var(--accent) 48% 52%, transparent 53%) center / 13px 13px no-repeat,
    color-mix(in srgb, var(--bg) 86%, transparent);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.index-link:hover::after,
.index-link:focus-visible::after {
  opacity: 1;
  transform: translate(0, 0);
  border-color: var(--accent);
}

.index-link:hover .caption,
.index-link:focus-visible .caption {
  color: var(--accent);
}

.index-link:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 6px;
}

.reel-band {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr;
  gap: 16px;
  align-items: end;
}

.reel-band .index-link:nth-child(1) .figure img,
.reel-band > .figure:nth-child(1) img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #f4f4ef;
}

.reel-band .index-link:nth-child(2) .figure img,
.reel-band > .figure:nth-child(2) img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #f4f4ef;
}

.reel-band .index-link:nth-child(3) .figure img,
.reel-band > .figure:nth-child(3) img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #f4f4ef;
}

.reel-band .caption {
  min-height: 3em;
}

.reel-band .figure img,
.visual-index .figure img,
.segment-card img,
.work-card .figure img {
  max-height: 620px;
}

.reel-band .figure img,
.visual-index .figure img,
.segment-card img {
  padding: 10px;
}

.work-card .figure img {
  padding: 12px;
}

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

.segment-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.segment-card img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #f4f4ef;
}

.segment-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 650;
}

.segment-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.62;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.feature-stack {
  display: grid;
  gap: 20px;
}

.observation-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 24px;
  align-items: end;
}

.observation-grid .figure:first-child img {
  aspect-ratio: 4 / 3;
}

.observation-grid .figure:nth-child(2) img,
.observation-grid .figure:nth-child(3) img {
  aspect-ratio: 3 / 4;
}

.workflow-map {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  counter-reset: workflow;
}

.workflow-node {
  counter-increment: workflow;
  position: relative;
  min-height: 178px;
  padding: 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 64%, var(--bg));
}

.workflow-node::before {
  content: counter(workflow, decimal-leading-zero);
  display: block;
  margin-bottom: 26px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.workflow-node::after {
  content: "";
  position: absolute;
  top: 31px;
  right: -8px;
  width: 16px;
  height: 1px;
  background: var(--accent);
}

.workflow-node:last-child::after {
  display: none;
}

.workflow-node h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.workflow-node p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.note-panel {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  max-width: var(--measure);
  font-family: var(--font-serif);
  line-height: 1.82;
}

.decision-case-grid {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.decision-case {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 38px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.decision-case .figure {
  margin: 0;
}

.decision-case .figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.decision-case-copy dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.decision-case-copy dl div {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 18px;
}

.decision-case-copy dt {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.decision-case-copy dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.practice-to-phd .text-link {
  margin-top: 28px;
}

.practice-phd-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.practice-phd-grid article {
  min-height: 216px;
  padding: 26px 28px 28px 0;
}

.practice-phd-grid article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(180px, 0.33fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 36px;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 520;
  letter-spacing: 0;
}

.section-intro {
  margin: 0;
  max-width: var(--measure);
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.82;
}

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

.rule-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.33fr) minmax(0, 1fr);
  gap: 48px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.rule-row dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.rule-row dd {
  margin: 0;
  max-width: var(--measure);
  line-height: 1.76;
}

.project-lead {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.42rem;
  line-height: 1.58;
  color: var(--text);
}

.capability-list .rule-row {
  min-height: 74px;
}

.capability-list dt {
  color: var(--accent);
  font-weight: 700;
}

.work-list {
  display: grid;
  gap: 28px;
}

.work-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(0, 0.95fr);
  gap: 42px;
  padding: 26px 72px 48px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.work-card::after {
  content: "→";
  position: absolute;
  top: 28px;
  right: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 1.15rem;
  line-height: 1;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.work-card:hover .media-placeholder,
.work-card:hover img {
  filter: contrast(1.03);
}

.work-card .figure {
  overflow: visible;
}

.work-card img {
  transition: transform 220ms ease, filter 220ms ease;
  object-fit: contain;
  aspect-ratio: auto;
  background: #f4f4ef;
}

.work-card:hover img {
  transform: none;
}

.work-card:hover {
  border-color: color-mix(in srgb, var(--accent) 54%, var(--line));
  transform: translateY(-2px);
}

.work-card:hover::after {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateX(4px);
}

.work-card img,
.hero-figure img,
.hero-media video,
.hero-media img {
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.06);
}

.work-card-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 2.08rem;
  line-height: 1.12;
  font-weight: 430;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-grid span {
  display: block;
  color: var(--text);
}

.figure {
  margin: 0;
}

.figure img,
.figure video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
}

.media-placeholder {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eeeee8;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
}

.hero-media .figure img {
  aspect-ratio: 16 / 8.8;
}

.hero-media .figure video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.hero-figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-cinema video,
.hero-cinema img,
.reel-band .figure img,
.visual-index .figure img,
.segment-card img,
.work-card .figure img {
  object-fit: contain;
  background: #f4f4ef;
}

.hero-cinema video,
.hero-cinema img {
  aspect-ratio: 16 / 9;
}

.reel-band .figure img,
.visual-index .figure img,
.segment-card img,
.work-card .figure img {
  aspect-ratio: auto;
}

.evidence-figure img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #f4f4ef;
}

.observation-grid .evidence-figure img {
  object-fit: cover;
}

.observation-grid .figure:first-child img {
  aspect-ratio: 4 / 3;
}

.observation-grid .figure:nth-child(2) img,
.observation-grid .figure:nth-child(3) img {
  aspect-ratio: 3 / 4;
}

.caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.media-placeholder {
  display: grid;
  place-items: end start;
  min-height: 260px;
  padding: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.media-compact {
  max-width: 760px;
}

.media-compact video,
.media-compact img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #f4f4ef;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 28px;
}

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

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

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.catalog-grid .span-7 {
  grid-column: span 7;
}

.catalog-grid .span-5 {
  grid-column: span 5;
}

.catalog-grid .span-4 {
  grid-column: span 4;
}

.catalog-grid .span-3 {
  grid-column: span 3;
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.travel-grid .wide {
  grid-column: span 8;
}

.travel-grid .tall {
  grid-column: span 4;
}

.travel-grid .half {
  grid-column: span 6;
}

.travel-grid .third {
  grid-column: span 4;
}

.travel-grid .figure img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.travel-grid .tall img {
  aspect-ratio: 4 / 5;
}

.detail-hero {
  display: grid;
  gap: 34px;
  margin-bottom: var(--section);
}

.detail-title {
  margin: 10px 0 0;
  max-width: 860px;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.98;
  font-weight: 420;
  letter-spacing: 0;
}

.detail-summary {
  display: grid;
  grid-template-columns: minmax(360px, 0.42fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.detail-summary .rule-row {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
}

.detail-summary .rule-row dt {
  font-size: 0.88rem;
}

.detail-summary .rule-row dd {
  max-width: none;
  line-height: 1.62;
}

.detail-summary p {
  margin: 0;
  max-width: var(--measure);
  color: var(--muted);
  font-size: 1.05rem;
}

.process-list {
  counter-reset: process;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-step {
  counter-increment: process;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.process-step::before {
  content: counter(process, decimal-leading-zero);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.process-step h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.process-step p {
  margin: 0;
  max-width: var(--measure);
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.reading-wheel {
  position: fixed;
  right: max(18px, calc((100vw - var(--max)) / 2 - 92px));
  top: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: 132px 52px;
  gap: 12px;
  align-items: center;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-50%) translateX(10px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.reading-wheel:not(.is-visible) {
  pointer-events: none;
}

.reading-wheel.is-visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.reading-wheel__labels {
  order: 1;
  position: relative;
  height: 54px;
  overflow: hidden;
  text-align: right;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}

.reading-wheel__label {
  position: absolute;
  right: 0;
  max-width: 132px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 650;
  line-height: 1.22;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 160ms ease;
}

.reading-wheel__label--prev {
  top: 6px;
  opacity: var(--prev-opacity, 0.46);
  transform: translateY(var(--label-roll, 0px));
}

.reading-wheel__label--current {
  top: 22px;
  color: var(--text);
  opacity: var(--current-opacity, 0.9);
  transform: translateY(var(--label-roll, 0px));
}

.reading-wheel__label--next {
  top: 38px;
  opacity: var(--next-opacity, 0);
  transform: translateY(var(--label-roll, 0px));
}

.reading-wheel:hover .reading-wheel__labels,
.reading-wheel:focus-within .reading-wheel__labels {
  width: 230px;
  margin-left: -98px;
  padding: 8px 10px;
  height: 70px;
  background: color-mix(in srgb, var(--bg) 92%, white);
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
  mask-image: none;
}

.reading-wheel:hover .reading-wheel__label,
.reading-wheel:focus-within .reading-wheel__label {
  max-width: 210px;
  color: var(--text);
}

.reading-wheel__ring {
  order: 2;
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--bg) 0 54%, transparent 56%),
    conic-gradient(var(--accent) var(--progress-turn, 0turn), rgba(35, 80, 90, 0.13) 0);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.reading-wheel__ring::before,
.reading-wheel__ring::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(35, 80, 90, 0.28);
}

.reading-wheel__ring::after {
  inset: 19px;
  border-color: rgba(35, 80, 90, 0.18);
  transform: rotate(var(--progress-deg, 0deg));
}

.reading-wheel__mark {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 1px;
  height: 10px;
  background: var(--accent);
  transform-origin: 50% 21px;
  transform: translateX(-50%) rotate(var(--progress-deg, 0deg));
}

@media (max-width: 1200px) {
  :root {
    --side: clamp(30px, 7.6vw, 42px);
    --section: 72px;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
  }

  .site-shell {
    min-width: 0;
  }

  .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
    padding: 10px 0;
    transition: padding 220ms ease, gap 220ms ease;
  }

  .brand {
    font-size: 0.94rem;
    max-height: 32px;
    opacity: 1;
    overflow: hidden;
    transition: opacity 180ms ease, max-height 220ms ease, transform 220ms ease;
  }

  .nav {
    display: contents;
    width: 100%;
  }

  .nav-actions {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    justify-self: end;
    width: 100%;
    max-height: 40px;
    transition: opacity 180ms ease, max-height 180ms ease, transform 180ms ease;
  }

  .lang-switch {
    max-width: min(52vw, 240px);
    overflow-x: auto;
    padding: 3px;
  }

  .lang-switch a,
  .lang-switch .active {
    justify-content: center;
    min-width: 56px;
    min-height: 40px;
    padding: 0 8px;
  }

  .nav-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    padding: 3px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-tabs::after {
    content: "";
    flex: 0 0 10px;
  }

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

  .nav-tabs a,
  .nav-project-trigger {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 10px;
  }

  .nav-project-toggle {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    margin: 0 -4px 0 -2px;
  }

  .nav-projects.is-expanded {
    gap: 3px;
    padding: 3px;
    flex: 0 0 auto;
    background: rgba(31, 94, 101, 0.085);
  }

  .nav-projects.is-expanded .nav-project-inline {
    display: inline-flex;
    align-items: center;
    gap: 3px;
  }

  .nav-projects.is-expanded .nav-project-toggle {
    display: none;
  }

  .nav-project-chip {
    flex: 0 0 auto;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.42);
    font-size: 0.76rem;
  }

  .nav-project-chip[aria-current="page"] {
    background: rgba(255, 255, 255, 0.92);
  }

  .nav-project-trigger.is-open + .nav-project-toggle {
    display: inline-flex;
  }

  .nav-projects.is-expanded .nav-project-trigger.is-open + .nav-project-toggle {
    display: none;
  }

  .nav-mobile-works {
    display: none;
    gap: 8px;
    width: 100%;
    max-height: 38px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    transition: opacity 180ms ease, max-height 180ms ease, transform 180ms ease;
  }

  .nav-mobile-works.is-redundant {
    display: none;
  }

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

  .nav-mobile-works a {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid rgba(17, 17, 17, 0.09);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.54);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 650;
  }

  .nav-mobile-works a[aria-current="page"] {
    color: var(--text);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: inset 0 -2px 0 var(--accent);
  }

  body.mobile-nav-compact .site-header {
    background: color-mix(in srgb, var(--bg) 98%, white);
    box-shadow: 0 10px 28px rgba(17, 17, 17, 0.06);
  }

  body.mobile-nav-compact .header-inner {
    grid-template-columns: 1fr;
    min-height: 48px;
    padding: 8px 0;
    gap: 6px;
    align-items: center;
  }

  body.mobile-nav-compact .brand {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    position: absolute;
  }

  body.mobile-nav-compact .nav-actions,
  body.mobile-nav-compact .nav-mobile-works {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    position: absolute;
  }

  body.mobile-nav-compact .nav-tabs {
    grid-column: 1;
    grid-row: 1;
    min-height: 38px;
    align-self: center;
  }

  body.mobile-nav-hidden .site-header {
    transform: translateY(-100%);
  }

  /* The proposal TOC is moved inside the header by nav-guidance.js. */
  .proposal-toc:not(.is-docked) {
    position: static;
    top: auto;
  }

  .proposal-toc:not(.is-docked) .proposal-toc-marker {
    display: none;
  }

  .header-inner > .proposal-toc {
    position: static;
    top: auto;
    z-index: auto;
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    box-sizing: border-box;
    gap: 14px;
    margin: 0;
    padding: 10px var(--side) 8px;
    border-top: 1px solid var(--line);
    border-bottom: 0;
    background: color-mix(in srgb, var(--bg) 98%, white);
    backdrop-filter: blur(12px);
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
  }

  .header-inner > .proposal-toc::-webkit-scrollbar {
    display: none;
  }

  .proposal-toc-marker {
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 0;
    border-right: 5px solid transparent;
    border-bottom: 6px solid var(--accent);
    border-left: 5px solid transparent;
    filter: drop-shadow(0 0 1px rgba(250, 250, 247, 0.98));
    pointer-events: none;
    will-change: transform;
  }

  .header-inner > .proposal-toc a[aria-current="location"] {
    color: var(--text);
  }

  body.mobile-nav-compact .header-inner > .proposal-toc {
    grid-row: 2;
  }

  body[data-page="proposal"] .proposal-section {
    scroll-margin-top: 156px;
  }

  .nav-project-panel {
    position: fixed;
    top: 108px;
    left: var(--side);
    right: var(--side);
    width: auto;
    max-height: min(58vh, 360px);
    overflow: auto;
    z-index: 70;
  }

  .nav-projects:hover .nav-project-panel,
  .nav-projects:focus-within .nav-project-panel {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
  }

  .nav-projects.is-menu-open .nav-project-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .work-entry-strip {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .work-entry-strip a,
  .work-entry-strip a + a {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .work-entry-strip a:last-child {
    border-bottom: 0;
  }

  .main {
    padding-top: 44px;
  }

  .section {
    margin-top: 76px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-intro,
  .rule-row dd,
  .caption,
  .entry-card p,
  .download-card p,
  .proposal-card p {
    line-height: 1.74;
  }

  .figure,
  .work-card,
  .segment-card,
  .model-layer,
  .download-card,
  .proposal-card {
    max-width: 100%;
  }

  .language-suggestion {
    left: 16px;
    right: 16px;
    top: 88px;
    bottom: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: none;
  }

  .language-suggestion a,
  .language-suggestion button {
    justify-content: center;
  }

  .hero-title,
  .academic-title,
  .detail-title {
    font-size: clamp(2.72rem, 15vw, 3.35rem);
    line-height: 1.02;
  }

  .academic-identity {
    font-size: 1rem;
    line-height: 1.84;
  }

  .hero-subtitle {
    font-size: 1.06rem;
  }

  .project-lead {
    font-size: 1.22rem;
  }

  .work-card-title {
    font-size: 1.62rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: 56px;
  }

  .hero-with-media {
    grid-template-columns: 1fr;
  }

  .hero-figure::before {
    display: none;
  }

  .hero-with-media,
  .detail-hero,
  .section,
  .work-entry-strip {
    max-width: 100%;
  }

  .figure img,
  .figure video {
    max-width: 100%;
  }

  .section-header,
  .rule-row,
  .work-card,
  .detail-summary,
  .process-step {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .grid-2,
  .grid-3,
  .academic-hero,
  .academic-links,
  .academic-grid,
  .education-panel,
  .education-timeline,
  .thesis-model,
  .catalog-grid,
  .observation-grid,
  .travel-grid,
  .visual-index,
  .reel-band,
  .segment-grid,
  .workflow-map,
  .feature-grid,
  .research-development,
  .practice-phd-grid,
  .tool-group,
  .tool-grid,
  .contact-panel,
  .contact-panel-qr,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .academic-hero {
    min-height: auto;
    gap: 34px;
    align-items: start;
    padding: 18px 0 52px;
  }

  .academic-title {
    margin: 10px 0 22px;
  }

  .academic-panel {
    padding-left: 18px;
  }

  .research-development article,
  .research-development article + article,
  .practice-phd-grid article,
  .practice-phd-grid article + article {
    min-height: 0;
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .research-development article:last-child,
  .practice-phd-grid article:last-child {
    border-bottom: 0;
  }

  .research-development article:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 0;
    top: auto;
    bottom: -10px;
  }

  .decision-case {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .decision-case-copy dl div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .academic-links {
    gap: 10px;
    margin-top: 28px;
  }

  .education-panel {
    gap: 0;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.36);
  }

  .education-seal {
    padding: 28px 24px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    justify-items: center;
    text-align: center;
  }

  .education-seal img {
    width: 118px;
  }

  .education-seal span {
    font-size: 0.9rem;
  }

  .education-item {
    min-height: auto;
    padding: 28px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .education-item h3 {
    font-size: 1.28rem;
  }

  .education-item p {
    font-size: 0.96rem;
    line-height: 1.76;
  }

  .education-item:last-child {
    border-bottom: 0;
  }

  .tool-group {
    gap: 18px;
    padding-top: 22px;
  }

  .tool-card {
    min-height: 88px;
    padding: 16px 14px;
    grid-template-columns: 68px minmax(0, 1fr);
    border-radius: 8px;
  }

  .tool-mark {
    width: 68px;
    min-height: 48px;
  }

  .tool-mark-logo img {
    max-width: 54px;
    max-height: 30px;
  }

  .contact-panel {
    gap: 16px;
    align-items: start;
    min-height: auto;
    padding: 26px 22px;
    border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.36);
  }

  .contact-panel-qr figure {
    max-width: min(270px, 100%);
    padding-left: 0;
    justify-self: start;
  }

  .catalog-grid .span-7,
  .catalog-grid .span-5,
  .catalog-grid .span-4,
  .catalog-grid .span-3,
  .travel-grid .wide,
  .travel-grid .tall,
  .travel-grid .half,
  .travel-grid .third {
    grid-column: auto;
  }

  .workflow-node {
    min-height: auto;
  }

  .workflow-node::after {
    display: none;
  }

  .work-card {
    padding-right: 0;
  }

  .work-card::after {
    position: static;
    margin-top: 8px;
  }

  .hero-media .figure img {
    aspect-ratio: 4 / 3;
  }

  .hero-media .figure video,
  .project-video,
  .work-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
  }

  .hero-cinema video,
  .hero-cinema img {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .footer-inner {
    display: grid;
  }

  .reading-wheel {
    right: 14px;
    top: auto;
    bottom: 18px;
    gap: 8px;
    grid-template-columns: 96px 42px;
    transform: translateY(8px);
  }

  .reading-wheel.is-visible {
    transform: translateY(0);
  }

  .reading-wheel__labels {
    height: 48px;
  }

  .reading-wheel__label {
    max-width: 96px;
    font-size: 0.66rem;
    line-height: 1.18;
  }

  .reading-wheel__label--prev {
    top: 5px;
  }

  .reading-wheel__label--current {
    top: 19px;
  }

  .reading-wheel__label--next {
    top: 33px;
  }

  .reading-wheel:hover .reading-wheel__labels,
  .reading-wheel:focus-within .reading-wheel__labels {
    width: min(58vw, 184px);
    margin-left: 0;
  }

  .reading-wheel:hover .reading-wheel__label,
  .reading-wheel:focus-within .reading-wheel__label {
    max-width: calc(min(58vw, 184px) - 20px);
  }

  .reading-wheel__ring {
    width: 42px;
    height: 42px;
  }

  .reading-wheel__ring::before {
    inset: 10px;
  }

  .reading-wheel__ring::after {
    inset: 16px;
  }

  .reading-wheel__mark {
    height: 8px;
    transform-origin: 50% 19px;
  }
}

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

  .reading-wheel {
    transition: none;
  }
}
