:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #252525;
  background: #f4f4f4;
  font-synthesis: none;
  --muted: #626262;
  --border: #e6e6e6;
  --gap: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, [tabindex]:focus-visible { outline: 2px solid #2455e6; outline-offset: 3px; }
img { max-width: 100%; display: block; }
h1, h2, p, dd, dl, figure, blockquote { margin: 0; }
.layout {
  width: min(1280px, calc(100% - 72px));
  margin: 0 auto;
  padding: clamp(36px, 7vw, 108px) 0;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 864px);
  gap: clamp(32px, 5vw, 84px);
  align-items: start;
}
.profile { position: sticky; top: 64px; padding-top: 16px; }
.avatar { width: 122px; aspect-ratio: 1; object-fit: cover; object-position: 50% 18%; border-radius: 16px; margin-bottom: 24px; }
.profile h1 { font-size: clamp(30px, 4vw, 52px); line-height: 1.08; letter-spacing: -.055em; }
.profile p { color: var(--muted); font-size: 16px; margin: 12px 0 24px; }
.grid, .detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.stack { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.stack > .card { flex: 1; }
.card { padding: 20px 22px; background: white; border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 2px 0 #e9e9e9; min-width: 0; }
.card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.card-heading h2 { font-size: 15px; line-height: 1.25; letter-spacing: -.025em; }
.card-heading > a, .card-heading > span { font-size: 12px; color: var(--muted); flex-shrink: 0; }
.card-heading > a:hover { text-decoration: underline; }
.project-list { display: grid; gap: 8px; max-height: 370px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 2px; }
.project { border-radius: 12px; min-height: 102px; display: grid; grid-template-columns: 37% 1fr; align-items: center; background: #f4f4f4; gap: 12px; padding-right: 11px; }
.project:hover, .button:hover { background: #eaeaea; }
.project strong { display: block; font-size: 13px; line-height: 1.25; }
.description { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); line-height: 1.45; }
.thumb { height: 100%; min-height: 102px; border-radius: 12px; overflow: hidden; display: block; position: relative; }
.thumb img { position: absolute; height: 100%; width: 100%; object-fit: cover; }
.bank-phone img { object-position: 67% center; }
.bank-home img { object-position: center 60%; }
.about { background: #f4f4f4; border-radius: 14px; padding: 14px; color: #454545; font-size: 13px; line-height: 1.85; }
.tools { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; list-style: none; padding: 0; margin: 0; }
.tools li { font-size: 10px; text-align: center; }
.tools img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f4f4f4; border-radius: 9px; padding: 13%; margin-bottom: 7px; }
.experience > div { display: grid; grid-template-columns: 34% 1fr; gap: 15px; padding: 15px 3px; border-bottom: 1px solid var(--border); font-size: 13px; }
.experience > div:last-child { border-bottom: 0; }
.experience dt, .experience dd span { color: var(--muted); display: block; }
.experience dd span { margin-top: 4px; }
.button { display: inline-flex; width: max-content; gap: .6em; align-items: center; border-radius: 12px; padding: 10px 14px; background: #f4f4f4; font-size: 13px; font-weight: 650; }
.profile .button { background: #fff; border: 1px solid var(--border); }
.quote { font-size: 13px; line-height: 1.5; }
.quote figcaption { color: var(--muted); text-align: right; margin-top: 12px; font-size: 11px; }
.feature { display: flex; flex-direction: column; transition: box-shadow .16s ease; }
.feature:hover { box-shadow: 0 4px 16px #00000012; }
.guidelines { padding: 17px 14px; }
.guidelines .card-heading h2 { font-size: 13px; }
.guidelines-cover { flex: 1; background: #f4f4f4; border-radius: 10px; padding: 14px; position: relative; min-height: 193px; overflow: hidden; }
.brand { width: 120px; height: 20px; object-fit: contain; object-position: left; }
.guidelines-cover strong { display: block; margin: 16px 0 6px; line-height: 1.15; font-size: 18px; }
.guidelines-cover small { font-size: 8px; }
.guidelines-art { width: 60%; max-height: 115px; object-fit: contain; margin: 10px auto 0; opacity: .7; }
.latest strong { display: block; font-size: clamp(21px, 3vw, 32px); letter-spacing: -.045em; margin: 10px 0 13px; line-height: 1.1; }
.cover { width: 100%; border-radius: 14px; aspect-ratio: 2 / 1; object-fit: cover; }
.product .cover { object-position: 50% 22%; }
.travel { position: relative; padding: 8px; }
.travel figcaption { position: absolute; left: 18px; bottom: 18px; color: white; background: #222a; padding: 4px 9px; border-radius: 8px; font-size: 12px; }
.page { width: min(1024px, calc(100% - 36px)); margin: auto; padding: 26px 0 58px; }
.page-header { margin: 32px 0 20px; }
.page-header h1 { font-size: clamp(28px, 5vw, 52px); letter-spacing: -.05em; }
.page-header p { margin-top: 8px; color: var(--muted); }
.board { width: 100%; height: auto; background: white; }
.case-images { overflow: hidden; border-radius: 18px; }
.case-images img { width: 100%; height: auto; }
.page .project-list { max-height: none; overflow: visible; padding: 0; }
.page .project { grid-template-columns: minmax(75px, 122px) 1fr; }
.page .project strong { font-size: 16px; }
.page .project .thumb { min-height: 84px; }
@media (max-width: 1050px) {
  .layout { grid-template-columns: 1fr; width: min(864px, calc(100% - 48px)); }
  .profile { position: static; }
}
@media (max-width: 620px) {
  .layout { padding-top: 18px; width: calc(100% - 28px); }
  .grid { grid-template-columns: 1fr; }
  .project-list { max-height: none; overflow: visible; padding: 0; }
  .card { padding: 16px; }
  .avatar { width: 86px; margin-bottom: 14px; }
  .description { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
