:root {
  color-scheme: light;
  --paper: #f7f7f2;
  --ink: #242b27;
  --green: #2c483a;
  --muted: #646a64;
  --line: #b5bab2;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --latin: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--paper); background: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 7px; border-radius: 2px; }
.page { width: calc(100% - 200px); max-width: 1232px; margin: 0 auto; }
.header { display: flex; align-items: center; justify-content: space-between; padding-top: 46px; }
.wordmark { font: 700 32px/1.3 var(--latin); letter-spacing: -1.5px; }
.header nav { display: flex; gap: 52px; font-size: 21px; }
.header nav a { position: relative; padding: 8px 0; }
.header nav a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.header nav a:hover::after { transform: scaleX(1); }
.hero { padding: 92px 0 63px; }
.hello { margin: 0 0 14px; font-size: 34px; line-height: 1.4; }
.hello span { font-family: var(--latin); }
h1 { margin: 0; font-size: clamp(76px, 9.1vw, 130px); font-weight: 800; line-height: 1.17; letter-spacing: -1px; }
h1 span { color: var(--green); }
.english { margin: 14px 0 12px; font: italic 37px/1.3 var(--latin); letter-spacing: -0.6px; }
.intro { margin: 0; font-size: 25px; line-height: 1.6; color: #4e554f; }
.primary-link { display: inline-flex; gap: 17px; align-items: center; justify-content: center; margin-top: 29px; min-height: 64px; padding: 15px 32px; border: 1px solid var(--green); border-radius: 5px; color: var(--paper); background: var(--green); font-size: 24px; line-height: 1.3; transition: background 180ms ease, transform 180ms ease; }
.primary-link svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.primary-link:hover { background: #1d3629; transform: translateY(-2px); }
.primary-link:active { transform: translateY(0); }
.details { border-top: 1px solid var(--line); display: grid; grid-template-columns: 33% 1fr; gap: 5%; padding: 52px 0 40px; }
.about h2 { margin: 0 0 20px; font-size: 30px; line-height: 1.5; font-weight: 400; }
.about p { margin: 0; font-size: 20px; line-height: 1.6; color: var(--muted); }
.works h2 { margin: 0 0 16px; font-size: 44px; line-height: 1.25; font-weight: 700; letter-spacing: -1px; }
.works p { margin: 0; font-size: 22px; line-height: 1.6; color: var(--muted); }
.collection-note { margin-top: 25px; padding-top: 17px; border-top: 1px solid var(--line); color: #858b81; font-size: 18px; line-height: 1.5; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 19px 0 24px; font: 16px/1.5 var(--latin); color: #535b53; }
.copy-domain { display: inline-flex; align-items: center; gap: 16px; border: 0; background: transparent; color: inherit; cursor: pointer; padding: 4px 0 4px 10px; }
.copy-domain:hover { color: var(--green); }
.copy-domain svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 8px); max-width: calc(100% - 40px); padding: 13px 22px; border-radius: 5px; color: var(--paper); background: var(--green); font-family: system-ui, sans-serif; font-size: 14px; opacity: 0; visibility: hidden; transition: opacity 160ms ease, transform 160ms ease, visibility 160ms; pointer-events: none; }
.toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 12px 18px; background: var(--green); color: white; z-index: 10; }
.skip-link:focus { top: 16px; }

@media (min-width: 1530px) {
  .hero { padding-top: 108px; padding-bottom: 84px; }
}
@media (max-width: 1050px) {
  .page { width: calc(100% - 112px); }
  .hero { padding-top: 86px; }
  .hello { font-size: 27px; }
  h1 { font-size: clamp(72px, 10vw, 100px); }
  .english { font-size: 32px; }
  .intro { font-size: 21px; }
  .details { grid-template-columns: 34% 1fr; gap: 6%; }
  .works h2 { font-size: 33px; }
  .about h2 { font-size: 26px; }
  .about p, .works p { font-size: 18px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 24px; }
  .page { width: calc(100% - 48px); }
  .header { padding-top: 28px; }
  .wordmark { font-size: 28px; letter-spacing: -1px; }
  .header nav { gap: 28px; font-size: 17px; }
  .hero { padding: 68px 0 48px; }
  .hello { font-size: 23px; margin-bottom: 19px; }
  h1 { font-size: clamp(46px, 12.5vw, 80px); line-height: 1.28; letter-spacing: -2px; }
  .english { margin-top: 23px; margin-bottom: 17px; font-size: clamp(22px, 5.5vw, 31px); letter-spacing: -0.5px; }
  .intro { max-width: 340px; font-size: 18px; line-height: 1.8; }
  .primary-link { min-height: 54px; margin-top: 25px; font-size: 20px; padding: 13px 24px; gap: 15px; }
  .primary-link svg { width: 20px; height: 20px; }
  .details { grid-template-columns: 1fr; gap: 40px; padding: 34px 0 36px; }
  .about h2 { margin-bottom: 12px; font-size: 25px; }
  .about p { font-size: 17px; line-height: 1.75; }
  .works h2 { font-size: 31px; margin-bottom: 13px; }
  .works p { font-size: 17px; line-height: 1.75; }
  .collection-note { margin-top: 21px; padding-top: 14px; font-size: 16px; }
  .footer { padding: 18px 0 23px; gap: 10px; font-size: 13px; }
  .copy-domain { gap: 9px; padding-left: 0; min-height: 36px; }
  .copy-domain svg { width: 17px; height: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
