:root{
  --paper:#f7f1e3;
  --paper-deep:#efe5cf;
  --ink:#3d342c;
  --muted:#74695f;
  --line:#d7c8aa;
  --cream:#fff8e9;
  --green:#728f36;
  --green-deep:#4f672a;
  --orange:#f28123;
  --cocoa:#4e382a;
  --peach:#fff0e1;
  --lavender:#eee9f8;
  --blue:#e6f0f5;
  --shadow:0 18px 50px rgba(78,56,42,.10);
}
.otayori-exhibit{display:flex;align-items:flex-start;gap:24px;margin-top:28px;padding:28px;border:1px solid var(--line);border-radius:24px;background:var(--cream)}
.otayori-exhibit-mark{flex:0 0 auto;font-size:2.7rem;line-height:1.4}
.otayori-exhibit h2{margin:0;font-size:clamp(1.35rem,3vw,1.8rem)}
.otayori-exhibit p{margin:10px 0}
.otayori-exhibit .otayori-exhibit-note{font-size:.85rem;color:var(--muted);margin-bottom:0}
.otayori-exhibit a:focus-visible{outline:3px solid var(--orange);outline-offset:4px}
@media(max-width:600px){.otayori-exhibit{gap:14px;padding:22px 18px}.otayori-exhibit-mark{font-size:2rem}}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  color:var(--ink);
  font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",system-ui,sans-serif;
  line-height:1.7;
  background:
    radial-gradient(circle at 10% 10%,rgba(242,129,35,.08),transparent 24rem),
    radial-gradient(circle at 92% 20%,rgba(114,143,54,.10),transparent 26rem),
    linear-gradient(rgba(78,56,42,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(78,56,42,.025) 1px,transparent 1px),
    var(--paper);
  background-size:auto,auto,24px 24px,24px 24px,auto;
}
button,a{font:inherit}
a{color:inherit}
.skip-link{position:absolute;left:-9999px;top:8px;background:#fff;padding:8px 12px;z-index:100}
.skip-link:focus{left:8px}
.site-header{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
  padding:72px 0 34px;
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.7fr);
  gap:32px;
  align-items:end;
}
.kicker,.eyebrow{margin:0 0 8px;font-size:.75rem;font-weight:900;letter-spacing:.14em;color:var(--green-deep)}
h1,h2,h3,p{overflow-wrap:anywhere}
h1{margin:0;font-family:mamelon,"Hiragino Maru Gothic ProN","Yu Gothic",system-ui,sans-serif;font-weight:500;font-style:normal;font-size:clamp(2rem,6vw,4.75rem);line-height:1.08;letter-spacing:-.025em}.title-main,.title-collection{display:block}.title-main{white-space:nowrap}.title-collection{margin-left:0;margin-top:.08em}
.subtitle{margin:16px 0 0;font-size:clamp(1rem,2vw,1.25rem);color:var(--muted)}
.intro{margin:0;padding:18px 20px;border-left:4px solid var(--orange);background:rgba(255,248,233,.75);border-radius:0 18px 18px 0;color:var(--muted)}
main{width:min(1180px,calc(100% - 32px));margin:0 auto 70px}
.atelier-shell{
  position:relative;
  border:2px solid var(--cocoa);
  border-radius:34px;
  padding:28px;
  background:rgba(255,253,248,.74);
  box-shadow:var(--shadow);
}
.atelier-shell:before{
  content:"";
  position:absolute;
  inset:9px;
  border:1px dashed rgba(78,56,42,.25);
  border-radius:25px;
  pointer-events:none;
}
.atelier-heading{position:relative;display:flex;gap:15px;align-items:flex-start;padding:6px 7px 24px}
.atelier-heading h2{margin:0;font-family:mamelon,"Hiragino Maru Gothic ProN","Yu Gothic",system-ui,sans-serif;font-weight:400;font-size:clamp(1.8rem,4vw,2.8rem)}
.atelier-heading p:last-child{max-width:720px;margin:6px 0 0;color:var(--muted)}
.pin{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:50%;background:var(--orange);color:#fff;font-size:1.25rem;box-shadow:0 5px 0 rgba(78,56,42,.16)}
.world-grid{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.world{
  min-width:0;
  border:1px solid var(--line);
  border-radius:28px;
  padding:20px;
  overflow:hidden;
  position:relative;
}
.world:after{
  content:"";
  position:absolute;
  width:170px;height:170px;border-radius:50%;
  right:-55px;top:-70px;opacity:.25;pointer-events:none;
}
.world[data-theme="language"]{background:linear-gradient(150deg,#f6faee,#eef5df)}
.world[data-theme="language"]:after{background:repeating-radial-gradient(circle,var(--green) 0 4px,transparent 5px 15px)}
.world[data-theme="sound"]{background:linear-gradient(150deg,#fff7e8,#f4eef8)}
.world[data-theme="sound"]:after{background:conic-gradient(#f4b183,#f8d57e,#acd49b,#a9cce3,#c7b5dc,#f4b183)}
.world[data-theme="mikaron"]{background:linear-gradient(150deg,#fff4dc,#f4f7e9)}
.world[data-theme="mikaron"]:after{background:radial-gradient(circle at 30% 30%,var(--orange) 0 16%,transparent 17%),radial-gradient(circle at 67% 60%,var(--green) 0 20%,transparent 21%)}
.world[data-theme="learning"]{background:linear-gradient(150deg,#f2f6f1,#eef1f5)}
.world[data-theme="learning"]:after{background:linear-gradient(90deg,transparent 44%,#d89b9b 44% 56%,transparent 56%),linear-gradient(transparent 44%,#d89b9b 44% 56%,transparent 56%)}
.world[data-theme="social"]{background:linear-gradient(150deg,#f5f1fb,#eef5f8)}
.world[data-theme="social"]:after{background:radial-gradient(circle at 35% 35%,#b9a6d8 0 12%,transparent 13%),radial-gradient(circle at 68% 58%,#9fc3cf 0 15%,transparent 16%)}
.world[data-theme="kotsubu"]{background:linear-gradient(150deg,#fffaf0,#f3f6ee)}
.world[data-theme="kotsubu"]:after{background:radial-gradient(circle,#d7b86a 0 3px,transparent 4px 12px)}
.world[data-theme="workshop"]{background:linear-gradient(150deg,#f7f3ee,#ece8e3)}
.world[data-theme="workshop"]:after{background:repeating-linear-gradient(45deg,var(--cocoa) 0 3px,transparent 3px 13px)}
.world-head{position:relative;z-index:1;margin-bottom:15px}
.world-symbol{font-size:1.6rem}
.world h3{margin:5px 0 2px;font-size:1.35rem;font-family:mamelon,"Hiragino Maru Gothic ProN","Yu Gothic",system-ui,sans-serif;font-weight:400}
.world-copy{margin:0;color:var(--muted);font-size:.92rem}
.project-list{position:relative;z-index:1;display:grid;gap:10px}
.project-card{
  width:100%;
  text-align:left;
  border:1px solid rgba(78,56,42,.16);
  border-radius:18px;
  padding:13px 14px;
  background:rgba(255,255,255,.82);
  color:var(--ink);
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.project-card:hover{transform:translateY(-2px);box-shadow:0 9px 25px rgba(78,56,42,.10);border-color:rgba(78,56,42,.32)}
.project-card:focus-visible,.close-button:focus-visible,.open-link:focus-visible{outline:3px solid rgba(242,129,35,.38);outline-offset:3px}
.project-top{display:flex;gap:10px;align-items:flex-start;justify-content:space-between}
.project-title{font-weight:900;line-height:1.35}
.project-short{display:block;margin-top:5px;color:var(--muted);font-size:.78rem;line-height:1.5}
.status{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:999px;
  padding:3px 8px;
  font-size:.68rem;
  font-weight:900;
  white-space:nowrap;
}
.status:before,.status-dot{content:"";display:inline-block;width:8px;height:8px;border-radius:50%}
.status-public{background:#edf6e4;color:#405725}.status-public:before,.status-dot.public{background:#6f9638}
.status-prototype{background:#fff1dc;color:#91520f}.status-prototype:before,.status-dot.prototype{background:#ef8c22}
.status-growing{background:#eee9f8;color:#5c4a7b}.status-growing:before,.status-dot.growing{background:#8a72b1}
.promise,.legend{margin-top:20px;border:1px solid var(--line);border-radius:26px;padding:24px;background:rgba(255,253,248,.72)}
.promise h2,.legend h2{margin:0;font-family:mamelon,"Hiragino Maru Gothic ProN","Yu Gothic",system-ui,sans-serif;font-weight:400}
.promise p:last-child{max-width:850px;margin-bottom:0;color:var(--muted)}
.legend-items{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}
.legend-items span{padding:11px 12px;border-radius:14px;background:#fff;color:var(--muted);font-size:.82rem}
.legend-items strong{color:var(--ink)}
.project-dialog{
  width:min(620px,calc(100% - 28px));
  border:0;
  border-radius:26px;
  padding:0;
  color:var(--ink);
  background:#fffdf8;
  box-shadow:0 30px 100px rgba(45,35,25,.28);
}
.project-dialog::backdrop{background:rgba(50,42,34,.34);backdrop-filter:blur(3px)}
.dialog-close-row{display:flex;justify-content:flex-end;padding:12px 12px 0}
.close-button{border:1px solid var(--line);background:#fff;border-radius:50%;width:38px;height:38px;cursor:pointer;font-size:1.3rem;line-height:1}
.dialog-content{padding:0 26px 28px}
.dialog-symbol{font-size:2rem}
.dialog-content h2{margin:5px 0 4px;font-size:clamp(1.5rem,5vw,2.2rem)}
.dialog-content p{color:var(--muted)}
.dialog-meta{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 16px}
.open-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:14px;padding:11px 15px;background:var(--cocoa);color:#fff;font-weight:900}
.growing-note{display:inline-block;padding:10px 12px;border-radius:13px;background:var(--lavender);color:#5c4a7b;font-weight:800}
footer{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:0 0 40px;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:.78rem}
@media(max-width:780px){
  body{font-size:17px}
  .subtitle{font-size:1.08rem;line-height:1.75}
  .intro{font-size:1rem;line-height:1.85}
  .atelier-heading p:last-child{font-size:1rem;line-height:1.8}
  .world h3{font-size:1.55rem;line-height:1.35}
  .world-copy{font-size:1rem;line-height:1.8}
  .project-card{padding:15px 16px}
  .project-title{font-size:1.08rem;line-height:1.55}
  .project-short{font-size:.94rem;line-height:1.7}
  .status{font-size:.75rem;padding:4px 9px}
  .promise p:last-child{font-size:1rem;line-height:1.8}
  .legend-items span{font-size:.9rem;line-height:1.7}

  h1 .title-main,h1 .title-collection{display:block}.title-collection{margin-left:0;margin-top:.08em}
  .site-header{grid-template-columns:1fr;padding-top:42px}
  .world-grid,.legend-items{grid-template-columns:1fr}
  .atelier-shell{padding:18px;border-radius:26px}
  .world{padding:17px}
  footer{flex-direction:column;gap:5px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Mamelon weight map from the Adobe Fonts kit:
   3.5 Hi = 300 / 4 Hi = 400 / 5 Hi = 500 */
.subtitle,
.intro,
.atelier-heading p:last-child,
.world-copy,
.project-short,
.promise p:last-child,
.legend-items span,
.dialog-content p {
  font-family: mamelon,"Hiragino Maru Gothic ProN","Yu Gothic",system-ui,sans-serif;
  font-weight: 300;
  font-style: normal;
}
.project-title {
  font-family: mamelon,"Hiragino Maru Gothic ProN","Yu Gothic",system-ui,sans-serif;
  font-weight: 400;
}


.project-birthday{
  display:block;
  margin-top:7px;
  color:var(--green-deep);
  font-family:mamelon,"Hiragino Maru Gothic ProN","Yu Gothic",system-ui,sans-serif;
  font-size:.72rem;
  line-height:1.5;
}
.project-birthday-pending{color:var(--muted)}
.birthday-chip{
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(114,143,54,.22);
  border-radius:999px;
  padding:3px 9px;
  background:#f3f7ea;
  color:var(--green-deep);
  font-size:.72rem;
  font-weight:800;
  white-space:nowrap;
}
.birthday-chip-pending{
  border-color:rgba(116,105,95,.18);
  background:#f4f1ec;
  color:var(--muted);
}


.milestone-section{
  margin:6px 0 18px;
}
.milestone-list{
  display:grid;
  gap:4px;
}
.milestone-chip{
  display:block;
  padding:0;
  border:0;
  border-radius:0;
  background:none;
  font-family:mamelon,"Hiragino Maru Gothic ProN","Yu Gothic",system-ui,sans-serif;
  font-size:.82rem;
  font-weight:400;
  line-height:1.5;
  white-space:normal;
}
.milestone-birthday{color:var(--green-deep)}
.milestone-named{color:#80501f}
.milestone-published{color:#3e6579}
.milestone-unreleased,
.milestone-pending{color:var(--muted)}
@media(max-width:780px){
  .milestone-chip{font-size:.9rem}
}


.history-exhibit{
  margin-top:20px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:18px;
  align-items:start;
  border:1px solid var(--line);
  border-radius:28px;
  padding:26px;
  background:
    radial-gradient(circle at 94% 18%,rgba(242,129,35,.10),transparent 16rem),
    linear-gradient(145deg,rgba(255,253,248,.86),rgba(246,250,238,.78));
  box-shadow:0 10px 32px rgba(78,56,42,.06);
}
.history-exhibit-mark{
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  border-radius:18px;
  background:var(--cream);
  border:1px solid rgba(78,56,42,.12);
  font-size:1.7rem;
}
.history-exhibit-copy h2{
  margin:0;
  font-family:mamelon,"Hiragino Maru Gothic ProN","Yu Gothic",system-ui,sans-serif;
  font-weight:400;
  font-size:clamp(1.5rem,4vw,2.2rem);
}
.history-exhibit-copy p:not(.eyebrow){
  max-width:780px;
  margin:7px 0 16px;
  color:var(--muted);
  font-family:mamelon,"Hiragino Maru Gothic ProN","Yu Gothic",system-ui,sans-serif;
  font-weight:300;
}
.history-exhibit-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:14px;
  padding:10px 14px;
  background:var(--cocoa);
  color:#fff;
  font-weight:900;
}
.history-exhibit-link:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(78,56,42,.12)}
.history-exhibit-link:focus-visible{outline:3px solid rgba(242,129,35,.38);outline-offset:3px}
@media(max-width:680px){
  .history-exhibit{grid-template-columns:1fr;padding:20px}
}

