:root {
  --bg: #050505;
  --panel: #101010;
  --panel-soft: #181818;
  --text: #f6f2ea;
  --muted: #b9b0a5;
  --line: rgba(255, 255, 255, 0.14);
  --gold: #f4c542;
  --red: #d82d2d;
  --blue: #2774d9;
  --green: #1f9f5d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --nav-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0;
}

body.en {
  font-family: Inter, Arial, sans-serif;
}

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

img,
video {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.35));
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1240px, calc(100% - 36px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  min-width: max-content;
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.brand-mark span {
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.brand-mark span:nth-child(1) { background: var(--red); }
.brand-mark span:nth-child(2) { background: var(--gold); }
.brand-mark span:nth-child(3) { background: var(--blue); }
.brand-mark span:nth-child(4) { background: var(--green); }

.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 4px;
  overflow: visible;
  scrollbar-width: none;
}

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

.nav-link {
  position: relative;
  padding: 27px 12px 25px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 180ms ease, opacity 180ms ease;
}

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

.nav-link:hover,
.nav-link.active {
  color: #fff;
  opacity: 1;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-self: stretch;
  align-items: center;
}

.sub-nav {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 120;
  min-width: 150px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(4, 4, 4, 0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.sub-nav::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.nav-dropdown:hover .sub-nav,
.nav-dropdown:focus-within .sub-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

button.gallery-trigger {
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

.sub-nav[data-gallery-menu] {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.sub-nav[data-gallery-menu].is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.sub-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  white-space: nowrap;
}

.sub-nav a:hover,
.sub-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.lang-toggle {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  width: 74px;
  height: 38px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.64);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.62)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), #050505 93%);
}

.home-hero {
  background: #050505;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.home-hero::before {
  background:
    radial-gradient(circle at 22% 72%, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.36) 26%, transparent 48%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.54), transparent 44%, rgba(0, 0, 0, 0.2)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.04) 54%, #050505 98%);
}

.home-hero .hero-content {
  padding-bottom: 11vh;
}

.hero-card {
  width: min(660px, 100%);
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.hero-card .eyebrow {
  margin-bottom: 12px;
  color: #56d66f;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}

.hero-card h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.92;
  white-space: nowrap;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.92), 0 1px 2px rgba(0, 0, 0, 0.85);
}

.hero-card .hero-copy {
  margin-top: 14px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.55vw, 1.06rem);
  line-height: 1.65;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}

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

