:root {
  --outer: #5b5a57;
  --paper: #f8f6ef;
  --paper-2: #fffdf6;
  --ink: #0c0c0c;
  --muted: #55544e;
  --line: #111111;
  --thin: 1px solid var(--line);
  --accent: #c9dd22;
  --placeholder: #d1d0ca;
  --placeholder-2: #bebdb7;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--outer);
  color: var(--ink);
  font-family:
    "HarmonyOS Sans", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei",
    Arial, sans-serif;
  letter-spacing: 0;
}

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

.site-header,
main,
.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  background: var(--paper);
  border-left: var(--thin);
  border-right: var(--thin);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 58px;
  margin-top: 42px;
  border-top: var(--thin);
  border-bottom: var(--thin);
  background: rgba(248, 246, 239, 0.94);
  backdrop-filter: blur(12px);
}

.brand-mark {
  display: flex;
  align-items: center;
  padding: 0 22px;
  border-right: var(--thin);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-mark::before {
  width: 14px;
  height: 14px;
  margin-right: 10px;
  border: var(--thin);
  background: var(--accent);
  content: "";
}

.site-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.site-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-right: var(--thin);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.site-nav a:last-child {
  border-right: 0;
}

.site-nav a:hover,
.site-nav a[aria-current] {
  background: var(--accent);
}

.site-nav a[aria-current] {
  color: var(--ink);
}

main {
  display: flex;
  flex-direction: column;
  border-bottom: var(--thin);
}

.hero {
  order: 1;
}

.capability-nav {
  order: 2;
}

#brand {
  order: 3;
}

#planning {
  order: 4;
}

#product-visual {
  order: 5;
}

#media {
  order: 6;
}

#about {
  order: 7;
}

.section {
  width: 100%;
  margin: 0;
  padding: 0;
  border-bottom: var(--thin);
}

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

.eyebrow,
.section-index,
.case-kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 820px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px 34px 34px;
  border-right: var(--thin);
}

.hero-copy .eyebrow {
  display: none;
}

h1 {
  max-width: 920px;
  margin: 0 0 auto;
  font-size: clamp(72px, 8.9vw, 148px);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.02em;
}

.hero-intro {
  max-width: 470px;
  margin: 32px 0 18px;
  font-size: 22px;
  line-height: 1.45;
}

.body-copy,
.section-heading p,
.case-copy p,
.case-card p,
.compact-case p,
.project-index p,
.about-section p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.tag-row,
.about-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.tag-row span,
.about-list span {
  padding: 7px 10px;
  border: var(--thin);
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 11px;
}

.hero-collage,
.hero-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.15fr 0.85fr 0.85fr;
}

.hero-summary {
  background: var(--paper);
  grid-template-rows: 43% 29% 28%;
  position: relative;
}

.hero-summary-block {
  min-height: 190px;
  padding: 26px;
  border-right: var(--thin);
  border-bottom: var(--thin);
  background: var(--paper);
}

.hero-summary-block:nth-child(2n) {
  border-right: 0;
}

.hero-summary-main {
  grid-column: span 2;
  min-height: 0;
  background: var(--accent);
}

.hero-summary-main p,
.hero-summary-note p {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(26px, 5vw, 72px);
  border-top: var(--thin);
  border-bottom: var(--thin);
}

