:root {
  --canvas: #f0f1f0;
  --ink: #242c2e;
  --secondary: #5c6969;
  --accent: #436c69;
  --line: #cdd3d1;
  --paper: #f7f8f6;
  --gutter: 64px;
  --kv-width: 100%;
  --kv-x: 0px;
  --kv-y: 0px;
  --kv-position: center;
  font-family: "Helvetica Neue", "Arial", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  letter-spacing: 0;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.page-width { width: min(100% - var(--gutter) * 2, 1472px); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 14px 20px; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 5; height: 100px; display: flex; justify-content: space-between; align-items: center; }
.brand-mark { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; display: inline-flex; align-items: baseline; font-size: 38px; line-height: 1; font-weight: 700; min-height: 44px; }
.brand-mark span { color: var(--accent); font-family: Georgia, serif; }
.desktop-nav { display: flex; gap: 8px; }
.desktop-nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 21px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 500; transition: border-color .2s, background-color .2s; }
.desktop-nav a:hover { border-color: var(--accent); background: var(--paper); }
.mobile-nav { display: none; }

.hero { position: relative; min-height: 540px; height: calc(100svh - 188px); max-height: 1000px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); align-items: center; column-gap: 24px; }
.identity { position: relative; z-index: 1; padding-bottom: 28px; }
.site-label { margin: 0 0 24px; font-size: 11px; font-weight: 500; color: var(--secondary); }
h1 { margin: 0 0 14px -5px; font-size: 116px; line-height: .95; font-weight: 500; }
.artist-role { color: var(--accent); margin: 0; font-size: 18px; line-height: 1.4; font-weight: 500; }
.identity-links { width: 304px; max-width: 100%; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.links-label { margin: 0; font-size: 12px; color: var(--secondary); }
.social-links { display: flex; gap: 10px; }
.social-link { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; transition: color .2s, background-color .2s, border-color .2s; }
.social-link svg { width: 17px; height: 17px; fill: currentColor; }
.social-link:hover { color: var(--accent); border-color: var(--accent); background: var(--paper); }
.artwork { position: relative; width: 100%; height: 100%; min-width: 0; min-height: 0; }
.key-visual { position: absolute; inset: 0; display: block; width: var(--kv-width); max-width: 100%; height: calc(100% - 18px); object-fit: contain; object-position: var(--kv-position); transform: translate(var(--kv-x), var(--kv-y)); }
.key-visual.is-white-backed { mix-blend-mode: multiply; }
.scroll-cue { position: absolute; bottom: 22px; left: 0; min-height: 44px; display: flex; gap: 30px; align-items: center; font-size: 10px; color: var(--secondary); }
.scroll-cue span { font-size: 20px; }

.news { border-top: 1px solid var(--line); padding-block: 28px 42px; display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.section-heading { display: flex; align-items: baseline; gap: 20px; }
.section-heading h2 { margin: 0; font-size: 27px; font-weight: 400; line-height: 1.2; }
.section-heading span { color: var(--secondary); font-size: 11px; }
.news-content { min-width: 0; padding-top: 6px; }
.empty-copy { margin: 0; color: var(--secondary); font-size: 12px; line-height: 1.8; }
.news-item { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.news-item:first-child { padding-top: 0; }
.news-item time { color: var(--secondary); font-size: 12px; }
.news-item:hover { color: var(--accent); }
.site-footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; min-height: 88px; font-size: 11px; color: var(--secondary); }
.site-footer p { margin: 0; }
.site-footer a { display: flex; gap: 28px; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--ink); }

dialog { width: min(540px, calc(100% - 40px)); max-height: calc(100svh - 64px); padding: 32px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; }
dialog::backdrop { background: rgb(36 44 46 / 30%); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.dialog-header h2 { margin: 0; font-size: 32px; font-weight: 400; }
.close-button { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 28px; cursor: pointer; }
.close-button:hover { border-color: var(--accent); }
#dialog-content { font-size: 14px; line-height: 1.9; }
#dialog-content p { margin: 0 0 16px; }
#dialog-content .profile-name { font-family: "Yu Mincho", serif; font-size: 52px; line-height: 1.2; }
#dialog-content .profile-roman { font-size: 22px; }
#dialog-content .profile-role { font-size: 12px; color: var(--accent); }
#dialog-content a { text-decoration: underline; text-underline-offset: 4px; }
.noscript-note { font-size: 12px; }

@media (min-width: 1700px) { h1 { font-size: 136px; } }
@media (max-width: 1200px) {
  :root { --gutter: 44px; }
  h1 { font-size: 90px; margin-left: -3px; }
  .hero { column-gap: 12px; }
}
@media (max-width: 960px) and (min-width: 701px) {
  :root { --gutter: 32px; }
  h1 { font-size: 70px; }
  .hero { grid-template-columns: .9fr 1.1fr; min-height: 580px; }
  .identity-links { width: 252px; }
  .desktop-nav a { padding-inline: 15px; }
}
@media (max-width: 700px) {
  :root { --gutter: 24px; }
  .site-header { height: 78px; }
  .brand-mark { font-size: 32px; align-items: center; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { list-style: none; border: 1px solid var(--line); border-radius: 999px; display: flex; min-height: 44px; gap: 22px; align-items: center; padding: 0 18px; font-size: 12px; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { font-size: 18px; }
  .mobile-nav[open] summary { background: var(--ink); color: var(--paper); }
  .mobile-nav[open] summary span { transform: rotate(45deg); }
  .mobile-nav nav { position: absolute; inset: 70px 0 auto; display: grid; padding: 18px 24px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
  .mobile-nav nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 16px; }
  .mobile-nav nav a:last-child { border-bottom: 0; }
  .hero { height: auto; min-height: 0; max-height: none; display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 8px; padding-top: 18px; }
  .identity { padding: 0; display: grid; grid-template-columns: 1fr auto; align-items: end; }
  .site-label { grid-column: 1 / -1; font-size: 9px; margin-bottom: 12px; }
  h1 { grid-column: 1 / -1; font-size: 68px; margin: 0 0 12px -2px; }
  .artist-role { grid-column: 1; font-size: 12px; align-self: center; }
  .identity-links { grid-column: 2; width: auto; margin: 0; padding: 0; border: 0; }
  .links-label { display: none; }
  .social-links { gap: 8px; }
  .artwork { height: min(510px, calc(100svh - 305px)); min-height: 320px; padding: 2px 0 14px; }
  .scroll-cue { display: none; }
  .news { grid-template-columns: 1fr; padding-block: 24px 32px; gap: 20px; }
  .section-heading { gap: 16px; }
  .section-heading h2 { font-size: 24px; }
  .news-content { padding-top: 0; }
  .news-item { grid-template-columns: 82px 1fr; gap: 12px; font-size: 13px; }
  .site-footer { min-height: 76px; }
  dialog { padding: 24px; }
}
@media (max-width: 360px) {
  :root { --gutter: 20px; }
  h1 { font-size: 58px; }
  .artwork { min-height: 310px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
