/* Yokai Road: the marketing page only (privacy.html and support.html use yokai.css).
   The page is a scroll: a hanging scroll unrolls onto the live game, a road runs down the page
   with a yōkai walking it, the twelve maps slide past as a handscroll. Every board on the page is
   the game's own engine (engine/, byte copies of the game's www/js). Light only, on purpose:
   it's paper and ink. */
@font-face { font-family: "Yuji Mai"; src: url("fonts/yuji-mai.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Yuji Mai"; src: url("fonts/yuji-mai-kanji.woff2") format("woff2"); unicode-range: U+3000-9FFF; font-display: swap; }
@font-face { font-family: "Yuji Syuku"; src: url("fonts/yuji-syuku.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Yuji Syuku"; src: url("fonts/yuji-syuku-kanji.woff2") format("woff2"); unicode-range: U+3000-9FFF; font-display: swap; }
@font-face { font-family: "Shippori Mincho"; src: url("fonts/shippori-mincho.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Shippori Mincho"; src: url("fonts/shippori-mincho-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #f4efe4;
  --paper-2: #ebe2cf;
  --paper-3: #e2d7c0;
  --ink: #16130f;
  --ink-2: #3b352d;
  --grey: #7c7466;
  --rule: #d3c7ae;
  --red: #c23b22;
  --mount: #1b1814;
  --mount-2: #26221c;
  --mount-ink: #efe8d8;
  --mount-muted: #b2a893;
  --gold: #b48d52;
  --display: "Yuji Mai", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --head: "Yuji Syuku", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --body: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif", Georgia, serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.65 var(--body);
  overflow-x: clip;
  background-image:
    radial-gradient(90% 50% at 10% 0%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(70% 40% at 100% 30%, rgba(214,200,170,.35), transparent 70%),
    radial-gradient(80% 50% at 0% 70%, rgba(214,200,170,.28), transparent 70%);
}
img, canvas { display: block; max-width: 100%; }
a { color: var(--red); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.nw { white-space: nowrap; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: calc(var(--gutter) + 14px); padding-right: calc(var(--gutter-r) + 14px); }
@media (min-width: 900px) { .wrap { padding-left: 72px; padding-right: 72px; } }

/* the macron the fonts don't have: a brushed bar over the vowel */
.mac { position: relative; display: inline-block; }
.mac::after {
  content: ""; position: absolute; left: 22%; right: 20%; top: 0.08em; height: 0.07em;
  background: currentColor; border-radius: 40% 60% 50% 50% / 50%; transform: rotate(-4deg);
}

/* ------------------------------------------------------------------ top bar */
.top {
  position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding-top: 14px; font-size: 14px;
}
.top a { color: var(--ink-2); text-decoration: none; }
.top a:hover { color: var(--red); }
.listen {
  position: fixed; z-index: 20; right: max(14px, env(safe-area-inset-right, 0px)); bottom: max(14px, env(safe-area-inset-bottom, 0px));
  display: none; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 99px;
  border: 1px solid rgba(22,19,15,.25); background: rgba(244,239,228,.92); color: var(--ink);
  font: 600 14px/1 var(--body); cursor: pointer; box-shadow: 0 6px 22px rgba(22,19,15,.16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.js .listen { display: inline-flex; }
.listen .bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.listen .bars i { width: 3px; height: 4px; background: var(--ink); border-radius: 1px; }
.listen[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.listen[aria-pressed="true"] .bars i { background: var(--paper); animation: eq 1.1s ease-in-out infinite; }
.listen[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: -.35s; }
.listen[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* ------------------------------------------------------------------ the road */
#roadlayer { position: absolute; left: 0; top: 0; width: 100%; height: 0; overflow: hidden; pointer-events: none; z-index: 0; }
#road { position: absolute; left: 0; top: 0; width: 100%; overflow: visible; }
#road path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
#road .bed { stroke: rgba(22,19,15,.07); }
#road .ink { stroke: rgba(22,19,15,.62); }
#walker { position: absolute; left: 0; top: 0; width: 56px; height: 56px; margin: -28px 0 0 -28px; pointer-events: none; z-index: 0; will-change: transform; }
.road-flower { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; pointer-events: none; z-index: 0;
  transform: scale(0) rotate(-30deg); opacity: 0; transition: transform .9s cubic-bezier(.2,1.4,.4,1), opacity .4s; }
.road-flower.on { transform: scale(1) rotate(0); opacity: 1; }
main, header.hero, footer { position: relative; z-index: 1; }

/* ------------------------------------------------------------------ hero */
.hero { padding: 18px 0 110px; overflow-x: clip; }
.sec, footer { overflow-x: clip; }
.hero .wrap.main { display: grid; gap: 34px; align-items: center; }
.hero .wrap.main > * { min-width: 0; }
.hero .wrap.main { padding-top: 22px; }
@media (min-width: 900px) { .hero .wrap.main { grid-template-columns: 1.1fr .9fr; gap: 48px; min-height: min(88vh, 860px); } }
.eyebrow { margin: 0 0 10px; font: 600 13px/1.4 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
h1 { margin: 0; font-weight: 400; line-height: 1; }
h1 .logo {
  display: block; font: 400 clamp(60px, 20vw, 136px)/0.98 var(--display); letter-spacing: 0; color: var(--ink);
  white-space: nowrap;
}
h1 .logo .w { display: block; }
h1 .sub { display: block; margin-top: 14px; font: 400 clamp(20px, 4.4vw, 30px)/1.2 var(--head); letter-spacing: .06em; color: var(--ink-2); }
.js h1 .logo .w { -webkit-mask-image: linear-gradient(100deg, #000 40%, transparent 60%); mask-image: linear-gradient(100deg, #000 40%, transparent 60%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; animation: brush 1.5s cubic-bezier(.5,0,.2,1) .15s forwards; }
.js h1 .logo .w + .w { animation-delay: .55s; }
@keyframes brush { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.lede { margin: 26px 0 0; max-width: 34rem; font-size: clamp(18px, 2.4vw, 21px); color: var(--ink-2); text-wrap: pretty; }
.get { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.soon {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border-radius: 10px;
  background: var(--ink); color: var(--paper); font: 600 15px/1.2 var(--body);
}
.soon .apple { width: 20px; height: 24px; fill: currentColor; }
.soon small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; font-weight: 400; }
.badge img { display: block; height: 54px; width: auto; }
.promise { margin: 18px 0 0; font-size: 15px; color: var(--grey); letter-spacing: .02em; }
.promise b { color: var(--ink); font-weight: 600; }

/* the hanging scroll */
.kakejiku { position: relative; margin: 0 auto; width: min(100%, 430px, calc(74svh * 0.6)); padding-top: 34px; }
@supports not (height: 1svh) { .kakejiku { width: min(100%, 430px, calc(74vh * 0.6)); } }
.kakejiku .cord { position: absolute; left: 50%; top: 0; width: 46%; height: 34px; transform: translateX(-50%); }
.kakejiku .cord::before, .kakejiku .cord::after { content: ""; position: absolute; top: 4px; width: 56%; height: 1.5px; background: #6b5434; transform-origin: 0 0; }
.kakejiku .cord::before { left: 50%; transform: rotate(146deg); }
.kakejiku .cord::after { left: 50%; transform: rotate(34deg); }
.kakejiku .nail { position: absolute; left: 50%; top: 0; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #5a4630; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.rod { position: relative; z-index: 2; height: 14px; border-radius: 7px; background: linear-gradient(#5d4630, #3a2a1b 60%, #2a1e13); box-shadow: 0 3px 6px rgba(0,0,0,.25); }
.rod.top { margin: 0 -2%; height: 12px; }
.rod.bottom { margin: 0 -7%; height: 18px; border-radius: 9px; }
.rod.bottom::before, .rod.bottom::after { content: ""; position: absolute; top: -3px; width: 26px; height: 24px; border-radius: 6px; background: radial-gradient(circle at 40% 35%, #d8b77c, var(--gold) 45%, #6e5229); }
.rod.bottom::before { left: -20px; } .rod.bottom::after { right: -20px; }
.silk {
  position: relative; padding: 9% 7% 16%; background: #2d3343;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 9px), repeating-linear-gradient(-45deg, rgba(0,0,0,.08) 0 2px, transparent 2px 9px), linear-gradient(#323a4d, #262b39);
  box-shadow: inset 0 0 0 4px #3b4459, 0 22px 40px rgba(22,19,15,.28);
}
.silk::before, .silk::after { content: ""; position: absolute; left: 0; right: 0; height: 5%; background: #6b2a1f; }
.silk::before { top: 3.5%; } .silk::after { bottom: 8%; }
.paper { position: relative; aspect-ratio: 616 / 1072; background: #f4efe4; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.45); }
.paper canvas, .paper .poster, .frame canvas, .frame .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.paper canvas, .frame canvas { opacity: 0; transition: opacity .6s; }
.paper canvas.on, .frame canvas.on { opacity: 1; }
.kakejiku figcaption { margin-top: 18px; text-align: center; font-size: 13px; color: var(--grey); letter-spacing: .04em; }
.js .kakejiku .body { clip-path: inset(0 0 100% 0); animation: unroll 2.1s cubic-bezier(.65,.02,.2,1) .35s forwards; }
.js .kakejiku .rodtrack { transform: translateY(calc(-100% + 18px)); animation: rod 2.1s cubic-bezier(.65,.02,.2,1) .35s forwards; }
.kakejiku .stage { position: relative; }
.kakejiku .rodtrack { position: absolute; left: 0; right: 0; top: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; z-index: 3; pointer-events: none; }
@keyframes unroll { to { clip-path: inset(0 0 0 0); } }
@keyframes rod { to { transform: translateY(9px); } }
.kakejiku .rodtrack { --end: 9px; }
.js .kakejiku.hung { animation: sway 9s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes sway { 0%, 100% { transform: rotate(-.35deg); } 50% { transform: rotate(.35deg); } }
.stamp {
  position: absolute; z-index: 4; right: -3%; bottom: 12%; width: 22%; aspect-ratio: 1; display: grid; place-items: center;
  background: var(--red); color: #f4efe4; font: 400 clamp(26px, 6vw, 44px)/1 var(--head); border-radius: 6px 3px 7px 4px;
  box-shadow: inset 0 0 0 3px rgba(244,239,228,.8), inset 0 0 0 5px var(--red); transform: rotate(-7deg);
}
.js .stamp { opacity: 0; animation: thump .42s cubic-bezier(.2,.9,.3,1.3) 2.45s forwards; }
@keyframes thump { 0% { opacity: 0; transform: scale(2.6) rotate(-18deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: scale(1) rotate(-7deg); } }

/* ------------------------------------------------------------------ sections */
.sec { padding: 110px 0; }
@media (max-width: 640px) { .sec { padding: 92px 0; } }
.kanji { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; background: var(--red); color: #f4efe4;
  font: 400 26px/1 var(--head); border-radius: 5px 3px 6px 4px; box-shadow: inset 0 0 0 2px rgba(244,239,228,.7); transform: rotate(-4deg); }
h2 { margin: 0 0 18px; font: 400 clamp(34px, 6.2vw, 56px)/1.1 var(--head); letter-spacing: -0.035em; word-spacing: 0.08em; text-wrap: balance; }
h2 .stroke { position: relative; white-space: nowrap; }
h2 .stroke svg { position: absolute; left: -3%; bottom: -0.16em; width: 106%; height: .34em; overflow: visible; }
h2 .stroke path { fill: none; stroke: var(--red); stroke-width: 9; stroke-linecap: round; opacity: .85; }
.js h2 .stroke path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.6,0,.2,1) .2s; }
.js .seen h2 .stroke path { stroke-dashoffset: 0; }
.copy p { margin: 0 0 16px; max-width: 34rem; color: var(--ink-2); text-wrap: pretty; }
.copy p.small { font-size: 14px; color: var(--grey); }
.split { display: grid; gap: 40px; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.flip .copy { order: 2; } }
.frame {
  position: relative; width: min(100%, 420px, calc(76svh * 616 / 1072)); margin: 0 auto; aspect-ratio: 616 / 1072;
  background: #f4efe4; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(22,19,15,.5), 0 18px 40px rgba(22,19,15,.22);
}
@supports not (height: 1svh) { .frame { width: min(100%, 420px, calc(76vh * 616 / 1072)); } }
.frame.tap { cursor: crosshair; touch-action: manipulation; }
.frame .hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 2; padding: 6px 12px; border-radius: 99px;
  background: rgba(22,19,15,.78); color: #f4efe4; font-size: 13px; white-space: nowrap; pointer-events: none; transition: opacity .4s; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.chip { appearance: none; border: 1px solid var(--rule); background: rgba(255,255,255,.4); color: var(--ink-2); padding: 7px 13px; border-radius: 99px;
  font: 600 14px/1.2 var(--body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip:hover { border-color: var(--ink-2); }
.forms-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 14px; font-size: 14px; color: var(--ink-2); }
.forms-list b { color: var(--ink); }

/* the handscroll of maps */
.handscroll { position: relative; background: var(--mount); color: var(--mount-ink); }
.handscroll .pin { position: relative; }
.js .handscroll.slide .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.handscroll .head { padding-top: 70px; }
.js .handscroll.slide .head { padding-top: 0; }
.handscroll h2 { color: var(--mount-ink); }
.handscroll .copy p { color: var(--mount-muted); }
.track { display: flex; gap: 0; padding: 26px 0 70px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.js .handscroll.slide .track { overflow: visible; padding-bottom: 0; will-change: transform; }
.emaki { flex: 0 0 auto; display: flex; gap: 0; padding: 22px 0; background: linear-gradient(#e9dfca, #f1e9d8 8%, #f1e9d8 92%, #e3d7bf); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.emaki::before, .emaki::after { content: ""; flex: 0 0 22px; background: linear-gradient(90deg, #3a2a1b, #6a5236 40%, #2a1e13); border-radius: 10px; margin: -30px 0; }
.mapcard { flex: 0 0 auto; width: clamp(200px, 26vh, 290px); padding: 0 18px; scroll-snap-align: center; color: var(--ink); border-right: 1px dashed rgba(22,19,15,.18); }
.mapcard:last-of-type { border-right: 0; }
.mapcard .art { position: relative; aspect-ratio: 576 / 960; background: #e9e1cf; overflow: hidden; border-radius: 2px; }
.mapcard canvas { width: 100%; height: 100%; opacity: 0; transition: opacity .8s; }
.mapcard canvas.on { opacity: 1; }
.mapcard .num { position: absolute; top: 8px; right: 8px; writing-mode: vertical-rl; font: 400 22px/1 var(--head); color: var(--red); text-shadow: 0 0 6px #f4efe4; }
.mapcard h3 { margin: 12px 0 2px; font: 400 22px/1.2 var(--head); }
.mapcard p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.mapcard p i { font-style: normal; color: var(--grey); }
.emaki-start { flex: 0 0 auto; width: clamp(160px, 22vh, 240px); padding: 0 22px; display: flex; flex-direction: column; justify-content: center; color: var(--ink); }
.emaki-start .v { writing-mode: vertical-rl; font: 400 clamp(30px, 5vh, 44px)/1.2 var(--display); margin: 0 auto; }
.emaki-start .v .mac::after { left: auto; right: -0.08em; top: 12%; bottom: 12%; width: .075em; height: auto; }
.progress { margin: 18px 0 0; height: 2px; background: rgba(239,232,216,.15); }
.progress i { display: block; height: 100%; width: 0; background: var(--red); }

/* great yōkai */
.bestiary { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 36px; }
.beast { position: relative; padding: 14px 12px 14px; background: rgba(255,255,255,.38); border: 1px solid var(--rule); border-radius: 4px; text-align: center; }
.beast canvas { width: 92px; height: 92px; margin: 0 auto 8px; }
.beast b { display: block; font: 400 19px/1.2 var(--head); }
.beast span { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.4; margin-top: 3px; }
.beast small { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.js .beast canvas { filter: blur(7px) contrast(.2) brightness(1.8); transform: scale(.7) translateY(14px); opacity: .25;
  transition: filter 1s ease, transform 1.1s cubic-bezier(.2,1.3,.4,1), opacity .8s; transition-delay: var(--d, 0s); }
.js .seen .beast canvas { filter: none; transform: none; opacity: 1; }
.beast::before { content: ""; position: absolute; left: 50%; top: 16px; width: 96px; height: 96px; margin-left: -48px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,19,15,.10), rgba(22,19,15,.03) 55%, transparent 70%); }

/* weather tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }

/* the daily scroll */
.daily-card { margin-top: 20px; padding: 22px 22px 18px; background: #fbf8f1; border: 1px solid var(--rule); border-radius: 4px; max-width: 30rem; box-shadow: 0 10px 30px rgba(22,19,15,.08); }
.daily-card .date { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.daily-card h3 { margin: 4px 0 6px; font: 400 30px/1.15 var(--head); }
.daily-card p { margin: 0 0 4px; font-size: 15px; color: var(--ink-2); }
.grid20 { display: grid; grid-template-columns: repeat(5, 26px); gap: 6px; margin: 16px 0 6px; }
.grid20 i { width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 2px; background: transparent; transform: scale(.4); opacity: 0; transition: transform .35s cubic-bezier(.2,1.5,.4,1), opacity .2s, background .2s; }
.grid20 i.f { background: var(--ink); }
.grid20 i.on { transform: scale(1); opacity: 1; }
.no-js .grid20 i, html:not(.js) .grid20 i { transform: none; opacity: 1; }
pre.share { margin: 16px 0 0; padding: 14px 16px; background: var(--paper-2); border-radius: 3px; font: 14px/1.5 var(--body); white-space: pre-wrap; color: var(--ink); }
.rowmotif { display: flex; gap: 6px; justify-content: center; padding: 0; margin: 0; list-style: none; opacity: .5; }
.rowmotif li { width: 10px; height: 10px; border: 1.5px solid var(--ink); }
.rowmotif li.f { background: var(--ink); }

/* the hanging scroll of a run */
.hang { position: relative; width: min(100%, 360px); margin: 0 auto; padding-top: 20px; }
.hang .scroll-img { position: relative; aspect-ratio: 1080 / 1920; background: #d9cfbb; box-shadow: 0 24px 50px rgba(22,19,15,.3); }
.hang .scroll-img img { width: 100%; height: 100%; }
.hang .scroll-img .wait { position: absolute; inset: 0; display: grid; place-items: center; color: var(--grey); font-size: 14px; text-align: center; padding: 20px; }
.js .hang.hung { animation: sway 10s ease-in-out infinite; transform-origin: 50% 0; }

/* the score: koto strings */
.koto { position: relative; margin: 26px 0 0; padding: 20px 0; background: linear-gradient(#e4d4b4, #d8c39c); border-radius: 10px 40px 40px 10px / 10px 30px 30px 10px;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,.08), 0 16px 34px rgba(22,19,15,.18); max-width: 34rem; }
.koto button { appearance: none; display: grid; grid-template-columns: 82px 1fr 48px; align-items: center; gap: 10px; width: 100%; height: 30px; padding: 0 18px;
  border: 0; background: transparent; cursor: pointer; font: 600 12px/1 var(--body); color: var(--ink-2); }
.koto button .str { position: relative; height: 2px; background: linear-gradient(90deg, #6d5a3c, #f4ead6 30%, #b9a57f); border-radius: 1px; }
.koto button .str::after { content: ""; position: absolute; top: -7px; left: var(--ji, 50%); width: 10px; height: 16px; background: #f4efe4; border-radius: 2px 2px 0 0; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.koto button.pluck .str { animation: twang .5s ease-out; }
@keyframes twang { 0% { transform: scaleY(5); } 30% { transform: scaleY(-3); } 60% { transform: scaleY(1.6); } 100% { transform: none; } }
.koto button:hover .str { background: linear-gradient(90deg, #6d5a3c, #fff 30%, #c4af88); }
.koto .ratio { text-align: right; font-variant-numeric: tabular-nums; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.facts div { padding: 18px 10px 16px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font: 400 clamp(34px, 5vw, 46px)/1 var(--head); color: var(--ink); }
.facts dd { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.privacy-line { margin: 28px 0 0; padding: 16px 18px; border-left: 3px solid var(--red); background: rgba(255,255,255,.4); max-width: 44rem; font-size: 15px; color: var(--ink-2); }
details { border-bottom: 1px solid var(--rule); padding: 12px 0; max-width: 44rem; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 4px; color: var(--ink-2); }
.cta { text-align: center; }
.cta h2 { margin-bottom: 8px; }
.cta .get { justify-content: center; }

footer { padding: 60px 0 80px; text-align: center; font-size: 14px; color: var(--grey); }
footer .end { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; background: var(--red); color: #f4efe4; font: 400 34px/1 var(--head);
  border-radius: 7px 4px 8px 5px; box-shadow: inset 0 0 0 3px rgba(244,239,228,.75); transform: rotate(-5deg); }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 10px; }
footer a { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  .js h1 .logo .w, .js .kakejiku .body, .js .kakejiku .rodtrack, .js .stamp, .js .kakejiku.hung, .js .hang.hung { animation: none !important; }
  .js h1 .logo .w { -webkit-mask-image: none; mask-image: none; }
  .js .kakejiku .body { clip-path: none; }
  .js .kakejiku .rodtrack { transform: translateY(9px); }
  .js .stamp { opacity: 1; }
  .js .beast canvas { filter: none; transform: none; opacity: 1; transition: none; }
  .js h2 .stroke path { stroke-dashoffset: 0; transition: none; }
  .road-flower { transition: none; }
  .grid20 i { transition: none; }
}
