:root {
  color-scheme: dark;
  --canvas: #0b0c0e;
  --surface: #121417;
  --surface-raised: #171a1f;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f2f3f4;
  --muted: #979da5;
  --accent: #c8f169;
  --cyan: #63d9cf;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", system-ui, sans-serif;
  background: var(--canvas);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--canvas);
  background-size: 48px 48px;
}

a { color: inherit; }
.page-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 12, 14, .9);
  backdrop-filter: blur(18px);
}

.identity { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.identity-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface-raised);
  color: var(--accent);
  font-weight: 800;
}
.identity strong, .identity small { display: block; }
.identity strong { font-size: 14px; }
.identity small { margin-top: 3px; color: var(--muted); font-size: 9px; letter-spacing: .12em; }
nav { display: flex; gap: 22px; }
nav a { color: var(--muted); font-size: 13px; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--text); }

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, .8fr);
  gap: 72px;
  align-items: end;
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--line);
}
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .11em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: 48px; line-height: 1.14; letter-spacing: -.035em; }
.lede { max-width: 700px; margin-bottom: 0; color: #b6bbc2; font-size: 16px; line-height: 1.85; }
.summary { margin: 0; border-top: 1px solid var(--line-strong); }
.summary div { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--muted); font-size: 12px; }
.summary dd { margin: 0; font-size: 13px; font-weight: 650; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(99,217,207,.09); }

.works { padding: 72px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.section-heading h2, .about h2 { margin-bottom: 0; font-size: 28px; }
.section-heading > p { margin-bottom: 2px; color: var(--muted); font-size: 12px; }
.work-list { border-top: 1px solid var(--line-strong); }
.work-row {
  display: grid;
  grid-template-columns: 56px minmax(230px, .78fr) minmax(0, 1.22fr);
  gap: 30px;
  align-items: center;
  min-height: 320px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.work-index { align-self: start; padding-top: 4px; color: var(--muted); font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.work-visual { position: relative; display: grid; height: 260px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.work-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.045), transparent 54%); }
.work-visual img { position: relative; z-index: 1; max-width: 82%; max-height: 90%; object-fit: contain; filter: drop-shadow(0 24px 34px rgba(0,0,0,.42)); transition: transform 240ms ease; }
.work-row:hover .work-visual img { transform: translateY(-4px) scale(1.02); }
.cat-work .work-visual { background: linear-gradient(145deg, #202b29, #131719); }
.football-work .work-visual { background: linear-gradient(145deg, #17231d, #101416); }
.work-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.work-meta span { padding: 5px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 10px; }
.work-copy h3 { margin-bottom: 14px; font-size: 31px; letter-spacing: -.02em; }
.work-copy p { max-width: 570px; margin-bottom: 24px; color: #aeb4bc; font-size: 14px; line-height: 1.8; }
.work-link { display: inline-flex; min-height: 38px; align-items: center; gap: 12px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface-raised); font-size: 13px; text-decoration: none; }
.work-link:hover, .work-link:focus-visible { border-color: rgba(200,241,105,.5); color: var(--accent); }

.about { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; padding: 56px 0; border-top: 1px solid var(--line-strong); }
.about-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.about-copy p { margin-bottom: 0; color: #aeb4bc; font-size: 13px; line-height: 1.85; }
.site-footer { display: flex; min-height: 76px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer a { text-underline-offset: 3px; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--text); }

@media (max-width: 820px) {
  .page-shell { width: min(100% - 24px, 680px); }
  .site-header { min-height: 64px; }
  .identity strong { font-size: 13px; }
  nav { gap: 14px; }
  .intro { grid-template-columns: 1fr; gap: 40px; padding: 58px 0 52px; }
  h1 { font-size: 35px; }
  .works { padding: 52px 0; }
  .work-row { grid-template-columns: 36px 1fr; gap: 14px; padding: 26px 0 34px; }
  .work-visual, .work-copy { grid-column: 2; }
  .work-index { grid-row: 1 / span 2; }
  .work-visual { height: 250px; }
  .about { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  .page-shell { width: calc(100% - 20px); }
  .identity small, nav a:last-child { display: none; }
  h1 { font-size: 30px; line-height: 1.18; }
  .lede { font-size: 14px; }
  .section-heading > p { display: none; }
  .work-row { grid-template-columns: 26px 1fr; gap: 8px; }
  .work-visual { height: 218px; }
  .work-copy h3 { font-size: 25px; }
  .about-copy { grid-template-columns: 1fr; gap: 18px; }
  .site-footer { flex-direction: column; min-height: 94px; justify-content: center; gap: 8px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .work-visual img { transition: none; }
}
