@charset "UTF-8";
:root {
  color-scheme: dark;
  --paper: #151d24;
  --ink: #f0ece4;
  --muted: #a1abb2;
  --gold: #ddbc8f;
  --line: #344049;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
a:focus-visible, canvas:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
::selection { background: #ddbc8f; color: #151d24; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 5; padding: 12px; background: var(--gold); color: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.poster { position: relative; width: min(1120px, calc(100% - 112px)); margin: auto; }
.site-header { min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { font-size: 15px; font-weight: 500; letter-spacing: .1em; display: inline-flex; align-items: center; gap: 24px; min-height: 44px; }
.site-address { font: 10px/1.5 ui-monospace, "Courier New", monospace; letter-spacing: .12em; color: var(--muted); }
.notebook-link { min-height: 44px; display: inline-flex; align-items: center; gap: 15px; font-size: 12px; color: var(--muted); }
.notebook-link:hover { color: var(--gold); }
.layout { display: grid; grid-template-columns: .9fr 1.5fr; gap: 86px; padding: 52px 0 28px; }
.intro { min-width: 0; }
.intro h1 { font-size: clamp(42px, 4.2vw, 58px); line-height: 1.35; font-weight: 500; letter-spacing: .02em; margin: 0 0 25px; }
.and {
  display: inline-block;
  margin: 0 .45em 0 .04em;
  color: var(--gold);
  font-family: inherit;
  font-size: .56em;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
  vertical-align: .35em;
  transform: skewX(-12deg) rotate(-5deg);
}
.motto { font-size: 13px; line-height: 1.95; color: var(--muted); margin: 0; letter-spacing: .035em; }
.journey { width: min(305px, 100%); margin: 25px 0 0 -15px; }
.journey canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; cursor: pointer; touch-action: pan-y; }
.project-area { min-width: 0; }
.project { display: flex; align-items: center; min-width: 0; gap: 27px; min-height: 108px; border-bottom: 1px solid var(--line); padding: 14px 0; transition: color .2s; }
.serial { align-self: flex-start; padding-top: 12px; font: 11px/1.5 ui-monospace, "Courier New", monospace; letter-spacing: .06em; color: var(--gold); }
.project-name { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.project-name strong { font-size: 27px; font-weight: 450; line-height: 1.4; letter-spacing: .03em; }
.project-en { font: 11px/1.6 ui-monospace, "Courier New", monospace; letter-spacing: .07em; color: var(--muted); }
.arrow { margin-left: auto; font: 26px/1 system-ui, sans-serif; color: #849099; transition: transform .2s, color .2s; }
.project:hover { color: var(--gold); }
.project:hover .arrow { color: var(--gold); transform: translate(3px, -3px); }
.cat-walk { height: 111px; position: relative; border-bottom: 1px solid var(--line); }
.shampoo-cat { position: absolute; pointer-events: none; z-index: 2; image-rendering: pixelated; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 86px; border-top: 1px solid var(--line); font-size: 10px; line-height: 1.8; color: var(--muted); }
.record-links { display: flex; flex-wrap: wrap; gap: 18px; }
.record-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; }
.record-links a:hover { color: var(--ink); }
.police-record img { width: 14px; height: 14px; object-fit: contain; }
@media (max-width: 1000px) {
  .poster { width: calc(100% - 72px); }
  .layout { gap: 44px; grid-template-columns: .9fr 1.4fr; }
  .intro h1 { font-size: 44px; }
  .project { gap: 21px; }
  .project-name strong { font-size: 24px; }
  .project-en { font-size: 10px; }
  .site-footer { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 18px 0; }
}
@media (max-width: 700px) {
  .poster { width: calc(100% - 40px); }
  .site-header { min-height: 86px; }
  .brand { font-size: 13px; }
  .site-address { display: none; }
  .notebook-link { font-size: 11px; gap: 9px; }
  .layout { grid-template-columns: 1fr; gap: 31px; padding: 35px 0 24px; }
  .intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: 10px; }
  .intro h1 { font-size: clamp(29px, 7vw, 43px); line-height: 1.4; margin: 0 0 15px; align-self: end; }
  .motto { font-size: 11px; line-height: 1.85; align-self: start; }
  .journey { grid-column: 2; grid-row: 1 / span 2; width: 100%; margin: 0; }
  .project { min-height: 98px; gap: 20px; padding: 14px 0; }
  .project-name strong { font-size: 25px; }
  .project-en { font-size: 10px; letter-spacing: .04em; }
  .serial { padding-top: 9px; }
  .cat-walk { height: 101px; }
  .record-links { flex-direction: column; gap: 0; }
}
@media (max-width: 350px) {
  .poster { width: calc(100% - 32px); }
  .intro h1 { font-size: 27px; }
  .motto { font-size: 10px; letter-spacing: 0; }
  .project { gap: 15px; }
  .project-name strong { font-size: 23px; }
  .project-en { font-size: 9px; letter-spacing: .015em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
