:root {
  --ink: #080b10;
  --muted: #65707d;
  --line: rgba(10, 15, 22, 0.1);
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --blue: #111820;
  --teal: #4b5563;
  --amber: #8b939e;
  --graphite: #101820;
  --soft: #f6f7f8;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.09);
  --shadow-tight: 0 16px 48px rgba(15, 23, 42, 0.08);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(249, 250, 251, 0.98), rgba(244, 245, 247, 0.9) 48%, rgba(255, 255, 255, 0.98) 100%),
    #f7f8fa;
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(10, 15, 22, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 15, 22, 0.016) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.26), transparent 68%);
  content: "";
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(10, 15, 22, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 58px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(22px) saturate(1.02);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 3px solid #080b10;
  border-top-right-radius: 3px;
  border-radius: 7px;
  background: transparent;
}

.brand-mark::before {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 13px;
  height: 13px;
  border-left: 5px solid #fff;
  border-bottom: 5px solid #fff;
  background: #fff;
  content: "";
}

.brand-mark::after {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #080b10;
  content: "";
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  min-width: 58px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #26313d;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: #080b10;
  background: rgba(10, 15, 22, 0.06);
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 90vh;
  align-items: end;
  overflow: hidden;
  padding: 134px max(22px, calc((100vw - 1120px) / 2)) 48px;
}

.hero-visual,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: grayscale(1) saturate(0.1) contrast(0.92) brightness(1.12);
  opacity: 0.16;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(249, 250, 251, 0.98) 0%, rgba(249, 250, 251, 0.9) 36%, rgba(249, 250, 251, 0.68) 78%, rgba(249, 250, 251, 0.86) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(246, 247, 248, 0.9));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(610px, 100%);
  padding-bottom: 108px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #526070;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 9em;
  margin: 0;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-subtitle {
  width: min(620px, 100%);
  margin: 22px 0 0;
  color: #3f4b59;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.45;
}

.hero-statement {
  margin: 18px 0 0;
  color: #080b10;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  line-height: 1.35;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 24px 0 0;
  color: #3f4b59;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.86;
}

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

.hero-email {
  display: inline-flex;
  margin-top: 15px;
  color: #526070;
  font-size: 14px;
  font-weight: 800;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.hero-email:hover,
.hero-email:focus-visible {
  color: #080b10;
  outline: none;
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  color: #fff;
  background: #080b10;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.16);
}

.button.ghost {
  border-color: rgba(10, 15, 22, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.button.disabled {
  cursor: default;
  opacity: 0.72;
}

.hero-showcase {
  position: absolute;
  z-index: 1;
  top: 52%;
  right: max(22px, calc((100vw - 1120px) / 2));
  width: min(510px, 38vw);
  height: 420px;
  pointer-events: none;
  transform: translateY(-50%);
}

.showcase-card {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(10, 15, 22, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(16px);
}

.showcase-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  padding: 7px 10px;
  color: #26313d;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.showcase-card-pixroom {
  top: 0;
  right: 0;
  width: 78%;
  height: 238px;
}

.showcase-card-material {
  right: 34%;
  bottom: 22px;
  width: 58%;
  height: 210px;
}

.showcase-card-game {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 176px;
}

.hero-metrics {
  position: absolute;
  z-index: 1;
  right: max(22px, calc((100vw - 1120px) / 2));
  bottom: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  width: min(430px, calc(100% - 44px));
  overflow: hidden;
  border: 1px solid rgba(10, 15, 22, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.08);
}

.hero-metrics div {
  min-width: 0;
  padding: 18px 16px;
  border-right: 1px solid var(--line);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  font-size: 25px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero-metrics span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.projects-section,
.manuals-section,
.updates-section,
.audience-section,
.about-section,
.faq-section,
.contact-section {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  scroll-margin-top: 16px;
}

.projects-section {
  padding: 92px 0 76px;
}

.manuals-section {
  border-top: 1px solid var(--line);
  padding: 76px 0;
}

.updates-section {
  border-top: 1px solid var(--line);
  padding: 76px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading.compact {
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.95fr);
}

.section-heading h2,
.about-section h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  text-wrap: balance;
}

.section-heading p:last-child,
.about-copy p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 22px;
}

.filter-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 14px;
  color: #355766;
  background: rgba(255, 255, 255, 0.64);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(28, 79, 104, 0.06);
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
  color: #fff;
  border-color: rgba(23, 50, 64, 0.22);
  background: var(--graphite);
  box-shadow: 0 14px 34px rgba(23, 50, 64, 0.16);
  outline: none;
  transform: translateY(-1px);
}

.filter-result {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.worldcup-event-banner {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 28px;
  align-items: center;
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 14px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(255, 255, 255, 0.92)),
    #fff7ed;
  box-shadow: 0 18px 52px rgba(154, 86, 28, 0.12);
}

.worldcup-event-copy {
  min-width: 0;
}

.event-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 999px;
  padding: 7px 10px;
  color: #c2410c;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.worldcup-event-banner h3 {
  margin: 0;
  color: #080b10;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  text-wrap: balance;
}

