/* bujinkan.online — membership page 2026-10 */
:root{
  --ink:#f3ead8; --muted:#c9bda3; --gold:#c8a85a; --gold-d:#88764e;
  --red:#aa0000; --red-d:#5a0000; --bg:#0d0b14; --bg2:#17131f; --violet:#261d5a; --card:#1d1828;
  --radius:14px; --max:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:70px}
body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.6 "Roboto",system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--gold)}
a:hover{color:#fff}
h1,h2,h3{font-family:"Playfair Display",Georgia,serif;font-weight:600;line-height:1.15;margin:0 0 .5em;color:#fff}
h1{font-size:clamp(2rem,6vw,3.4rem)}
h2{font-size:clamp(1.6rem,4.2vw,2.4rem)}
h3{font-size:1.25rem;color:var(--gold)}
p{margin:0 0 1em}
.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}
.section{padding:64px 0}
.section.alt{background:var(--bg2)}
.eyebrow{font-size:.8rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);margin:0 0 .6em;font-weight:700}
.lead{font-size:1.15rem;color:var(--muted)}
.jp{font-family:"Noto Serif JP","Hiragino Mincho ProN",serif}

/* light restyle of the shared TORYU top menu (links untouched, injected by TORYU-top-menu.js) */
#toryu-top-test{background:linear-gradient(#7a0000,#4a0000)!important;border-bottom:1px solid var(--gold-d)}
#toryu-top-test .menu-item a{letter-spacing:.04em}
/* --- Shared TORYU top menu: layout fixes scoped to THIS page only (TORYU-top-menu.php untouched) --- */
/* our global img{max-width:100%} squashed the 48px logo into the 5%-wide left column */
#toryu-top-test{gap:8px}
html #toryu-top-test .left-column{width:auto;flex:0 0 48px}
html #toryu-top-test .left-column img{max-width:none;width:48px;height:48px;object-fit:contain}
html #toryu-top-test .middle-column{flex:1 1 auto;min-width:0;width:auto}
html #toryu-top-test .right-column{width:auto;flex:0 0 auto}
/* bar is 65px tall (48px logo + padding + border); the menu sets body padding-top:55px, which hid 10px of our header */
html body{padding-top:65px!important}
html{scroll-padding-top:75px}
@media (max-width:768px){
  /* centred overflow pushed TORYU.SE / BUJINKAN.ONLINE off-screen to the left where they can't be scrolled to */
  html #toryu-top-test{padding:8px 10px}
  html #toryu-top-test .middle-column{justify-content:flex-start;gap:2px;padding:0 4px;-webkit-overflow-scrolling:touch;
    mask-image:linear-gradient(90deg,#000 88%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent)}
  html #toryu-top-test .menu-item a{padding:7px 10px;font-size:14px}
  #toryu-top-test .middle-column::-webkit-scrollbar{height:0}
  html #toryu-top-test .dropdown-content{left:0;transform:none}
}


/* page header */
.site-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;max-width:var(--max);margin:0 auto}
.site-head .logo{width:170px}
.btn{display:inline-block;padding:14px 26px;border-radius:999px;font-weight:700;text-decoration:none;letter-spacing:.03em;transition:transform .15s,background .15s;text-align:center}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--red);color:#fff;border:2px solid var(--red)}
.btn-primary:hover{background:#c40000;color:#fff}
.btn-ghost{border:2px solid var(--gold-d);color:var(--ink)}
.btn-ghost:hover{border-color:var(--gold);color:#fff}
.btn-sm{padding:8px 16px;font-size:.9rem}

/* hero */
.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 70% 30%,rgba(170,0,0,.35),transparent 60%),linear-gradient(180deg,#140d1f,#0d0b14)}
.hero-grid{display:grid;gap:36px;align-items:center;padding-top:28px;padding-bottom:64px}
.hero .price-tag{display:inline-flex;flex-wrap:wrap;gap:10px;align-items:baseline;background:rgba(200,168,90,.12);border:1px solid var(--gold-d);border-radius:999px;padding:6px 16px;margin:0 0 22px;color:var(--gold);font-weight:700}
.hero .price-tag b{font-size:1.4rem;color:#fff}
.hero-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.hero-cards{position:relative;width:100%;max-width:360px;margin:0 auto;aspect-ratio:600/700}
.hero-cards img{position:absolute;width:62%;height:auto;border-radius:12px;box-shadow:0 20px 50px rgba(0,0,0,.6)}
.hero-cards .front{left:0;top:0;transform:rotate(-6deg)}
.hero-cards .back{right:0;top:12%;transform:rotate(5deg)}

/* quote */
.quote{border-left:4px solid var(--red);padding:6px 0 6px 22px;margin:0;font-family:"Playfair Display",Georgia,serif;font-style:italic;font-size:1.2rem;color:var(--ink)}
.quote cite{display:block;margin-top:10px;font-style:normal;font-family:"Roboto",sans-serif;font-size:.95rem;color:var(--muted)}

/* benefit cards */
.grid{display:grid;gap:20px}
.card{background:var(--card);border:1px solid rgba(200,168,90,.22);border-radius:var(--radius);padding:26px}
.card .num{font-family:"Playfair Display",serif;font-size:2rem;color:var(--red);line-height:1}
.card ul{margin:.4em 0 0;padding-left:1.1em;color:var(--muted)}
.card li{margin:.2em 0}
.ryuha{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0;padding:0;list-style:none}
.ryuha li{background:rgba(255,255,255,.05);border:1px solid rgba(200,168,90,.25);border-radius:999px;padding:4px 12px;font-size:.88rem;color:var(--ink)}

/* steps */
.steps{counter-reset:s;list-style:none;padding:0;margin:0;display:grid;gap:16px}
.steps li{counter-increment:s;position:relative;padding:18px 18px 18px 70px;background:var(--card);border-radius:var(--radius);border:1px solid rgba(255,255,255,.06)}
.steps li::before{content:counter(s);position:absolute;left:18px;top:16px;width:36px;height:36px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font-weight:700}
.steps b{color:#fff}

/* buy box */
.buy{background:linear-gradient(160deg,#2a0a0a,#17131f 60%);border:1px solid var(--gold-d);border-radius:20px;padding:32px 22px;text-align:center;max-width:620px;margin:0 auto}
.buy .amount{font-family:"Playfair Display",serif;font-size:3.2rem;color:#fff;line-height:1;margin:.2em 0}
.buy .amount small{font-size:1rem;color:var(--muted);font-family:"Roboto",sans-serif}
.buy ul{list-style:none;padding:0;margin:18px 0 22px;color:var(--muted)}
.buy ul li{margin:.3em 0}
.buy ul li::before{content:"✓ ";color:var(--gold)}
.paypal-form{display:inline-grid;justify-items:center;align-content:start;gap:.6rem;background:#fff;border-radius:14px;padding:18px 22px;width:100%;max-width:340px}
.paypal-button{text-align:center;border:none;border-radius:.25rem;min-width:11.625rem;width:100%;padding:0 2rem;height:2.8rem;font-weight:700;background:#FFD140;color:#000;font-family:"Helvetica Neue",Arial,sans-serif;font-size:1.05rem;line-height:1.25rem;cursor:pointer}
.paypal-button:hover{filter:brightness(.95)}
.payment-methods{height:.9rem}
.powered-by-paypal{font-size:.75rem;color:#555;display:flex;align-items:center;gap:4px}
.paypal-logo{height:.9rem;display:inline}
.fine{font-size:.9rem;color:var(--muted);margin-top:18px}

/* about */
.about-grid{display:grid;gap:28px;align-items:center}
.about-photo{border-radius:var(--radius);overflow:hidden;border:1px solid rgba(200,168,90,.25)}
.facts{list-style:none;padding:0;margin:18px 0;display:grid;gap:8px}
.facts li{padding-left:22px;position:relative;color:var(--muted)}
.facts li::before{content:"";position:absolute;left:0;top:.6em;width:10px;height:10px;background:var(--red);transform:rotate(45deg)}
.wide-photo{border-radius:var(--radius);overflow:hidden;margin-top:28px}

/* faq */
.faq details{background:var(--card);border-radius:12px;border:1px solid rgba(255,255,255,.07);margin:0 0 12px;padding:0 20px}
.faq summary{cursor:pointer;padding:18px 0;font-weight:700;color:#fff;list-style:none;position:relative;padding-right:28px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:0;top:14px;font-size:1.4rem;color:var(--gold)}
.faq details[open] summary::after{content:"–"}
.faq details p{color:var(--muted)}

/* footer */
.footer{background:#000;text-align:center;padding:40px 20px;color:var(--muted);font-size:.95rem}
.footer .logo{width:200px;margin:0 auto 14px}
.footer nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 20px;margin:14px 0}
.footer a{color:var(--gold);text-decoration:none}

/* sticky mobile buy bar */
.buybar{position:fixed;left:0;right:0;bottom:0;z-index:50;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 16px;background:rgba(13,11,20,.95);border-top:1px solid var(--gold-d);backdrop-filter:blur(6px)}
.buybar span{color:var(--ink);font-weight:700}
body{padding-bottom:64px}

@media (min-width:760px){
  .hero-grid{grid-template-columns:1.15fr .85fr;padding-top:40px;padding-bottom:80px}
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .grid-2{grid-template-columns:1fr 1fr}
  .about-grid{grid-template-columns:320px 1fr}
  .steps{grid-template-columns:repeat(2,1fr)}
  .section{padding:84px 0}
  .buybar{display:none}
  body{padding-bottom:0}
}

/* Densho statistics */
.section.ds{background:radial-gradient(1200px 500px at 80% 0%,rgba(170,0,0,.18),transparent 60%),var(--bg2)}
.ds-grid{display:grid;gap:22px;margin-top:28px}
.ds-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0 22px}
.ds-kpi{background:rgba(255,255,255,.04);border:1px solid rgba(200,168,90,.2);border-radius:12px;padding:12px 10px;text-align:center}
.ds-kpi b{display:block;font-family:"Playfair Display",Georgia,serif;font-size:1.7rem;line-height:1.1;color:#fff}
.ds-kpi span{display:block;font-size:.78rem;color:var(--muted);margin-top:4px;line-height:1.3}
.ds-kpi.hl{background:linear-gradient(160deg,rgba(170,0,0,.45),rgba(90,0,0,.35));border-color:var(--red)}
.ds-kpi.hl b{color:var(--gold)}
.ds-chart{display:flex;align-items:flex-end;gap:12px;height:220px;padding:8px 4px 0;border-bottom:1px solid rgba(200,168,90,.35);
  background:repeating-linear-gradient(to top,transparent 0 54px,rgba(255,255,255,.05) 54px 55px)}
.ds-col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;min-width:0;position:relative}
.ds-bar{display:block;width:100%;max-width:64px;height:calc(var(--h) * .82);border-radius:8px 8px 0 0;
  background:linear-gradient(to top,#5d4b26,var(--gold-d));box-shadow:inset 0 1px 0 rgba(255,255,255,.15);animation:dsgrow .9s ease-out both;transform-origin:bottom}
.ds-col.cur .ds-bar{background:linear-gradient(to top,var(--red-d),var(--red) 55%,#d23a2a);box-shadow:0 0 24px rgba(170,0,0,.55)}
.ds-n{font-weight:700;font-size:.9rem;color:var(--ink);margin-bottom:6px}
.ds-col.cur .ds-n{color:var(--gold)}
.ds-y{position:absolute;bottom:-26px;font-size:.82rem;color:var(--muted);white-space:nowrap}
.ds-y em{font-style:normal;color:var(--gold);font-size:.75rem}
.ds-col.cur .ds-y{color:#fff;font-weight:700}
.ds-stats{padding-bottom:46px}
@keyframes dsgrow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@media (prefers-reduced-motion:reduce){.ds-bar{animation:none}}
.ds-list{list-style:none;counter-reset:ds;margin:12px 0 14px;padding:0}
.ds-list li{counter-increment:ds;position:relative;padding:10px 0 10px 38px;border-bottom:1px solid rgba(255,255,255,.07)}
.ds-list li::before{content:counter(ds);position:absolute;left:0;top:11px;width:26px;height:26px;border-radius:50%;background:rgba(170,0,0,.35);border:1px solid var(--red);color:#fff;font-size:.8rem;display:grid;place-items:center}
.ds-list a{color:var(--ink);text-decoration:none;font-weight:500;line-height:1.35;display:block}
.ds-list a:hover{color:var(--gold);text-decoration:underline}
.ds-list time{display:block;font-size:.8rem;color:var(--muted);margin-top:2px}
.ds-note{font-size:.85rem;color:var(--muted);margin:.4em 0 .9em}
@media (min-width:760px){.ds-grid{grid-template-columns:1.1fr .9fr}.ds-stats{display:flex;flex-direction:column}.ds-stats>div{flex:1;display:flex;flex-direction:column}.ds-chart{flex:1;min-height:260px;height:auto}}