.hero-card .button {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #56d66f;
  font-weight: 950;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.hero-card .button::before {
  content: "→";
  margin-right: 8px;
}

.hero-card .button.secondary {
  color: rgba(255, 255, 255, 0.78);
}

.hero-card .button:hover {
  transform: translateX(4px);
  background: transparent;
}

.page-hero {
  margin-top: var(--nav-height);
  min-height: 58vh;
  background-image: var(--page-bg);
}

.page-hero .hero-content {
  padding-top: 60px;
}

.hero-content {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: calc(var(--nav-height) + 60px) 0 8vh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(3.4rem, 11vw, 8.4rem);
  line-height: 0.9;
  font-weight: 950;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.75;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 4px;
  background: #fff;
  color: #050505;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.secondary {
  background: transparent;
  color: #fff;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 84px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section.alt {
  background: #0b0b0b;
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section-title {
  margin: 0 0 28px;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1;
  font-weight: 950;
}

.section-lead {
  max-width: 760px;
  margin: -10px 0 34px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.04rem;
}

.feature-band {
  min-height: 56vh;
  background-image:
    linear-gradient(90deg, #050505 5%, rgba(5, 5, 5, 0.58), #050505 96%),
    url("../optimized/5c2c0ec1111e-690.webp");
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.feature-band .section-inner {
  padding: 90px 0;
}

.qa-panel,
.contact-grid,
.store-grid,
.material-grid,
.gallery-grid,
.bio-grid {
  display: grid;
  gap: 22px;
}

.qa-panel {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.discussion-card {
  max-width: 920px;
  padding: clamp(22px, 4vw, 38px);
  background:
    radial-gradient(circle at top right, rgba(197, 156, 74, 0.1), transparent 34%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.discussion-intro {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.discussion-mark {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(197, 156, 74, 0.5);
  border-radius: 50%;
}

.discussion-intro h3 {
  margin: 0 0 7px;
  font-size: 1.22rem;
}

.discussion-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.giscus-wrap,
.giscus,
.giscus-frame {
  width: 100%;
}

.discussion-fallback {
  display: none;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.discussion-fallback a {
  display: inline-block;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.works-index {
  display: grid;
  gap: 18px;
}

.work-index-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  min-height: 220px;
  color: inherit;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.work-index-row:hover {
  transform: translateY(-4px);
  color: inherit;
  border-color: rgba(197, 156, 74, 0.64);
  background: rgba(255, 255, 255, 0.055);
}

.work-index-identity {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
  height: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.work-index-identity img {
  width: 180px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 5px;
  filter: saturate(0.88) contrast(1.04);
  transition: filter 180ms ease, transform 180ms ease;
}

.work-index-row:hover .work-index-identity img {
  filter: saturate(1) contrast(1.08);
  transform: scale(1.015);
}

.work-index-identity h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 2.25rem);
  line-height: 1.2;
}

.work-index-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 58px);
}

.work-index-summary p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.work-index-arrow {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 1.8rem;
  transition: transform 180ms ease;
}

.work-index-row:hover .work-index-arrow {
  transform: translateX(6px);
}

.knowledge-blog {
  width: min(940px, calc(100% - 36px));
}

.knowledge-blog-header {
  max-width: 860px;
  margin-bottom: 42px;
}

.knowledge-blog-header h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
}

.knowledge-blog-header > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
  text-wrap: pretty;
}

.knowledge-page-hero {
  background-position: center center;
}

.knowledge-page-hero .hero-copy {
  max-width: 760px;
  text-wrap: pretty;
}

.knowledge-post-list {
  display: grid;
  gap: 24px;
}

.knowledge-post {
  padding: clamp(26px, 5vw, 52px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.knowledge-post-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.knowledge-post h3 {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.25;
}

.knowledge-post-excerpt {
  max-width: 720px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.knowledge-post-preview {
  display: block;
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 6px;
}

.knowledge-post-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.knowledge-post-preview:hover img {
  opacity: 0.82;
  transform: scale(1.015);
}

.knowledge-read-more {
  width: fit-content;
}

.knowledge-article-header {
  margin-bottom: 34px;
}

.knowledge-article-header h2 {
  max-width: 780px;
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.45;
}

.knowledge-article-discussion {
  margin-top: 36px;
}

.knowledge-article-discussion .discussion-card {
  max-width: none;
}

.knowledge-post-body {
  max-width: 720px;
}

.knowledge-post-body p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.knowledge-post-body p + p {
  margin-top: 1.35em;
}

.knowledge-post-gallery {
  display: grid;
  gap: 30px;
  margin-top: 34px;
}

.knowledge-post-media {
  width: 100%;
  margin: 0;
}

.knowledge-post-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.knowledge-post-media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.42);
}

.thin-hover:hover img,
.archive-card:hover img,
.story-card:hover img,
.product-card:hover img {
  opacity: 0.72;
}

.form-card {
  padding: 24px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 4px;
  padding: 13px 14px;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 130px;
}

input[type="file"] {
  padding: 11px;
}

.field {
  margin-bottom: 16px;
}

.post-list {
  display: grid;
  gap: 14px;
}

.post-item {
  padding: 18px;
  background: var(--panel-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.post-meta {
  color: var(--gold);
  font-size: 0.84rem;
  margin-bottom: 8px;
}

.file-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.file-pill {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.carousel-wrap {
  position: relative;
}

.story-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(520px, 86vw);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.story-carousel::-webkit-scrollbar {
  display: none;
}

.story-card {
  aspect-ratio: 1 / 1;
  position: relative;
  scroll-snap-align: start;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 180ms ease, transform 180ms ease;
}

.story-card:hover img {
  transform: scale(1.02);
}

.story-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 70px 24px 24px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.86));
  font-size: clamp(1.45rem, 4vw, 2.4rem);
  font-weight: 950;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.35rem;
  cursor: pointer;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.archive-card {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: #111;
  cursor: pointer;
  overflow: hidden;
  color: #fff;
}

.archive-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: opacity 180ms ease, transform 180ms ease;
}

.archive-card:hover img {
  transform: scale(1.03);
}

.archive-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.86));
}

.archive-card h3 {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 18px;
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 2.15rem);
  line-height: 1;
  text-align: center;
}

.archive-detail {
  margin-top: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #111;
  min-height: 102px;
  line-height: 1.8;
}

.archive-detail strong {
  color: var(--gold);
}

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

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

.bio-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: start;
}

.text-block {
  color: var(--muted);
  line-height: 2;
  font-size: 1.03rem;
}

.text-block p {
  margin: 0 0 18px;
}

.image-stack {
  display: grid;
  gap: 16px;
}

.image-stack img,
.gallery-card img,
.product-card img,
.material-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-card.wide img {
  aspect-ratio: 16 / 11;
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.price {
  margin-top: 12px;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 950;
}

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

.featured-video-grid {
  grid-template-columns: minmax(0, 1fr);
  width: min(980px, 100%);
  margin: 0 auto;
}

.featured-video-grid .video-frame {
  aspect-ratio: 16 / 9;
}

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

.poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.poster-card:hover img {
  transform: scale(1.015);
}

.photo-themes {
  display: grid;
  gap: clamp(64px, 9vw, 112px);
}

.photo-theme,
.photo-theme .carousel-wrap {
  min-width: 0;
}

.photo-theme-header {
  margin-bottom: 26px;
}

.photo-theme-header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
}

.photo-theme-grid {
  display: grid;
  gap: 18px;
}

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

.photo-theme-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c0c0c;
  box-shadow: var(--shadow);
}

