:root {
  --zhu: #66538c;
  --gold: #76628c;
  --ink: #272332;
  --muted: #706b7b;
  --faint: #827d8c;
  --paper: #f8f7fa;
  --paper2: #eeecf3;
}
body { background: var(--paper); }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--zhu); outline-offset: 6px; }
.nav { height: 80px; padding: 0 5%; background: rgba(248,247,250,.94); border-color: #e7e3ed; }
.nav-logo { font-size: 17px; letter-spacing: .05em; }
.logo-seal { border: 0; border-radius: 50%; background: #e9e4f0; width: 32px; height: 32px; font-size: 15px; }
.nav-links a { font-size: 14px; }
.nav-cta { font-size: 13px; border-radius: 30px; padding: 10px 22px; cursor: pointer; }
.hero { padding: 120px 5% 54px; grid-template-columns: minmax(300px,.85fr) minmax(0,1.3fr); gap: 6%; min-height: 850px; }
.hero-info { padding: 35px 0; }
.hero-kicker { font-size: 11px; letter-spacing: .2em; margin-bottom: 32px; }
.hero-brand { font-size: clamp(40px,4.2vw,68px); line-height: 1.4; letter-spacing: -.025em; font-weight: 600; margin-bottom: 26px; }
.hero-brand em { font-style: normal; color: var(--zhu); }
.hero-meta { font-size: 14px; letter-spacing: .09em; margin-bottom: 28px; }
.hero-copy { font-size: 15px; line-height: 2; font-weight: 400; }
.hero-copy { max-width: 370px; }
.portfolio-overview { background: #efedf4; }
.overview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }
.overview-no { font-size: 12px; color: var(--zhu); }
.overview-grid h3 { font-family: var(--fs); font-size: 23px; font-weight: 600; margin: 18px 0 14px; }
.overview-grid p { font-size: 14px; color: var(--muted); line-height: 2; max-width: 340px; }
.hero-tags { gap: 18px; margin-bottom: 32px; }
.hero-tags span { border: 0; padding: 0; background: none; font-size: 11px; letter-spacing: .1em; }
.hero-primary { display: flex; align-items: center; justify-content: space-between; max-width: 240px; background: var(--ink); color: white; padding: 17px 22px; font-size: 14px; border-radius: 3px; transition: background .2s; }
.hero-primary:hover { background: var(--zhu); }
.hero-list { margin-top: 20px; border: 0; max-width: 240px; }
.hero-list a { font-size: 13px; padding: 14px 0; }
.hero-list span { font-size: 10px; letter-spacing: 0; }
.hero-footnote { margin-top: 50px; font-size: 9px; color: var(--faint); letter-spacing: .15em; }
.hero-gallery { border: 0; min-height: 640px; background: #efedf3; border-radius: 160px 160px 5px 5px; padding: 32px 26px 64px; }
.hero-gallery-track { min-height: 570px; }
.hero-slide img { max-height: 620px; filter: none; }
.hero-gallery-ui { bottom: 23px; left: 30px; right: 30px; }
.hero-gallery-count { font-size: 13px; }
.hero-gallery-btn { border-radius: 50%; background: transparent; width: 36px; height: 36px; }
.section { padding: 84px 5%; }
.eyebrow { font-size: 11px; letter-spacing: .15em; margin-bottom: 22px; }
.sec-title { font-size: clamp(28px,3vw,40px); letter-spacing: -.02em; font-weight: 600; }
.sec-head { margin-bottom: 38px; }
.section-more { font-size: 14px; color: var(--muted); padding-bottom: 5px; border-bottom: 1px solid #c8c1d4; }
.works-grid { gap: 24px; }
.work-card { background: transparent; min-height: 0; }
.work-card:hover { box-shadow: none; }
.work-thumb { height: auto; aspect-ratio: 4/3; border-radius: 5px; }
.work-body { padding: 22px 0 0; border: 0; }
.work-name { font-size: 19px; line-height: 1.6; }
.work-tag { font-size: 11px; }
.work-meta, .work-line { font-size: 13px; }
.artist-note { background: #efedf4; }
.artist-note-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.artist-note .sec-title { font-size: clamp(32px,4vw,52px); line-height: 1.6; }
.artist-note-layout p { font-size: 16px; line-height: 2.2; color: var(--muted); }
.artist-note-layout a { display: inline-block; margin-top: 24px; font-size: 14px; color: var(--zhu); }
.commission { padding: 90px 5%; background: var(--paper); grid-template-columns: 1.4fr 1fr; align-items: center; }
.com-title { font-size: clamp(30px,3.4vw,48px); line-height: 1.6; letter-spacing: -.03em; font-weight: 600; }
.com-sub { font-size: 14px; max-width: 380px; }
.com-links { margin-top: 0; }
.com-links a { font-size: 15px; padding: 23px 0; }
footer { padding: 26px 5%; border-top: 1px solid #e7e3ed; font-size: 10px; gap: 20px; }
.live2d-widget { width: 190px; height: 280px; min-width: 0; min-height: 0; right: 12px; bottom: 48px; transition: opacity .2s, visibility .2s; }
.live2d-widget.is-collapsed { opacity: 0; visibility: hidden; pointer-events: none; }
.companion-toggle { position: fixed; bottom: 16px; right: 22px; z-index: 190; border: 1px solid #ddd6e7; border-radius: 30px; padding: 9px 16px; background: #f8f7faf2; color: var(--zhu); cursor: pointer; font: 12px var(--fn); }
section { scroll-margin-top: 80px; }
@media (min-width: 1600px) { .hero, .section, .commission { padding-left: max(5%,calc((100% - 1440px)/2)); padding-right: max(5%,calc((100% - 1440px)/2)); } }
@media (max-width: 900px) {
  .nav { height: 74px; align-items: center; }
  .hero { min-height: 0; padding-top: 110px; grid-template-columns: .85fr 1.15fr; gap: 24px; }
  .hero-brand { font-size: 38px; }
  .hero-gallery { min-height: 500px; border: 0; border-radius: 100px 100px 4px 4px; padding: 20px 14px 60px; align-self: stretch; }
  .hero-gallery-track { min-height: 440px; }
  .hero-slide img { max-height: 500px; }
  .hero-footnote { line-height: 1.8; }
  .works-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
  .work-name { font-size: 16px; }
  .commission { gap: 30px; }
}
@media (max-width: 640px) {
  .nav { height: auto; padding: 14px 20px 10px; gap: 12px; }
  .nav-logo { font-size: 15px; }
  .nav-links { gap: 24px; }
  .nav-links a { font-size: 12px; }
  .hero { padding: 132px 20px 38px; gap: 28px; }
  .hero-info { width: 100%; padding: 0; }
  .hero-kicker { margin-bottom: 18px; font-size: 10px; }
  .hero-brand { font-size: 42px; line-height: 1.35; margin-bottom: 20px; }
  .hero-meta { margin-bottom: 16px; font-size: 13px; }
  .hero-copy { font-size: 14px; }
  .hero-tags { margin-bottom: 24px; }
  .hero-primary, .hero-list { max-width: none; }
  .hero-footnote { display: none; }
  .hero-gallery { width: 100%; min-height: 460px; border-radius: 100px 100px 4px 4px; }
  .hero-gallery-track { min-height: 400px; }
  .hero-slide img { max-height: 400px; }
  .section { padding: 54px 20px; }
  .sec-head { display: flex; align-items: flex-end; gap: 12px; }
  .sec-title { font-size: 27px; }
  .section-more { font-size: 12px; white-space: nowrap; }
  .eyebrow { font-size: 9px; margin-bottom: 18px; }
  .works-grid { grid-template-columns: 1fr; gap: 32px; }
  .work-name { font-size: 19px; }
  .artist-note-layout { grid-template-columns: 1fr; gap: 20px; }
  .overview-grid { grid-template-columns: 1fr; gap: 28px; }
  .artist-note-layout p { font-size: 14px; }
  .commission { padding: 56px 20px; grid-template-columns: 1fr; }
  .com-title { font-size: 34px; }
  footer { padding: 24px 20px 70px; display: flex; flex-wrap: wrap; gap: 12px 24px; }
  .live2d-widget { width: 130px; height: 190px; right: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
