/* nipponshinwa.com / .jp — direction C "Kamiarizuki" (founder pick, 2026-12-05)
   IDEA: the tenth lunar month, when tradition says every god in Japan travels to Izumo. The night map with a line
   of light from every prefecture converging on Izumo is the signature, and the logo ("the gathering") is that map in
   miniature. Shimane is the moat, so Izumo is always the brightest point on the page.
   COLOUR: night navy ground, cream ink, ONE gold for Izumo and actions. Long reading pages switch to a light
   "paper" mode (body.article) so articles stay comfortable; the first screen keeps the night.
   TYPE: Shippori Mincho for headings and text (Japanese and Latin), Zen Kaku Gothic New for labels and UI.
   Self-hosted, subset per site at build time. No other server is contacted.
   Backup logo: option 3 "the brush" (design/2026-12-directions/logos.html). */
@font-face{font-family:SM;src:url(fonts/sm-400.woff2?v=9546ff28) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:SM;src:url(fonts/sm-700.woff2?v=ae2ea4ce) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:ZKG;src:url(fonts/zkg-400.woff2?v=dcde2b0a) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:ZKG;src:url(fonts/zkg-700.woff2?v=ad60e09c) format("woff2");font-weight:700;font-display:swap}
:root{color-scheme:dark;--night:#0f1a2b;--night-2:#16243a;--land:#1b2a42;--line:#2c3f5e;--ink:#efe7d6;--muted:#b9b1a2;
--gold:#e0a95b;--gold-hi:#fff4dc;--paper:#f6f1e7;--paper-ink:#1b1712;--paper-muted:#5d554b;--paper-rule:#dcd2bf;--paper-gold:#8a5a12;
--serif:SM,"Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",Georgia,serif;--sans:ZKG,"Hiragino Sans","Yu Gothic","Noto Sans JP",system-ui,sans-serif}
*{box-sizing:border-box;min-width:0}
html{background:var(--night);color:var(--ink)}
body{margin:0;font-family:var(--serif);font-size:17px;font-weight:400;line-height:1.85;overflow-x:clip}
:lang(ja) h1,:lang(ja) h2,:lang(ja) h3{word-break:auto-phrase}
a{color:var(--gold)}
a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
/* header + logo */
.top{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem max(4vw,16px);position:relative;z-index:2}
.brand{display:block;line-height:0;--logo-ink:var(--ink);--logo-gold:var(--gold);--logo-dot:var(--gold-hi)}
.logo{height:40px;width:auto}
.lang{font:400 .92rem var(--sans);color:var(--muted);text-decoration:none;padding:.6rem .2rem}
.lang:hover{color:var(--ink);text-decoration:underline}
/* home: the gathering */
.hero{display:grid;grid-template-columns:minmax(20rem,34rem) minmax(0,1fr);align-items:center;gap:1rem;
  min-height:calc(100svh - 72px);padding:0 0 0 max(4vw,16px)}
.copy{padding:2rem 0 3rem;position:relative;z-index:1}
.kicker{font:700 .85rem var(--sans);letter-spacing:.14em;color:var(--gold);margin:0}
.hero h1{font:700 clamp(2.3rem,4.4vw,3.8rem)/1.15 var(--serif);margin:.8rem 0 1.2rem;text-wrap:balance}
.lede{font-size:1.08rem;color:#d8cfbe;margin:0 0 1.4rem;max-width:36ch}
:lang(ja) .lede{max-width:25em}
.status{font:700 .9rem var(--sans);color:var(--night);background:var(--gold);display:inline-block;padding:.55rem .9rem;margin:0}
.gmap{width:100%;height:auto;max-height:calc(100svh - 72px);display:block}
.gmap .land{fill:var(--land);stroke:var(--line);stroke-width:1.2}
.gmap .shimane{fill:var(--gold);stroke:#f4d39c;stroke-width:1.5}
.gmap .arc{fill:none;stroke:var(--gold);stroke-width:1.3;opacity:.55;stroke-dasharray:900;animation:go 3.2s ease-in-out both}
.gmap .src{fill:var(--ink);opacity:.7}
.gmap .glow{fill:var(--gold);opacity:.25}.gmap .izumo{fill:var(--gold-hi)}
.gmap .iz-l{font:700 34px var(--sans);fill:var(--gold-hi)}
.gmap .d1{animation-delay:.18s}.gmap .d2{animation-delay:.36s}.gmap .d3{animation-delay:.54s}
.gmap .d4{animation-delay:.72s}.gmap .d5{animation-delay:.9s}.gmap .d6{animation-delay:1.08s}
.gmap .d7{animation-delay:1.26s}.gmap .d8{animation-delay:1.44s}.gmap .d9{animation-delay:1.62s}
.gmap .d10{animation-delay:1.8s}.gmap .d11{animation-delay:1.98s}
@keyframes go{from{stroke-dashoffset:900}to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.gmap .arc{animation:none}}
/* home: what is coming */
.coming{background:var(--night-2);border-top:1px solid var(--line);padding:clamp(2.5rem,6vw,4.5rem) max(4vw,16px)}
.coming h2{font:700 clamp(1.5rem,2.6vw,2rem)/1.3 var(--serif);margin:0 0 1.6rem;max-width:30em}
.cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;max-width:1180px}
.cols h3{font:700 1.1rem/1.4 var(--serif);margin:0 0 .4rem;color:var(--gold)}
.cols p{margin:0;color:#d8cfbe;font-size:1rem}
.related{max-width:1180px;margin-top:2.4rem;padding-top:1.2rem;border-top:1px solid var(--line);font:400 .95rem/1.8 var(--sans);color:var(--muted)}
.related a{color:var(--ink)}
/* articles: paper reading mode */
body.article{background:var(--paper);color:var(--paper-ink);color-scheme:light}
body.article .top{border-bottom:1px solid var(--paper-rule)}
body.article .brand{--logo-ink:var(--paper-ink);--logo-gold:#b88435;--logo-dot:#a3271f}
body.article .lang{color:var(--paper-muted)}
body.article main{max-width:40rem;margin:0 auto;padding:3rem 1.25rem}
body.article a{color:var(--paper-gold)}
/* footer */
footer{padding:1.4rem max(4vw,16px) 2rem;font:400 .85rem/1.7 var(--sans);color:var(--muted);border-top:1px solid var(--line)}
footer p{margin:.1rem 0}footer a{color:var(--muted)}
body.article footer{border-color:var(--paper-rule);color:var(--paper-muted)}body.article footer a{color:var(--paper-muted)}
@media (max-width:820px){
  .logo{height:32px}
  .hero{grid-template-columns:1fr;padding:0 max(4vw,16px);min-height:0}
  .copy{padding:1.2rem 0 .4rem}
  .hero h1{font-size:2.1rem;margin:.5rem 0 .8rem}
  .lede{font-size:1rem}
  .gmap{max-height:none;width:100%}
  .cols{grid-template-columns:1fr;gap:1.4rem}
}