.event-subtitle {
  margin: 14px 0 0;
  color: #080b10;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.45;
}

.event-description {
  margin: 10px 0 0;
  color: #65707d;
  font-size: 16px;
  line-height: 1.72;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 26px;
}

.button.event-primary {
  color: #fff;
  background: #f97316;
  box-shadow: 0 16px 38px rgba(249, 115, 22, 0.22);
}

.button.event-primary:hover,
.button.event-primary:focus-visible {
  background: #ea580c;
}

.event-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  color: #ea580c;
  font-size: 15px;
  font-weight: 800;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.event-link:hover,
.event-link:focus-visible {
  color: #9a3412;
  outline: none;
  transform: translateY(-1px);
}

.worldcup-event-preview {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(10, 15, 22, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.12);
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.worldcup-event-preview:hover,
.worldcup-event-preview:focus-visible {
  outline: none;
  box-shadow: 0 24px 66px rgba(15, 23, 42, 0.16);
  transform: translateY(-3px);
}

.worldcup-event-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

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

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

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

.update-card {
  min-height: 220px;
  border: 1px solid rgba(10, 15, 22, 0.08);
  border-radius: 14px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(247, 248, 250, 0.78)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.update-card.highlighted {
  border-color: rgba(10, 15, 22, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 245, 247, 0.84)),
    rgba(255, 255, 255, 0.84);
}

.update-card span {
  color: #526070;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.update-card h3 {
  margin: 34px 0 12px;
  font-size: 21px;
  line-height: 1.15;
}

.update-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.project-card,
.manual-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(10, 15, 22, 0.08);
  border-radius: 14px;
  padding: 18px 18px 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 248, 250, 0.86)),
    var(--panel-strong);
  box-shadow: var(--shadow-tight);
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 220ms ease;
}

.project-card {
  min-height: 690px;
}

.manual-card {
  min-height: 640px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 248, 250, 0.84)),
    var(--panel-strong);
}

.project-card::before,
.manual-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: rgba(10, 15, 22, 0.12);
  content: "";
}

.project-card:hover,
.manual-card:hover {
  border-color: rgba(10, 15, 22, 0.14);
  box-shadow: 0 28px 86px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

.project-shot {
  position: relative;
  height: 316px;
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid rgba(10, 15, 22, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(244, 245, 247, 0.92), rgba(255, 255, 255, 0.96)),
    #f7f8fa;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.project-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 260ms ease;
}

.project-card:hover .project-shot img {
  transform: scale(1.04);
}

.manual-shot {
  position: relative;
  display: grid;
  height: 330px;
  margin: 0 0 24px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(10, 15, 22, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(244, 245, 247, 0.88), rgba(255, 255, 255, 0.96)),
    #f7f8fa;
}

.manual-shot::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border: 1px solid rgba(10, 15, 22, 0.08);
  border-radius: 14px;
  padding: 7px 10px;
  color: #26313d;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  content: "PDF 预览";
  font-size: 12px;
  font-weight: 800;
}

