
:root {
  color-scheme: light;
  --paper: #f5f2ed;
  --paper-2: #ece8e1;
  --surface: #e4dfd7;
  --ink: #181818;
  --muted: #6b6761;
  --line: #d2ccc3;
  --accent: #7a4b47;
  --accent-soft: #d6c2bd;
  --header-height: 66px;
  --page-x: clamp(24px, 5vw, 82px);
  --section-y: clamp(104px, 11vw, 168px);
  --max-width: 1440px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  --font-display: "Noto Serif SC", "Songti SC", "STSong", "Source Han Serif SC", serif;
  --font-accent: "Cormorant Garamond", "Times New Roman", serif;
  font-family: var(--font-sans);
  font-synthesis: none;
  font-optical-sizing: auto;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "liga" 1, "kern" 1;
}

main,
footer,
section {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

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

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

figure,
h1,
h2,
h3,
p,
dl,
dd,
ol {
  margin: 0;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-120%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(12px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  width: 100%;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-x);
  border-bottom: 1px solid transparent;
  background: rgba(245, 242, 237, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    border-color 280ms ease,
    background 280ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(24, 24, 24, 0.11);
  background: rgba(245, 242, 237, 0.9);
}

.wordmark {
  font-family: var(--font-accent);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.site-nav a::after,
.text-link::after,
.contact-details a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after,
.contact-details a:hover::after,
.contact-details a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.section-shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-right: var(--page-x);
  padding-left: var(--page-x);
}

.section-label,
.eyebrow,
.project-kicker,
.meta-label,
.case-index {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-label,
.eyebrow,
.project-kicker,
.meta-label {
  color: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(50px, 6vw, 94px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.project-section {
  position: relative;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  border-top: 1px solid var(--line);
}

.case-index {
  margin-bottom: 46px;
  color: var(--muted);
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}


:is(.section-title, .hero h1, .case-heading h2, .wuhan-heading h2, .nonstandard-heading h2, .yishu-heading h2, .qifu-copy h2, .contact-title h2) {
  text-wrap: balance;
}

.hero-copy::before,
.case-heading::before,
.wuhan-heading::before,
.nonstandard-heading::before,
.yishu-heading::before,
.qifu-copy::before,
.contact-title::before {
  display: block;
  width: 54px;
  height: 1px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, var(--accent), transparent);
  content: "";
}

.hero-copy::before {
  margin-bottom: 30px;
}

/* Hero */
.hero {
  display: grid;
  min-height: 100dvh;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: clamp(44px, 7vw, 112px);
  align-items: center;
  padding-top: clamp(108px, 10vw, 144px);
  padding-bottom: 44px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 40px;
}

.eyebrow {
  margin-bottom: clamp(34px, 5vw, 62px);
}

.hero h1 {
  max-width: 7ch;
  font-family: var(--font-display);
  font-size: clamp(70px, 8vw, 122px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero h1 span:last-child {
  margin-top: 16px;
  margin-left: clamp(18px, 3vw, 48px);
  color: var(--accent);
  font-size: 0.76em;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero-lede {
  max-width: 28em;
  margin-top: clamp(34px, 4vw, 56px);
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.82;
}

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

.hero-actions > span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.text-link {
  position: relative;
  display: inline-block;
  padding: 7px 0 5px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
  width: min(100%, 660px);
  justify-self: end;
  overflow: hidden;
}

.hero-visual::before {
  position: absolute;
  inset: 0 0 0 66%;
  z-index: 1;
  content: "";
  border-left: 1px solid rgba(245, 242, 237, 0.38);
  pointer-events: none;
}

.hero-visual img {
  min-height: clamp(520px, 63vh, 760px);
  object-fit: cover;
  object-position: 61% center;
  will-change: transform;
}

.hero-visual figcaption {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 2;
  color: rgba(245, 242, 237, 0.82);
}

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(70px, 9vw, 144px);
  align-items: start;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  border-top: 1px solid var(--line);
}

.about-portrait {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  max-width: 420px;
  overflow: hidden;
}

.about-portrait img {
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.98);
}

.about-story .section-label {
  margin-bottom: 24px;
}

.section-intro {
  max-width: 38em;
  margin-top: clamp(32px, 4vw, 56px);
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.8;
}

.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(28px, 4vw, 60px);
  margin-top: clamp(56px, 7vw, 92px);
  border-top: 1px solid var(--ink);
}

.capability-grid article {
  position: relative;
  min-height: 172px;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
}

.capability-no {
  position: absolute;
  top: 25px;
  right: 0;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.capability-grid h3,
.role-copy h3,
.supporting-experience h3,
.wuhan-summary h3,
.role-split h3,
.content-types h3,
.workflow-note h3,
.qifu-grid h3 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.capability-grid p,
.supporting-experience p,
.role-split p,
.content-types p,
.timeline p,
.qifu-grid p,
.qifu-note p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.education {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  margin-top: 58px;
}

.education > div {
  display: grid;
  gap: 5px;
}

.education strong {
  margin: 10px 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.education span:not(.meta-label) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* Experience / index */
.experience {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  border-top: 1px solid var(--line);
}

.experience-heading {
  display: block;
}

.experience-heading-copy {
  max-width: 900px;
}

.experience-heading .section-label {
  margin-bottom: 24px;
}

.video-hub-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  gap: 24px;
  align-items: center;
  min-width: 0;
  min-height: 132px;
  padding: 24px 22px 22px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background:
    radial-gradient(circle at 110% -10%, rgba(122, 75, 71, 0.42), transparent 44%),
    linear-gradient(145deg, #171717 0%, #20201f 100%);
  box-shadow:
    0 16px 36px rgba(20, 18, 17, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: #f6f2ec;
  isolation: isolate;
  transition:
    transform 320ms var(--ease),
    box-shadow 320ms var(--ease),
    border-color 320ms ease;
}

.video-hub-link::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 3px;
  content: "";
  background: var(--accent);
  transition: width 360ms var(--ease);
}

.video-hub-link::after {
  position: absolute;
  right: -28px;
  bottom: -52px;
  z-index: -1;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  content: "";
}

.video-hub-copy {
  display: grid;
  min-width: 0;
}

.video-hub-kicker {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: rgba(246, 242, 236, 0.58);
  font-family: var(--font-ui);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.2;
}

.video-hub-kicker em {
  padding-left: 8px;
  border-left: 1px solid rgba(246, 242, 236, 0.2);
  color: #b98279;
  font-style: normal;
}

.video-hub-link strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.video-hub-link small {
  display: block;
  margin-top: 8px;
  color: rgba(246, 242, 236, 0.5);
  font-size: 10px;
  letter-spacing: 0.045em;
}

.video-hub-action {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(246, 242, 236, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  transition:
    transform 320ms var(--ease),
    border-color 260ms ease,
    background 260ms ease;
}

.video-hub-action svg {
  width: 18px;
  height: 18px;
  overflow: visible;
  fill: #f6f2ec;
  transform: translateX(1px);
}

@media (hover: hover) {
  .video-hub-link:hover {
    transform: translateY(-4px);
    border-color: rgba(122, 75, 71, 0.4);
    box-shadow:
      0 24px 48px rgba(20, 18, 17, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .video-hub-link:hover::before {
    width: 100%;
  }

  .video-hub-link:hover .video-hub-action {
    border-color: rgba(185, 130, 121, 0.82);
    background: var(--accent);
    transform: translateX(3px);
  }
}


.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(64px, 9vw, 140px);
  align-items: start;
  margin-top: clamp(70px, 9vw, 122px);
}

.timeline {
  border-top: 1px solid var(--ink);
}

.timeline article {
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--line);
}

.timeline-topline {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.timeline h3 {
  margin-top: 19px;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.2vw, 31px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.timeline-role {
  margin-top: 7px;
  color: var(--accent) !important;
  font-size: 11px !important;
  letter-spacing: 0.04em;
}

.timeline article > p:last-child {
  max-width: 48em;
  margin-top: 18px;
}

.work-index {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  border-top: 1px solid var(--ink);
}

.work-index a {
  display: grid;
  min-height: 92px;
  grid-template-columns: 34px 1fr 20px;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition:
    color 280ms ease,
    padding 320ms var(--ease);
}

.work-index > a > span {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.work-index strong,
.work-index small {
  display: block;
}

.work-index strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.work-index small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.work-index i {
  justify-self: end;
  font-style: normal;
  transition: transform 320ms var(--ease);
}

@media (hover: hover) {
  .work-index a:hover {
    padding-left: 10px;
    color: var(--accent);
  }

  .work-index a:hover i {
    transform: translate(4px, 4px);
  }
}

/* Guangxi */
.media-case {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.case-heading {
  max-width: 920px;
}

.project-kicker {
  margin-bottom: 22px;
}

.case-heading h2,
.wuhan-heading h2,
.nonstandard-heading h2,
.yishu-heading h2,
.qifu-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(58px, 7.5vw, 110px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}

.case-heading > p:last-child,
.nonstandard-heading > p:last-child,
.yishu-intro,
.qifu-lede {
  max-width: 44em;
  margin-top: 34px;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.78;
}

.metrics {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.12fr;
  margin-top: clamp(74px, 9vw, 122px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-height: 208px;
  padding: 28px 24px 26px 0;
  border-right: 1px solid var(--line);
}

.metric:not(:first-child) {
  padding-left: 24px;
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(54px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.accent-metric strong {
  color: var(--accent);
}

.metric span {
  display: block;
  margin-top: 64px;
  color: var(--muted);
  font-size: 11px;
}

.media-gallery {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(220px, 0.72fr) minmax(340px, 1.56fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
  margin-top: clamp(74px, 9vw, 128px);
}

.media-phone {
  max-width: 360px;
}

.media-phone-offset {
  margin-top: 116px;
}

.media-phone img,
.yishu-main img,
.yishu-talk img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.media-proof {
  display: grid;
  gap: clamp(56px, 8vw, 108px);
  align-self: stretch;
}

.media-proof figure {
  margin-top: 42px;
}

.media-proof figure img {
  border: 1px solid var(--line);
}

.role-copy {
  align-self: end;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.role-copy p {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* Workflow */
.workflow {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  border-top: 1px solid var(--line);
}

.workflow-copy {
  max-width: 780px;
}

.workflow-copy .section-label {
  margin-bottom: 24px;
}

.workflow-copy > p:last-child {
  max-width: 39em;
  margin-top: 34px;
  color: var(--muted);
  font-size: 16px;
}

.process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: clamp(64px, 8vw, 110px) 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
  counter-reset: process;
}

.process li {
  position: relative;
  min-height: 132px;
  padding: 28px 14px 20px 0;
  border-right: 1px solid var(--line);
  counter-increment: process;
}

.process li:not(:first-child) {
  padding-left: 18px;
}

.process li:last-child {
  border-right: 0;
}

.process li::before {
  content: "0" counter(process);
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.process span {
  display: block;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 600;
}

.script-layout {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
  margin-top: clamp(72px, 9vw, 126px);
}

.script-page {
  padding: clamp(18px, 3vw, 38px);
  border: 1px solid var(--line);
  background: #faf8f4;
}

.script-page-b {
  margin-top: 86px;
}

.workflow-note {
  align-self: center;
  padding: 30px 0 0;
  border-top: 1px solid var(--ink);
}

.workflow-note > span,
.qifu-note > span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.workflow-note h3 {
  margin-top: 22px;
  font-size: clamp(24px, 2.7vw, 38px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.22;
}

.workflow-note p {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.supporting-experience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 88px);
  margin-top: clamp(84px, 10vw, 138px);
}

.supporting-experience article {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.supporting-experience article > span {
  position: absolute;
  top: 28px;
  right: 0;
  color: var(--accent);
  font-size: 9px;
}

/* Wuhan */
.wuhan-heading p:last-child,
.yishu-heading > p:last-child {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.wuhan-hero {
  margin-top: clamp(66px, 8vw, 112px);
  overflow: hidden;
}

.wuhan-hero img {
  aspect-ratio: 16 / 7.2;
  object-fit: cover;
  will-change: transform;
}

.rhythm-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.rhythm-map > div {
  min-height: 148px;
  padding: 30px 22px 22px 0;
  border-right: 1px solid var(--line);
}

.rhythm-map > div:not(:first-child) {
  padding-left: 22px;
}

.rhythm-map > div:last-child {
  border-right: 0;
}

.rhythm-map span {
  font-size: 13px;
  font-weight: 600;
}

.rhythm-map p {
  margin-top: 38px;
  color: var(--muted);
  font-size: 11px;
}

.wuhan-evidence {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(260px, 0.84fr);
  gap: clamp(38px, 6vw, 90px);
  align-items: start;
  margin-top: clamp(74px, 10vw, 132px);
}

.wuhan-frame img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.wuhan-summary {
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.wuhan-summary dl {
  display: grid;
  gap: 18px;
}

.wuhan-summary dl div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.wuhan-summary dt {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.wuhan-summary dd {
  color: var(--muted);
  font-size: 12px;
}

.wuhan-summary > p {
  margin-top: clamp(40px, 6vw, 74px);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.wuhan-timeline {
  grid-column: 1 / -1;
  width: 74%;
  margin-top: clamp(42px, 6vw, 76px);
  margin-left: auto;
}

/* Nonstandard */
.nonstandard-heading {
  max-width: 820px;
}

.nonstandard-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.55fr 0.73fr;
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  margin-top: clamp(72px, 9vw, 124px);
}

.nonstandard-logo {
  align-self: end;
  margin-bottom: -68px;
}

.nonstandard-main {
  overflow: hidden;
}

.nonstandard-detail {
  align-self: start;
  margin-top: -46px;
}

.role-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 116px);
  margin-top: clamp(102px, 12vw, 168px);
}

.role-split article {
  padding-top: 26px;
  border-top: 1px solid var(--ink);
}

.role-split .meta-label {
  margin-bottom: 18px;
}

/* Qifu */
.qifu-case {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
  background:
    linear-gradient(90deg, transparent 0, transparent 27%, rgba(122, 75, 71, 0.04) 27%, rgba(122, 75, 71, 0.04) 100%);
}

.qifu-number {
  position: sticky;
  top: calc(var(--header-height) + 26px);
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(120px, 15vw, 220px);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.qifu-copy {
  padding-top: 4px;
}

.qifu-copy .project-kicker {
  margin-bottom: 22px;
}

.qifu-lede {
  max-width: 38em;
}

.qifu-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 58px);
  margin-top: clamp(76px, 9vw, 120px);
  border-top: 1px solid var(--ink);
}

.qifu-grid article {
  padding-top: 28px;
}

.qifu-grid article > span {
  display: block;
  margin-bottom: 40px;
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.qifu-note {
  grid-column: 2;
  display: grid;
  grid-template-columns: 0.36fr 0.64fr;
  gap: 40px;
  align-items: start;
  margin-top: clamp(86px, 10vw, 134px);
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.qifu-note p {
  max-width: 46em;
  font-size: 14px;
}

/* Yishu */
.yishu-layout {
  display: grid;
  grid-template-columns: 0.68fr 1fr 0.72fr;
  gap: clamp(34px, 5.5vw, 82px);
  align-items: start;
  margin-top: clamp(72px, 9vw, 124px);
}

.yishu-main {
  max-width: 340px;
}

.yishu-content {
  display: grid;
  gap: clamp(46px, 6vw, 80px);
}

.yishu-intro {
  margin-top: 0;
}

.content-types {
  border-top: 1px solid var(--ink);
}

.content-types article {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.content-types h3 {
  margin-bottom: 7px;
}

.yishu-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.yishu-metrics > div {
  display: grid;
  gap: 12px;
}

.yishu-metrics strong {
  color: var(--accent);
  font-size: clamp(50px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 1;
}

.yishu-metrics span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.yishu-side {
  display: grid;
  gap: 56px;
  padding-top: 126px;
}

.yishu-talk {
  width: 84%;
}

.yishu-grid-image {
  width: 100%;
}

.delivery-chain {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: clamp(88px, 11vw, 152px) 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.delivery-chain li {
  min-height: 104px;
  padding: 28px 18px 18px 0;
  border-right: 1px solid var(--line);
  font-size: 12px;
}

.delivery-chain li:not(:first-child) {
  padding-left: 18px;
}

.delivery-chain li:last-child {
  border-right: 0;
}


/* Selected clips — closing CTA before contact */
.clips-hub {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(60px, 9vw, 138px);
  align-items: center;
  padding-top: clamp(92px, 9vw, 138px);
  padding-bottom: clamp(92px, 9vw, 138px);
  border-top: 1px solid var(--ink);
}

.clips-hub::before {
  position: absolute;
  top: 0;
  right: var(--page-x);
  width: min(34vw, 430px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(122, 75, 71, 0.58));
}

.clips-hub-copy {
  max-width: 760px;
}

.clips-hub-copy .section-label {
  margin-bottom: 24px;
}

.clips-hub-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 5.6vw, 84px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.clips-hub-intro {
  max-width: 38em;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.85;
}

.clips-hub-card {
  min-height: 190px;
  padding: 32px 28px 30px 32px;
  border-color: rgba(122, 75, 71, 0.22);
  background:
    radial-gradient(circle at 112% -12%, rgba(122, 75, 71, 0.48), transparent 42%),
    linear-gradient(145deg, #181817 0%, #242322 100%);
  box-shadow:
    0 22px 54px rgba(20, 18, 17, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.clips-hub-card .video-hub-kicker {
  margin-bottom: 20px;
}

.clips-hub-card strong {
  font-size: clamp(23px, 2.1vw, 31px);
  font-weight: 600;
}

.clips-hub-card small {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.055em;
}

.clips-hub-card .video-hub-action {
  width: 58px;
  height: 58px;
}

@media (max-width: 900px) {
  .clips-hub {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .clips-hub-card {
    width: 100%;
    min-height: 156px;
  }
}

@media (max-width: 767px) {
  .clips-hub {
    gap: 34px;
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .clips-hub::before {
    right: 20px;
    width: 42vw;
  }

  .clips-hub-title {
    font-size: clamp(42px, 12.2vw, 58px);
  }

  .clips-hub-intro {
    margin-top: 22px;
    font-size: 15px;
  }

  .clips-hub-card {
    min-height: 148px;
    grid-template-columns: minmax(0, 1fr) 50px;
    gap: 18px;
    padding: 26px 20px 24px 22px;
  }

  .clips-hub-card strong {
    font-size: 22px;
  }

  .clips-hub-card .video-hub-action {
    width: 48px;
    height: 48px;
  }
}

/* Contact */
.contact {
  display: grid;
  min-height: 80dvh;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(70px, 12vw, 170px);
  align-items: end;
  padding-top: var(--section-y);
  padding-bottom: clamp(64px, 8vw, 108px);
  border-top: 1px solid var(--ink);
}

.contact-title > p {
  margin-bottom: 26px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.contact-title h2 {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.8vw, 98px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.02;
  text-wrap: balance;
}

.contact-details {
  display: grid;
  border-top: 1px solid var(--ink);
}

.contact-details > div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-details strong,
.contact-details a {
  position: relative;
  justify-self: start;
  font-size: 13px;
  font-weight: 500;
}

/* Motion */
.js .reveal,
.js .image-reveal {
  opacity: 0;
  transform: translateY(22px);
}

.js .image-reveal {
  clip-path: inset(0 0 12% 0);
  transform: translateY(30px);
}

.js .reveal.is-visible,
.js .image-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 650ms var(--ease),
    transform 650ms var(--ease),
    clip-path 720ms var(--ease);
}

.js .image-reveal.is-visible {
  clip-path: inset(0 0 0 0);
}

@media (hover: hover) {
  .hero-visual img,
  .wuhan-hero img,
  .nonstandard-main img,
  .yishu-talk img,
  .yishu-main img {
    transition: transform 700ms var(--ease);
  }

  .hero-visual:hover img,
  .wuhan-hero:hover img,
  .nonstandard-main:hover img,
  .yishu-talk:hover img,
  .yishu-main:hover img {
    transform: scale(1.016);
  }
}

/* Tablet */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(58px, 8.2vw, 88px);
  }

  .experience-layout {
    grid-template-columns: 1fr 0.82fr;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .media-gallery {
    grid-template-columns: 0.72fr 0.72fr 1.2fr;
  }

  .script-layout {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-note {
    grid-column: 1 / -1;
    max-width: 700px;
  }

  .qifu-case {
    grid-template-columns: 160px 1fr;
  }

  .qifu-grid,
  .qifu-note {
    grid-column: 2;
  }

  .yishu-layout {
    grid-template-columns: 0.72fr 1fr;
  }

  .yishu-side {
    grid-column: 1 / -1;
    grid-template-columns: 0.38fr 0.62fr;
    gap: 38px;
    align-items: end;
    padding-top: 0;
  }

  .yishu-talk {
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --header-height: 58px;
    --page-x: 20px;
    --section-y: 92px;
  }

  body {
    font-size: 15px;
  }

  .site-nav {
    gap: 20px;
  }

  .site-nav a:first-child {
    display: none;
  }

  .hero {
    min-height: 100dvh;
    grid-template-columns: 1fr;
    gap: 38px;
    align-content: start;
    padding-top: 100px;
    padding-bottom: 28px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .eyebrow {
    margin-bottom: 24px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(54px, 15vw, 76px);
  }

  .hero h1 span:last-child {
    margin-top: 2px;
    margin-left: 0;
  }

  .hero-lede {
    margin-top: 24px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-visual {
    width: 100%;
  }

  .hero-visual img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-position: 64% center;
  }

  .hero-visual figcaption {
    display: none;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-portrait {
    position: relative;
    top: auto;
    width: 80%;
  }

  .section-title,
  .contact-title h2 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .section-intro {
    margin-top: 28px;
    font-size: 16px;
  }

  .capability-grid,
  .education,
  .supporting-experience,
  .role-split,
  .yishu-metrics {
    grid-template-columns: 1fr;
  }

  .capability-grid article {
    min-height: 0;
  }

  .education {
    gap: 34px;
  }

  .video-hub-link {
    width: 100%;
    max-width: none;
    min-height: 124px;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 18px;
    padding: 22px 18px 20px 20px;
  }

  .video-hub-action {
    width: 46px;
    height: 46px;
  }

  .video-hub-kicker {
    margin-bottom: 14px;
    font-size: 8px;
  }

  .video-hub-link strong {
    font-size: 20px;
  }

  .experience-layout {
    grid-template-columns: 1fr;
    gap: 66px;
  }

  .work-index {
    position: relative;
    top: auto;
  }

  .case-heading h2,
  .wuhan-heading h2,
  .nonstandard-heading h2,
  .yishu-heading h2,
  .qifu-copy h2 {
    font-size: clamp(48px, 13vw, 66px);
  }

  .case-index {
    margin-bottom: 28px;
  }

  .case-heading > p:last-child,
  .nonstandard-heading > p:last-child,
  .yishu-intro,
  .qifu-lede {
    margin-top: 24px;
    font-size: 15px;
  }

  .metrics {
    margin-top: 56px;
  }

  .metric {
    min-height: 152px;
    padding: 22px 16px 20px 0;
  }

  .metric:not(:first-child) {
    padding-left: 16px;
  }

  .metric strong {
    font-size: 42px;
  }

  .metric span {
    margin-top: 34px;
    font-size: 10px;
  }

  .media-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 64px;
  }

  .media-phone-offset {
    margin-top: 70px;
  }

  .media-proof {
    grid-column: 1 / -1;
    gap: 54px;
  }

  .media-proof figure {
    margin-top: 34px;
  }

  .process,
  .delivery-chain {
    grid-template-columns: 1fr 1fr;
  }

  .process li,
  .delivery-chain li {
    min-height: 108px;
    border-bottom: 1px solid var(--line);
  }

  .process li:nth-child(2n),
  .delivery-chain li:nth-child(2n) {
    border-right: 0;
  }

  .script-layout {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 64px;
  }

  .script-page {
    padding: 12px;
  }

  .script-page-b {
    margin-top: 48px;
  }

  .workflow-note {
    grid-column: 1 / -1;
    margin-top: 24px;
  }

  .workflow-note h3 {
    font-size: 28px;
  }

  .supporting-experience,
  .role-split {
    gap: 38px;
  }

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

  .rhythm-map {
    grid-template-columns: 1fr 1fr;
  }

  .rhythm-map > div:nth-child(2) {
    border-right: 0;
  }

  .rhythm-map > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .rhythm-map > div {
    min-height: 122px;
  }

  .rhythm-map p {
    margin-top: 24px;
  }

  .wuhan-evidence {
    grid-template-columns: 1fr;
    gap: 52px;
    margin-top: 64px;
  }

  .wuhan-timeline {
    grid-column: 1;
    width: 100%;
    margin-top: 10px;
  }

  .nonstandard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 64px;
  }

  .nonstandard-logo {
    margin-bottom: 0;
  }

  .nonstandard-main {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .nonstandard-detail {
    margin-top: 0;
  }

  .qifu-case {
    display: block;
    background: linear-gradient(180deg, transparent 0, rgba(122, 75, 71, 0.04) 22%, rgba(122, 75, 71, 0.04) 100%);
  }

  .qifu-number {
    position: relative;
    top: auto;
    margin-bottom: 52px;
    font-size: 112px;
  }

  .qifu-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 64px;
  }

  .qifu-grid article {
    padding: 26px 0 30px;
    border-bottom: 1px solid var(--line);
  }

  .qifu-grid article > span {
    margin-bottom: 22px;
  }

  .qifu-note {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .yishu-layout {
    grid-template-columns: 0.76fr 1.24fr;
    gap: 22px;
    margin-top: 64px;
  }

  .yishu-main {
    width: 100%;
  }

  .yishu-content {
    gap: 42px;
  }

  .content-types p {
    font-size: 11px;
  }

  .yishu-metrics {
    gap: 28px;
  }

  .yishu-side {
    grid-column: 1 / -1;
    grid-template-columns: 0.44fr 0.56fr;
    gap: 16px;
    align-items: end;
  }

  .contact {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 70px;
    align-items: start;
  }

  .contact-details > div {
    grid-template-columns: 70px 1fr;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 50px;
  }

  .hero-actions > span {
    display: none;
  }

  .about-portrait {
    width: 86%;
  }

  .metric strong {
    font-size: 39px;
  }

  .yishu-layout {
    grid-template-columns: 1fr;
  }

  .yishu-main {
    width: 72%;
  }

  .yishu-side {
    grid-template-columns: 1fr 1fr;
  }

  .delivery-chain li {
    min-height: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal,
  .js .image-reveal {
    opacity: 1;
    clip-path: none;
    transform: none;
  }
}



/* V4 — New Media Creative Portfolio */
:root {
  --paper: #f4f1eb;
  --paper-2: #ebe6dd;
  --surface: #ded8cf;
  --ink: #101010;
  --muted: #625f59;
  --line: #cec7bd;
  --accent: #c44734;
  --accent-soft: #e6c9c2;
  --font-sans: "Space Grotesk", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;
  --font-number: "Bebas Neue", "Arial Narrow", sans-serif;
}

body {
  font-family: var(--font-sans);
  letter-spacing: 0;
}

.site-header {
  border-bottom-color: rgba(16, 16, 16, 0.08);
}

.wordmark {
  font-family: var(--font-number);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.11em;
}

.section-label,
.eyebrow,
.project-kicker,
.meta-label {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.2em;
}

.eyebrow::before,
.project-kicker::before,
.section-label::before {
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 10px;
  background: currentColor;
  vertical-align: 0.26em;
  content: "";
}

.section-title,
.hero h1,
.case-heading h2,
.wuhan-heading h2,
.nonstandard-heading h2,
.yishu-heading h2,
.qifu-copy h2,
.contact-title h2 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.section-title {
  font-size: clamp(52px, 6.4vw, 98px);
}

.hero h1 {
  max-width: 7.6ch;
  font-size: clamp(72px, 8.35vw, 128px);
  line-height: 0.88;
}

.hero h1 span:last-child {
  margin-top: 14px;
  margin-left: clamp(12px, 2vw, 34px);
  color: var(--accent);
  font-size: 0.67em;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.hero-script {
  width: max-content;
  margin-top: clamp(18px, 2.2vw, 30px);
  margin-left: clamp(24px, 8vw, 112px);
  color: var(--accent);
  font-family: var(--font-accent);
  font-size: clamp(28px, 3.1vw, 48px);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  transform: rotate(-3deg);
}

.hero-lede {
  max-width: 30em;
  margin-top: clamp(26px, 3.6vw, 48px);
}

.hero-copy::before,
.case-heading::before,
.wuhan-heading::before,
.nonstandard-heading::before,
.yishu-heading::before,
.qifu-copy::before,
.contact-title::before {
  width: 44px;
  height: 3px;
  background: var(--accent);
}

/* Unified project numbering system: sticky number left, project narrative right. */
.project-section {
  display: grid !important;
  grid-template-columns: clamp(96px, 10vw, 154px) minmax(0, 1fr) !important;
  gap: clamp(34px, 5.2vw, 82px) !important;
  align-items: start !important;
  background: transparent !important;
}

.project-rail {
  position: sticky;
  top: calc(var(--header-height) + 34px);
  display: flex;
  min-height: min(54vh, 520px);
  flex-direction: column;
  align-items: flex-start;
  padding-top: 4px;
}

.project-number {
  display: block;
  color: var(--accent);
  font-family: var(--font-number);
  font-size: clamp(112px, 12vw, 184px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.72;
}

.project-kind {
  margin-top: 28px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.55;
}

.project-rail::after {
  width: 1px;
  min-height: 64px;
  flex: 1;
  margin: 22px 0;
  background: linear-gradient(var(--accent), var(--line));
  content: "";
}

.project-total {
  color: var(--muted);
  font-family: var(--font-number);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.project-body {
  min-width: 0;
}

.case-heading,
.wuhan-heading,
.nonstandard-heading,
.yishu-heading,
.qifu-copy {
  max-width: 940px;
}

.case-heading h2,
.wuhan-heading h2,
.nonstandard-heading h2,
.yishu-heading h2,
.qifu-copy h2 {
  font-size: clamp(62px, 7.6vw, 116px);
}

.project-subsection {
  margin-top: clamp(110px, 13vw, 190px);
  padding-top: clamp(86px, 9vw, 132px);
  padding-bottom: 0;
  border-top: 1px solid var(--ink);
}

.project-subsection .section-title {
  max-width: 8.5ch;
}

/* Make supporting content feel like a creative-department case study rather than a résumé grid. */
.metrics {
  border-top-width: 2px;
}

.metric strong,
.yishu-metrics strong {
  font-family: var(--font-number);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.metric strong {
  font-size: clamp(62px, 7vw, 104px);
}

.capability-grid h3,
.role-copy h3,
.supporting-experience h3,
.wuhan-summary h3,
.role-split h3,
.content-types h3,
.workflow-note h3,
.qifu-grid h3,
.timeline h3,
.work-index strong {
  font-family: var(--font-display);
  font-weight: 800;
}

.timeline-topline,
.work-index small,
figcaption,
.project-kind,
.project-total {
  text-transform: uppercase;
}

.work-index a {
  min-height: 102px;
}

.work-index > a > span {
  font-family: var(--font-number);
  font-size: 18px;
  letter-spacing: 0.05em;
}

.work-index strong {
  font-size: 18px;
}

.rhythm-map span,
.process span {
  font-weight: 700;
}

.qifu-grid,
.qifu-note {
  grid-column: auto !important;
}

.qifu-grid {
  margin-top: clamp(76px, 9vw, 120px);
}

.qifu-note {
  margin-top: clamp(86px, 10vw, 134px);
}

/* A little controlled asymmetry keeps the layout editorial without becoming decorative. */
.wuhan-hero,
.nonstandard-grid,
.yishu-layout,
.media-gallery {
  position: relative;
}

.wuhan-hero::after,
.nonstandard-grid::after,
.yishu-layout::after,
.media-gallery::after {
  position: absolute;
  z-index: -1;
  width: 72px;
  height: 72px;
  border: 1px solid var(--accent-soft);
  content: "";
  pointer-events: none;
}

.wuhan-hero::after {
  top: -24px;
  right: -18px;
}

.nonstandard-grid::after {
  right: 7%;
  bottom: -34px;
}

.yishu-layout::after {
  top: 18%;
  left: -26px;
}

.media-gallery::after {
  right: 4%;
  bottom: -30px;
}

@media (max-width: 1100px) {
  .project-section {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 38px !important;
  }

  .project-number {
    font-size: 108px;
  }

  .project-kind {
    font-size: 8px;
  }
}

@media (max-width: 767px) {
  .section-title,
  .contact-title h2 {
    font-size: clamp(46px, 13.5vw, 66px);
    line-height: 0.96;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(58px, 16vw, 80px);
  }

  .hero h1 span:last-child {
    margin-left: 0;
    font-size: 0.69em;
  }

  .hero-script {
    margin-top: 18px;
    margin-left: 12vw;
    font-size: clamp(27px, 9vw, 39px);
  }

  .project-section {
    display: block !important;
  }

  .project-rail {
    position: relative;
    top: auto;
    display: grid;
    min-height: 0;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: end;
    margin-bottom: 54px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .project-number {
    font-size: 86px;
    line-height: 0.72;
  }

  .project-kind {
    margin-top: 0;
    padding-bottom: 1px;
    font-size: 8px;
  }

  .project-rail::after {
    display: none;
  }

  .project-total {
    padding-bottom: 1px;
  }

  .case-heading h2,
  .wuhan-heading h2,
  .nonstandard-heading h2,
  .yishu-heading h2,
  .qifu-copy h2 {
    font-size: clamp(50px, 14vw, 70px);
    line-height: 0.94;
  }

  .project-subsection {
    margin-top: 92px;
    padding-top: 72px;
  }

  .qifu-grid,
  .qifu-note {
    grid-column: auto !important;
  }

  .wuhan-hero::after,
  .nonstandard-grid::after,
  .yishu-layout::after,
  .media-gallery::after {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 430px) {
  .project-number {
    font-size: 76px;
  }

  .project-kind {
    letter-spacing: 0.1em;
  }
}

@media print {
  .site-header,
  .skip-link {
    display: none;
  }

  .section-shell {
    max-width: none;
  }

  .hero,
  .about,
  .experience,
  .media-case,
  .workflow,
  .wuhan-case,
  .nonstandard-case,
  .qifu-case,
  .yishu-case,
  .contact {
    break-inside: avoid;
  }

  .work-index,
  .about-portrait,
  .qifu-number {
    position: static;
  }

  .js .reveal,
  .js .image-reveal {
    opacity: 1;
    clip-path: none;
    transform: none;
  }
}

/* V5 — New Media Creative Portfolio / directed visual refinement */
.hero {
  position: relative;
}

.hero-copy {
  padding-right: clamp(0px, 1.5vw, 24px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.hero-tags span {
  position: relative;
}

.hero-tags span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -11px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  transform: translateY(-50%);
}

.hero-visual {
  box-shadow: 0 24px 70px rgba(16,16,16,.08);
}

.hero-stamp {
  position: absolute;
  right: 0;
  bottom: clamp(28px, 4vw, 54px);
  z-index: 3;
  display: grid;
  min-width: 148px;
  gap: 3px;
  padding: 18px 20px 17px;
  background: var(--ink);
  color: var(--paper);
}

.hero-stamp span,
.hero-stamp small {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .16em;
}

.hero-stamp strong {
  font-family: var(--font-number);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1;
}

.hero-stamp small {
  color: rgba(244,241,235,.58);
}

.case-statement {
  display: grid;
  grid-template-columns: minmax(100px,.32fr) minmax(0,1.68fr);
  gap: clamp(22px,4vw,68px);
  align-items: start;
  margin-top: clamp(48px,6vw,86px);
  padding: 24px 0 26px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.case-statement span,
.gallery-intro span,
.creative-brief article > span,
.nonstandard-callout > span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}

.case-statement strong {
  max-width: 22em;
  font-family: var(--font-display);
  font-size: clamp(24px,2.6vw,38px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.25;
}

.metrics-featured {
  grid-template-columns: 1.45fr repeat(3,1fr);
  gap: 0;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.metrics-featured .metric {
  min-height: clamp(210px,20vw,292px);
  padding: 30px 24px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.metrics-featured .metric:not(:first-child) {
  padding-left: 24px;
}

.metrics-featured .metric:last-child {
  border-right: 0;
}

.metrics-featured .metric-feature {
  background: var(--ink);
  color: var(--paper);
}

.metrics-featured .metric-feature strong {
  color: var(--paper);
  font-size: clamp(86px,9vw,138px);
}

.metrics-featured .metric-feature span {
  color: rgba(244,241,235,.68);
}

.metrics-featured .metric span {
  margin-top: auto;
}

.gallery-intro {
  display: flex;
  gap: 22px;
  align-items: baseline;
  justify-content: space-between;
  margin-top: clamp(88px,10vw,142px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
}

.gallery-intro strong {
  font-family: var(--font-display);
  font-size: clamp(18px,2vw,26px);
  font-weight: 800;
  letter-spacing: -.03em;
}

.gallery-intro + .media-gallery {
  margin-top: 34px;
}

.creative-brief {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin-top: clamp(62px,8vw,108px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.creative-brief article {
  min-height: 176px;
  padding: 24px 26px 26px 0;
  border-right: 1px solid var(--line);
}

.creative-brief article:not(:first-child) {
  padding-left: 26px;
}

.creative-brief article:last-child {
  border-right: 0;
}

.creative-brief h3 {
  margin: 42px 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.creative-brief p {
  max-width: 20em;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

.nonstandard-grid {
  margin-top: clamp(58px,7vw,96px);
}

.nonstandard-callout {
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: 8px clamp(24px,5vw,80px);
  margin-top: clamp(62px,8vw,108px);
  padding: 28px 0 30px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.nonstandard-callout strong {
  grid-column: 2;
  font-family: var(--font-number);
  font-size: clamp(58px,8vw,112px);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: .88;
}

.nonstandard-callout p {
  grid-column: 2;
  max-width: 36em;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.role-split-three {
  grid-template-columns: repeat(3,1fr);
  margin-top: clamp(54px,7vw,92px);
}

.role-split-three article {
  min-height: 220px;
}

.role-split-three h3 {
  font-size: 20px;
}

/* Project rail gets clearer continuity across all five case studies. */
.project-rail {
  isolation: isolate;
}

.project-rail::before {
  position: absolute;
  top: -18px;
  left: 0;
  width: 30px;
  height: 4px;
  background: var(--ink);
  content: "";
}

.project-number {
  text-shadow: 0 0 0 currentColor;
}

.project-section + .project-section {
  border-top-color: var(--ink);
}

@media (max-width: 1100px) {
  .metrics-featured {
    grid-template-columns: 1.35fr 1fr 1fr;
  }
  .metrics-featured .metric-feature {
    grid-row: 1 / span 2;
  }
  .metrics-featured .metric:last-child {
    grid-column: 2 / span 2;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 767px) {
  .hero-stamp {
    right: 14px;
    bottom: 14px;
    min-width: 126px;
    padding: 14px 16px;
  }
  .hero-stamp strong { font-size: 29px; }
  .hero-tags { gap: 8px 15px; margin-top: 24px; }
  .case-statement { grid-template-columns: 1fr; gap: 12px; }
  .metrics-featured { grid-template-columns: 1fr 1fr; }
  .metrics-featured .metric-feature {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 210px;
  }
  .metrics-featured .metric-feature strong { font-size: 88px; }
  .metrics-featured .metric:last-child {
    grid-column: auto;
    border-top: 0;
  }
  .metrics-featured .metric:nth-child(2),
  .metrics-featured .metric:nth-child(4) { border-right: 0; }
  .metrics-featured .metric:nth-child(n+2) { min-height: 138px; }
  .gallery-intro { display: block; }
  .gallery-intro strong { display: block; margin-top: 8px; }
  .creative-brief { grid-template-columns: 1fr; }
  .creative-brief article,
  .creative-brief article:not(:first-child) {
    min-height: 0;
    padding: 22px 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .creative-brief article:last-child { border-bottom: 0; }
  .creative-brief h3 { margin-top: 26px; }
  .nonstandard-callout { grid-template-columns: 1fr; }
  .nonstandard-callout strong,
  .nonstandard-callout p { grid-column: 1; }
  .nonstandard-callout strong { font-size: clamp(58px,19vw,86px); }
  .role-split-three { grid-template-columns: 1fr; }
  .project-rail::before { display:none; }
}

/* =========================================================
   V6 — Creative New Media art direction
   Each case has its own visual language while sharing one system.
   ========================================================= */

.project-section {
  isolation: isolate;
  overflow: visible;
}

.project-section::before {
  pointer-events: none;
}

/* 01 / Guangxi — data-led social editorial */
.media-case {
  --accent: #7a4b47;
  --accent-soft: #d6c2bd;
}

.media-case .case-heading h2 {
  max-width: 8ch;
}

.media-case .case-statement {
  position: relative;
}

.media-case .case-statement::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  content: "SOCIAL / DATA / EDITORIAL";
  color: var(--muted);
  font-family: var(--font-number);
  font-size: 10px;
  letter-spacing: .16em;
}

.media-case .metrics-featured {
  box-shadow: 0 24px 70px rgba(30, 24, 21, .06);
}

.media-case .metric-feature {
  position: relative;
  overflow: hidden;
}

.media-case .metric-feature::after {
  position: absolute;
  right: -24px;
  bottom: -42px;
  content: "01";
  color: rgba(245, 242, 237, .055);
  font-family: var(--font-number);
  font-size: 154px;
  line-height: .8;
}

/* 02 / Wuhan — cinematic dark chapter */
.wuhan-case {
  --accent: #c7a27d;
  --accent-soft: rgba(199, 162, 125, .28);
  --ink: #f2eee7;
  --muted: #aaa39a;
  --line: rgba(242, 238, 231, .17);
  color: var(--ink);
}

.wuhan-case::before {
  position: absolute;
  inset: 0 50%;
  z-index: -2;
  width: 100vw;
  content: "";
  background:
    radial-gradient(circle at 82% 24%, rgba(199, 162, 125, .08), transparent 28%),
    linear-gradient(180deg, #171717, #111111);
  transform: translateX(-50%);
}

.wuhan-case .project-kind,
.wuhan-case .project-total,
.wuhan-case figcaption {
  color: var(--muted);
}

.wuhan-case .project-rail::before {
  background: var(--ink);
}

.wuhan-case .project-rail::after {
  background: linear-gradient(var(--accent), rgba(242,238,231,.16));
}

.wuhan-case .wuhan-heading {
  position: relative;
  padding-bottom: 20px;
}

.wuhan-case .wuhan-heading::after {
  position: absolute;
  right: 0;
  bottom: 0;
  content: "CITY AS RHYTHM";
  color: rgba(242, 238, 231, .22);
  font-family: var(--font-accent);
  font-size: clamp(24px, 3vw, 42px);
  font-style: italic;
  letter-spacing: -.03em;
}

.wuhan-case .wuhan-hero {
  margin-top: clamp(72px, 8vw, 112px);
  border: 1px solid rgba(242,238,231,.16);
  box-shadow: 0 34px 90px rgba(0,0,0,.38);
}

.wuhan-case .wuhan-hero::before {
  position: absolute;
  top: -29px;
  left: 0;
  content: "FRAME 01 / NIGHT CITY";
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}

.wuhan-case .rhythm-map {
  border-top-color: rgba(242,238,231,.45);
}

.wuhan-case .rhythm-map > div,
.wuhan-case .wuhan-summary dl > div,
.wuhan-case .wuhan-summary {
  border-color: var(--line);
}

.wuhan-case .wuhan-summary h3,
.wuhan-case .rhythm-map span,
.wuhan-case .wuhan-summary dt {
  color: var(--ink);
}

.wuhan-case .wuhan-summary p,
.wuhan-case .rhythm-map p,
.wuhan-case .wuhan-summary dd {
  color: var(--muted);
}

/* 03 / Non-standard Answer — warmer, conversational, slightly playful */
.nonstandard-case {
  --accent: #ad7738;
  --accent-soft: #dec8a8;
}

.nonstandard-case::before {
  position: absolute;
  inset: 0 50%;
  z-index: -2;
  width: 100vw;
  content: "";
  background:
    linear-gradient(112deg, rgba(173, 119, 56, .055), transparent 34%),
    #f3eee5;
  transform: translateX(-50%);
}

.nonstandard-case .creative-brief article:nth-child(2) {
  background: rgba(173, 119, 56, .045);
}

.nonstandard-case .nonstandard-grid {
  padding: clamp(18px, 2vw, 30px);
  border: 1px solid rgba(24,24,24,.11);
  background: rgba(255,255,255,.34);
}

.nonstandard-case .nonstandard-callout {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 4vw, 54px);
  border: 0;
  background: var(--ink);
  color: var(--paper);
}

.nonstandard-case .nonstandard-callout::after {
  position: absolute;
  right: -12px;
  bottom: -50px;
  content: "PARTY";
  color: rgba(245,242,237,.045);
  font-family: var(--font-number);
  font-size: clamp(110px, 15vw, 220px);
  line-height: .8;
}

.nonstandard-case .nonstandard-callout > span {
  color: #d9ad6e;
}

.nonstandard-case .nonstandard-callout strong {
  position: relative;
  z-index: 1;
  color: var(--paper);
}

.nonstandard-case .nonstandard-callout p {
  position: relative;
  z-index: 1;
  color: rgba(245,242,237,.66);
}

.nonstandard-case .role-split-three article {
  transition: transform 320ms var(--ease), background 320ms var(--ease);
}

@media (hover: hover) {
  .nonstandard-case .role-split-three article:hover {
    background: rgba(173,119,56,.055);
    transform: translateY(-4px);
  }
}

/* 04 / Qifu — documentary restraint */
.qifu-case {
  --accent: #68705e;
  --accent-soft: #c9cec2;
}

.qifu-case::before {
  position: absolute;
  inset: 0 50%;
  z-index: -2;
  width: 100vw;
  content: "";
  background:
    linear-gradient(180deg, rgba(104,112,94,.035), transparent 55%),
    #f7f4ef;
  transform: translateX(-50%);
}

.qifu-case .qifu-copy {
  position: relative;
  max-width: 860px;
}

.qifu-case .qifu-copy::after {
  position: absolute;
  top: 24px;
  right: -2vw;
  content: "VOICE / PEOPLE / BELIEF";
  color: rgba(24,24,24,.16);
  font-family: var(--font-number);
  font-size: 10px;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}

.qifu-case .qifu-grid {
  gap: clamp(14px, 2vw, 24px);
  border: 0;
}

.qifu-case .qifu-grid article {
  min-height: 250px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(104,112,94,.22);
  background: rgba(255,255,255,.32);
}

.qifu-case .qifu-grid article > span {
  color: var(--accent);
}

.qifu-case .qifu-note {
  max-width: 780px;
  margin-left: auto;
  padding: 8px 0 8px clamp(26px, 4vw, 52px);
  border-left: 3px solid var(--accent);
}

.qifu-case .qifu-note::before {
  display: block;
  margin-bottom: 14px;
  content: "DOCUMENTARY NOTE";
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
}

/* 05 / Yishu — structured commercial content system */
.yishu-case {
  --accent: #526b73;
  --accent-soft: #c7d2d5;
}

.yishu-case::before {
  position: absolute;
  inset: 0 50%;
  z-index: -2;
  width: 100vw;
  content: "";
  background:
    linear-gradient(145deg, rgba(82,107,115,.055), transparent 38%),
    #eff1ef;
  transform: translateX(-50%);
}

.yishu-case .yishu-layout::before {
  position: absolute;
  top: -34px;
  right: 0;
  content: "CONTENT SYSTEM / COMMERCIAL SOCIAL";
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}

.yishu-case .yishu-content {
  padding: clamp(26px, 3.3vw, 46px);
  border: 1px solid rgba(82,107,115,.18);
  background: rgba(255,255,255,.34);
}

.yishu-case .content-types article {
  transition: padding-left 280ms var(--ease), border-color 280ms ease;
}

@media (hover: hover) {
  .yishu-case .content-types article:hover {
    padding-left: 10px;
    border-color: var(--accent);
  }
}

.yishu-case .delivery-chain {
  border-color: rgba(82,107,115,.32);
  background: rgba(255,255,255,.22);
}

.yishu-case .delivery-chain li {
  border-color: rgba(82,107,115,.22);
}

/* Shared project-entry rhythm */
.project-section .project-body > :first-child {
  animation-timeline: view();
}

.project-section .project-number {
  transition: color 300ms ease, transform 360ms var(--ease);
}

@media (hover: hover) {
  .project-section:hover .project-number {
    transform: translateX(3px);
  }
}

/* Mobile: keep the identities, remove decorative clutter. */
@media (max-width: 767px) {
  .media-case .case-statement::after,
  .wuhan-case .wuhan-heading::after,
  .wuhan-case .wuhan-hero::before,
  .qifu-case .qifu-copy::after,
  .yishu-case .yishu-layout::before {
    display: none;
  }

  .nonstandard-case .nonstandard-grid {
    padding: 12px;
  }

  .nonstandard-case .nonstandard-callout {
    padding: 28px 22px;
  }

  .qifu-case .qifu-grid article {
    min-height: 0;
  }

  .qifu-case .qifu-note {
    margin-left: 0;
    padding-left: 22px;
  }

  .yishu-case .yishu-content {
    padding: 24px 20px;
  }
}

@media print {
  .wuhan-case {
    --ink: #181818;
    --muted: #6b6761;
    --line: #d2ccc3;
    color: var(--ink);
  }

  .wuhan-case::before,
  .nonstandard-case::before,
  .qifu-case::before,
  .yishu-case::before {
    display: none;
  }

  .nonstandard-case .nonstandard-callout {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
  }

  .nonstandard-case .nonstandard-callout strong,
  .nonstandard-case .nonstandard-callout p {
    color: var(--ink);
  }
}


/* =========================================================
   V6.2 — Visual polish / hierarchy / background refinement
   ========================================================= */

:root {
  --paper: #f3efe8;
  --paper-2: #ebe4da;
  --surface: #ddd6cc;
  --ink: #171513;
  --muted: #6d6862;
  --line: rgba(23, 21, 19, .16);
}

body {
  position: relative;
  background:
    repeating-linear-gradient(0deg, rgba(23,21,19,.009) 0, rgba(23,21,19,.009) 1px, transparent 1px, transparent 7px),
    repeating-linear-gradient(90deg, rgba(23,21,19,.007) 0, rgba(23,21,19,.007) 1px, transparent 1px, transparent 10px),
    radial-gradient(circle at 12% 6%, rgba(122,75,71,.075), transparent 30rem),
    radial-gradient(circle at 88% 17%, rgba(82,107,115,.052), transparent 25rem),
    linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 34rem),
    var(--paper);
}

/* Softer, more editorial headline weight. */
.section-title,
.hero h1,
.case-heading h2,
.wuhan-heading h2,
.nonstandard-heading h2,
.yishu-heading h2,
.qifu-copy h2,
.contact-title h2 {
  font-weight: 700;
  letter-spacing: -0.048em;
  line-height: .96;
}

.hero h1 {
  font-weight: 800;
  letter-spacing: -0.052em;
  line-height: .9;
}

.hero h1 span:last-child {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.capability-grid h3,
.role-copy h3,
.supporting-experience h3,
.wuhan-summary h3,
.role-split h3,
.content-types h3,
.workflow-note h3,
.qifu-grid h3,
.timeline h3,
.work-index strong,
.creative-brief h3,
.case-statement strong,
.gallery-intro strong {
  font-weight: 700;
}

/* Homepage: add a quiet editorial field behind the copy/image composition. */
.hero {
  isolation: isolate;
}

.hero::before {
  position: absolute;
  top: 9%;
  left: -6%;
  z-index: -1;
  width: clamp(260px, 34vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(122,75,71,.10);
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle at 55% 45%, rgba(122,75,71,.06), rgba(122,75,71,0) 64%);
}

.hero::after {
  position: absolute;
  right: 4%;
  bottom: 2.5%;
  z-index: -1;
  width: clamp(150px, 18vw, 280px);
  height: clamp(150px, 18vw, 280px);
  content: "";
  border: 1px solid rgba(23,21,19,.07);
  transform: rotate(12deg);
}

.hero-lede {
  max-width: 22em;
  color: var(--ink);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.72;
}

.hero-script {
  opacity: .88;
}

/* About / experience receive mild tonal fields instead of one flat page. */
.about,
.experience {
  position: relative;
  isolation: isolate;
}

.about::before,
.experience::before {
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  content: "";
  transform: translateX(-50%);
}

.about::before {
  background: linear-gradient(112deg, rgba(255,255,255,.30), rgba(255,255,255,.08) 50%, rgba(122,75,71,.025));
}

.experience::before {
  background: linear-gradient(180deg, rgba(82,107,115,.028), transparent 60%);
}

/* 01 / Guangxi title must stay on one line on practical viewport widths. */
.media-case .case-heading {
  max-width: none;
}

.media-case .case-heading h2 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(52px, 6.35vw, 98px);
  letter-spacing: -0.045em;
}

/* Remove the decorative square that visually collides with the “我的职责” block. */
.media-gallery::after {
  display: none !important;
  content: none !important;
}

/* Replace it with a much quieter text marker aligned to the gallery, not the role box. */
.media-gallery::before {
  position: absolute;
  right: 0;
  bottom: -26px;
  content: "01 / SOCIAL CONTENT";
  color: rgba(23,21,19,.34);
  font-family: var(--font-number);
  font-size: 9px;
  letter-spacing: .17em;
  pointer-events: none;
}

.role-copy {
  position: relative;
  padding: 30px 0 2px;
  border-top: 1px solid rgba(23,21,19,.62);
}

.role-copy h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.role-copy p {
  padding: 11px 0;
  border-bottom-color: rgba(23,21,19,.12);
}

/* More breathable case headings after reducing weight. */
.case-heading h2,
.wuhan-heading h2,
.nonstandard-heading h2,
.yishu-heading h2,
.qifu-copy h2 {
  font-size: clamp(58px, 7.1vw, 108px);
}

.section-title {
  font-size: clamp(50px, 6vw, 90px);
}

/* Small visual punctuation without another box. */
.project-kicker,
.section-label,
.eyebrow {
  letter-spacing: .18em;
}

.project-number {
  opacity: .94;
}

@media (max-width: 1100px) {
  .media-case .case-heading h2 {
    font-size: clamp(44px, 6.6vw, 72px);
  }
}

@media (max-width: 767px) {
  .hero::before {
    top: 3%;
    left: -30%;
  }

  .hero::after {
    right: -16%;
    bottom: 21%;
    opacity: .55;
  }

  .section-title,
  .contact-title h2 {
    font-size: clamp(42px, 12.2vw, 60px);
    letter-spacing: -0.04em;
  }

  .case-heading h2,
  .wuhan-heading h2,
  .nonstandard-heading h2,
  .yishu-heading h2,
  .qifu-copy h2 {
    font-size: clamp(44px, 12.2vw, 62px);
    letter-spacing: -0.04em;
  }

  .media-case .case-heading h2 {
    white-space: nowrap;
    font-size: clamp(34px, 10.5vw, 48px);
    letter-spacing: -0.042em;
  }

  .media-gallery::before {
    display: none;
  }
}

@media (max-width: 430px) {
  .media-case .case-heading h2 {
    font-size: clamp(32px, 9.9vw, 42px);
  }
}



/* V6.3 — image system cleanup + light Wuhan chapter */

/* 01 / Guangxi — align the two phone captures and proof column into one calm media board. */
.media-gallery {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(320px, 1.16fr) !important;
  gap: clamp(22px, 2.6vw, 38px) !important;
  align-items: start !important;
}

.media-phone,
.media-phone-offset {
  width: 100% !important;
  max-width: none !important;
  margin-top: 0 !important;
}

.media-phone img {
  width: 100%;
  aspect-ratio: 9 / 16 !important;
  object-fit: cover !important;
  object-position: center top;
  border: 1px solid rgba(23, 21, 19, .13);
  background: rgba(255, 255, 255, .62);
}

.media-proof {
  grid-template-rows: auto 1fr;
  gap: clamp(28px, 3.4vw, 48px) !important;
  align-self: stretch;
}

.media-proof figure {
  margin-top: 0 !important;
}

.media-proof figure img {
  width: 100%;
  aspect-ratio: 2.07 / 1;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(23, 21, 19, .13) !important;
  background: rgba(255, 255, 255, .62);
}

.media-gallery figcaption {
  margin-top: 10px;
}

.role-copy {
  align-self: stretch !important;
  margin-top: 0;
}

/* 02 / Wuhan — keep a cinematic cool tone without breaking the light editorial system. */
.wuhan-case {
  --accent: #65747a !important;
  --accent-soft: rgba(101, 116, 122, .24) !important;
  --ink: #1b1b1a !important;
  --muted: #6f706d !important;
  --line: rgba(27, 27, 26, .14) !important;
  color: var(--ink) !important;
}

.wuhan-case::before {
  background:
    radial-gradient(circle at 82% 20%, rgba(101, 116, 122, .12), transparent 30%),
    radial-gradient(circle at 12% 82%, rgba(255, 255, 255, .55), transparent 32%),
    linear-gradient(180deg, #edf0ef 0%, #e7eae8 100%) !important;
}

.wuhan-case .project-kind,
.wuhan-case .project-total,
.wuhan-case figcaption {
  color: var(--muted) !important;
}

.wuhan-case .project-rail::before {
  background: var(--ink) !important;
}

.wuhan-case .project-rail::after {
  background: linear-gradient(var(--accent), rgba(27, 27, 26, .14)) !important;
}

.wuhan-case .wuhan-heading::after {
  color: rgba(27, 27, 26, .17) !important;
}

.wuhan-case .wuhan-hero {
  border-color: rgba(27, 27, 26, .14) !important;
  box-shadow: 0 28px 76px rgba(38, 46, 48, .12) !important;
}

.wuhan-case .wuhan-hero::before {
  color: var(--muted) !important;
}

.wuhan-case .rhythm-map {
  border-top-color: rgba(27, 27, 26, .34) !important;
}

.wuhan-case .rhythm-map > div,
.wuhan-case .wuhan-summary dl > div,
.wuhan-case .wuhan-summary {
  border-color: var(--line) !important;
}

.wuhan-case .wuhan-summary h3,
.wuhan-case .rhythm-map span,
.wuhan-case .wuhan-summary dt {
  color: var(--ink) !important;
}

.wuhan-case .wuhan-summary p,
.wuhan-case .rhythm-map p,
.wuhan-case .wuhan-summary dd {
  color: var(--muted) !important;
}

/* 05 / Yishu — one primary visual + two equal evidence frames. */
.yishu-layout {
  grid-template-columns: minmax(270px, .78fr) minmax(0, 1.22fr) !important;
  gap: clamp(34px, 5vw, 72px) !important;
  align-items: start;
}

.yishu-main {
  width: 100% !important;
  max-width: none !important;
}

.yishu-main img {
  width: 100%;
  aspect-ratio: 3 / 4 !important;
  object-fit: contain !important;
  object-position: center;
  padding: clamp(10px, 1.2vw, 16px);
  border: 1px solid rgba(82, 107, 115, .16);
  background: rgba(255, 255, 255, .52);
}

.yishu-content {
  align-self: stretch;
}

.yishu-side {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(24px, 3vw, 40px) !important;
  margin-top: clamp(12px, 2vw, 28px);
  padding-top: 0 !important;
}

.yishu-talk,
.yishu-grid-image {
  width: 100% !important;
}

.yishu-talk img,
.yishu-grid-image img {
  width: 100%;
  aspect-ratio: 4 / 3 !important;
  object-fit: contain !important;
  object-position: center;
  padding: clamp(10px, 1.2vw, 16px);
  border: 1px solid rgba(82, 107, 115, .16);
  background: rgba(255, 255, 255, .52);
}

.yishu-side figcaption {
  margin-top: 10px;
}

@media (max-width: 1100px) {
  .media-gallery {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  .media-proof {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr);
    grid-template-rows: none;
    gap: 34px !important;
    align-items: start;
  }

  .yishu-layout {
    grid-template-columns: minmax(250px, .78fr) minmax(0, 1.22fr) !important;
  }
}

@media (max-width: 767px) {
  .media-gallery {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }

  .media-proof {
    grid-column: 1 / -1;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .yishu-layout {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .yishu-main {
    width: min(84%, 420px) !important;
  }

  .yishu-side {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  .yishu-talk img,
  .yishu-grid-image img {
    aspect-ratio: 4 / 3 !important;
  }
}


/* =========================================================
   V6.6 — Mobile horizontal overflow hardening
   Fixes the empty area revealed to the right after pinch zoom / zoom-out.
   Keeps zoom enabled for accessibility; clips only decorative overflow.
   ========================================================= */
html,
body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

main,
.site-header,
.section-shell,
.hero,
.about,
.experience,
.project-section,
.project-body,
.contact {
  min-width: 0;
  max-width: 100%;
}

img,
video,
iframe,
svg,
canvas {
  max-width: 100%;
}

@media (max-width: 767px) {
  /* Decorative full-bleed fields must never enlarge the mobile page canvas. */
  .hero,
  .about,
  .experience,
  .project-section,
  .contact {
    overflow-x: hidden;
  }

  @supports (overflow: clip) {
    .hero,
    .about,
    .experience,
    .project-section,
    .contact {
      overflow-x: clip;
    }
  }

  /* The handwritten accent used max-content; constrain it to the content box. */
  .hero-script {
    width: auto;
    max-width: calc(100% - 44px);
    margin-left: clamp(20px, 10vw, 40px);
    white-space: normal;
  }

  /* Keep the requested single-line Guangxi title without allowing it to widen the page. */
  .media-case .case-heading,
  .media-case .case-heading h2 {
    min-width: 0;
    max-width: 100%;
  }

  .media-case .case-heading h2 {
    font-size: clamp(31px, 9.6vw, 41px);
    letter-spacing: -0.048em;
  }

  /* Large decorative pseudo-elements are visual only; keep them inside the viewport. */
  .hero::before {
    left: -18%;
    max-width: 78vw;
  }

  .hero::after {
    right: -7%;
    max-width: 44vw;
  }

  .media-case .metric-feature::after,
  .nonstandard-case .nonstandard-callout::after {
    right: 0;
  }

  /* Full-viewport project background layers are clipped by their section rather than
     participating in horizontal layout on mobile Safari/Chrome. */
  .wuhan-case::before,
  .nonstandard-case::before,
  .qifu-case::before,
  .yishu-case::before,
  .about::before,
  .experience::before {
    max-width: 100vw;
  }

  .media-gallery,
  .media-proof,
  .metrics,
  .metrics-featured,
  .creative-brief,
  .nonstandard-grid,
  .nonstandard-callout,
  .role-split,
  .role-split-three,
  .wuhan-layout,
  .wuhan-summary,
  .qifu-grid,
  .qifu-note,
  .yishu-layout,
  .yishu-content,
  .yishu-side,
  .delivery-chain {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .section-shell {
    --page-x: 18px;
  }

  .hero-script {
    max-width: calc(100% - 34px);
    margin-left: 28px;
  }
}


/* =========================================================
   V6.7 — iOS / in-app browser viewport + cache-safe mobile fix
   - Prevents zooming out below the fitted viewport while keeping zoom-in enabled.
   - Uses versioned CSS/JS filenames so old immutable assets cannot survive deploys.
   ========================================================= */
html,
body {
  inline-size: 100%;
  max-inline-size: 100%;
  min-inline-size: 0;
  background-color: var(--paper);
}

@media (max-width: 767px) {
  :root {
    inline-size: 100%;
    max-inline-size: 100%;
  }

  body,
  main,
  .site-header,
  .section-shell,
  .hero,
  .about,
  .experience,
  .project-section,
  .project-body,
  .contact {
    inline-size: 100%;
    max-inline-size: 100%;
    min-inline-size: 0;
  }

  .section-shell {
    margin-inline: 0;
  }

  .hero-visual,
  .hero-visual img,
  .about-portrait,
  .about-portrait img {
    max-inline-size: 100%;
  }

  /* Full-bleed decorative backgrounds are paint-only and never define layout width. */
  .about::before,
  .experience::before,
  .wuhan-case::before,
  .nonstandard-case::before,
  .qifu-case::before,
  .yishu-case::before {
    left: 50%;
    right: auto;
    width: 100dvw;
    max-width: 100dvw;
    transform: translateX(-50%);
  }
}


/* =========================================================
   V6.9 — Guangxi phone capture bottom alignment
   Preserve the publishing UI / interaction bar at the bottom.
   ========================================================= */
.media-phone img {
  object-position: center bottom !important;
}

@media (max-width: 767px) {
  .media-phone img {
    object-position: center bottom !important;
  }
}
