:root {
  color-scheme: dark;
  --bg:#111; --text:#f1f1f1; --muted:#b1b1b1; --line:#343434; --panel:#202020;
  --max:1120px;
  font-family:Inter,"Noto Sans JP",system-ui,sans-serif;
  font-size:16px; font-weight:400; line-height:1.8;
}
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:auto; }
body { margin:0; background:var(--bg); color:var(--text); min-height:100vh; display:flex; flex-direction:column; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
a:focus-visible { outline:2px solid #eee; outline-offset:5px; }
img { display:block; max-width:100%; }
h1,h2,h3,p,dl,dd { margin:0; }
h1,h2,h3 { line-height:1.4; font-weight:600; letter-spacing:.01em; overflow-wrap:anywhere; }
p,dd { overflow-wrap:anywhere; }
.container { width:min(var(--max),calc(100% - 96px)); margin-inline:auto; }
.skip-link { position:absolute; left:16px; top:12px; transform:translateY(-180%); padding:10px 18px; background:#eee; color:#111; z-index:100; }
.skip-link:focus { transform:none; }
.site-header { display:flex; align-items:center; justify-content:space-between; gap:28px; min-height:112px; }
.wordmark { font-size:20px; font-weight:600; letter-spacing:-.03em; white-space:nowrap; }
.site-header nav { display:flex; flex-wrap:wrap; gap:26px; align-items:center; }
.site-header nav a { color:var(--muted); font-size:15px; padding:6px 0; line-height:1.6; }
.site-header nav a:hover,.site-header nav a[aria-current=page] { color:var(--text); text-decoration:underline; text-underline-offset:7px; text-decoration-thickness:1px; }
main.container { flex:1; }
.intro { padding:56px 0 64px; display:flex; align-items:center; justify-content:space-between; gap:56px; }
.intro-copy { max-width:720px; }
.eyebrow,.muted,.intro-name { color:var(--muted); font-size:15px; }
.intro h1 { font-size:clamp(32px,4vw,44px); margin:8px 0 2px; letter-spacing:.045em; }
.intro-text { margin:24px 0 18px; max-width:640px; line-height:1.95; }
.intro-portrait { width:200px; aspect-ratio:4/5; object-fit:cover; }
.more-link { display:inline-block; font-size:14px; color:var(--muted); text-decoration:underline; text-decoration-color:#737373; text-underline-offset:5px; }
.more-link:hover { color:var(--text); text-decoration-color:var(--text); }
.section { margin-bottom:64px; }
.section-heading { display:flex; justify-content:space-between; align-items:baseline; gap:20px; margin-bottom:22px; }
.section-heading h2 { font-size:25px; }
.work-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px 22px; }
.work-item { min-width:0; }
.work-link { display:block; }
.work-image { width:100%; aspect-ratio:4/3; overflow:hidden; display:grid; place-items:center; background:var(--panel); }
.work-image img { width:100%; height:100%; object-fit:cover; transition:opacity .2s ease; }
.work-link:hover .work-image img { opacity:.77; }
.no-image { color:var(--muted); font-size:14px; padding:16px; text-align:center; }
.work-item h3 { font-size:17px; line-height:1.55; margin:11px 0 4px; }
.work-link:hover h3 { text-decoration:underline; text-underline-offset:4px; }
.work-meta { display:flex; gap:8px 15px; flex-wrap:wrap; color:var(--muted); font-size:14px; line-height:1.65; }
.empty-state { font-size:15px; color:var(--muted); border-top:1px solid var(--line); padding:24px 0 12px; }
.news-row { display:grid; grid-template-columns:112px minmax(0,1fr) 20px; gap:18px; align-items:baseline; padding:19px 0; border-top:1px solid var(--line); }
.news-row:last-child { border-bottom:1px solid var(--line); }
.news-row time,.arrow { color:var(--muted); font-size:14px; }
.news-row:hover span:nth-child(2) { text-decoration:underline; text-underline-offset:4px; }
.site-footer { border-top:1px solid var(--line); padding:28px 0 36px; display:flex; align-items:baseline; justify-content:space-between; gap:20px; flex-wrap:wrap; color:var(--muted); font-size:14px; margin-top:32px; }
.footer-links { display:flex; flex-wrap:wrap; gap:20px; }
.footer-links a:hover { color:var(--text); }
.inner-page { padding:36px 0 56px; }
.page-heading { margin-bottom:34px; }
.page-heading h1,.detail-heading h1 { font-size:clamp(28px,3.2vw,38px); }
.page-heading p,.detail-heading>p:not(.work-meta) { margin-top:10px; color:var(--muted); }
.filter-nav { display:flex; flex-wrap:wrap; gap:10px 24px; margin-bottom:28px; font-size:15px; color:var(--muted); }
.filter-nav a { padding:5px 0; }
.filter-nav a[aria-current=page],.filter-nav a:hover { color:var(--text); text-decoration:underline; text-underline-offset:6px; }
.mix-intro { margin:-8px 0 36px; max-width:760px; }
.mix-intro p { margin-bottom:12px; white-space:pre-line; }
.detail-page { max-width:900px; }
.back-link { margin-bottom:26px; }
.detail-heading { margin-bottom:28px; }
.detail-heading h1 { margin-top:12px; }
.detail-cover { max-height:740px; width:100%; object-fit:contain; background:var(--panel); margin-bottom:30px; }
.detail-layout { display:grid; grid-template-columns:minmax(180px,1fr) minmax(0,2.5fr); gap:38px; align-items:start; }
.facts { border-top:1px solid var(--line); }
.facts div { padding:15px 0; border-bottom:1px solid var(--line); }
.facts dt { color:var(--muted); font-size:14px; margin-bottom:3px; }
.facts dd { font-size:16px; }
.prose { max-width:750px; line-height:2; }
.prose p { margin:0 0 1.2em; }
.prose p:last-child { margin-bottom:0; }
.profile-layout { max-width:850px; }
.profile-layout.with-portrait { display:grid; grid-template-columns:minmax(180px,260px) minmax(0,1fr); gap:36px; max-width:100%; }
.profile-portrait { width:100%; height:auto; }
.profile-name { font-size:25px; margin-bottom:4px; }
.profile-layout .prose { margin:24px 0; }
.skills { margin-top:44px; max-width:850px; }
.skills-list div,.contact-list div { display:grid; grid-template-columns:minmax(110px,180px) minmax(0,1fr); align-items:baseline; gap:16px; }
.contact-list { margin-top:24px; max-width:740px; }
.contact-list a { text-decoration:underline; text-underline-offset:4px; }
@media(max-width:820px) {
  .container { width:calc(100% - 56px); }
  .site-header { flex-direction:column; align-items:flex-start; justify-content:center; gap:13px; min-height:0; padding:24px 0 20px; }
  .site-header nav { gap:8px 22px; }
  .intro { padding:38px 0 46px; gap:24px; }
  .intro-portrait { width:144px; }
  .work-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:520px) {
  .container { width:calc(100% - 36px); }
  .site-header nav { gap:6px 17px; }
  .site-header nav a { font-size:14px; }
  .wordmark { font-size:19px; }
  .intro { flex-direction:column-reverse; align-items:flex-start; gap:22px; padding:24px 0 38px; }
  .intro-portrait { width:120px; }
  .intro-text { margin:18px 0 14px; }
  .section { margin-bottom:44px; }
  .section-heading { margin-bottom:17px; }
  .section-heading h2 { font-size:23px; }
  .work-grid { gap:22px 12px; }
  .work-item h3 { font-size:15px; }
  .work-meta { font-size:13px; gap:2px 8px; }
  .news-row { grid-template-columns:1fr 18px; gap:3px 12px; padding:13px 0; }
  .news-row time { grid-column:1/-1; }
  .inner-page { padding:20px 0 36px; }
  .page-heading { margin-bottom:25px; }
  .detail-layout,.profile-layout.with-portrait { grid-template-columns:1fr; gap:23px; }
  .profile-portrait { max-width:190px; }
  .skills-list div,.contact-list div { grid-template-columns:1fr; gap:2px; }
  .site-footer { margin-top:16px; }
}
@media(prefers-reduced-motion:reduce) { * { transition:none!important; } }

/* Brand identity and photo-led home */
.wordmark { font-size:21px; font-weight:700; letter-spacing:-.035em; }
.wordmark span { font-weight:500; letter-spacing:-.02em; }
.brand-intro { padding:48px 0 66px; }
.brand-intro h1 { font-size:clamp(31px,3.8vw,43px); letter-spacing:-.035em; line-height:1.2; }
.brand-intro .eyebrow { margin-bottom:13px; }
.brand-intro.has-photo { display:grid; grid-template-columns:minmax(0, .85fr) minmax(0, 1.15fr); align-items:center; gap:42px; }
.hero-photos { display:grid; min-width:0; grid-template-columns:minmax(0,1fr); }
.hero-photos img { width:100%; aspect-ratio:16/10; object-fit:cover; }
.hero-photos.two-photos { grid-template-columns:minmax(0,1fr) minmax(0,.42fr); gap:8px; align-items:stretch; aspect-ratio:16/10; }
.hero-photos.two-photos img { height:100%; min-height:0; aspect-ratio:auto; object-fit:cover; }
.profile-legal-name { margin-top:5px; color:var(--muted); font-size:14px; }
@media(max-width:820px) {
  .brand-intro.has-photo { gap:25px; }
}
@media(max-width:640px) {
  .brand-intro,.brand-intro.has-photo { display:flex; flex-direction:column; align-items:stretch; gap:24px; padding:26px 0 44px; }
  .hero-photos { width:100%; }
  .wordmark { font-size:20px; }
}

.filter-nav{gap:8px}.filter-nav .filter-choice{display:inline-block;padding:6px 13px;border:1px solid var(--line);text-decoration:none}.filter-nav .filter-choice:hover{border-color:var(--muted);text-decoration:none}.filter-nav .filter-choice.selected,.filter-nav .filter-choice[aria-current=page]{color:#111;background:#eee;border-color:#eee;text-decoration:none}