.photo-theme-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.photo-theme-card:hover img {
  opacity: 0.86;
  transform: scale(1.015);
}

.photography-grid .photo-theme-card img {
  aspect-ratio: 4 / 5;
  object-position: center;
}

.poster-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(290px, 78vw);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(255, 255, 255, 0.08);
  padding: 0 0 16px;
}

.poster-slider .poster-card {
  scroll-snap-align: start;
}

.poster-slider .poster-card img {
  aspect-ratio: 3 / 4;
}

.video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
  background: #111;
}

.work-showcase {
  width: min(1180px, calc(100% - 36px));
}

.work-showcase-intro {
  max-width: 780px;
  margin-bottom: 44px;
}

.work-showcase-intro h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.work-showcase-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

.work-entry {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(440px, 1.18fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(26px, 5vw, 54px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.work-entry-copy {
  min-width: 0;
}

.work-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.work-entry h3 {
  margin: 0 0 22px;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.4;
}

.work-entry-copy > p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.work-entry-copy .work-entry-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.work-entry-copy .button-row {
  align-items: center;
}

.text-link {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
  text-decoration: underline;
  text-decoration-color: rgba(244, 197, 66, 0.45);
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--gold);
}

.work-entry-media {
  min-width: 0;
}

.work-video-shell {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: #050505;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.work-photo-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--gold) rgba(255, 255, 255, 0.08);
}

.work-photo-slide {
  scroll-snap-align: start;
}

.work-photo-slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.work-showcase-nav {
  margin-top: 30px;
}

.qa-counter {
  color: var(--gold);
  font-size: 2.4rem;
  font-weight: 950;
}

.payment-note {
  display: none;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(244, 197, 66, 0.4);
  background: rgba(244, 197, 66, 0.08);
  color: #ffe6a0;
  line-height: 1.7;
}

.payment-note.show {
  display: block;
}

.contact-grid {
  grid-template-columns: 1fr;
  max-width: 980px;
}

.contact-hero h1 {
  max-width: none;
  white-space: nowrap;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 180px;
  padding: clamp(26px, 4vw, 44px);
}

.contact-row h2,
.contact-form-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
}

.contact-row .text-block,
.contact-form-card .text-block {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-link-row {
  color: inherit;
}

.contact-link-row:hover {
  color: inherit;
}

.contact-form-card {
  padding: clamp(26px, 4vw, 44px);
}

.contact-form-intro {
  margin-bottom: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.contact-form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.form-status {
  margin: 0;
  color: var(--gold);
  line-height: 1.6;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 920px) {
  :root {
    --nav-height: 66px;
  }

  .nav {
    position: relative;
    width: min(100% - 24px, 760px);
    gap: 8px;
  }

  .brand {
    min-width: 0;
    flex-shrink: 0;
    gap: 6px;
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .en .brand > [data-i18n="brand"] {
    width: 4.5em;
  }

  .brand-mark {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
  }

  .nav-links {
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .nav-link {
    padding: 24px 8px 21px;
    font-size: 0.82rem;
  }

  .lang-toggle {
    flex: 0 0 40px;
    width: 40px;
    min-width: 0;
    padding: 8px 2px;
    font-size: 0.75rem;
  }

  .discussion-fallback {
    display: block;
  }

  .contact-hero h1 {
    white-space: normal;
  }

  .nav :focus-visible,
  input:focus-visible,
  textarea:focus-visible,
  select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
  }

  .nav > .sub-nav[data-gallery-menu] {
    top: 100%;
    left: auto;
    right: 0;
    max-width: 100%;
    transform: none;
  }

  .nav > .sub-nav[data-gallery-menu] a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .qa-panel,
  .bio-grid,
  .video-grid,
  .work-entry {
    grid-template-columns: 1fr;
  }

  .work-index-row,
  .work-index-identity {
    grid-template-columns: 1fr;
  }

  .work-index-identity {
    justify-items: start;
  }

  .work-index-summary {
    padding: 24px;
  }

  .archive-grid,
  .gallery-grid,
  .poster-grid,
  .material-grid,
  .store-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .hero-content,
  .section-inner {
    width: calc(100% - 24px);
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.7rem, 16vw, 5rem);
  }

  .page-hero h1 {
    font-size: clamp(2.1rem, 9.5vw, 3.2rem);
  }

  .section {
    padding: 58px 0;
  }

  .archive-grid,
  .gallery-grid,
  .poster-grid,
  .material-grid,
  .store-grid,
  .contact-grid,
  .classic-set-grid,
  .photography-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .story-card {
    min-height: 0;
  }
}

/* Responsive derivatives retain the original crop and gradient on each page. */
img { height: auto; }
.page-hero {
  --responsive-page-image: var(--page-bg-desktop-image);
}
@media (max-width: 760px) {
  .page-hero { --responsive-page-image: var(--page-bg-mobile-image); }

  /* Give these wide originals their own phone compositions; desktop stays intact. */
  .biography-page-hero {
    background-size: cover, auto max(125%, 56.25vw);
    background-position: center, 50% 85%;
    background-repeat: no-repeat;
  }

  .knowledge-page-hero {
    background-size: cover, auto min(100vw, 420px);
    background-position: center, 67% top;
    background-repeat: no-repeat;
  }

  .store-page-hero {
    background-size: cover, auto min(48vw, 240px);
    background-position: center, right 24px;
    background-repeat: no-repeat;
  }
}
@media (max-width: 760px) and (orientation: landscape) {
  .biography-page-hero {
    background-position: center, 50% 25%;
  }
}
.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text);
  text-align: center;
  padding: 24px;
  cursor: pointer;
}
.video-placeholder:hover { background: #191919; }
.video-placeholder:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.video-play-icon { color: var(--gold); font-size: 42px; }

/* Biography: one paragraph paired with each photograph. */
.biography-content { display: grid; gap: clamp(32px, 4vw, 56px); }
.biography-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.biography-row .text-block { font-size: 1rem; line-height: 2; }
.biography-row figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.biography-row .biography-identity { width: 240px; max-width: 100%; justify-self: center; }
.biography-row img { display: block; width: 100%; height: auto; }
/* Display-only tonal balance; source photographs remain unchanged. */
.biography-reading img { filter: brightness(1.65) saturate(.92); }
.biography-recording img { filter: brightness(.93) saturate(.92); }
.biography-row .button-row { margin-top: 24px; }
@media (max-width: 760px) {
  .biography-row { grid-template-columns: 1fr; gap: 24px; }
  .biography-row .biography-identity { width: 220px; }
}

/* Preserve the complete square artwork on the minifigure series page. */
.minifigures-page .image-stack img { aspect-ratio: 1; object-fit: contain; }

.work-entry + .work-entry { margin-top: 28px; }
.video-description { margin: 18px 0 24px; color: var(--muted); line-height: 1.9; }
.video-description summary { cursor: pointer; color: var(--gold); }
.video-description summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.video-description-body { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 32rem; overflow-y: auto; padding: 16px 12px 0 0; }

.work-entry-description { white-space: pre-line; overflow-wrap: anywhere; }
.blog-submission-card { margin-top: 36px; padding: clamp(24px, 4vw, 40px); }
.blog-submission-card h2 { margin: 0 0 24px; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.6; }

/* Gallery uses the shared page-hero height and top-aligned imagery. */
.gallery-hero .hero-copy { max-width: none; }
.classic-set-grid, .photography-grid { align-items: start; }
.classic-set-grid .photo-theme-card img,
.photography-grid .photo-theme-card img { aspect-ratio: auto; height: auto; object-fit: contain; }
.poster-preview-grid, .poster-archive-grid { align-items: start; }
.poster-preview-grid .poster-card img,
.poster-archive-grid .poster-card img { aspect-ratio: auto; height: auto; object-fit: contain; }
.photo-theme[id] { scroll-margin-top: calc(var(--nav-height) + 24px); }
@media (max-width: 760px) {
  .poster-preview-grid, .poster-archive-grid { grid-template-columns: 1fr; }
}

/* Let the works introduction use the full hero content width. */
.hero-copy[data-i18n="worksIndexLead"] { max-width: none; }

/* Real video artwork with a lightweight, accessible click-to-load player. */
.video-placeholder { position: relative; overflow: hidden; isolation: isolate; }
.video-placeholder .video-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: -2; }
.video-placeholder::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .18); z-index: -1; transition: background 180ms ease; }
.video-placeholder:hover::after { background: rgba(0, 0, 0, .32); }
.video-placeholder .video-play-icon { display: grid; place-items: center; width: 66px; height: 66px; padding-left: 4px; border-radius: 50%; background: rgba(0, 0, 0, .8); border: 1px solid rgba(255, 255, 255, .65); font-size: 28px; box-shadow: 0 4px 20px rgba(0, 0, 0, .3); }
.video-placeholder [data-i18n="loadVideo"] { padding: 5px 12px; border-radius: 4px; background: rgba(0, 0, 0, .8); color: #fff; }

/* Official video titles fit desktop cards without oversized typography. */
.featured-video-grid .card-body h3 { margin: 0; font-size: clamp(.9rem, 1.15vw, 1.05rem); line-height: 1.6; font-weight: 600; overflow-wrap: anywhere; }

/* English names need to wrap where the shorter Chinese heading fits on one line. */
body.en .hero-card h1,
body.en .contact-hero h1 {
  white-space: normal;
  overflow-wrap: anywhere;
}