.manual-shot img {
  display: block;
  width: min(86%, 292px);
  height: auto;
  max-height: 306px;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  transform: rotate(-2deg);
  transition: transform 260ms ease;
}

.manual-card:nth-child(2) .manual-shot img {
  transform: rotate(1.5deg);
}

.manual-card:nth-child(3) .manual-shot img {
  transform: rotate(-1deg);
}

.manual-card:hover .manual-shot img {
  transform: rotate(0deg) translateY(-4px);
}

.project-shot figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  border: 1px solid rgba(10, 15, 22, 0.08);
  border-radius: 14px;
  padding: 7px 10px;
  color: #26313d;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 800;
}

.project-card.featured {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 247, 249, 0.9)),
    var(--panel-strong);
}

.project-card-dark {
  border-color: rgba(10, 15, 22, 0.1);
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 247, 249, 0.9)),
    var(--panel-strong);
  box-shadow:
    0 20px 62px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.project-card-dark::before {
  background: rgba(10, 15, 22, 0.12);
}

.project-card-dark:hover {
  border-color: rgba(10, 15, 22, 0.16);
  box-shadow:
    0 28px 86px rgba(15, 23, 42, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transform: translateY(-4px) scale(1.012);
}

.project-card-dark .project-shot {
  border-color: rgba(10, 15, 22, 0.08);
  background:
    linear-gradient(145deg, rgba(244, 245, 247, 0.92), rgba(255, 255, 255, 0.96)),
    #f7f8fa;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 14px 40px rgba(15, 23, 42, 0.08);
}

.project-shot-contain img {
  object-fit: contain;
  transform: none;
}

.project-card:hover .project-shot-contain img {
  transform: scale(1.018);
}

.project-card-dark .project-shot figcaption {
  border-color: rgba(10, 15, 22, 0.08);
  color: #26313d;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.08);
}

.project-card-dark .status,
.project-card-dark .type {
  border-color: rgba(10, 15, 22, 0.1);
  color: #526070;
  background: rgba(255, 255, 255, 0.66);
}

.project-card-dark .status {
  color: #080b10;
}

.project-card-dark p,
.project-card-dark .project-points {
  color: #526070;
}

.project-card-dark .project-case div {
  border-color: rgba(10, 15, 22, 0.08);
  background: rgba(255, 255, 255, 0.56);
}

.project-card-dark .project-case dt {
  color: #080b10;
}

.project-card-dark .project-case dd {
  color: #3f4b59;
}

.project-card-dark .project-points li::before {
  background: #080b10;
}

.project-card-dark .card-link {
  color: #080b10;
}

.project-card-dark .card-link:hover,
.project-card-dark .card-link:focus-visible {
  color: #4b5563;
}

.card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.status,
.type {
  border: 1px solid rgba(10, 15, 22, 0.1);
  border-radius: 999px;
  padding: 7px 10px;
  color: #526070;
  background: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 800;
}

.status {
  color: #080b10;
}

.project-card h3,
.manual-card h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.08;
}

.project-card p,
.manual-card p {
  margin: 0;
  color: #526070;
  font-size: 16px;
  line-height: 1.75;
}

.project-case {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

.project-case div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(10, 15, 22, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.56);
}

.project-case dt,
.project-case dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.project-case dt {
  color: #080b10;
  font-weight: 800;
}

.project-case dd {
  color: #3f4b59;
  font-weight: 700;
}

.project-points {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  color: #526070;
  font-size: 14px;
  line-height: 1.65;
  list-style: none;
}

.project-points li {
  position: relative;
  padding-left: 18px;
}

.project-points li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 8px;
  background: #080b10;
  content: "";
}

