@font-face{font-family:"Noto Sans JP";font-style:normal;font-weight:700;src:url("/atelier/v11/assets/original-title-700.ttf") format("truetype");font-display:swap}
:root{--bg:#151c1c;--hero:#121c1b;--fg:#edf0e9;--muted:#b3c2b8;--accent:#aad0ba;--warm:#e0bc92;--line:#849b8e;--paper:#f3f1eb;--surface:#fbfaf5;--ink:#263b35;--paper-muted:#536660;--paper-accent:#39634f;--paper-line:#6f8277;--mat:#e1e3db;font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;font-synthesis:none;color:var(--fg);background:var(--bg)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:22px}body{margin:0}img{display:block;max-width:100%;height:auto}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button:disabled{cursor:default}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:5px}.reading-surface a:focus-visible{outline-color:var(--paper-accent)}[hidden]{display:none!important}.skip-link{position:fixed;left:18px;top:-100px;z-index:30;background:var(--surface);color:var(--ink);padding:14px 18px;min-height:44px}.skip-link:focus{top:12px}
.site-header{height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 4.6%;border-bottom:1px solid #475a51;background:var(--bg)}.brand{display:inline-flex;align-items:center;gap:8px;font-family:"Noto Sans JP",system-ui,sans-serif;font-size:18px;font-weight:700;line-height:28px;letter-spacing:normal;white-space:nowrap}.original-mark{width:32px;height:32px;aspect-ratio:1;object-fit:contain;border-radius:50%;filter:none}.site-header nav{display:flex;align-items:center;gap:26px;font-size:12px;font-weight:700}.site-header nav a{display:flex;align-items:center;min-height:44px;padding:9px 4px}.site-header nav a:hover,.site-footer nav a:hover{color:var(--accent)}
.hero{position:relative;isolation:isolate;min-height:740px;height:calc(100svh - 84px);max-height:1100px;overflow:hidden;background:var(--hero);padding:44px 4.6% 82px}.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 69% 50%,#39634f20,transparent 58%)}.hero-grid{height:100%;max-width:1440px;margin:auto;display:grid;grid-template-columns:.95fr 1.05fr;align-items:center;gap:16px}.hero-copy{position:relative;z-index:4;padding-left:2.1%}.eyebrow{font:10px ui-monospace,monospace;letter-spacing:1.6px;color:var(--muted);margin:0 0 25px}.hero-copy h1{margin:0;font-weight:700;letter-spacing:-1px}.catchline,.catchsub{display:block}.catchline{font-size:clamp(35px,3.1vw,50px);line-height:1.5}.catchline>span{display:block}.catchsub{font-size:clamp(22px,2.05vw,33px);line-height:1.65;color:var(--warm);margin-top:16px;letter-spacing:-.5px}.catchsub>span{display:inline-block}.hero-lead{font-size:13px;line-height:2.1;color:var(--muted);margin:28px 0 0}.hero-art{position:relative;min-width:0;width:calc(100% + 30px);margin-left:-12px}.motion-stage{position:relative;width:100%;aspect-ratio:900/750;isolation:isolate}.scene-background,.scene-foreground{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.scene-background{z-index:1}.scene-foreground{z-index:3}.character{position:absolute;object-fit:contain;pointer-events:none;z-index:2}.character-ermi{left:20%;top:41.333333%;width:29.444444%;height:auto}.character-mio{left:62.777778%;top:24.4%;width:23.888889%;height:auto}.motion-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-14px 8% 0;min-height:44px}.motion-controls p{margin:0;color:var(--muted);font-size:10px;line-height:1.8}.motion-controls button{flex:none;display:inline-flex;gap:10px;align-items:center;justify-content:center;min-width:132px;min-height:44px;padding:10px 13px;border:1px solid var(--line);background:#202a29;color:var(--fg);font-size:11px;border-radius:2px}.motion-controls button:hover:enabled{background:#2c3b34}.motion-controls button:disabled{color:var(--muted)}.motion-symbol{font:14px ui-monospace,monospace}.scroll-link{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:24px;min-height:44px;font-size:11px;color:var(--muted)}.scroll-link>span:last-child{font-size:23px;color:var(--accent)}
.reading-surface{color:var(--ink);background:var(--paper);padding:84px 6.5%}.recent-section{padding-bottom:64px}.section-heading{display:flex;justify-content:space-between;gap:30px;align-items:flex-end;max-width:1360px;margin:0 auto 40px}.reading-surface .eyebrow{color:var(--paper-accent);margin-bottom:12px}.section-heading h2{font-size:clamp(27px,2.5vw,36px);line-height:1.55;margin:0;font-weight:700;letter-spacing:-.6px}.section-heading>p{font-size:12px;color:var(--paper-muted);line-height:1.95;margin:0 0 3px}
.recent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;max-width:1360px;margin:auto}.article-card{display:block;min-width:0}.article-image{position:relative;padding:17px 17px 33px;border:1px solid var(--paper-line);background:var(--surface);aspect-ratio:16/10;border-radius:2px;box-shadow:0 7px 18px #263b3507}.article-image img{width:100%;height:100%;max-height:100%;object-fit:contain;background:var(--mat)}.article-image>span{position:absolute;bottom:10px;left:17px;font-size:9px;line-height:1.3;color:var(--paper-muted)}.article-meta{display:flex;justify-content:space-between;gap:10px;color:var(--paper-muted);font-size:10px;line-height:1.8;margin:20px 0 10px}.article-meta time{font-family:ui-monospace,monospace}.article-card h3{font-size:17px;font-weight:600;line-height:1.8;margin:0;overflow-wrap:anywhere}.article-read{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;margin-top:15px;border-bottom:1px solid var(--paper-line);font-size:11px;color:var(--paper-accent)}.article-read>span{font-size:21px}.article-card:hover .article-read{color:var(--ink)}
.category-section{padding-top:38px;padding-bottom:88px}.category-section .section-heading{padding-top:42px;border-top:1px solid #c4ccc4}.category-grid{max-width:1360px;margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.category-card{position:relative;min-width:0;padding:25px 27px 22px;border:1px solid var(--paper-line);border-radius:2px;background:var(--surface)}.category-index{color:var(--paper-muted);font:9px ui-monospace,monospace;letter-spacing:1.2px}.category-icon{display:block;width:66px;height:58px;margin:23px 0 15px;color:var(--paper-accent)}.category-card h3{font-size:31px;line-height:1.6;margin:0 0 10px;font-weight:700}.category-card p{font-size:12px;line-height:1.9;color:var(--paper-muted);margin:0 0 18px}.category-main{display:flex;justify-content:space-between;gap:15px;align-items:center;min-height:44px;padding:9px 0;border-bottom:1px solid var(--paper-line);font-size:12px;font-weight:700;color:var(--paper-accent)}.category-main>span{font-size:23px}.category-example{display:block;width:fit-content;min-height:32px;padding:11px 0 4px;font-size:10px;line-height:1.7;color:var(--paper-muted);text-decoration:underline;text-underline-offset:4px}.category-card a:hover{color:var(--ink)}
.site-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:36px;padding:52px 6.5% 54px;background:var(--bg);border-top:1px solid #475a51}.site-footer .original-mark{width:28px;height:28px}.footer-catch{font-size:11px;font-weight:400;color:var(--muted);line-height:1.9;margin:16px 0 0}.site-footer nav{display:grid;grid-template-columns:repeat(2,auto);column-gap:28px;row-gap:0;font-size:11px;color:var(--muted)}.site-footer nav a{display:flex;align-items:center;min-height:44px;line-height:1.8}
@media(min-width:1550px){.hero-art{width:100%;margin-left:0}}
@media(min-width:721px) and (max-width:1100px){.hero{min-height:780px}.hero-grid{grid-template-columns:.9fr 1.1fr;gap:5px}.hero-copy{padding-left:0}.catchline{font-size:35px}.catchsub{font-size:23px}.hero-lead{font-size:12px}.hero-art{width:calc(100% + 28px);margin-left:-18px}.motion-controls{margin:0 4%;gap:8px}.motion-controls p{font-size:9px}.motion-controls button{min-width:122px;font-size:10px}.reading-surface{padding-left:5%;padding-right:5%}.recent-grid{gap:20px}.category-grid{gap:16px}.category-card{padding:21px 20px}.category-card p{font-size:11px}}
@media(max-width:720px){html{scroll-padding-top:14px}.site-header{height:68px;padding:0 20px;gap:10px}.site-header nav{gap:0;font-size:11px}.site-header .desktop-nav{display:none}.site-header .recent-nav{padding:9px 0}.hero{height:auto;max-height:none;min-height:calc(100svh - 68px);padding:28px 20px 27px}.hero-grid{display:flex;flex-direction:column;gap:13px;align-items:stretch}.hero-copy{padding-left:0}.eyebrow{font-size:9px;letter-spacing:1px;margin-bottom:16px}.catchline{font-size:32px;line-height:1.45;letter-spacing:-.6px}.catchsub{font-size:22px;line-height:1.6;letter-spacing:-.6px;margin-top:9px}.hero-lead{font-size:11px;line-height:1.9;margin-top:18px}.hero-art{width:100%;margin:0}.motion-controls{margin:-12px 0 0;gap:10px}.motion-controls button{min-width:124px;padding:10px;font-size:10px}.motion-controls p{font-size:9px;max-width:180px}.scroll-link{position:static;transform:none;margin:15px auto 0;gap:20px;font-size:10px}.reading-surface{padding:48px 20px}.section-heading{display:block;margin-bottom:26px}.section-heading h2{font-size:28px}.section-heading>p{font-size:11px;margin-top:16px}.reading-surface .eyebrow{font-size:9px;margin-bottom:10px}.recent-grid{display:flex;flex-direction:column;gap:34px}.article-image{padding:14px 14px 29px;aspect-ratio:16/10}.article-image>span{left:14px;font-size:9px;bottom:9px}.article-meta{margin:15px 0 8px}.article-card h3{font-size:16px;line-height:1.8}.article-read{margin-top:10px}.category-section{padding-top:0;padding-bottom:50px}.category-section .section-heading{padding-top:34px}.category-grid{display:flex;flex-direction:column;gap:18px}.category-card{padding:22px 24px}.category-icon{position:absolute;right:25px;top:26px;width:59px;height:53px;margin:0}.category-card h3{font-size:30px;margin-top:18px}.category-card p{font-size:12px;margin:8px 0 16px}.site-footer{display:block;padding:35px 20px 34px}.site-footer nav{grid-template-columns:1fr;gap:0;margin-top:23px}.site-footer nav a{width:fit-content}}
@media(max-width:360px){.site-header{padding:0 16px}.hero{padding-left:16px;padding-right:16px}.catchline{font-size:29px}.catchsub{font-size:20px}.hero-lead{font-size:10px}.motion-controls p{max-width:146px;font-size:8px}.motion-controls button{min-width:116px;font-size:9px;padding:10px 9px}.reading-surface{padding-left:16px;padding-right:16px}.category-card{padding-left:20px;padding-right:20px}.category-card p{font-size:11px}.site-footer{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
#motion-stage{--print-travel-x:34px;--print-travel-y:-11px}
.motion-controls p{font-size:11px}
@media(max-width:720px){.motion-controls p{font-size:10px}.motion-controls button{font-size:11px}}
@media(max-width:360px){.motion-controls p{font-size:9px}.motion-controls button{font-size:10px}}
/* No JavaScript: the scene is a finished, static drawing. */
#motion-stage .draft-line { stroke-dasharray: none; stroke-dashoffset: 0; }
#motion-stage .screen-trace { opacity: .9; }
#motion-stage .print-head, #motion-stage .coffee-steam { translate: 0 0; }
#motion-stage .coffee-steam { opacity: .4; }
#motion-stage .idea-orbit { opacity: .45; }
#motion-stage .character-ermi, #motion-stage .character-mio { animation: none !important; }

/* These definitions exist only when images are ready and motion is allowed. */
#motion-stage[data-motion-ready="true"] .draft-line {
  stroke-dasharray: 1;
  animation: atelier-draft 2.2s ease-out var(--draft-delay, 0s) 1 both;
}
#motion-stage[data-motion-ready="true"] .screen-trace {
  animation: atelier-screen 1.4s ease-out 1.8s 1 both;
}
#motion-stage[data-motion-ready="true"] .print-head {
  animation: atelier-print 9s ease-in-out 3.2s infinite;
}
#motion-stage[data-motion-ready="true"] .coffee-steam {
  animation: atelier-steam 7s ease-in-out 3.8s infinite;
}
#motion-stage[data-motion-ready="true"] .coffee-steam:nth-of-type(2n) { animation-delay: 4.7s; }
#motion-stage[data-motion-ready="true"] .idea-orbit {
  animation: atelier-idea 12s ease-in-out 4s infinite alternate;
}
#motion-stage:not([data-running="true"]),
#motion-stage:not([data-running="true"]) * { animation-play-state: paused !important; }
#motion-stage[data-running="true"],
#motion-stage[data-running="true"] * { animation-play-state: running; }

