/* site/base.css — extracted from the prototype in original order; "Lnnn" = prototype line */
/* The page frame the prototype was designed and approved in: the claude.ai artifact viewer wraps every page in
   these defaults, before the prototype's own CSS. Only the ones the prototype does not set itself are repeated
   here, first, so every prototype rule still wins over them. Pages still in the earlier design undo the font
   size in css/site/legacy.css. */
:root{color-scheme:light}
body{font-size:14px}
img{max-width:100%}
[hidden]:not([hidden=until-found i]){display:none!important}
/* L12 ·  */
:root{--paper:#F6F1E7;--paper2:#ECE7DB;--night:#08121F;--blue:#336699;--ink0:#212121;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
@media (prefers-color-scheme:dark){
:root:not([data-theme="light"]){--paper:#F6F1E7;--paper2:#ECE7DB;--night:#08121F;--blue:#336699;--ink0:#212121}
}
:root[data-theme="dark"]{--paper:#F6F1E7;--paper2:#ECE7DB;--night:#08121F;--blue:#336699;--ink0:#212121}
html{scroll-behavior:smooth;scroll-padding-top:calc(72px + env(safe-area-inset-top,0px))}
body{margin:0;background:var(--page-bg);color:#212121;font-family:'Zen Kaku Gothic New',system-ui,sans-serif;overflow-x:clip;-webkit-font-smoothing:antialiased;line-height:1.6}
@media (prefers-reduced-motion:reduce){
/* L34 · reveal */
html{scroll-behavior:auto}
}
/* L182 · contact drawer */
:root{--page:#F8FAFC;--ink:#0E2236;--mut:#51647A;--acc:#336699;--line:rgba(14,34,54,.13);--card:rgba(255,255,255,.7);--card-bd:rgba(255,255,255,.95);--shadow:rgba(30,60,100,.5);--glow:rgba(255,255,255,.8);--art-bg:#E6EFF8;--g1:#5C86B3;--g2:#F2B79A;--g3:#B9CFE6;--panel:#EAF2F8;--on-acc:#fff;--hd:'Instrument Sans','Zen Kaku Gothic New',system-ui,sans-serif;--page-bg:var(--page);--nav-ink:#0E2236;--nav-acc:#336699;--nav-bg:rgba(250,251,252,.0);--nav-line:transparent;
 box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
body[data-world=cosmic]{--page:#050B16;--ink:#EAF0F7;--mut:#A9B8CC;--acc:#7FB0E6;--line:rgba(160,190,225,.22);--card:rgba(255,255,255,.055);--card-bd:rgba(160,190,225,.2);--shadow:#000;--glow:rgba(127,176,230,.18);--art-bg:#0B1B2E;--g1:#7FB0E6;--g2:#EAF0F7;--g3:#2B4F7C;--panel:#07101F;--on-acc:#06101F;--nav-ink:#EAF0F7;--nav-acc:#7FB0E6}
body{background:var(--page);color:var(--ink);font-family:var(--hd);transition:background .9s,color .6s}
html{scroll-behavior:auto}
/* L240 · hero */
@keyframes fadein{to{opacity:1}}
/* L419 · ===== v2 overrides: serif type, soft hover rise, clear watercolor, space feel ===== */
:root{--hd:'Newsreader','Shippori Mincho',serif;--body:'Zen Kaku Gothic New',system-ui,sans-serif;--page:#FBFCFE;--wf1:#FFFFFF;--wf2:#D9E8F6;--ws:rgba(51,102,153,.38);--wl:rgba(51,102,153,.26);--wa:#336699;--wd:#336699;--wg:#8FB8DE;--logo-t:#212121}
body[data-world=cosmic]{--page:#050B16;--wf1:#17375F;--wf2:#050B16;--ws:rgba(127,176,230,.55);--wl:rgba(127,176,230,.3);--wa:#7FB0E6;--wd:#BFD9F5;--wg:#4A82C8;--logo-t:#EAF0F7;--panel:rgba(6,14,28,.5)}
body{font-family:var(--body)}
/* L431 · page + hero: clear, airy watercolor */
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(900px 620px at 6% 8%,rgba(190,220,246,.5),transparent 62%),radial-gradient(800px 600px at 96% 34%,rgba(228,222,248,.5),transparent 62%),radial-gradient(1000px 700px at 36% 100%,rgba(252,232,214,.45),transparent 62%)}
body[data-world=cosmic]::before{background:radial-gradient(900px 620px at 6% 8%,rgba(30,70,140,.38),transparent 62%),radial-gradient(800px 600px at 96% 34%,rgba(70,40,140,.3),transparent 62%),radial-gradient(1000px 700px at 36% 100%,rgba(15,80,120,.32),transparent 62%)}
body[data-world=cosmic]::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22600%22%20height%3D%22600%22%3E%3Ccircle%20cx%3D%22136%22%20cy%3D%22577%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.38%22%2F%3E%3Ccircle%20cx%3D%2226%22%20cy%3D%2282%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.51%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%22292%22%20r%3D%221.3%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.57%22%2F%3E%3Ccircle%20cx%3D%22115%22%20cy%3D%22498%22%20r%3D%220.6%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.57%22%2F%3E%3Ccircle%20cx%3D%22455%22%20cy%3D%22421%22%20r%3D%221.3%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.56%22%2F%3E%3Ccircle%20cx%3D%22547%22%20cy%3D%22436%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.31%22%2F%3E%3Ccircle%20cx%3D%22489%22%20cy%3D%22232%22%20r%3D%221.3%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.32%22%2F%3E%3Ccircle%20cx%3D%2235%22%20cy%3D%22141%22%20r%3D%220.6%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.57%22%2F%3E%3Ccircle%20cx%3D%22390%22%20cy%3D%22541%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.64%22%2F%3E%3Ccircle%20cx%3D%22324%22%20cy%3D%2222%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.35%22%2F%3E%3Ccircle%20cx%3D%22516%22%20cy%3D%22274%22%20r%3D%221.3%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.44%22%2F%3E%3Ccircle%20cx%3D%22214%22%20cy%3D%22527%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.35%22%2F%3E%3Ccircle%20cx%3D%22361%22%20cy%3D%22319%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.71%22%2F%3E%3Ccircle%20cx%3D%22570%22%20cy%3D%22506%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.45%22%2F%3E%3Ccircle%20cx%3D%22213%22%20cy%3D%22171%22%20r%3D%220.6%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.78%22%2F%3E%3Ccircle%20cx%3D%22514%22%20cy%3D%22548%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.47%22%2F%3E%3Ccircle%20cx%3D%22545%22%20cy%3D%22177%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.42%22%2F%3E%3Ccircle%20cx%3D%22254%22%20cy%3D%22226%22%20r%3D%221.3%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.36%22%2F%3E%3Ccircle%20cx%3D%22238%22%20cy%3D%22100%22%20r%3D%220.6%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.38%22%2F%3E%3Ccircle%20cx%3D%22460%22%20cy%3D%22180%22%20r%3D%220.6%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.77%22%2F%3E%3Ccircle%20cx%3D%22228%22%20cy%3D%22502%22%20r%3D%221.3%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.84%22%2F%3E%3Ccircle%20cx%3D%2283%22%20cy%3D%22338%22%20r%3D%221.3%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.52%22%2F%3E%3Ccircle%20cx%3D%22353%22%20cy%3D%22173%22%20r%3D%220.6%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.27%22%2F%3E%3Ccircle%20cx%3D%22398%22%20cy%3D%22459%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.35%22%2F%3E%3Ccircle%20cx%3D%22562%22%20cy%3D%22293%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.89%22%2F%3E%3Ccircle%20cx%3D%2238%22%20cy%3D%2210%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.47%22%2F%3E%3Ccircle%20cx%3D%22395%22%20cy%3D%2272%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.48%22%2F%3E%3Ccircle%20cx%3D%22579%22%20cy%3D%222%22%20r%3D%221.3%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.39%22%2F%3E%3Ccircle%20cx%3D%22525%22%20cy%3D%2220%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.37%22%2F%3E%3Ccircle%20cx%3D%22582%22%20cy%3D%22265%22%20r%3D%220.6%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.38%22%2F%3E%3Ccircle%20cx%3D%22134%22%20cy%3D%22487%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.50%22%2F%3E%3Ccircle%20cx%3D%2265%22%20cy%3D%22433%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.72%22%2F%3E%3Ccircle%20cx%3D%22309%22%20cy%3D%2254%22%20r%3D%221.3%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.62%22%2F%3E%3Ccircle%20cx%3D%22490%22%20cy%3D%22273%22%20r%3D%220.6%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.38%22%2F%3E%3Ccircle%20cx%3D%22268%22%20cy%3D%2265%22%20r%3D%220.6%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.71%22%2F%3E%3Ccircle%20cx%3D%22367%22%20cy%3D%2214%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.79%22%2F%3E%3Ccircle%20cx%3D%22317%22%20cy%3D%22587%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.58%22%2F%3E%3Ccircle%20cx%3D%22194%22%20cy%3D%22230%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.25%22%2F%3E%3Ccircle%20cx%3D%22368%22%20cy%3D%22545%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.85%22%2F%3E%3Ccircle%20cx%3D%22589%22%20cy%3D%22134%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.30%22%2F%3E%3Ccircle%20cx%3D%22252%22%20cy%3D%22447%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.59%22%2F%3E%3Ccircle%20cx%3D%22375%22%20cy%3D%22574%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.67%22%2F%3E%3Ccircle%20cx%3D%2266%22%20cy%3D%22291%22%20r%3D%221.3%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.87%22%2F%3E%3Ccircle%20cx%3D%22508%22%20cy%3D%22187%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.51%22%2F%3E%3Ccircle%20cx%3D%22230%22%20cy%3D%22551%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.78%22%2F%3E%3Ccircle%20cx%3D%22363%22%20cy%3D%22217%22%20r%3D%221.3%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.38%22%2F%3E%3Ccircle%20cx%3D%22494%22%20cy%3D%22304%22%20r%3D%220.6%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.42%22%2F%3E%3Ccircle%20cx%3D%2241%22%20cy%3D%22440%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.89%22%2F%3E%3Ccircle%20cx%3D%22468%22%20cy%3D%22375%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.89%22%2F%3E%3Ccircle%20cx%3D%22164%22%20cy%3D%22495%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.43%22%2F%3E%3Ccircle%20cx%3D%22533%22%20cy%3D%22247%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.41%22%2F%3E%3Ccircle%20cx%3D%22149%22%20cy%3D%22303%22%20r%3D%221.3%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.41%22%2F%3E%3Ccircle%20cx%3D%22488%22%20cy%3D%22358%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.49%22%2F%3E%3Ccircle%20cx%3D%22468%22%20cy%3D%22476%22%20r%3D%221.3%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.30%22%2F%3E%3Ccircle%20cx%3D%22102%22%20cy%3D%22340%22%20r%3D%221.3%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.85%22%2F%3E%3Ccircle%20cx%3D%22472%22%20cy%3D%2282%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.70%22%2F%3E%3Ccircle%20cx%3D%2252%22%20cy%3D%22278%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.85%22%2F%3E%3Ccircle%20cx%3D%2256%22%20cy%3D%22364%22%20r%3D%220.6%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.46%22%2F%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%22552%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.67%22%2F%3E%3Ccircle%20cx%3D%22220%22%20cy%3D%22497%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.72%22%2F%3E%3Ccircle%20cx%3D%22360%22%20cy%3D%22192%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.73%22%2F%3E%3Ccircle%20cx%3D%22580%22%20cy%3D%2240%22%20r%3D%220.6%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.85%22%2F%3E%3Ccircle%20cx%3D%22366%22%20cy%3D%22261%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.42%22%2F%3E%3Ccircle%20cx%3D%22234%22%20cy%3D%22259%22%20r%3D%220.6%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.31%22%2F%3E%3Ccircle%20cx%3D%22134%22%20cy%3D%22176%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.47%22%2F%3E%3Ccircle%20cx%3D%22119%22%20cy%3D%22567%22%20r%3D%220.6%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.61%22%2F%3E%3Ccircle%20cx%3D%22442%22%20cy%3D%22495%22%20r%3D%221.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.44%22%2F%3E%3Ccircle%20cx%3D%22145%22%20cy%3D%22300%22%20r%3D%220.6%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.62%22%2F%3E%3Ccircle%20cx%3D%22562%22%20cy%3D%22598%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.40%22%2F%3E%3Ccircle%20cx%3D%22131%22%20cy%3D%22104%22%20r%3D%220.8%22%20fill%3D%22%23fff%22%20fill-opacity%3D%220.75%22%2F%3E%3C%2Fsvg%3E);opacity:.75}
/* L481 · ===== v3: sakura palette, watercolor hero, Three Webs tabs, minimal decoration ===== */
:root{--page:#F8F5ED;--ink:#344B5A;--mut:#5C7586;--acc:#336699;--line:rgba(52,75,90,.14);--card:rgba(255,255,255,.62);--card-bd:rgba(255,255,255,.9);--shadow:rgba(52,75,90,.45);--art-bg:#E4EDF1;--g1:#718A9D;--g2:#EBCAD2;--g3:#B9C9D5;--panel:#E6EEF2;--mdot:113,138,157;--mline:113,138,157;--mhi:235,202,210;--nav-ink:#344B5A}
body[data-world=cosmic]{--mdot:205,224,246;--mline:127,176,230;--mhi:159,208,255}
/* L629 · ===== v8: original-style header, simple footer, varied sakura decoration ===== */
:root{--navh:72px}
body{padding-top:var(--navh)}
/* L684 · ===== v17: one consistent page-header system (both worlds) ===== */
:root{--ph-pt:clamp(56px,5.6vw,80px);--gx:url("/image/site/headers/galaxy.webp")}
/* L784 · ===== v15: subtle abstract cover designs for the gallery (Sakura + Cosmic palettes) ===== */
:root{--abg:#F6F1EA;--ab:rgba(185,201,213,.55);--abd:rgba(150,172,192,.5);--ap:rgba(235,202,210,.5);--apd:rgba(228,176,190,.6);--alb:rgba(113,138,157,.65);--alp:rgba(213,150,166,.7);--adb:#8FA8BF;--adp:#E7AFBD}
body[data-world=cosmic]{--abg:#0A1628;--ab:rgba(66,108,190,.34);--abd:rgba(90,140,220,.5);--ap:rgba(128,90,210,.3);--apd:rgba(160,120,240,.5);--alb:rgba(127,176,230,.75);--alp:rgba(172,142,242,.75);--adb:#8DB8F0;--adp:#B79CF2}
/* L833 · Cosmic world: serif display headings (as on the homepage) + clean sans body text */
body[data-world=cosmic]{font-family:Inter,'Zen Kaku Gothic New',system-ui,sans-serif}
/* L843 · ===== v20: phone fixes ===== */
html{overflow-x:clip}
/* L1288 · Sakura world: a soft dawn of blossom pink, misty blue and warm cream behind every page (fi */
body:not([data-world=cosmic])::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
 background:radial-gradient(55% 45% at 88% 8%,rgba(242,184,202,.55),rgba(242,184,202,0) 70%),
  radial-gradient(50% 45% at 6% 42%,rgba(184,208,236,.55),rgba(184,208,236,0) 70%),
  radial-gradient(48% 40% at 70% 70%,rgba(226,200,232,.42),rgba(226,200,232,0) 70%),
  radial-gradient(60% 40% at 18% 100%,rgba(246,206,214,.5),rgba(246,206,214,0) 70%),
  linear-gradient(180deg,#F7EBEE 0%,#F3EEF3 45%,#EEF1F7 100%)}
body:not([data-world=cosmic]){background:#F4EDF1}
@supports (animation-timeline:view()){
/* L1336 · 2) Gallery & Partners: the cards part to the sides as you scroll, revealing the line in th */
@property --p{syntax:'<number>';inherits:true;initial-value:0}
}
/* L1418 · (5) Sakura colour: richer blossom tones that drift very slowly (fixed layer, GPU only) */
body:not([data-world=cosmic])::before{background:linear-gradient(180deg,#FBEAF0 0%,#F6EAF3 40%,#ECEEF8 75%,#F8EAEE 100%)}
/* L1513 · ===== v50 (Nov 6): "Blueberry Hydrangea" palette for the whole Sakura world (v50b: one con */
body:not([data-world=cosmic]){--ink:#1E3D62;--mut:#3F5B78;--acc:#336699;--line:rgba(30,61,98,.16);--card:rgba(255,255,255,.62);--card-bd:rgba(255,255,255,.85);
 --nav-ink:#1E3D62;--bar:#EEF3F8;position:relative;background:#F5EAEE}
/* L1516 · one page-long colour flow (scrolls with the page, so it changes as you go down) */
body:not([data-world=cosmic])::before{position:absolute!important;inset:0!important;height:auto;min-height:100%;
 background:linear-gradient(180deg,#DCE8F2 0px,#CEDDEB 520px,#D2D9EC 38%,#DFDAEC 62%,#EEE0E8 82%,#F5EAEE 100%)!important}
/* L1645 · v57: soft clouds drifting slowly across the header painting (Sakura only) */
@keyframes hclDrift{0%{opacity:0;transform:translate3d(-110%,0,0)}10%{opacity:1}90%{opacity:1}100%{opacity:0;transform:translate3d(320%,-6%,0)}}
/* L1707 · v65: Cosmic header banner = new Milky Way picture; in both worlds the banner melts into th */
body[data-world=cosmic]{background:#040A15}
/* L1750 · v69: banners keep the picture's own proportions (3:1) so they are not over-zoomed; Cosmic  */
body[data-world=cosmic]:not([data-page=home]):not([data-page=contact]){background:linear-gradient(180deg,#0A1428 0px,#162549 380px,#14224A 1200px,#0E1838 100%)!important}