.card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 26px;
  border: 0;
  background: transparent;
  color: #080b10;
  font-weight: 800;
  transition: color 180ms ease;
  cursor: pointer;
}

.card-link:hover,
.card-link:focus-visible {
  color: #4b5563;
  outline: none;
}

.project-card.hidden {
  display: none;
}

.project-card[role="button"] {
  cursor: pointer;
}

.project-card[role="button"]:focus-visible {
  outline: 3px solid rgba(10, 15, 22, 0.18);
  outline-offset: 4px;
}

.project-detail-dialog {
  width: min(760px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  border: 1px solid rgba(10, 15, 22, 0.1);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 250, 0.98));
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.2);
}

.project-detail-dialog::backdrop {
  background: rgba(14, 25, 34, 0.45);
  backdrop-filter: blur(4px);
}

.project-detail-shell {
  position: relative;
  padding: 28px;
}

.project-detail-visual {
  overflow: hidden;
  margin: 0 0 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(10, 15, 22, 0.04), rgba(10, 15, 22, 0.08));
}

.project-detail-image {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.project-detail-image[src*="baodan-workshop-cover"] {
  object-fit: contain;
  background: #05080d;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 31, 42, 0.08);
  color: var(--graphite);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.project-detail-intro {
  margin-top: 10px;
  color: #3f4b59;
  font-size: 17px;
  line-height: 1.8;
}

.project-detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
}

.project-detail-meta div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(246, 247, 249, 0.95);
}

.project-detail-meta dt {
  color: #65707d;
  font-size: 12px;
  font-weight: 700;
}

.project-detail-meta dd {
  margin: 6px 0 0;
  color: var(--graphite);
  font-size: 15px;
  font-weight: 700;
}

.project-detail-body {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.project-detail-body h3 {
  font-size: 18px;
}

.project-detail-summary {
  margin-top: 12px;
  color: #3f4b59;
  line-height: 1.8;
}

.project-detail-points {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  color: #526070;
  list-style: none;
}

.project-detail-points li {
  position: relative;
  padding-left: 18px;
}

.project-detail-points li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #080b10;
  content: "";
}

.project-detail-contact {
  margin-top: 22px;
}

.about-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.9fr);
  gap: 42px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 76px 0;
}

.faq-section {
  border-top: 1px solid var(--line);
  padding: 76px 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid rgba(10, 15, 22, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(14px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.faq-list details[open] {
  border-color: rgba(10, 15, 22, 0.14);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.09);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  padding: 18px 20px;
  color: var(--graphite);
  font-size: 17px;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid rgba(10, 15, 22, 0.1);
  border-radius: 8px;
  color: #080b10;
  background: rgba(255, 255, 255, 0.66);
  content: "+";
  font-size: 16px;
  line-height: 1;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.faq-list details[open] summary::after {
  color: #fff;
  background: var(--graphite);
  content: "-";
  transform: rotate(180deg);
}

.faq-list summary:focus-visible {
  outline: 2px solid rgba(10, 15, 22, 0.18);
  outline-offset: 2px;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.faq-list a {
  color: #080b10;
  font-weight: 800;
}

.audience-section {
  border-top: 1px solid var(--line);
  padding: 76px 0 22px;
}

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

.audience-grid article {
  min-height: 218px;
  border: 1px solid rgba(10, 15, 22, 0.08);
  border-radius: 14px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(247, 248, 250, 0.78)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.audience-grid span {
  color: #526070;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.audience-grid h3 {
  margin: 42px 0 12px;
  font-size: 24px;
  line-height: 1.1;
}

.audience-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.about-copy {
  display: grid;
  gap: 16px;
}

.about-portrait-card {
  overflow: hidden;
  margin: 12px 0 0;
  border: 1px solid rgba(10, 15, 22, 0.08);
  border-radius: 14px;
  padding: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 248, 250, 0.84)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.08);
}

.about-portrait-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}

.contact-panel {
  border: 1px solid rgba(10, 15, 22, 0.08);
  border-radius: 14px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(247, 248, 250, 0.78)),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-tight);
  backdrop-filter: blur(16px);
}