.hero-summary-main .hero-service-list h3 {
  min-height: clamp(168px, 18vw, 250px);
  margin: 0;
  padding: clamp(18px, 2.4vw, 34px) clamp(14px, 2vw, 28px);
  border-right: var(--thin);
  font-size: clamp(38px, 4.8vw, 82px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.hero-summary-main .hero-service-list h3:last-child {
  border-right: 0;
}

.hero-summary-block span {
  display: block;
  margin-bottom: 42px;
  font-size: 52px;
  font-weight: 500;
  line-height: 0.78;
  letter-spacing: -0.05em;
}

.hero-summary-block h3 {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 500;
}

.hero-summary-block p {
  max-width: 260px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.hero-summary-note {
  display: flex;
  align-items: flex-end;
  grid-column: 1 / 2;
  grid-row: 3 / 4;
  background:
    linear-gradient(135deg, rgba(201, 221, 34, 0.2), transparent 44%),
    var(--paper-2);
}

.hero-summary::before,
.hero-summary::after {
  content: "";
  display: block;
  min-height: 0;
  border-bottom: var(--thin);
  background: var(--paper);
}

.hero-summary::before {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
}

.hero-summary::after {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  border-left: var(--thin);
}

.hero-image {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  margin: 0;
  border-right: var(--thin);
  border-bottom: var(--thin);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 48%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.18) 0,
      rgba(255, 255, 255, 0.18) 1px,
      transparent 1px,
      transparent 13px
    ),
    var(--placeholder);
}

.hero-image img,
.magazine-grid > img,
.editorial-spread > img,
.timeline-gallery > img,
.image-strip > img,
.compact-gallery > img,
.half-materials-grid img,
.half-space-case img,
.theme-gallery img,
.dashu-gallery img,
.langlang-gallery img,
.macau-gallery img,
.treebox-gallery img,
.project-index img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image img {
  position: absolute;
  inset: 0;
}

.hero-image-large {
  grid-row: span 2;
}

.hero-image:nth-child(2n) {
  border-right: 0;
}

.hero-image figcaption,
.placeholder::after,
.project-index .placeholder::after {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: rgba(12, 12, 12, 0.56);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-image figcaption {
  left: 14px;
  right: auto;
}

.hero-image::after {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.hero-image,
.placeholder,
.magazine-grid > *,
.editorial-spread > *,
.timeline-gallery > *,
.image-strip > *,
.compact-gallery > *,
.capability-card,
.interactive-case {
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.section-heading {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 176px;
  border-bottom: var(--thin);
}

.section-heading > * {
  padding: 28px 34px;
}

.section-heading .section-index {
  border-right: var(--thin);
}

.section-heading h2 {
  max-width: 860px;
  margin: 0 0 16px;
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.03em;
}

.capability-nav {
  padding: 0;
}

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

.capability-card {
  min-height: 310px;
  padding: 26px;
  border-right: var(--thin);
  background: var(--paper);
}

.capability-card:last-child {
  border-right: 0;
}

.capability-card:hover {
  background: var(--accent);
}

.capability-card:hover span {
  transform: translateX(6px);
}

.capability-card span {
  display: block;
  margin-bottom: 94px;
  font-size: clamp(58px, 7vw, 118px);
  font-weight: 500;
  line-height: 0.75;
  letter-spacing: -0.06em;
  transition: transform 180ms ease;
}

.capability-card h3 {
  margin-bottom: 14px;
  font-size: 30px;
  font-weight: 500;
}

.capability-card p {
  max-width: 270px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.feature-section {
  padding: 0;
}

.media-hub {
  border-bottom: var(--thin);
}

.media-hub-top {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 96px;
  border-bottom: var(--thin);
}

.media-hub-top > * {
  padding: 26px 28px;
}

.media-hub-top .case-kicker {
  border-right: var(--thin);
}

.platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.platform-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border: var(--thin);
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.platform-links a:hover {
  transform: translateY(-2px);
  background: var(--accent);
}

.media-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.media-card {
  min-height: 520px;
  padding: 34px;
  border-right: var(--thin);
  background: var(--paper);
}

.media-card:last-child {
  border-right: 0;
}

.video-placeholder {
  position: relative;
  height: 230px;
  margin-bottom: 26px;
  border: var(--thin);
  background:
    linear-gradient(135deg, rgba(201, 221, 34, 0.12), transparent 46%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.22) 0,
      rgba(255, 255, 255, 0.22) 1px,
      transparent 1px,
      transparent 13px
    ),
    var(--placeholder);
}

.video-cover {
  background-size: cover;
  background-position: center;
}

.half-video-cover {
  background-image:
    linear-gradient(rgba(12, 12, 12, 0.08), rgba(12, 12, 12, 0.08)),
    url("./assets/half/half-video-cover-blue.jpg");
  background-position: center 72%;
}

.dashu-video-cover {
  background-image:
    linear-gradient(rgba(12, 12, 12, 0.08), rgba(12, 12, 12, 0.08)),
    url("./assets/dashu/dashu-series-cover.jpg");
}

.treebox-logo-cover {
  background-image:
    linear-gradient(rgba(12, 12, 12, 0.04), rgba(12, 12, 12, 0.04)),
    url("./assets/treebox/treebox-space-cover.jpg");
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
}

.video-placeholder::before {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  border: var(--thin);
  border-radius: 50%;
  background: var(--paper-2);
  content: "";
  transform: translate(-50%, -50%);
}

.video-placeholder::after {
  position: absolute;
  left: calc(50% + 3px);
  top: 50%;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid var(--ink);
  content: "";
  transform: translate(-50%, -50%);
}

.media-card-copy {
  display: grid;
  min-height: 220px;
  grid-template-rows: auto auto 1fr auto;
}

.media-date {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
}

.media-card-copy span {
  width: fit-content;
  margin-bottom: 18px;
  padding: 5px 10px;
  border: var(--thin);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.media-card h3 {
  max-width: 310px;
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
}

.media-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.media-card-copy a {
  width: fit-content;
  margin-top: 20px;
  border-bottom: 2px solid var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.media-card-copy a.account-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
}

.media-card-copy a.account-link::before {
  content: "点击进入页面 ·";
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.media-card-copy a.account-link::after {
  content: "OPEN";
  padding: 2px 7px;
  border: var(--thin);
  border-radius: 999px;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.media-card-copy a.account-link:hover::after {
  background: var(--accent);
}

.account-link-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}

.media-card-copy .account-link-list a {
  margin-top: 0;
}

.media-card:hover {
  background: var(--paper-2);
}

.media-cover-link {
  position: relative;
  display: block;
  color: inherit;
}

.media-cover-link::after {
  content: "点击进入页面 ↗";
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 8px 12px;
  border: var(--thin);
  border-radius: 999px;
  background: rgba(248, 246, 239, 0.92);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  transition: background 160ms ease, transform 160ms ease;
}

.media-cover-link:hover::after,
.media-cover-link:focus-visible::after {
  background: var(--accent);
  transform: translateY(-2px);
}

.media-cover-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.media-card:hover .video-placeholder::before {
  background: var(--accent);
}

.case-row {
  display: grid;
  grid-template-columns: 34% 66%;
  min-height: 540px;
  border-bottom: var(--thin);
}

.interactive-case {
  cursor: pointer;
  outline: none;
}

.interactive-case:hover,
.interactive-case:focus-visible,
.interactive-case.is-open {
  box-shadow: inset 0 0 0 4px var(--accent);
}

.interactive-case:hover .case-kicker,
.interactive-case:focus-visible .case-kicker,
.interactive-case.is-open .case-kicker {
  color: var(--ink);
  background: var(--accent);
}

.interactive-case:hover .placeholder,
.interactive-case:hover .magazine-grid > *,
.interactive-case:hover .editorial-spread > *,
.interactive-case:hover .timeline-gallery > *,
.interactive-case:hover .image-strip > *,
.interactive-case:hover .compact-gallery > *,
.interactive-case.is-open .placeholder,
.interactive-case.is-open .magazine-grid > *,
.interactive-case.is-open .editorial-spread > *,
.interactive-case.is-open .timeline-gallery > *,
.interactive-case.is-open .image-strip > *,
.interactive-case.is-open .compact-gallery > * {
  background:
    linear-gradient(135deg, rgba(201, 221, 34, 0.22), transparent 46%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.22) 0,
      rgba(255, 255, 255, 0.22) 1px,
      transparent 1px,
      transparent 13px
    ),
    var(--placeholder-2);
}

.interactive-case .case-copy::after,
.case-card > div:last-child::after,
.compact-case > div:first-child::after {
  display: inline-block;
  width: fit-content;
  margin-top: 22px;
  padding: 7px 10px;
  border: var(--thin);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  content: "CLICK TO MARK";
}

.interactive-case.is-open .case-copy::after,
.interactive-case.is-open.case-card > div:last-child::after,
.interactive-case.is-open.compact-case > div:first-child::after {
  background: var(--accent);
  color: var(--ink);
  content: "SELECTED";
}

.case-kicker {
  display: inline-block;
  width: fit-content;
  padding: 4px 6px;
  margin-left: -6px;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.case-row.reverse {
  grid-template-columns: 66% 34%;
}

.case-row.reverse .case-copy {
  order: 2;
  border-right: 0;
  border-left: var(--thin);
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 30px;
  border-right: var(--thin);
}

.case-kicker {
  margin-bottom: 18px;
}

.case-copy h3,
.case-card h3,
.compact-case h3,
.project-index h3 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.case-copy p:last-child {
  max-width: 380px;
}

.case-facts {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.case-facts span {
  display: block;
  padding: 8px 10px;
  border: var(--thin);
  background: var(--paper-2);
  color: var(--ink);
  font-size: 11px;
  line-height: 1.45;
}

.result-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.result-row span {
  padding: 7px 9px;
  border: var(--thin);
  background: var(--accent);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.placeholder,
.magazine-grid > *,
.editorial-spread > *,
.timeline-gallery > *,
.image-strip > *,
.compact-gallery > *,
.half-materials-grid > *,
.half-space-hero,
.half-space-grid > *,
.theme-gallery > *,
.dashu-gallery > *,
.langlang-gallery > *,
.macau-gallery > *,
.treebox-gallery > * {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 180px;
  border-right: var(--thin);
  border-bottom: var(--thin);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 44%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.18) 0,
      rgba(255, 255, 255, 0.18) 1px,
      transparent 1px,
      transparent 13px
    ),
    var(--placeholder);
}

.magazine-grid > img,
.editorial-spread > img,
.timeline-gallery > img,
.image-strip > img,
.compact-gallery > img,
.half-materials-grid > img,
.half-space-case img,
.theme-gallery > img,
.treebox-gallery > img {
  display: block;
}

.placeholder::after,
.magazine-grid > *::after,
.editorial-spread > *::after,
.timeline-gallery > *::after,
.image-strip > *::after,
.compact-gallery > *::after,
.half-materials-grid > *::after,
.half-space-hero::after,
.half-space-grid > *::after,
.theme-gallery > *::after,
.dashu-gallery > *::after,
.langlang-gallery > *::after,
.macau-gallery > *::after,
.treebox-gallery > *::after {
  content: "IMAGE PLACEHOLDER";
}

.magazine-grid,
.editorial-spread,
.timeline-gallery,
.image-strip,
.compact-gallery,
.half-materials-grid,
.half-space-grid,
.theme-gallery,
.dashu-gallery,
.langlang-gallery,
.macau-gallery,
.treebox-gallery {
  display: grid;
  gap: 0;
  min-height: 100%;
}

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

.six-pack > * {
  min-height: 270px;
}

.half-materials {
  display: grid;
  grid-template-columns: 34% 66%;
  min-height: 720px;
  border-bottom: var(--thin);
}

.half-materials-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 30px;
  border-right: var(--thin);
  background: var(--paper-2);
}

.half-materials-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.half-materials-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.half-materials-grid {
  grid-template-columns: repeat(4, 1fr);
}

.half-materials-grid > * {
  min-height: 240px;
}

.half-materials-grid .tall {
  grid-row: span 2;
  min-height: 480px;
}

.half-space-case {
  display: grid;
  grid-template-columns: 58% 42%;
  min-height: 560px;
  border-bottom: var(--thin);
}

.half-space-hero {
  min-height: 560px;
}

.half-space-grid {
  grid-template-columns: 1fr;
}

.half-space-grid > * {
  min-height: 187px;
}

.half-theme-board {
  border-bottom: var(--thin);
  background: var(--paper);
}

.theme-group {
  padding: 26px;
  border-bottom: var(--thin);
}

.theme-group:last-child {
  border-bottom: 0;
}

.theme-label {
  width: fit-content;
  margin: 0 0 18px;
  padding: 5px 10px;
  border: var(--thin);
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.theme-gallery {
  border-top: var(--thin);
  border-left: var(--thin);
}

.theme-gallery > * {
  min-height: 360px;
}

.theme-gallery-three {
  grid-template-columns: repeat(3, 1fr);
}

.theme-gallery-two {
  grid-template-columns: repeat(2, 1fr);
}

.theme-gallery-five {
  grid-template-columns: repeat(3, 1fr);
}

.theme-gallery-four {
  grid-template-columns: repeat(4, 1fr);
}

.theme-gallery-five > *:first-child,
.theme-gallery-five > *:nth-child(4) {
  min-height: 520px;
}

.dashu-event-board {
  border-bottom: var(--thin);
  background: var(--paper);
}

.dashu-festival-board {
  border-bottom: var(--thin);
  background: var(--paper);
}

.dashu-qingming-board {
  border-bottom: var(--thin);
  background: var(--paper);
}

.dashu-playground-board {
  border-bottom: var(--thin);
  background: var(--paper);
}

.dashu-gallery {
  border-top: var(--thin);
  border-left: var(--thin);
}

.dashu-poster-gallery {
  grid-template-columns: repeat(4, 1fr);
}

.dashu-poster-gallery > * {
  min-height: 410px;
}

.dashu-scene-gallery {
  grid-template-columns: repeat(6, 1fr);
}

.dashu-scene-gallery > * {
  min-height: 360px;
}

.dashu-recap-gallery {
  grid-template-columns: 1.25fr 1.25fr 1fr;
}

.dashu-recap-gallery > * {
  min-height: 430px;
}

.dashu-gallery img {
  background: var(--paper-2);
}

.festival-visual-gallery {
  grid-template-columns: 1fr 1fr 1fr;
}

.festival-visual-gallery > * {
  min-height: 470px;
}

.festival-scene-gallery {
  grid-template-columns: repeat(4, 1fr);
}

.festival-scene-gallery > * {
  min-height: 430px;
}

.qingming-visual-gallery {
  grid-template-columns: repeat(3, 1fr);
}

.qingming-visual-gallery > * {
  min-height: 460px;
}

.qingming-scene-gallery {
  grid-template-columns: 1fr 1fr;
}

.qingming-scene-gallery > * {
  min-height: 520px;
}

.playground-concept-gallery {
  grid-template-columns: repeat(4, 1fr);
}

.playground-scene-gallery {
  grid-template-columns: repeat(4, 1fr);
}

.playground-gallery > * {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.playground-gallery img {
  object-fit: contain;
  background: var(--paper-2);
}

.langlang-plan-board {
  border-bottom: var(--thin);
  background: var(--paper);
}

.langlang-gallery {
  border-top: var(--thin);
  border-left: var(--thin);
}

.langlang-overview-gallery {
  grid-template-columns: repeat(3, 1fr);
}

.langlang-overview-gallery > * {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.langlang-space-gallery {
  grid-template-columns: repeat(3, 1fr);
}

.langlang-space-gallery > * {
  min-height: 360px;
}

.langlang-gallery img {
  object-fit: contain;
  background: var(--paper-2);
}

.langlang-overview-gallery img {
  object-fit: cover;
  background: var(--paper);
}

.macau-vi-board {
  border-bottom: var(--thin);
  background: var(--paper);
}

.macau-gallery {
  border-top: var(--thin);
  border-left: var(--thin);
}

.macau-brand-gallery,
.macau-application-gallery {
  grid-template-columns: repeat(3, 1fr);
}

.macau-brand-gallery > *,
.macau-application-gallery > * {
  min-height: 330px;
}

.macau-gallery img {
  object-fit: contain;
  background: var(--paper-2);
}

.treebox-board {
  display: grid;
  grid-template-rows: auto auto;
  min-height: 100%;
}

.treebox-group {
  padding: 26px;
  border-bottom: var(--thin);
}

.treebox-group:last-child {
  border-bottom: 0;
}

.treebox-gallery {
  border-top: var(--thin);
  border-left: var(--thin);
}

.treebox-space-gallery {
  grid-template-columns: repeat(2, 1fr);
}

.treebox-space-gallery > * {
  min-height: 260px;
}

.treebox-product-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.treebox-product-gallery > * {
  height: 680px;
  min-height: 680px;
  background: var(--paper-2);
}

.vertical-pan-card {
  --pan-window: 680px;
  position: relative;
  overflow: hidden;
  height: var(--pan-window);
  min-height: var(--pan-window);
  margin: 0;
  background: var(--paper-2);
}

.treebox-product-gallery .vertical-pan-card img {
  display: block;
  width: 100%;
  height: auto;
  min-height: var(--pan-window);
  object-fit: unset;
  background: var(--paper-2);
  animation: verticalPan 7s ease-in-out infinite alternate;
  will-change: transform;
}

.treebox-product-gallery .vertical-pan-card:nth-child(2) img {
  animation-duration: 8s;
  animation-delay: -1.8s;
}

.treebox-product-gallery .vertical-pan-card:nth-child(3) img {
  animation-duration: 9s;
  animation-delay: -3.2s;
}

.treebox-product-gallery .vertical-pan-card:hover img {
  animation-play-state: paused;
}

@keyframes verticalPan {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(calc(-100% + var(--pan-window)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .treebox-product-gallery .vertical-pan-card img {
    animation: none;
  }
}

img[data-preview] {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  grid-template-rows: auto 1fr auto;
  padding: 22px;
  background: rgba(12, 12, 12, 0.88);
  color: var(--paper);
}

.image-lightbox.is-visible {
  display: grid;
}

.image-lightbox-bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-bottom: 14px;
}

.image-lightbox-title {
  max-width: calc(100vw - 120px);
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.image-lightbox-close {
  min-width: 42px;
  height: 34px;
  border: var(--thin);
  border-color: var(--paper);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.image-lightbox-close:hover {
  background: var(--accent);
  color: var(--ink);
}

.image-lightbox-stage {
  display: grid;
  place-items: center;
  min-height: 0;
}

.image-lightbox-stage img {
  max-width: 100%;
  max-height: 82vh;
  border: 1px solid rgba(248, 246, 239, 0.4);
  object-fit: contain;
}

.image-lightbox-hint {
  margin: 0;
  padding-top: 12px;
  color: rgba(248, 246, 239, 0.72);
  font-size: 11px;
  text-align: center;
}

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

.food-grid > * {
  min-height: 270px;
  background-color: var(--placeholder-2);
}

.linggui-scroll {
  min-width: 0;
  min-height: 540px;
  overflow: hidden;
  background: var(--placeholder-2);
}

.linggui-scroll-track {
  display: flex;
  width: 400%;
  height: 100%;
  min-height: 540px;
  animation: lingguiDrift 18s linear infinite;
}

.linggui-scroll:hover .linggui-scroll-track,
.linggui-scroll:focus-within .linggui-scroll-track {
  animation-play-state: paused;
}

.linggui-scroll img {
  display: block;
  width: 12.5%;
  height: 540px;
  flex: 0 0 12.5%;
  border-right: var(--thin);
  object-fit: cover;
  cursor: zoom-in;
}

@keyframes lingguiDrift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .linggui-scroll-track {
    animation: none;
  }
}

.editorial-spread {
  grid-template-columns: 1fr 1fr;
}

.editorial-spread .wide {
  grid-column: span 2;
  min-height: 350px;
}

.case-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: var(--thin);
}

.case-card {
  display: grid;
  grid-template-rows: 260px 1fr;
  min-height: 520px;
  border-right: var(--thin);
  background: var(--paper);
}

.case-card:last-child {
  border-right: 0;
}

.case-card > div:last-child {
  padding: 24px 28px 30px;
}

.image-strip {
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
}

.single-image-strip {
  grid-template-columns: 1fr;
}

.image-strip > * {
  min-height: 260px;
}

.scrolling-strip {
  display: block;
  overflow: hidden;
}

.scrolling-strip .strip-track {
  display: flex;
  width: max-content;
  min-height: 260px;
  border: 0;
  background: none;
  overflow: visible;
  animation: stripDrift 28s linear infinite;
}

.scrolling-strip .strip-track::after {
  content: none;
}

.scrolling-strip:hover .strip-track,
.scrolling-strip:focus-within .strip-track {
  animation-play-state: paused;
}

.scrolling-strip img {
  display: block;
  width: 34vw;
  min-width: 360px;
  height: 260px;
  object-fit: contain;
  object-position: center;
  background: var(--paper-2);
  border-right: var(--thin);
  cursor: zoom-in;
}

.marketing-strip {
  border-top: var(--thin);
  border-left: var(--thin);
}

.marketing-strip .strip-track {
  min-height: 430px;
  animation-duration: 17s;
}

.marketing-strip img {
  width: 27vw;
  min-width: 280px;
  height: 430px;
  background: var(--paper-2);
}

.half-theme-strip {
  border-top: var(--thin);
  border-left: var(--thin);
}

.half-theme-strip .strip-track {
  min-height: 430px;
  animation-duration: 14s;
}

.half-theme-strip img {
  width: 26vw;
  min-width: 280px;
  height: 430px;
  background: var(--paper-2);
}

@keyframes stripDrift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-strip .strip-track,
  .half-theme-strip .strip-track {
    animation: none;
  }
}

.timeline-gallery {
  grid-template-columns: 1.25fr 0.75fr;
}

.timeline-gallery > img:only-child {
  grid-column: 1 / -1;
  min-height: 540px;
}

.timeline-gallery > * {
  min-height: 270px;
}

.timeline-gallery > *:first-child {
  grid-row: span 2;
}

.event-recap-hero {
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  overflow: hidden;
}

.event-recap-hero > *:first-child {
  grid-row: auto;
}

.event-recap-shot {
  position: relative;
  min-height: 540px;
  margin: 0;
  overflow: hidden;
  border-right: var(--thin);
  background: var(--paper-2);
}

.event-recap-shot:last-child {
  border-right: 0;
}

.event-recap-shot img {
  position: absolute;
  inset: -6%;
  display: block;
  width: 112%;
  height: 112%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 760px) {
  .event-recap-hero {
    min-height: 400px;
  }

  .event-recap-shot {
    min-height: 400px;
  }
}

.compact-case {
  display: grid;
  grid-template-columns: 36% 64%;
  min-height: 360px;
  border-bottom: var(--thin);
}

.compact-case > div:first-child {
  padding: 28px 30px;
  border-right: var(--thin);
}

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

.macau-prestrategy-gallery {
  grid-template-columns: repeat(2, 1fr);
}

.compact-gallery > * {
  min-height: 360px;
}

.macau-prestrategy-gallery > * {
  min-height: 440px;
}

.macau-prestrategy-gallery img {
  object-fit: contain;
  background: var(--paper-2);
}

.project-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.project-index article {
  border-right: var(--thin);
}

.project-index article:last-child {
  border-right: 0;
}

.project-index .placeholder {
  height: 260px;
  min-height: 260px;
}

.project-index img {
  display: block;
  height: 260px;
  border-bottom: var(--thin);
}

.project-index h3,
.project-index p {
  padding-left: 26px;
  padding-right: 26px;
}

.project-index h3 {
  margin-top: 24px;
  font-size: 26px;
}

.project-index p {
  padding-bottom: 34px;
}

.about-section {
  display: grid;
  grid-template-columns: 46% 24% 30%;
  border-bottom: 0;
}

.about-section > * {
  min-height: 280px;
  padding: 30px;
  border-right: var(--thin);
}

.about-section > *:last-child {
  border-right: 0;
}

.about-section h2 {
  margin: 24px 0;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 500;
  line-height: 0.88;
}

.about-list {
  align-content: start;
  margin-top: 0;
}

.contact-box {
  background: var(--accent);
}

.contact-box p {
  margin-bottom: 84px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.contact-box h3 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
}

.contact-box span {
  color: rgba(12, 12, 12, 0.72);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 42px;
  border-bottom: var(--thin);
  color: var(--muted);
  font-size: 11px;
}

.site-footer span {
  padding: 18px 22px;
  border-right: var(--thin);
}

.site-footer span:last-child {
  border-right: 0;
  text-align: right;
}

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

.editorial-hero {
  display: block;
  min-height: 0;
  padding: clamp(54px, 8vw, 118px) clamp(24px, 4.5vw, 72px) 0;
  background: #fff;
}

.editorial-hero-heading {
  text-align: center;
  transform: translateY(calc(var(--hero-scroll-offset, 0px) * -0.35));
  will-change: transform;
}

.editorial-hero-heading .eyebrow {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.editorial-hero-heading h1 {
  max-width: none;
  margin: 0 auto;
  font-size: clamp(54px, 8.4vw, 132px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.editorial-hero-heading h1 span {
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 0.88em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.08em;
}

.editorial-hero-heading > p:last-child {
  max-width: 680px;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.editorial-hero-pills {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 1040px;
  margin: 42px auto 64px;
}

.editorial-hero-pills a {
  display: grid;
  min-height: 48px;
  place-items: center;
  margin-right: -1px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease;
}

.editorial-hero-pills a:hover,
.editorial-hero-pills a:focus-visible,
.editorial-hero-pills .is-active {
  background: var(--accent);
}

.editorial-hero-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 36px);
  padding-bottom: clamp(42px, 6vw, 80px);
}

.editorial-hero-showcase a {
  color: var(--ink);
  text-decoration: none;
}

.editorial-hero-showcase img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35 / 1;
  border: var(--thin);
  border-radius: 7px;
  background: var(--paper-2);
  object-fit: cover;
  transition: transform 180ms ease;
}

.editorial-hero-showcase a:hover img,
.editorial-hero-showcase a:focus-visible img {
  transform: translateY(-6px);
}

.editorial-hero-showcase span {
  display: block;
  padding-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.scroll-progress {
  position: fixed;
  z-index: 110;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  pointer-events: none;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
}

.motion-ready .motion-reveal {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .motion-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.motion-tilt {
  transform:
    perspective(900px)
    translateY(var(--lift, 0))
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
  will-change: transform;
}

.motion-tilt:hover {
  z-index: 2;
  box-shadow: 0 20px 46px rgba(12, 12, 12, 0.13);
}

.cursor-orb {
  position: fixed;
  z-index: 150;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  pointer-events: none;
  transform:
    translate3d(var(--cursor-x, -40px), var(--cursor-y, -40px), 0)
    translate(-50%, -50%);
  transition:
    width 180ms ease,
    height 180ms ease,
    opacity 180ms ease,
    background 180ms ease;
  mix-blend-mode: multiply;
}

.cursor-orb.is-visible {
  opacity: 0.9;
}

.cursor-orb.is-active {
  width: 42px;
  height: 42px;
  background: rgba(201, 221, 34, 0.38);
}

@media (hover: none), (pointer: coarse) {
  .cursor-orb {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-hero-heading,
  .motion-reveal,
  .motion-tilt {
    transform: none !important;
    transition: none !important;
  }

  .cursor-orb {
    display: none;
  }
}

.product-content-section {
  border-bottom: var(--thin);
}

.product-content-case {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  border-top: var(--thin);
}

.product-content-copy {
  padding: clamp(30px, 4vw, 58px);
  border-right: var(--thin);
}

.product-content-copy h3 {
  max-width: 9em;
  margin: 18px 0 34px;
  font-size: clamp(38px, 4.6vw, 70px);
  font-weight: 500;
  line-height: 0.98;
}

.product-content-copy ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.product-content-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.product-content-links a {
  padding: 10px 14px;
  border: var(--thin);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.product-content-links a::after {
  content: " · 点击进入页面 ↗";
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.product-content-links a:hover,
.product-content-links a:focus-visible {
  background: var(--accent);
  color: var(--ink);
}

.product-content-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 620px;
  overflow: hidden;
  background: #ddd8cd;
}

.product-content-gallery img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  border-right: var(--thin);
  object-fit: cover;
  cursor: zoom-in;
}

.product-content-gallery img:last-child {
  border-right: 0;
}

.ruyi-product-gallery {
  grid-template-rows: repeat(2, minmax(310px, 1fr));
}

.ruyi-product-gallery img {
  min-height: 310px;
  border-bottom: var(--thin);
}

.ruyi-product-gallery img:nth-child(3n) {
  border-right: 0;
}

.ruyi-product-gallery img:nth-child(n + 4) {
  border-bottom: 0;
}

.artist-emotion-gallery {
  grid-template-rows: repeat(2, minmax(310px, 1fr));
}

.artist-emotion-gallery img {
  min-height: 310px;
  border-bottom: var(--thin);
}

.artist-emotion-gallery img:nth-child(3n) {
  border-right: 0;
}

.artist-emotion-gallery img:nth-child(n + 4) {
  border-bottom: 0;
}

.product-content-case-reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
}

.product-content-case-reverse .product-content-copy {
  order: 2;
  border-right: 0;
  border-left: var(--thin);
}

@media (max-width: 980px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .brand-mark {
    min-height: 52px;
    border-right: 0;
    border-bottom: var(--thin);
  }

  .hero,
  .case-row,
  .case-row.reverse,
  .compact-case,
  .half-materials,
  .half-space-case,
  .product-content-case,
  .product-content-case-reverse,
  .about-section {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .case-copy,
  .case-row.reverse .case-copy,
  .compact-case > div:first-child,
  .half-materials-copy,
  .about-section > * {
    border-right: 0;
    border-left: 0;
    border-bottom: var(--thin);
  }

  .case-row.reverse .case-copy {
    order: 0;
  }

  .product-content-case-reverse .product-content-copy {
    order: 0;
  }

  .product-content-copy,
  .product-content-case-reverse .product-content-copy {
    border-right: 0;
    border-left: 0;
    border-bottom: var(--thin);
  }

  .capability-grid,
  .case-pair,
  .project-index,
  .media-card-grid {
    grid-template-columns: 1fr;
  }

  .capability-card,
  .case-card,
  .project-index article,
  .media-card {
    border-right: 0;
    border-bottom: var(--thin);
  }

  .media-card:last-child {
    border-bottom: 0;
  }

  .media-hub-top {
    grid-template-columns: 1fr;
  }

  .media-hub-top .case-kicker {
    border-right: 0;
    border-bottom: var(--thin);
  }
}

@media (max-width: 640px) {
  .site-nav {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(58px, 19vw, 104px);
  }

  .editorial-hero {
    padding: 54px 18px 0;
  }

  .editorial-hero-heading h1 {
    font-size: clamp(48px, 15vw, 76px);
  }

  .editorial-hero-pills {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 34px auto 44px;
  }

  .editorial-hero-pills a {
    margin: 0;
  }

  .editorial-hero-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 22px 12px;
  }

  .site-nav a:nth-child(2n) {
    border-right: 0;
  }

  .hero-collage,
  .hero-summary,
  .six-pack,
  .food-grid,
  .timeline-gallery,
  .compact-gallery,
  .image-strip,
  .editorial-spread,
  .half-materials-grid,
  .half-space-grid,
  .theme-gallery-two,
  .theme-gallery-three,
  .theme-gallery-five,
  .theme-gallery-four,
  .treebox-space-gallery,
  .dashu-poster-gallery,
  .dashu-scene-gallery,
  .dashu-recap-gallery,
  .festival-visual-gallery,
  .festival-scene-gallery,
  .playground-concept-gallery,
  .playground-scene-gallery,
  .langlang-overview-gallery,
  .langlang-space-gallery,
  .macau-brand-gallery,
  .macau-application-gallery,
  .treebox-product-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .product-content-gallery {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }

  .product-content-gallery img {
    min-height: 360px;
  }

  .product-content-gallery img:nth-child(2n) {
    border-right: 0;
  }

  .artist-emotion-gallery {
    grid-template-rows: none;
  }

  .ruyi-product-gallery {
    grid-template-rows: none;
  }

  .ruyi-product-gallery img {
    min-height: 280px;
    border-right: var(--thin);
    border-bottom: var(--thin);
  }

  .ruyi-product-gallery img:nth-child(3n) {
    border-right: var(--thin);
  }

  .ruyi-product-gallery img:nth-child(2n) {
    border-right: 0;
  }

  .ruyi-product-gallery img:nth-child(n + 4) {
    border-bottom: var(--thin);
  }

  .ruyi-product-gallery img:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .artist-emotion-gallery img {
    min-height: 280px;
    border-right: var(--thin);
    border-bottom: var(--thin);
  }

  .artist-emotion-gallery img:nth-child(3n) {
    border-right: var(--thin);
  }

  .artist-emotion-gallery img:nth-child(2n) {
    border-right: 0;
  }

  .artist-emotion-gallery img:nth-child(n + 4) {
    border-bottom: var(--thin);
  }

  .artist-emotion-gallery img:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .hero-summary-main {
    grid-column: span 2;
  }

  .hero-summary {
    grid-template-rows: auto auto;
  }

  .hero-summary::before,
  .hero-summary::after {
    display: none;
  }

  .hero-summary-note {
    grid-column: span 2;
    grid-row: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading .section-index {
    border-right: 0;
    border-bottom: var(--thin);
  }

  .hero-image-large,
  .timeline-gallery > *:first-child,
  .editorial-spread .wide,
  .half-materials-grid .tall {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-image,
  .placeholder,
  .magazine-grid > *,
  .editorial-spread > *,
  .timeline-gallery > *,
  .image-strip > *,
  .compact-gallery > *,
  .half-materials-grid > *,
  .half-materials-grid .tall,
  .half-space-hero,
  .half-space-grid > *,
  .theme-gallery > *,
  .theme-gallery-five > *:first-child,
  .theme-gallery-five > *:nth-child(4),
  .treebox-space-gallery > *,
  .dashu-poster-gallery > *,
  .dashu-scene-gallery > *,
  .dashu-recap-gallery > *,
  .festival-visual-gallery > *,
  .festival-scene-gallery > *,
  .playground-gallery > *,
  .langlang-overview-gallery > *,
  .langlang-space-gallery > *,
  .macau-brand-gallery > *,
  .macau-application-gallery > * {
    min-height: 150px;
  }

  .dashu-poster-gallery > *,
  .dashu-scene-gallery > *,
  .dashu-recap-gallery > *,
  .festival-visual-gallery > *,
  .festival-scene-gallery > *,
  .playground-gallery > *,
  .langlang-overview-gallery > *,
  .langlang-space-gallery > *,
  .macau-brand-gallery > *,
  .macau-application-gallery > * {
    min-height: 260px;
  }

  .treebox-product-gallery > * {
    height: 520px;
    min-height: 520px;
  }

  .treebox-product-gallery .vertical-pan-card {
    --pan-window: 520px;
  }

  .playground-gallery > * {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .langlang-overview-gallery > * {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer span {
    border-right: 0;
    border-bottom: var(--thin);
    text-align: left;
  }

  .site-footer span:last-child {
    border-bottom: 0;
    text-align: left;
  }
}
main {
  display: flex;
  flex-direction: column;
}

.editorial-hero {
  order: 0;
}

.capability-nav {
  order: 1;
}

#brand {
  order: 2;
}

#planning {
  order: 3;
}

#product-visual {
  order: 4;
}

#media {
  order: 5;
}

#about {
  order: 6;
}
