/*
Theme Name: KAGURA
Theme URI: https://example.org/kagura
Author: KAGURA Theme
Description: Landing page dan enam halaman panduan Kagura.
Version: 3.9.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kagura
*/
 
:root{--violet:#281736;--pink:#f4b3d5;--gold:#d6b28e}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;font-family:Georgia,"Times New Roman",serif;color:#fff;background:#281637 url("assets/kagura-clean-background.webp") center top / cover fixed no-repeat}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(24,10,38,.16),rgba(28,12,43,.32) 55%,rgba(23,10,40,.37))}
a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}img{max-width:100%;height:auto}
.container{width:min(1370px,calc(100% - 44px));margin:0 auto}
.site-header{position:relative;z-index:40;width:min(1370px,calc(100% - 44px));margin:15px auto 0;background:rgba(34,19,48,.88);border:1px solid #dca8b8;border-radius:14px;backdrop-filter:blur(12px);box-shadow:0 9px 25px #16092370}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:66px;padding:5px 20px}
.brand{display:flex;align-items:center;gap:12px;color:#ffd1e7;letter-spacing:1px;font-size:38px;white-space:nowrap}
.brand-mark{color:#f5a9ce;font-size:37px}
.site-nav{display:block}.nav-list{display:flex;align-items:center;list-style:none;margin:0;padding:0}
.nav-list li{border-left:1px solid #b88fa344}
.nav-list a{display:flex;align-items:center;gap:9px;padding:13px 15px;font-size:18px;color:#fbe1ed;transition:background .2s}
.nav-list a:hover,.nav-list .current_page_item a{background:#9b5a8860}
.nav-icon{font-size:21px;color:#f7bbd7}
.menu-toggle{display:none;color:#ffe4f0;border:1px solid #e5b5cc;background:#573465;border-radius:8px;padding:6px 12px}
.hero{text-align:center}
.hero-inner{padding:48px 0 28px}
.hero-flower{font-size:45px;line-height:1;color:#f9c4dc;text-shadow:0 0 16px #ef92c4}
.hero h1{margin:7px 0 3px;color:#ffd0e8;font-size:clamp(76px,7.3vw,115px);line-height:1;font-weight:400;letter-spacing:6px;text-shadow:0 4px 10px #401b52,0 0 28px #ec7dbd}
.eyebrow{color:#ffe2ef;letter-spacing:4px;font-size:18px}
.hero-line{height:37px;font-size:0;background:url("assets/divider.svg") center center/260px 65px no-repeat}
.hero p{max-width:790px;margin:8px auto 0;font-size:18px;line-height:1.7;color:#fff4fb;text-shadow:0 2px 10px #1c092d}
.landing-section{padding:8px 0 72px}
.page-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.page-card{position:relative;display:flex;flex-direction:column;align-items:center;overflow:hidden;min-height:318px;padding:0 11px 17px;text-align:center;border:1px solid #e8b5c6;border-radius:13px;background:linear-gradient(180deg,rgba(62,36,81,.87),rgba(34,18,51,.98) 57%);box-shadow:0 10px 35px #13071eb8;transition:transform .2s,box-shadow .2s}
.page-card::before,.page-card::after{content:"❀";position:absolute;z-index:3;color:#ffb5d4;font-size:19px}
.page-card::before{top:0;left:5px}.page-card::after{right:5px;bottom:0}
.card-art{display:block;width:calc(100% + 22px);height:126px;flex:none;background-position:center;background-size:cover;background-image:linear-gradient(180deg,transparent,#39244a33),url("assets/card-kisah.webp")}
.card-skin .card-art{background-image:linear-gradient(180deg,transparent,#39244a33),url("assets/card-skin.webp")}
.card-skill .card-art{background-image:linear-gradient(180deg,transparent,#39244a33),url("assets/card-skill.webp")}
.card-build .card-art{background-image:linear-gradient(180deg,transparent,#39244a33),url("assets/card-build.webp")}
.card-item .card-art{background-image:linear-gradient(180deg,transparent,#39244a33),url("assets/card-item.webp")}
.card-counter .card-art{background-image:linear-gradient(180deg,transparent,#39244a33),url("assets/card-counter.webp")}
.card-icon{z-index:2;display:grid;place-items:center;flex:none;width:58px;height:58px;margin:-27px 0 8px;border:2px solid #f1bbcf;border-radius:50%;background:#322044;box-shadow:0 0 0 4px #342148,0 0 20px #f5b4d077;color:#ffe0ed;font-size:29px}
.page-card h2{font-weight:400;color:#ffe1ed;font-size:27px;line-height:1.15;margin:3px 0 9px}
.page-card p{flex:1;color:#f4e6f1;font-size:13px;line-height:1.45;margin:0 0 14px}
.card-more{display:inline-block;border:1px solid #efbbd0;border-radius:40px;padding:6px 11px;background:linear-gradient(#805078,#4c2a51);font-size:12px;white-space:nowrap;color:#fff2fa}
.page-card:hover{transform:translateY(-6px);box-shadow:0 18px 44px #12061fdd}
.page-card:focus-visible,.nav-list a:focus-visible,.brand:focus-visible{outline:3px solid #fff;outline-offset:3px}
.site-footer{border-top:1px solid #d2a0b5;background:rgba(30,16,43,.86);backdrop-filter:blur(10px);padding:20px 0}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
.footer-brand{font-size:24px;color:#ffdaeb}.footer-note{font-size:11px;letter-spacing:3px;color:#f4c7da}.footer-small{font:11px Arial,sans-serif;color:#e5d0e1}
.page-wrap{min-height:76vh;padding:48px 0 95px}
.article-shell{width:min(930px,100%);margin:0 auto;padding:clamp(23px,5vw,64px);background:rgba(255,251,255,.97);border:2px solid #edc2dd;border-radius:16px;color:#34253f;box-shadow:0 18px 60px #160b25b5}
.article-shell h1,.article-shell h2,.article-shell h3{color:#643c82;line-height:1.28}
.article-shell h1{font-size:clamp(30px,4vw,46px)}
.article-shell h2{font-size:clamp(23px,3vw,31px);margin-top:36px}
.article-shell p,.article-shell li{font:17px/1.85 system-ui,sans-serif}
.article-shell a{color:#754492;text-decoration:underline}
.article-shell img{border-radius:10px}
.article-shell table{border-collapse:collapse;width:100%;font:15px/1.5 system-ui,sans-serif}
.article-shell td,.article-shell th{border:1px solid #e5cfe7;padding:11px}
.article-shell th{background:#f3e8f7}
.breadcrumbs{color:#73588a;font-size:13px}.article-intro{color:#826e8b;font:13px system-ui,sans-serif;margin-bottom:22px}
.entry-content{overflow-wrap:anywhere}.entry-content blockquote{margin:26px 0;padding:12px 22px;border-left:4px solid #b276b1;background:#f9f0f9}
.table-scroll{overflow-x:auto}
.toc{border:1px solid #e5c6e9;border-radius:10px;background:#f9f2fb;padding:14px 20px;margin:24px 0}
.toc summary{cursor:pointer;font-weight:700;color:#674080}
.toc ol{margin:12px 0;padding-left:24px}
.toc li{font-size:14px;line-height:1.7}.toc li.sub{margin-left:20px}
.guide-nav{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e6d0eb;padding-top:20px;margin-top:38px}
.guide-nav a{display:inline-block;padding:9px 16px;border-radius:30px;background:#6f4989;color:#fff;text-decoration:none}
.to-top{position:fixed;right:20px;bottom:20px;z-index:40;opacity:0;pointer-events:none;background:#513064;color:white;border:1px solid #e4b5d0;border-radius:50%;width:45px;height:45px;transition:opacity .2s}
.to-top.visible{opacity:1;pointer-events:auto}
body.kagura-custom-bg{background-image:var(--kagura-custom-background);background-size:cover;background-position:center;background-repeat:no-repeat}
@media(max-width:1180px){.brand{font-size:30px}.nav-list a{font-size:15px;padding:12px 9px}.page-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){body{background-attachment:scroll;background-position:38% top}.site-header{width:calc(100% - 24px);margin-top:10px}.menu-toggle{display:block}.site-nav{display:none;position:absolute;top:calc(100% + 5px);left:0;right:0;border:1px solid #d9a2bb;border-radius:10px;padding:9px;background:rgba(35,18,51,.98)}.site-nav.open{display:block}.nav-list{display:block}.nav-list li{border:0}.nav-list a{padding:12px}.hero-inner{padding:55px 0 23px}.page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-inner{justify-content:center;text-align:center}}
@media(max-width:520px){.container{width:calc(100% - 24px)}.brand{font-size:27px}.brand-mark{font-size:28px}.hero-inner{padding:48px 0 22px}.hero h1{font-size:62px}.hero-flower{font-size:37px}.eyebrow{font-size:12px}.hero p{font-size:15px}.desktop-break{display:none}.page-grid{gap:10px}.page-card{min-height:290px;padding:0 7px 12px}.card-art{height:98px;width:calc(100% + 14px)}.card-icon{width:50px;height:50px;font-size:24px}.page-card h2{font-size:23px}.page-card p{font-size:12px}.card-more{font-size:10px;padding:5px 7px}.footer-inner{flex-direction:column}.article-shell{padding:24px 17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.page-card,.to-top{transition:none}}

/* v1.8 scene and decorative layout refinements */
body{background-image:url("assets/kagura-v18-scene.webp");background-position:center top}
body::before{background:linear-gradient(90deg,rgba(25,9,39,.08),rgba(30,11,45,.22) 52%,rgba(26,10,43,.17))}
.site-header{border-color:#e4b7c8}
.site-header::before,.site-header::after{content:"";position:absolute;width:50px;height:50px;top:-5px;background:url("assets/corner-sakura.svg") center/contain no-repeat;pointer-events:none}
.site-header::before{left:-6px}
.site-header::after{right:-6px;transform:scaleX(-1)}
.brand{font-weight:400}
.hero-inner{padding-top:56px;padding-bottom:30px}
.hero h1{font-size:clamp(76px,7.6vw,120px);text-shadow:0 4px 9px #3b1b55,0 0 31px #f08fca}
.hero p{font-size:18px}
.landing-section{padding-top:12px}
.page-card{border-color:#f0b9c9}
.page-card::before,.page-card::after{content:"";width:39px;height:39px;background:url("assets/corner-sakura.svg") center/contain no-repeat}
.page-card::before{top:0;left:0}
.page-card::after{right:0;bottom:0;transform:rotate(180deg)}
.card-art{height:133px}
.page-card h2{font-size:27px}
.site-footer{background:rgba(28,13,42,.70);border-color:#d6a1b5}
.footer-inner{min-height:36px}
@media(min-width:1181px){.hero-inner{padding-top:55px}.page-card{min-height:325px}}
@media(max-width:800px){body{background-position:35% top;background-attachment:scroll}.hero-inner{padding-top:58px}}
@media(max-width:520px){.hero-inner{padding-top:42px}.hero h1{font-size:61px}.card-art{height:100px}.page-card h2{font-size:23px}}

/* v1.9: real moon illustration, hero moved away from Kagura's face, taller art cards */
body{background-image:url("assets/kagura-v19-scene.webp");background-position:center top}
body::before{background:linear-gradient(90deg,rgba(24,10,36,.06),rgba(25,10,40,.20) 52%,rgba(21,9,35,.16))}
@media(min-width:1100px){
 .hero-inner{max-width:860px;margin-left:auto;margin-right:clamp(45px,7vw,145px);padding-top:66px;padding-bottom:35px}
 .hero h1{font-size:clamp(82px,7.1vw,111px)}
 .page-card{min-height:350px}
 .card-art{height:150px}
 .page-card p{font-size:13px;line-height:1.55}
 .page-grid{gap:12px}
}
@media(min-width:800px) and (max-width:1099px){.hero-inner{padding-left:120px}}
@media(max-width:799px){body{background-position:38% top}.hero-inner{padding-left:0;margin-inline:auto}.card-art{height:120px}}
@media(max-width:520px){.hero-inner{padding-top:48px}.hero h1{font-size:61px}.card-art{height:102px}}

/* v2.0: layout proportion correction against original concept reference */
body{background-image:url("assets/kagura-v20-scene.webp")}
body::before{background:linear-gradient(90deg,rgba(24,10,36,.07),rgba(25,10,40,.21) 54%,rgba(21,9,35,.16))}
.site-header{width:min(1450px,calc(100% - 48px));border-color:#e9b8cb}
.header-inner{width:100%;max-width:none}
.landing-section>.container{width:min(1470px,calc(100% - 36px));max-width:none}
.page-grid{gap:13px}
.page-card{min-height:385px;padding:0 12px 21px;border:1.5px solid #e8b9c8;background:linear-gradient(180deg,rgba(62,36,81,.79),rgba(31,16,48,.98) 57%);box-shadow:0 12px 30px #1d0929a6}
.card-art{height:180px;width:calc(100% + 24px)}
.card-icon{width:62px;height:62px;margin-top:-31px;font-size:31px;border-color:#f5cad9}
.page-card h2{font-size:29px;margin:6px 0 9px}
.page-card p{font-size:14px;line-height:1.5;max-width:220px}
.card-more{font-size:13px;padding:8px 12px;border-color:#f4c7d7}
.hero-inner{padding-bottom:28px}
.site-footer{background:rgba(30,14,44,.37);border-top:1px solid #dbadc3;box-shadow:none;backdrop-filter:blur(5px)}
.footer-inner{min-height:28px}
@media(min-width:1200px){
 .hero-inner{max-width:760px;margin-left:auto;margin-right:clamp(135px,15vw,270px);padding-top:62px;padding-bottom:32px}
 .hero h1{font-size:clamp(86px,7.2vw,110px)}
 .page-card{min-height:385px}
 .card-art{height:180px}
}
@media(min-width:900px) and (max-width:1199px){
 .landing-section>.container{width:calc(100% - 36px)}
 .page-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .page-card{min-height:345px}
 .card-art{height:150px}
 .hero-inner{margin:0 auto;max-width:740px;padding-left:150px}
}
@media(max-width:899px){
 .landing-section>.container{width:calc(100% - 26px)}
 .page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .page-card{min-height:350px}
 .card-art{height:145px}
 .hero-inner{margin:0 auto;padding-left:0}
}
@media(max-width:520px){
 .page-grid{gap:10px}
 .page-card{min-height:305px;padding:0 8px 14px}
 .card-art{height:112px;width:calc(100% + 16px)}
 .card-icon{width:51px;height:51px;margin-top:-26px;font-size:25px}
 .page-card h2{font-size:23px}
 .page-card p{font-size:12px}
 .card-more{font-size:10px;padding:6px 7px}
 .hero h1{font-size:59px}
 .site-header{width:calc(100% - 24px)}
}


/* v2.1 — refined first-reference layout, legibility and responsive sizing */
:root{--kagura-rose:#f9c6de;--kagura-gold:#e6b89d}
html,body{min-height:100%}
body{background-color:#281934;background-size:cover;background-position:center top}
.site-header{margin-top:15px;box-shadow:0 10px 30px rgba(19,7,30,.44)}
.brand{font-weight:400;letter-spacing:1.5px}
.nav-list a{transition:background .2s,color .2s}
.nav-list a:hover,.nav-list a:focus-visible{color:#fff;background:rgba(190,119,170,.24)}
.hero h1{letter-spacing:3px;white-space:nowrap}
.hero p{max-width:650px;text-wrap:balance}
.page-card{border-color:rgba(247,191,215,.86);box-shadow:0 14px 35px rgba(20,6,35,.57)}
.page-card:hover{transform:translateY(-6px);box-shadow:0 20px 42px rgba(20,6,35,.72)}
.page-card h2{font-weight:400;text-shadow:0 2px 5px #210c2d}
.page-card p{font-family:Georgia,"Times New Roman",serif;text-wrap:pretty}
.card-more{transition:background .2s,transform .2s}
.page-card:hover .card-more{background:#975982;transform:translateY(-2px)}
.site-footer{background:rgba(27,13,40,.43);border-top:1px solid rgba(244,192,213,.6)}
.article-shell{box-shadow:0 18px 70px rgba(22,8,37,.66)}
.article-shell .entry-content{font-size:17px}
.article-shell .entry-content h2{scroll-margin-top:25px}
.article-shell .entry-content img{display:block;max-width:100%;height:auto;margin:20px auto}
.article-shell .entry-content iframe{max-width:100%}
@media(min-width:1200px){
 .hero-inner{max-width:690px;margin-left:auto;margin-right:clamp(90px,9vw,180px);padding-top:65px;padding-bottom:34px}
 .hero h1{font-size:clamp(83px,7vw,106px)}
 .page-grid{gap:12px}
 .page-card{min-height:385px}
 .card-art{height:178px}
 .page-card h2{font-size:29px}
 .page-card p{font-size:14px;line-height:1.5}
}
@media(min-width:1600px){
 .hero-inner{margin-right:clamp(130px,12vw,245px)}
}
@media(max-width:1199px) and (min-width:801px){
 .hero-inner{margin-inline:auto;padding-left:0}
 .page-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .page-card{min-height:365px}
 .card-art{height:168px}
}
@media(max-width:800px){
 .hero h1{white-space:normal}
 .site-header{width:calc(100% - 24px)}
 .page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .landing-section>.container{width:calc(100% - 24px)}
 .page-card{min-height:355px}
 .card-art{height:145px}
 .page-card p{font-size:13px}
 .hero-inner{max-width:100%;padding-left:0;padding-right:0}
 .hero p{padding-inline:12px}
}
@media(max-width:520px){
 body{background-position:36% top}
 .hero-inner{padding-top:45px;padding-bottom:20px}
 .hero h1{font-size:clamp(50px,14vw,65px)}
 .eyebrow{letter-spacing:2px}
 .page-card{min-height:315px;padding:0 8px 14px}
 .card-art{height:108px}
 .page-card h2{font-size:23px}
 .page-card p{font-size:12px;line-height:1.45}
 .card-more{font-size:10px;padding:6px 7px}
 .footer-inner{gap:10px}
}

/* KAGURA 2.2 — ornamental gold-and-sakura framing, balanced content layout */
:root{--kagura-gold:#e6b998;--kagura-pink:#f6bfdc}
.site-header{border:1px solid rgba(244,188,212,.8);outline:1px solid rgba(231,178,150,.24);outline-offset:3px}
.site-header::before,.site-header::after{width:60px;height:60px;top:-6px;background-image:url("assets/kagura-nav-ornament.svg");z-index:2}
.site-header::before{left:-6px}.site-header::after{right:-6px;transform:scaleX(-1)}
.brand-mark{filter:drop-shadow(0 0 6px #f5b1d5)}
.nav-list a{font-family:Georgia,"Times New Roman",serif}
.hero-line{filter:drop-shadow(0 0 8px #e4a4c7)}
.landing-section .page-grid{align-items:stretch}
.page-card{isolation:isolate;overflow:hidden;border:1px solid rgba(243,181,207,.65);border-radius:14px;box-shadow:0 10px 24px #17081d9c,inset 0 0 0 1px #f5c7dc33}
.page-card::before{content:"";position:absolute;inset:0;width:auto;height:auto;z-index:4;pointer-events:none;background:url("assets/kagura-card-frame.svg") center / 100% 100% no-repeat;opacity:.95}
.page-card::after{content:"";position:absolute;inset:0;width:auto;height:auto;z-index:1;pointer-events:none;transform:none;background:linear-gradient(180deg,transparent 26%,rgba(35,16,48,.35) 48%,transparent 58%)}
.card-art{position:relative;z-index:0;filter:saturate(1.12) contrast(1.06)}
.card-icon{position:relative;z-index:5;border-color:#f4c4d4;box-shadow:0 0 0 4px #342148,0 0 0 5px #d4a58d,0 0 22px #f5b4d077}
.page-card h2,.page-card p,.card-more{position:relative;z-index:5}
.page-card h2{color:#ffe0f0;letter-spacing:.2px}
.card-more{border-color:#edbdac;background:linear-gradient(180deg,#865273,#4c294d);box-shadow:inset 0 1px 0 #f6c5d055}
.card-more:hover{background:linear-gradient(180deg,#a96693,#6a3565)}
.page-card:hover{border-color:#fbe0cf;box-shadow:0 18px 38px #160920c9,0 0 18px #f3afcb44}
.site-footer{border-top:1px solid rgba(239,181,209,.55);background:linear-gradient(90deg,rgba(32,15,46,.58),rgba(35,17,51,.35),rgba(32,15,46,.58))}
.footer-brand{color:#ffdaed}
@media(min-width:1200px){.page-card{min-height:385px}.page-card h2{font-size:29px}}
@media(max-width:800px){.site-header::before,.site-header::after{width:43px;height:43px}.page-card::before{opacity:.85}}
@media(max-width:520px){.page-card h2{font-size:22px}.page-card{min-height:315px}.card-more{white-space:normal;text-align:center}}

/* v2.3: fix oversized desktop composition at 1366–1920px */
@media(min-width:1200px){
 .site-header{width:min(1440px,calc(100% - 72px));margin:14px auto 0}
 .header-inner{min-height:62px;padding:4px 22px}
 .brand{font-size:clamp(28px,2.15vw,37px)}
 .brand-mark{font-size:clamp(28px,2.1vw,36px)}
 .nav-list a{font-size:clamp(15px,1.03vw,18px);padding:12px 13px}
 .site-header::before,.site-header::after{width:39px;height:39px}
 .hero-inner{padding-top:30px;padding-bottom:18px;max-width:660px;margin-right:clamp(85px,9vw,180px)}
 .hero-flower{font-size:29px}
 .hero h1{font-size:clamp(70px,6vw,98px);line-height:1;margin-top:3px}
 .eyebrow{font-size:15px;letter-spacing:3px}
 .hero-line{height:28px;background-size:230px 54px}
 .hero p{font-size:16px;line-height:1.5;margin-top:3px}
 .landing-section{padding:6px 0 32px}
 .landing-section>.container{width:min(1440px,calc(100% - 72px))}
 .page-grid{gap:13px}
 .page-card{min-height:318px;padding:0 10px 13px}
 .card-art{height:122px}
 .card-icon{width:49px;height:49px;font-size:24px;margin:-23px 0 6px}
 .page-card h2{font-size:25px;margin:3px 0 6px}
 .page-card p{font-size:12px;line-height:1.4;margin-bottom:10px}
 .card-more{font-size:11px;padding:6px 10px}
 .page-card::before{opacity:.75}
 .site-footer{padding:12px 0}
}
@media(min-width:1200px) and (max-height:820px){
 .hero-inner{padding-top:17px;padding-bottom:11px}
 .hero-flower{font-size:25px}
 .hero h1{font-size:clamp(65px,5.5vw,84px)}
 .hero-line{height:24px}
 .landing-section{padding-top:3px;padding-bottom:24px}
 .page-card{min-height:294px}
 .card-art{height:111px}
 .page-card h2{font-size:24px}
 .site-footer{padding:9px 0}
}
@media(min-width:1200px) and (max-height:680px){
 .hero-inner{padding-top:10px;padding-bottom:7px}
 .hero h1{font-size:68px}
 .hero p{font-size:14px}
 .page-card{min-height:268px}
 .card-art{height:96px}
 .page-card p{font-size:11px}
}
@media(max-width:1199px){
 .site-header::before,.site-header::after{width:38px;height:38px}
 .page-card::before{opacity:.78}
}
@media(max-width:520px){
 .hero h1{font-size:clamp(49px,13vw,61px)}
 .page-card{min-height:305px}
 .card-art{height:105px}
 .page-card h2{font-size:22px}
 .card-more{max-width:100%;font-size:10px}
}

/* v2.4 — screenshot-based final proportions; retain the existing artwork. */
.site-footer{background:rgba(34,17,47,.32);backdrop-filter:blur(7px);border-top:1px solid rgba(237,189,210,.4)}
.page-card::before{opacity:.68}
.page-card{display:flex;flex-direction:column}
.page-card p{flex:0 0 auto}
.card-more{margin-top:auto}
@media(min-width:1200px){
 .site-header{width:min(1400px,calc(100% - 96px));margin-top:16px}
 .header-inner{min-height:60px}
 .hero-inner{transform:translateX(-38px);padding-top:22px;padding-bottom:14px}
 .hero h1{font-size:clamp(69px,5.6vw,90px)}
 .hero-flower{font-size:26px}
 .landing-section>.container{width:min(1440px,calc(100% - 104px))}
 .page-grid{gap:17px}
 .page-card{min-height:304px;padding:0 11px 14px}
 .card-art{height:122px}
 .page-card h2{font-size:25px;margin:5px 0 5px}
 .page-card p{font-size:12px;line-height:1.45;margin-bottom:8px}
 .card-more{margin-top:auto}
 .page-card::before{opacity:.65}
 .site-footer{padding:11px 0}
}
@media(min-width:1200px) and (max-height:820px){
 .hero-inner{padding-top:15px;padding-bottom:10px}
 .page-card{min-height:285px}
 .card-art{height:110px}
 .landing-section{padding-bottom:20px}
}
@media(min-width:1200px) and (max-height:680px){
 .hero-inner{padding-top:9px;padding-bottom:7px}
 .page-card{min-height:265px}
 .card-art{height:95px}
}
@media(max-width:1199px){.page-card p{flex:0 0 auto}.card-more{margin-top:auto}}
@media(max-width:800px){.hero-inner{transform:none}.page-grid{gap:14px}}
@media(max-width:520px){.page-grid{gap:10px}.page-card{min-height:305px}.card-more{margin-top:auto}}

/* v2.5 — fine adjustments to the verified v2.4 desktop layout */
@media(min-width:1200px){
  /* Move title right by 36px relative to v2.4, keeping it left of the moon. */
  .hero-inner{transform:translateX(-2px)}
  /* Keep the six cards' size unchanged. */
  .page-card{min-height:304px}
  .page-grid{gap:17px}
}
.page-card::before{opacity:.78}
.page-card{border-color:rgba(238,186,209,.8)}
/* The ornament SVG is rebuilt with smaller sakura flowers. */
.site-footer{
  background:linear-gradient(180deg,rgba(34,17,47,.16),rgba(34,17,47,.28));
  border-top:1px solid rgba(237,189,210,.22);
  backdrop-filter:blur(5px);
}
@media(max-width:800px){
  .hero-inner{transform:none}
  .site-footer{background:rgba(34,17,47,.25)}
}


/* KAGURA 2.6 — visual finishing pass. Desktop card footprint stays fixed. */
:root{--kagura-reading-ink:#382b45}
@media(min-width:1200px){
  /* Keep title away from the moon while remaining right of Kagura's face. */
  .hero-inner{transform:translateX(-25px)}
  .hero h1{letter-spacing:2px}
  .hero p{max-width:620px}
  .page-card{min-height:304px}
  .page-grid{gap:17px}
}
.page-card{justify-content:flex-start}
.page-card p{flex:0 0 auto;max-width:23ch;margin-bottom:0}
.page-card .card-more{margin-top:auto}
.page-card h2{margin-bottom:7px}
.page-card::before{opacity:.70}
.card-more{min-height:31px;display:inline-flex;align-items:center;justify-content:center}
.site-footer{
  background:linear-gradient(180deg,rgba(31,14,45,.08),rgba(31,14,45,.17));
  border-top:1px solid rgba(243,188,212,.17);
  box-shadow:none;
  backdrop-filter:blur(3px);
}
.footer-inner{min-height:32px}
.article-shell{color:var(--kagura-reading-ink);line-height:1.8}
.article-shell .entry-content p{margin:0 0 1.2em}
.article-shell .entry-content h2{border-bottom:1px solid #e9d3e8;padding-bottom:8px}
.article-shell .entry-content ul,.article-shell .entry-content ol{padding-left:1.5em}
.article-shell .entry-content img{max-width:100%;height:auto}
.article-shell .entry-content a:focus-visible,.guide-nav a:focus-visible{outline:3px solid #a660b5;outline-offset:3px}
@media(max-width:1199px){
  .page-card p{max-width:30ch}
}
@media(max-width:800px){
  .hero-inner{transform:none}
  .site-footer{background:rgba(31,14,45,.19)}
}
@media(max-width:520px){
  .page-card p{max-width:24ch}
  .card-more{min-height:30px}
}
@media(prefers-reduced-motion:reduce){
  .page-card,.card-more{transition:none}
}

/* KAGURA v2.7 — long-form article reading layout */
.article-shell{width:min(1180px,100%);max-width:none;padding:clamp(20px,3.6vw,50px);overflow:hidden}
.article-header{text-align:center;margin:10px auto 28px;max-width:820px}
.article-kicker{font-size:12px;letter-spacing:.25em;color:#a06b9b}
.article-header h1{margin:13px 0 12px;font-size:clamp(32px,4.5vw,52px);line-height:1.15}
.article-intro{font-size:13px;color:#78677e}
.breadcrumbs{font:13px/1.5 system-ui,sans-serif;color:#75627d;margin-bottom:20px}
.breadcrumbs a{text-decoration:none}
.page-featured{margin:0 auto 30px;max-width:900px}
.page-featured img{display:block;width:100%;height:auto;max-height:470px;object-fit:cover;border-radius:13px}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:40px;align-items:start}
.article-main{min-width:0}
.article-sidebar{position:sticky;top:24px}
.sidebar-box{border:1px solid #e8cfe7;background:linear-gradient(180deg,#fff8fe,#f7ecf9);border-radius:13px;padding:18px;box-shadow:0 5px 16px #4b29520d}
.sidebar-title{font-size:18px;color:#724787;margin-bottom:12px}
.sidebar-box ul{list-style:none;padding:0;margin:0}
.sidebar-box li{margin:0}
.sidebar-box a{display:flex;justify-content:space-between;gap:12px;padding:10px 8px;border-radius:7px;text-decoration:none;color:#5b4569;font:14px/1.3 system-ui,sans-serif}
.sidebar-box a:hover,.sidebar-box a.active{background:#ead8ee;color:#5b2e76}
.entry-content{font:17px/1.85 system-ui,sans-serif;color:#392d43}
.entry-content p,.entry-content li{font:inherit}
.entry-content h2{margin-top:38px;scroll-margin-top:22px}
.entry-content h3{margin-top:28px;scroll-margin-top:22px}
.entry-content :is(ul,ol){padding-left:1.5em}
.entry-content :is(iframe,video){max-width:100%}
.entry-content .wp-block-image img{max-width:100%;height:auto}
.entry-content .wp-block-table{overflow-x:auto}
.entry-content .wp-block-table table{min-width:440px}
.toc{margin:18px 0 32px}
.toc a{text-decoration:none}
.guide-nav{flex-wrap:wrap}
@media(max-width:900px){.article-layout{grid-template-columns:minmax(0,1fr)}.article-sidebar{position:static;order:2}.sidebar-box ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}}
@media(max-width:520px){.article-shell{padding:24px 17px}.article-header h1{font-size:32px}.sidebar-box ul{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-content{font-size:16px}.article-layout{gap:25px}}

/* v2.8 — Sakura footer with editable WordPress menu locations */
.site-footer{margin-top:0;background:linear-gradient(180deg,rgba(31,15,46,.76),rgba(26,11,39,.94))!important;border-top:1px solid rgba(245,188,214,.55)!important;backdrop-filter:blur(14px)}
.kagura-footer-main{display:grid;grid-template-columns:minmax(210px,1.5fr) repeat(3,minmax(145px,1fr));gap:clamp(20px,3vw,50px);padding-top:48px;padding-bottom:40px}
.kagura-footer-about{max-width:330px}
.kagura-footer-logo{display:inline-flex;align-items:center;gap:9px;color:#ffd1e5;font-size:30px;letter-spacing:2px;text-decoration:none}
.kagura-footer-about p{font:14px/1.8 system-ui,sans-serif;color:#e5d4e8;margin:18px 0}
.kagura-footer-tagline{font:11px Georgia,serif;letter-spacing:2px;color:#e9b8d1}
.kagura-footer-col h2{font:19px/1.4 Georgia,serif;color:#ffcfdf;margin:4px 0 17px;padding-bottom:12px;border-bottom:1px solid rgba(238,179,208,.35)}
.kagura-footer-links{list-style:none;margin:0;padding:0}
.kagura-footer-links li{margin:0 0 10px;padding:0}
.kagura-footer-links a{font:14px/1.6 system-ui,sans-serif;color:#e8d7e9;text-decoration:none;transition:color .2s,padding-left .2s}
.kagura-footer-links a:hover,.kagura-footer-links a:focus-visible{color:#ffd0e4;padding-left:4px;text-decoration:underline}
.kagura-footer-bottom{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;border-top:1px solid rgba(234,185,207,.2);padding-top:20px;padding-bottom:24px;color:#d9c7df;font:12px/1.6 system-ui,sans-serif}
@media(max-width:950px){.kagura-footer-main{grid-template-columns:repeat(3,minmax(0,1fr))}.kagura-footer-about{grid-column:1/-1;max-width:620px}}
@media(max-width:580px){.kagura-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 17px;padding-top:32px}.kagura-footer-about{grid-column:1/-1}.kagura-footer-col h2{font-size:17px}.kagura-footer-links a{font-size:13px}.kagura-footer-bottom{flex-direction:column;text-align:center;align-items:center}}

/* v2.9 Mobile-first corrections — no changes to desktop card dimensions */
@media(max-width:800px){
  .header-inner{min-height:60px;padding:6px 15px}
  .brand{font-size:clamp(23px,5vw,29px);min-width:0}
  .menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;flex:none}
  .site-nav{box-shadow:0 12px 25px rgba(18,8,28,.5)}
  .nav-list a{min-height:44px}
  .hero-inner{padding-top:36px;padding-bottom:18px}
  .hero h1{font-size:clamp(48px,11vw,76px);letter-spacing:2px}
  .hero p{max-width:580px}
  .page-grid{gap:12px}
  .page-card{min-width:0}
  .card-more{white-space:normal;overflow-wrap:anywhere}
  .article-shell{max-width:100%}
  .article-main{min-width:0}
  .entry-content{overflow-wrap:anywhere}
  .kagura-footer-main{gap:26px}
  .kagura-footer-col{min-width:0}
  .kagura-footer-links a{overflow-wrap:anywhere}
}
@media(max-width:580px){
  .kagura-footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kagura-footer-about{grid-column:1/-1}
  .kagura-footer-col:last-child{grid-column:1/-1}
  .kagura-footer-col:last-child .kagura-footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
  .kagura-footer-col h2{font-size:16px}
  .kagura-footer-links a{display:inline-block;min-height:30px}
}
@media(max-width:390px){
  .hero h1{font-size:clamp(43px,12vw,52px)}
  .hero-flower{font-size:30px}
  .eyebrow{font-size:11px;letter-spacing:1.5px}
  .page-grid{gap:9px}
  .page-card{min-height:300px;padding:0 7px 13px}
  .card-art{height:100px}
  .card-icon{width:46px;height:46px;margin-top:-23px}
  .page-card h2{font-size:21px}
  .page-card p{font-size:11.5px;line-height:1.45}
  .card-more{font-size:10px;padding:6px}
  .article-shell{padding:20px 15px}
}
@media(max-width:340px){
  .page-grid{grid-template-columns:1fr}
  .page-card{min-height:260px}
  .card-art{height:128px}
  .page-card p{font-size:13px;max-width:36ch}
  .kagura-footer-main{grid-template-columns:1fr}
  .kagura-footer-about,.kagura-footer-col:last-child{grid-column:auto}
}

/* v3.0 — separate portrait background prevents landscape-cover cropping */
@media(max-width:800px){
 body:not(.kagura-custom-bg){
  background-image:url("assets/kagura-mobile-scene.webp");
  background-size:100% auto;
  background-position:center top;
  background-repeat:no-repeat;
  background-attachment:scroll;
  background-color:#281736;
 }
 body::before{background:linear-gradient(180deg,rgba(26,11,40,.35) 0,rgba(29,13,44,.48) 300px,rgba(30,14,46,.12) 650px,transparent 900px)}
}
@media(max-width:520px){
 body:not(.kagura-custom-bg){background-position:center top;background-size:100% auto}
}

/* v3.1: repeat the whole portrait illustration vertically instead of cropping it */
@media(max-width:800px){
 body:not(.kagura-custom-bg){
  background-image:url("assets/kagura-mobile-repeat.webp");
  background-repeat:repeat-y;
  background-size:100% auto;
  background-position:center top;
  background-attachment:scroll;
  background-color:#281736;
 }
}

/* v3.2 — true portrait illustration, displayed once, never tiled or cropped */
@media(max-width:800px){
 body:not(.kagura-custom-bg){
  background-image:linear-gradient(180deg,rgba(34,14,48,0) 0%,rgba(34,14,48,.08) 65%,#281736 100%),url("assets/kagura-mobile-v32.webp");
  background-size:100% min(215vw,2200px),100% auto;
  background-position:center top,center top;
  background-repeat:no-repeat,no-repeat;
  background-attachment:scroll,scroll;
  background-color:#281736;
 }
 body::before{background:linear-gradient(180deg,rgba(25,9,38,.27),rgba(28,11,42,.40) 430px,rgba(30,14,46,.15) 900px,transparent 1500px)}
}
@media(max-width:520px){
 body:not(.kagura-custom-bg){background-size:100% 230vw,100% auto}
}

/* Blog archive / infinite loading */
.kagura-blog-shell{max-width:1160px;margin:auto;padding:clamp(20px,4vw,48px);border:2px solid #e6b4d4;border-radius:20px;background:rgba(255,249,255,.97);box-shadow:0 18px 65px rgba(22,8,37,.55)}
.kagura-blog-intro{text-align:center;margin-bottom:34px;color:#5c3670}.kagura-blog-kicker{font-size:13px;letter-spacing:.19em;color:#9e618e;font-weight:700}.kagura-blog-intro h1{font:700 clamp(36px,6vw,58px)/1.1 Georgia,serif;margin:13px 0;color:#724382}.kagura-blog-intro p{font:17px/1.7 system-ui,sans-serif;max-width:710px;margin:auto}
.kagura-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.kagura-blog-card{overflow:hidden;background:#fff;border:1px solid #e8c9df;border-radius:15px;box-shadow:0 7px 22px #603e6712;display:flex;flex-direction:column;min-width:0}.kagura-blog-thumb{display:block;aspect-ratio:16/10;background:linear-gradient(145deg,#d5a2c5,#73568e);overflow:hidden}.kagura-blog-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}.kagura-blog-thumb:hover img{transform:scale(1.04)}.kagura-blog-noimg{display:flex;height:100%;align-items:center;justify-content:center;color:#f9e6f3;font-size:70px}.kagura-blog-card-body{padding:19px;display:flex;flex-direction:column;flex:1}.kagura-blog-card time{font:12px system-ui,sans-serif;color:#896f8e}.kagura-blog-card h2{font:700 22px/1.3 Georgia,serif;margin:10px 0}.kagura-blog-card h2 a{color:#633f7b;text-decoration:none}.kagura-blog-card h2 a:hover{text-decoration:underline}.kagura-blog-card p{font:14px/1.7 system-ui,sans-serif;color:#5b5360;flex:1;margin:0 0 14px}.kagura-blog-read{color:#8b497f;font-weight:700;font-size:14px;text-decoration:none}.kagura-blog-load-area{text-align:center;padding:34px 0 0}.kagura-blog-load{cursor:pointer;border:1px solid #a46a99;border-radius:30px;background:#804e87;color:#fff;font-weight:700;padding:13px 29px;font-size:15px}.kagura-blog-load:hover{background:#663e73}.kagura-blog-load:disabled{opacity:.6;cursor:wait}#kagura-blog-status{color:#7b4a73;font-size:14px}.kagura-blog-empty{text-align:center;color:#765f78}
@media(max-width:900px){.kagura-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.kagura-blog-grid{grid-template-columns:1fr;gap:16px}.kagura-blog-shell{padding:18px}.kagura-blog-card h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.kagura-blog-thumb img{transition:none}}

/* v3.8: Site title and tagline are separate WordPress settings. */
.brand > span:last-child,.kagura-footer-logo span{overflow-wrap:anywhere;}