.contact-fit {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  color: #526070;
  font-size: 14px;
  line-height: 1.65;
  list-style: none;
}

.contact-fit li {
  position: relative;
  padding-left: 18px;
}

.contact-fit li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 8px;
  background: #080b10;
  content: "";
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.contact-list div {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.7);
}

.contact-list dt,
.contact-list dd {
  margin: 0;
}

.contact-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-list dd {
  color: #26313d;
  font-size: 15px;
  font-weight: 800;
  text-align: right;
}

.site-footer {
  display: flex;
  width: min(1120px, calc(100% - 44px));
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 820px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand span:last-child {
    max-width: 7em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav a {
    min-width: auto;
    padding: 9px 8px;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 112px 22px 34px;
  }

  .hero-visual {
    display: none;
    object-position: 63% center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(247, 251, 253, 0.98) 0%, rgba(247, 251, 253, 0.92) 42%, rgba(247, 251, 253, 0.68) 100%),
      linear-gradient(90deg, rgba(247, 251, 253, 0.98), rgba(247, 251, 253, 0.66));
  }

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

  .hero-showcase {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 190px;
    margin: 24px 0 16px;
    transform: none;
  }

  .showcase-card-pixroom {
    left: 0;
    right: auto;
    width: 64%;
    height: 150px;
  }

  .showcase-card-material {
    right: 0;
    bottom: 12px;
    width: 48%;
    height: 136px;
  }

  .showcase-card-material img {
    object-position: center 70%;
  }

  .showcase-card-game {
    right: 18%;
    bottom: 0;
    width: 36%;
    height: 112px;
  }

  .hero-metrics {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: auto;
  }

  .hero-metrics div {
    padding: 14px 12px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .hero-metrics div:last-child {
    border-right: 0;
  }

  .section-heading,
  .section-heading.compact,
  .about-section,
  .contact-section,
  .worldcup-event-banner,
  .project-grid,
  .manual-grid,
  .update-grid {
    grid-template-columns: 1fr;
  }

  .projects-section,
  .manuals-section,
  .updates-section,
  .audience-section,
  .about-section,
  .faq-section,
  .contact-section {
    width: min(100% - 32px, 1120px);
  }

  .projects-section {
    padding-top: 64px;
  }

  .worldcup-event-banner {
    gap: 22px;
    padding: 22px;
  }

  .manuals-section {
    padding: 64px 0;
  }

  .updates-section {
    padding: 64px 0;
  }

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

@media (max-width: 520px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 10px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 4px;
  }

  .nav a {
    flex: 1;
    padding: 8px 6px;
    font-size: 13px;
  }

  .hero {
    padding-top: 128px;
  }

  h1 {
    font-size: clamp(46px, 15vw, 58px);
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.78;
  }

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

  .hero-showcase {
    height: 162px;
    margin-top: 20px;
  }

  .showcase-card figcaption {
    left: 8px;
    bottom: 8px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .hero-metrics strong {
    font-size: 22px;
  }

  .hero-metrics span {
    font-size: 12px;
  }

  .filter-result {
    width: 100%;
    margin-left: 0;
  }

  .worldcup-event-banner {
    padding: 18px;
  }

  .worldcup-event-banner h3 {
    font-size: 28px;
  }

  .event-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .event-link {
    justify-content: center;
  }

  .worldcup-event-preview img {
    aspect-ratio: 16 / 8.5;
  }

  .project-card {
    min-height: auto;
    padding: 16px;
  }

  .manual-card {
    min-height: auto;
    padding: 16px;
  }

  .project-shot {
    height: 230px;
  }

  .manual-shot {
    height: 280px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-wrap: nowrap;
  }

  .hero-actions .button {
    width: auto;
    flex: 1;
    min-width: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
  }
}
