:root {
  --black: #080808;
  --paper: #f5f5f1;
  --line: #d8d8d2;
  --muted: #767671;
  --accent: #ffad0d;
  --shell: min(1120px, calc(100% - 36px));
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #111;
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.showcase-header {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 max(18px, calc((100% - 1120px) / 2));
  color: #fff;
  background: var(--black);
  border-bottom: 2px solid var(--accent);
}

.showcase-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 750; }
.showcase-brand img { width: 30px; height: 30px; object-fit: contain; filter: invert(1); }
.back-link { color: #cfcfc9; font-size: 13px; }
.back-link:hover { color: #fff; }

.showcase-shell { width: var(--shell); margin: 0 auto; }
.showcase-hero { color: #fff; background: var(--black); padding: 74px 0 78px; }
.eyebrow { margin: 0; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .09em; }
.showcase-hero h1 { margin: 18px 0 16px; font-size: clamp(46px, 8vw, 84px); line-height: 1; letter-spacing: 0; }
.showcase-hero p:last-child { max-width: 560px; margin: 0; color: #bdbdb8; font-size: 16px; line-height: 1.75; }

.experience-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px max(18px, calc((100% - 1120px) / 2));
  color: #111;
  background: var(--accent);
}
.banner-kicker { margin: 0 0 7px; font-size: 12px; font-weight: 850; letter-spacing: .05em; }
.experience-banner h2 { margin: 0; font-size: clamp(20px, 3vw, 30px); line-height: 1.2; }
.experience-banner p:last-child { margin: 7px 0 0; font-size: 13px; }
.experience-button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 14px; min-height: 46px; padding: 0 19px; color: #fff; background: var(--black); font-size: 13px; font-weight: 800; }
.experience-button:hover { background: #252525; }

.showcase-content { padding: 46px 0 90px; }
.filter-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.filter-bar label { display: grid; gap: 8px; }
.filter-bar label span { color: #666; font-size: 12px; font-weight: 750; }
.filter-bar select { min-height: 44px; padding: 0 12px; color: #111; background: #fff; border: 1px solid #bebeb8; border-radius: 3px; outline: none; }
.filter-bar select:focus { border-color: #111; box-shadow: 0 0 0 2px rgba(255, 173, 13, .45); }
.showcase-notice { padding: 28px 0; color: var(--muted); font-size: 13px; }
.showcase-notice.error { color: #9a271b; }

.category-list { display: grid; gap: 58px; }
.category-section { scroll-margin-top: 24px; }
.category-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.category-heading-main { min-width: 0; display: flex; align-items: center; gap: 16px; }
.category-cover { width: 76px; height: 58px; flex: 0 0 76px; object-fit: cover; background: #e5e5df; }
.category-cover.placeholder { display: grid; place-items: center; color: #777; font-size: 11px; }
.category-heading h2 { margin: 0; font-size: clamp(25px, 4vw, 38px); line-height: 1.08; }
.category-heading p { max-width: 470px; margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.video-count { flex: 0 0 auto; color: #888; font-size: 12px; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.video-card { min-width: 0; background: #fff; border: 1px solid var(--line); }
.video-frame { display: block; width: 100%; aspect-ratio: 16 / 10; background: #111; object-fit: cover; }
.video-card video { cursor: pointer; }
.video-copy { padding: 15px 16px 17px; }
.video-copy h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.video-copy p { min-height: 2.9em; margin: 8px 0 12px; color: #676762; font-size: 12px; line-height: 1.5; }
.video-meta { display: flex; flex-wrap: wrap; gap: 6px; color: #7a7a74; font-size: 11px; }
.video-meta span { padding: 5px 7px; background: #efefeb; }
.empty-category { padding: 25px 0; color: #888; border-top: 1px solid var(--line); font-size: 13px; }

.showcase-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px max(18px, calc((100% - 1120px) / 2)); color: #888; background: var(--black); font-size: 12px; }
.showcase-footer a { color: #cfcfc9; font-weight: 700; }

@media (max-width: 780px) {
  :root { --shell: min(100% - 28px, 620px); }
  .showcase-header { min-height: 62px; }
  .showcase-brand span { display: none; }
  .showcase-hero { padding: 57px 0 63px; }
  .showcase-hero h1 { font-size: 48px; line-height: 1.04; }
  .showcase-hero p:last-child { font-size: 14px; }
  .experience-banner { align-items: stretch; flex-direction: column; gap: 18px; padding-top: 24px; padding-bottom: 24px; }
  .experience-button { justify-content: center; width: 100%; }
  .showcase-content { padding-top: 30px; }
  .filter-bar { grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 22px; }
  .filter-bar select { min-height: 48px; font-size: 16px; }
  .category-list { gap: 48px; }
  .category-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .category-heading-main { align-items: flex-start; }
  .category-cover { width: 64px; height: 50px; flex-basis: 64px; }
  .video-count { padding-left: 80px; }
  .video-grid { grid-template-columns: 1fr; gap: 14px; }
  .video-frame { aspect-ratio: 16 / 10; }
  .video-copy { padding: 14px; }
  .video-copy h3 { font-size: 18px; }
.video-copy p { min-height: 0; }
  .showcase-footer { align-items: flex-start; flex-direction: column; padding: 25px 14px; }
}

.content-block + .content-block { margin-top: 28px; }
.content-label { margin: 0 0 12px; color: #666; font-size: 12px; font-weight: 800; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.photo-card { min-width: 0; padding: 0; text-align: left; color: #111; background: #fff; border: 1px solid var(--line); cursor: pointer; }
.photo-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e5e5df; }
.photo-card-copy { display: grid; gap: 5px; padding: 12px; }
.photo-card-copy strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.photo-card-copy span { color: #777; font-size: 11px; }
.photo-lightbox { width: min(900px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; color: #fff; background: #090909; border: 0; box-shadow: 0 28px 90px rgba(0,0,0,.58); }
.photo-lightbox::backdrop { background: rgba(0,0,0,.86); }
.photo-lightbox img { display: block; width: 100%; max-height: calc(100svh - 150px); object-fit: contain; background: #050505; }
.lightbox-close { position: absolute; top: 10px; right: 10px; z-index: 1; width: 42px; height: 42px; padding: 0; color: #fff; background: rgba(0,0,0,.72); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox-copy { padding: 16px 18px 20px; }
.lightbox-copy strong { font-size: 17px; }
.lightbox-copy p { margin: 7px 0 0; color: #bdbdb7; font-size: 13px; line-height: 1.6; }

@media (max-width: 780px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .photo-card-copy { padding: 10px; }
  .photo-lightbox { width: 100vw; max-width: 100vw; max-height: 100svh; margin: auto 0 0; }
  .photo-lightbox img { max-height: calc(100svh - 142px); }
}

@media (max-width: 430px) {
  .filter-bar { grid-template-columns: 1fr; }
  .showcase-hero h1 { font-size: 43px; }
}