@keyframes atelier-draft {
  from { stroke-dashoffset: 1; opacity: .15; }
  to { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes atelier-screen { from { opacity: .2; } to { opacity: 1; } }
@keyframes atelier-print {
  0%, 18%, 82%, 100% { translate: 0 0; }
  48%, 55% { translate: var(--print-travel-x, 6px) var(--print-travel-y, -3px); }
}
@keyframes atelier-steam {
  0%, 100% { translate: 0 0; opacity: .18; }
  50% { translate: 0 -4px; opacity: .55; }
}
@keyframes atelier-idea { from { opacity: .32; } to { opacity: .58; } }

@media (prefers-reduced-motion: reduce) {
  #motion-stage, #motion-stage * { animation: none !important; transition: none !important; }
  #motion-stage .draft-line { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 1; }
  #motion-stage .screen-trace { opacity: .9; }
  #motion-stage .print-head, #motion-stage .coffee-steam { translate: 0 0; }
}
/* Layout and contact points belong to the scene artwork, not this controller. */
#motion-stage .atelier-scene[hidden] { display: none !important; }
#motion-stage .atelier-scene:not([data-active="true"]),
#motion-stage .atelier-scene:not([data-active="true"]) * { animation-play-state: paused !important; }
#motion-stage .character { animation: none !important; }
#motion-stage[data-running="true"] .atelier-scene[data-phase="incoming"] {
  animation: atelier-scene-in 900ms ease both !important;
  animation-play-state: running !important;
}
#motion-stage[data-running="true"] .atelier-scene[data-phase="outgoing"] {
  animation: atelier-scene-out 900ms ease both !important;
  animation-play-state: running !important;
}
@keyframes atelier-scene-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes atelier-scene-out { from { opacity: 1; } to { opacity: 0; } }
#motion-stage:not([data-running="true"]),
#motion-stage:not([data-running="true"]) * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  #motion-stage[data-running="true"] .atelier-scene[data-phase],
  #motion-stage, #motion-stage * { animation: none !important; transition: none !important; }
  #motion-stage .draft-line { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 1; }
}
.hero-social{margin-top:14px;display:flex;gap:24px}.social-links a{min-width:44px;min-height:44px;display:inline-flex;align-items:center;gap:12px;font-size:12px;line-height:1.4;color:#edf0e9;text-decoration:none}.social-links a:hover{text-decoration:underline;text-underline-offset:5px}.social-links a:focus-visible{outline:2px solid #aad0ba;outline-offset:4px}.scene-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:2px}.scene-picker button{min-height:44px;padding:7px 5px;background:transparent;border:1px solid #849b8e;color:#edf0e9;font-family:inherit;font-size:10px;line-height:1.5;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:7px}.scene-picker button span{font-family:ui-monospace,monospace;font-size:9px;color:#b3c2b8}.scene-picker button[aria-pressed="true"]{background:#263b35;border-color:#aad0ba}.scene-picker button:focus-visible{outline:2px solid #aad0ba;outline-offset:3px}.scene-picker button:disabled{cursor:default}.scene-caption{font-size:11px;color:#b3c2b8;line-height:1.6;min-height:18px;margin:10px 0 4px}.scene-backdrop{position:absolute;inset:0;width:100%;height:100%}.scene-group{position:absolute;object-fit:contain;object-position:center;left:10%;top:17%;width:80%;height:75%;animation:none!important}.scene-prototype .scene-group{left:17%;top:16%;width:69%;height:76%}.scene-coffee .scene-group{left:8%;top:18%;width:85%;height:73%}.footer-social{display:flex;gap:24px;margin-top:12px}.site-footer .footer-pages{display:flex;gap:0;flex-direction:column;align-items:flex-start}.footer-pages a{min-height:44px;display:flex;align-items:center}.footer-policy{grid-column:1/-1;margin:8px 0 0;font-size:11px;line-height:1.8;color:#b3c2b8}.footer-policy a{color:inherit;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}.site-footer{display:grid;grid-template-columns:1fr 1fr;gap:20px 48px}
@media(max-width:720px){.hero-social{gap:24px;margin-top:9px}.social-links a{font-size:11px}.scene-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:0}.scene-picker button{font-size:11px;min-height:44px}.scene-caption{font-size:10px;margin-top:9px}.site-footer{grid-template-columns:1fr;gap:24px}.footer-policy{margin:0}.footer-social{margin-top:9px}.motion-controls{margin-top:7px}}
@media(max-width:360px){.scene-picker button{font-size:10px}.scene-caption{font-size:9px}.hero-social{margin-top:4px}}
.atelier-scene{position:absolute;inset:0}.atelier-scene[data-phase="incoming"]{z-index:2}.atelier-scene[data-phase="outgoing"]{z-index:1}.scene-studio .scene-group{left:8%;top:17%;width:85%;height:76%}.scene-caption{margin:2px 0 12px;min-height:18px}.motion-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:0}.motion-controls button{min-height:44px;flex-shrink:0}.scene-navigation{display:flex;align-items:center;gap:12px}.scene-picker-label{font-size:10px;color:#b3c2b8}.scene-picker{display:flex;gap:5px;margin:0}.scene-picker button{min-width:44px;width:44px;min-height:44px;padding:0;border-color:#849b8e;border-radius:50%;font-size:11px}.scene-picker button span{font-size:10px;color:#edf0e9}.scene-picker button[aria-pressed="true"]{background:#263b35;border-color:#aad0ba}.scene-picker button[data-loading="true"]{border-style:dashed}.scene-helper,#motion-status{color:#b3c2b8;font-size:10px;line-height:1.8;margin:10px 0 0;min-height:18px}.scene-helper{margin-top:0;color:#b3c2b8}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:960px){.motion-controls{flex-wrap:wrap;gap:12px}.scene-navigation{gap:10px}.scene-picker{gap:6px}.scene-picker-label{font-size:10px}.scene-caption{font-size:10px}}
@media(max-width:720px){.motion-controls{justify-content:space-between;gap:10px}.scene-caption{margin:3px 0 10px}.scene-picker{gap:5px}.scene-picker-label{display:none}.scene-helper,#motion-status{font-size:10px}.scene-studio .scene-group{left:7%;top:17%;width:87%;height:77%}}
@media(max-width:360px){.motion-controls{gap:10px}.scene-navigation{margin-left:auto}.scene-picker{gap:5px}}
/* Shared navigation and tools pages only. Existing hero/art/copy rules stay in v5-v7. */
.site-header.shared-header { position: relative; z-index: 20; }
.site-header .site-nav-desktop { gap: 20px; font-size: 14px; }
.site-header .site-nav-mobile { display: none; }
.site-menu { position: relative; }
.site-menu summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 9px 8px; list-style: none; font-size: 14px; line-height: 1.5; cursor: pointer; border: 1px solid transparent; border-radius: 2px; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.site-menu summary:hover, .site-menu[open] > summary { color: var(--accent); background: #263b35; border-color: #475a51; }
.site-menu-chevron { font-size: 18px; line-height: 1; }
.site-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(288px, calc(100vw - 32px)); max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: auto; padding: 12px; border: 1px solid #63786c; border-radius: 3px; background: #202a29; color: var(--fg); box-shadow: 0 12px 28px #0005; }
.site-menu:not([open]) > .site-menu-panel { display: none; }
.site-header .site-menu-panel a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; font-size: 14px; line-height: 1.65; white-space: normal; overflow-wrap: anywhere; border-radius: 2px; }
.site-header .site-menu-panel a:hover { background: #2c3b34; }
.site-menu-panel a:focus-visible { outline-offset: -3px; }
.site-menu-section + .site-menu-section { border-top: 1px solid #475a51; margin-top: 10px; padding-top: 10px; }
.site-menu-heading { font-size: 14px; color: var(--muted); margin: 8px 12px; font-weight: 400; }
.site-menu-social { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.site-menu-social a { gap: 12px; }

.site-footer.shared-footer { display: block; }
.site-footer .footer-main { display: grid; grid-template-columns: minmax(220px, .95fr) minmax(0, 2.05fr); gap: 36px 48px; }
.site-footer .footer-link-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; min-width: 0; }
.site-footer .footer-nav-group { display: flex; flex-direction: column; align-items: flex-start; margin: 0; gap: 0; font-size: 14px; }
.site-footer .footer-nav-group h2 { font-size: 14px; line-height: 1.7; font-weight: 700; color: var(--fg); margin: 0 0 8px; }
.site-footer .footer-nav-group a { min-height: 44px; max-width: 100%; padding: 8px 0; line-height: 1.8; overflow-wrap: anywhere; }
.site-footer .footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 12px; }
.site-footer .footer-notes { border-top: 1px solid #475a51; margin-top: 28px; padding-top: 24px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.site-footer .footer-ad-notice h2 { margin: 0; font-size: 14px; color: var(--fg); line-height: 1.8; }
.site-footer .footer-ad-notice blockquote { margin: 12px 0; padding-left: 16px; border-left: 2px solid #63786c; }
.site-footer .footer-ad-notice p { margin: 0; }
.site-footer .footer-ad-notice > a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; text-decoration: underline; text-underline-offset: 4px; }
.site-footer .footer-copyright { margin: 16px 0 0; }

.tools-page { background: var(--paper); color: var(--ink); }
.tools-page .site-header, .tools-page .site-footer { color: var(--fg); }
.tools-main { background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.tools-hero { background: var(--hero); color: var(--fg); padding: 44px max(24px, 6.5vw) 48px; }
.tools-hero > .tools-shell { padding: 0; }
.tools-hero h1 { font-size: clamp(26px, 3vw, 40px); line-height: 1.6; margin: 0 0 16px; }
.tools-hero p { font-size: 16px; line-height: 1.9; max-width: 760px; margin: 12px 0 0; color: var(--muted); }
.tools-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 14px; }
.tools-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.tools-shell { max-width: 1160px; margin: 0 auto; padding: 48px 32px 64px; }
.tools-toc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; margin: 24px 0 40px; padding: 16px; border: 1px solid var(--paper-line); background: var(--surface); }
.tools-toc a { display: flex; align-items: center; min-height: 44px; padding: 8px; font-size: 15px; line-height: 1.7; color: var(--paper-accent); text-decoration: underline; text-underline-offset: 4px; }
.tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tools-category { margin-bottom: 40px; scroll-margin-top: 24px; }
.tools-category h2 { font-size: 26px; line-height: 1.6; margin: 0 0 18px; }
.tools-card { min-width: 0; padding: 24px; border: 1px solid var(--paper-line); background: var(--surface); border-radius: 2px; }
.tools-card-title, .tools-card h3 { font-size: 19px; line-height: 1.7; margin: 0 0 12px; }
.tools-card-copy, .tools-card p { font-size: 16px; line-height: 1.9; margin: 12px 0; }
.tools-meta, .tools-card .tools-meta { font-size: 14px; line-height: 1.85; color: var(--paper-muted); }
.tools-links { display: flex; flex-direction: column; gap: 4px; }
.tools-links a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 15px; line-height: 1.8; color: var(--paper-accent); text-decoration: underline; text-underline-offset: 4px; }
.tools-empty { font-size: 16px; line-height: 1.9; padding: 24px; border: 1px dashed var(--paper-line); background: #e7ece6; color: var(--paper-muted); }
.tools-note { margin: 24px 0; padding: 20px 24px; border-left: 3px solid var(--paper-accent); background: var(--surface); font-size: 16px; line-height: 1.9; }
.tools-hero .tools-note { margin: 24px 0 0; background: #202a29; color: var(--fg); border-color: var(--accent); }
.tools-main a:focus-visible { outline-color: var(--paper-accent); }

@media (max-width: 1100px) {
  .site-footer .footer-main { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 960px) {
  .site-header .site-nav-desktop { display: none; }
  .site-header .site-nav-mobile { display: flex; }
  .site-menu-mobile { position: static; }
  .site-menu-mobile > summary { gap: 10px; }
  .site-menu-mobile > .site-menu-panel { top: calc(100% + 1px); left: 16px; right: 16px; width: auto; max-height: calc(100vh - 108px); max-height: calc(100dvh - 108px); }
}
@media (max-width: 720px) {
  .site-footer .footer-link-groups { grid-template-columns: 1fr; gap: 28px; }
  .tools-hero { padding: 30px 20px 36px; }
  .tools-shell { padding: 32px 20px 48px; }
  .tools-toc, .tools-grid { grid-template-columns: 1fr; }
  .tools-card { padding: 20px; }
  .tools-category h2 { font-size: 24px; }
}
@media (max-width: 380px) {
  .site-menu-mobile .site-menu-label { display: none; }
  .tools-hero { padding-left: 16px; padding-right: 16px; }
  .tools-shell { padding-left: 16px; padding-right: 16px; }
  .tools-note { padding: 16px; }
}
/* Small stage control only; art, copy and the four scene choices retain v7 styling. */
.hero-scene-view { position: relative; }
.hero-motion-toggle { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; color: var(--accent); background: transparent; }
.hero-motion-toggle svg { width: 22px; height: 22px; pointer-events: none; }
.hero-motion-toggle:hover:enabled { color: var(--fg); background: #263b35; }
.hero-motion-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hero-motion-toggle:disabled { opacity: .5; }
.hero-motion-toggle[aria-pressed="true"] .icon-play,
.hero-motion-toggle[aria-pressed="false"] .icon-pause { display: none; }
.hero-scene-picker { display: flex; justify-content: flex-end; margin-top: 4px; }
/* Shared icon links and basic pages. Existing hero and tools styles retain their scope. */
.social-links a.social-icon, .site-menu-social a.social-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; color: var(--accent); border-radius: 50%; }
.social-icon svg { width: 22px; height: 22px; pointer-events: none; }
.social-links a.social-icon:hover, .site-menu-social a.social-icon:hover { color: var(--fg); background: #263b35; }
.social-links a.social-icon:focus-visible, .site-menu-social a.social-icon:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.site-header .site-menu-panel .social-icon { display: inline-grid; min-height: 44px; padding: 0; }
.basic-page { background: var(--hero); color: var(--fg); }
.basic-main { font-size: 16px; line-height: 2; overflow-wrap: anywhere; }
.basic-shell { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.basic-masthead { padding: 56px 0 36px; border-bottom: 1px solid #475a51; }
.basic-title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.5; margin: 12px 0 20px; }
.basic-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.basic-breadcrumb a, .basic-toc a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; }
.basic-layout { display: grid; grid-template-columns: 216px minmax(0, 760px); gap: 48px; align-items: start; padding: 40px 0 64px; }
.basic-toc { position: sticky; top: 24px; max-height: calc(100dvh - 48px); overflow-y: auto; padding: 16px 0; font-size: 14px; }
.basic-toc h2, .basic-toc h3, .basic-toc p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.basic-toc a { display: flex; line-height: 1.8; padding: 6px 0; color: var(--accent); }
.basic-toc ol, .basic-toc ul { list-style: none; margin: 0; padding: 0; }
.basic-body { min-width: 0; font-size: 16px; line-height: 2; }
.basic-body p { margin: 0 0 24px; }
.basic-body h2 { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.6; margin: 0 0 20px; }
.basic-body h3 { font-size: 19px; line-height: 1.8; }
.basic-section { margin-bottom: 48px; scroll-margin-top: 24px; }
.basic-body ul, .basic-body ol { padding-left: 1.5em; margin: 0 0 24px; }
.basic-body li { margin-bottom: 10px; }
.basic-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; display: inline-block; min-height: 44px; padding: 4px 0; }
.basic-page a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.basic-body hr { border: 0; border-top: 1px solid #63786c; margin: 36px 0; }
.basic-note { color: var(--muted); padding: 16px 20px; background: #202a29; border-left: 3px solid var(--accent); font-size: 14px; line-height: 1.9; margin: 20px 0; }
.basic-note a { min-height: 44px; }
.profile-card { display: flex; align-items: center; gap: 24px; padding: 28px; margin-bottom: 32px; background: #202a29; border: 1px solid #63786c; border-radius: 4px; }
.profile-avatar { width: 96px; height: 96px; object-fit: contain; border-radius: 50%; flex: 0 0 auto; }
.profile-identity { min-width: 0; }
.profile-identity p { margin-bottom: 8px; }
.profile-identity h2 { margin-bottom: 10px; }
.contact-preview { padding: 28px; margin: 32px 0; background: #202a29; border: 1px solid #63786c; border-radius: 4px; }
.contact-preview fieldset { border: 0; padding: 0; margin: 24px 0; min-width: 0; }
.contact-field { margin-bottom: 20px; }
.contact-field label { display: block; color: var(--fg); margin-bottom: 8px; }
.contact-field input, .contact-field textarea { width: 100%; min-height: 48px; border: 1px solid #63786c; border-radius: 3px; color: var(--fg); background: #151f1d; font: inherit; padding: 12px; opacity: 1; -webkit-text-fill-color: var(--fg); }
.contact-field textarea { min-height: 160px; resize: none; }
.contact-cta { display: inline-flex !important; justify-content: center; align-items: center; min-height: 48px !important; padding: 12px 20px !important; background: var(--accent); color: #111e1b !important; font-weight: 700; border-radius: 3px; text-decoration: none !important; }
.contact-cta:hover { background: #cee3d3; }
.basic-layout-contact { grid-template-columns: minmax(0, 760px); justify-content: center; }
.basic-kicker { display: block; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.contact-preview-heading h2 { margin-bottom: 16px; }
.contact-preview-note { color: var(--fg); }
.contact-required { font-size: 12px; color: var(--accent); margin-left: 8px; }
.contact-external-note { color: var(--muted); font-size: 14px; margin-top: 12px !important; margin-bottom: 0 !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 960px) { .basic-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; } .basic-toc { position: static; max-height: none; border-bottom: 1px solid #475a51; padding-top: 0; } .basic-toc ol, .basic-toc ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; } .basic-body { max-width: 760px; } }
@media (max-width: 720px) { .basic-shell { padding: 0 20px; } .basic-masthead { padding-top: 32px; padding-bottom: 24px; } .basic-layout { padding-top: 28px; padding-bottom: 44px; } .profile-card { align-items: flex-start; padding: 20px; gap: 16px; } .profile-avatar { width: 72px; height: 72px; } .profile-identity h2 { font-size: 20px; } .contact-preview { padding: 20px; } .basic-section { margin-bottom: 36px; } }
@media (max-width: 380px) { .basic-shell { padding: 0 16px; } .basic-toc ol, .basic-toc ul { grid-template-columns: 1fr; } .profile-card { flex-direction: column; } .basic-note { padding: 16px; } .contact-preview { padding: 16px; } }
/* Local v11: quieter links and a shared dark reading layout. */
.article-read, .category-main, .scroll-link {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.scroll-link > span:last-child { font-size: 12px; color: var(--muted); }
.article-card:hover h3, .article-card:focus-visible h3 {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.article-card:hover .article-image, .article-card:focus-visible .article-image {
  border-color: var(--paper-accent);
}
.category-example { min-height: 44px; display: flex; align-items: center; }
.basic-page .basic-masthead { padding-bottom: 30px; }
.basic-eyebrow {
  margin: 24px 0 4px;
  font: 12px ui-monospace, monospace;
  letter-spacing: 1.4px;
  color: var(--accent);
}
.basic-title { margin-top: 8px; margin-bottom: 14px; }
.basic-lead { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.9; }
.basic-page-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 24px; }
.basic-page-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; color: var(--accent); }
.basic-page-nav a[aria-current="page"] { color: var(--fg); font-weight: 700; text-decoration-thickness: 2px; }
.basic-body h2.basic-section { margin-top: 40px; margin-bottom: 18px; padding-top: 20px; border-top: 1px solid #475a51; }
.basic-toc { border-left: 1px solid #475a51; padding-left: 20px; }
.basic-body .basic-note { margin-top: 0; }
.basic-body .profile-identity .social-links { display: flex; gap: 8px; }
.basic-body .profile-identity a.social-icon { display: inline-grid; padding: 0; text-decoration: none; }
.about-statement { font-size: clamp(23px, 2.4vw, 32px); line-height: 1.65; margin-bottom: 24px; }
.about-statement span { display: block; }
.about-statement .about-subline { color: var(--warm); font-size: clamp(18px, 1.8vw, 24px); margin-top: 6px; }
.about-doors { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 24px 0; }
.about-door { min-width: 0; background: #202a29; border: 1px solid #63786c; border-radius: 4px; padding: 20px; }
.about-door .basic-kicker { color: var(--accent); }
.about-door h3 { margin: 8px 0 12px; font-size: 22px; }
.about-door p { font-size: 15px; margin-bottom: 8px; }
.about-door a { font-size: 14px; }
.basic-related { border-top: 1px solid #475a51; margin-top: 32px; padding-top: 20px; }
.basic-dates { color: var(--muted); font-size: 14px; }
.contact-external-note { max-width: 600px; }
@media (max-width: 960px) {
  .basic-toc { border-left: 0; padding-left: 0; }
  .about-doors { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .basic-page-nav { gap: 4px 20px; }
  .basic-page-nav a { font-size: 13px; }
  .basic-eyebrow { margin-top: 20px; }
  .basic-page .basic-masthead { padding-bottom: 24px; }
  .basic-body h2.basic-section { margin-top: 32px; }
  .about-door { padding: 20px; }
}
/* Match the standalone approved design after shared Tailwind preflight. */
.atelier-v11 { font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; line-height: normal; }
.atelier-v11 h1, .atelier-v11 h2, .atelier-v11 h3 { font-weight: 700; }
.atelier-v11 .basic-body ul { list-style: disc; }
.atelier-v11 .basic-body ol { list-style: decimal; }
.atelier-v11 .category-card:hover { transform: none; }
.atelier-v11 .category-card:hover .category-icon { animation: none; }
.atelier-v11 .contact-form-frame { overflow: hidden; border: 1px solid #63786c; border-radius: 4px; background: #fff; margin: 28px 0 16px; }
.atelier-v11 .contact-form-frame iframe { display: block; width: 100%; border: 0; }
.atelier-v11 .basic-body .contact-external-note { margin-bottom: 24px !important; }
