:root {
  color-scheme: light;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--page); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }

.bu { --page: #fbf8f3; --ink: #342e2f; --muted: #746e6b; --accent: #9d514f; --line: #ddd6cf; --soft: #ffebdf; --stage: #fbd8d4; --nav-shadow: rgba(157, 81, 79, .13); }
.ke { --page: #f7faf9; --ink: #2a3b40; --muted: #69777a; --accent: #316f7e; --line: #d4e0df; --soft: #dff4f3; --stage: #cbe8e9; --nav-shadow: rgba(49, 111, 126, .13); }

.page { display: flex; flex-direction: column; width: min(calc(100% - 48px), 720px); min-height: 100vh; min-height: 100dvh; margin: 0 auto; }
.page main { flex: 1; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 34px 0 0; }
.home-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; }
.home-icon { display: block; width: 28px; height: 28px; object-fit: contain; }
.home-link:hover, .footer a:hover { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 9px 17px; border-radius: 99px; color: var(--muted); font-size: 15px; transition: background .18s, color .18s, box-shadow .18s; }
.nav-links a:hover { background: var(--soft); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--soft); box-shadow: 0 4px 12px var(--nav-shadow); color: var(--ink); }

.intro-section { display: grid; grid-template-columns: 142px minmax(0, 1fr); align-items: center; gap: 32px; padding: 88px 0 72px; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.eyebrow span { padding: 0 4px; }
h1 { margin: 0; font-size: clamp(52px, 8vw, 72px); line-height: 1.16; font-weight: 650; letter-spacing: -.075em; }
.bu h1 { font-size: clamp(40px, 6.4vw, 58px); letter-spacing: -.05em; }
.portrait { display: block; width: 142px; height: 142px; padding: 8px; border: 3px solid #fff; border-radius: 25px; background: var(--stage); box-shadow: 0 7px 0 var(--line); object-fit: contain; }
.intro { max-width: 31em; margin: 19px 0 0; color: var(--muted); font-size: 18px; line-height: 1.85; letter-spacing: .01em; }

.collection { padding: 33px 0 82px; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 10px; }
.section-heading h2 { margin: 0; font-size: 22px; line-height: 1.5; font-weight: 650; letter-spacing: -.04em; }
.work-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 22px 0 25px; border-bottom: 1px solid var(--line); }
.work-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--soft); font-size: 19px; }
.work-copy { display: flex; flex-direction: column; gap: 6px; }
.work-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; min-width: 0; }
.work-heading strong { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.work-meta { display: inline-flex; align-items: baseline; gap: 6px; flex: none; color: var(--muted); font-size: 12px; white-space: nowrap; }
.work-description { color: var(--muted); font-size: 14px; line-height: 1.65; }
.work-arrow { display: inline-block; margin-left: 6px; color: var(--accent); font-size: 19px; line-height: 1; transition: transform .2s; }
.work-link:hover .work-copy strong { color: var(--accent); }
.work-link:hover .work-arrow { transform: translate(2px, -2px); }
.upcoming .work-heading strong { color: var(--muted); }

.footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0 45px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer a { color: var(--accent); font-weight: 600; }

@media (max-width: 600px) {
  .page { width: min(calc(100% - 36px), 720px); }
  .site-header { padding-top: 23px; }
  .nav-links { gap: 5px; }
  .nav-links a { padding: 8px 13px; }
  .intro-section { grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 70px 0 62px; }
  .portrait { width: 96px; height: 96px; padding: 5px; border-radius: 19px; }
  h1 { font-size: clamp(46px, 13vw, 64px); }
  .bu h1 { font-size: clamp(28px, 8.4vw, 40px); }
  .eyebrow { font-size: 11px; letter-spacing: .06em; }
  .intro { font-size: 17px; }
  .collection { padding-bottom: 65px; }
  .work-description { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
