/* RYO CLOVER NETWORKS — V44 premium nightwork identity */
:root{--clover-cream:#f5ede4;--clover-mint:#c6d9c0;--clover-gold:#dfbd96;--clover-glass:rgba(30,28,40,.76);--clover-border:rgba(211,206,175,.23);--clover-ease:cubic-bezier(.2,.85,.2,1)}
html{scroll-behavior:smooth}
body.ryo-v31{height:auto!important;min-height:100svh!important;overflow-x:hidden!important;overflow-y:auto!important;background-color:#10131b!important}
body.ryo-v31::before{position:fixed!important;inset:-5%!important;opacity:.6!important;filter:none!important;background-size:cover!important;transition:opacity .5s ease}
body[data-section="home"]::before{background-image:linear-gradient(105deg,rgba(10,17,23,.72),rgba(41,25,40,.45) 52%,rgba(14,20,25,.66)),url("night-rooftop-v30.webp")!important;opacity:.4!important}
body[data-section="night"]::before{background-image:linear-gradient(115deg,rgba(11,11,21,.85),rgba(42,23,38,.53),rgba(19,19,28,.78)),url("night-rooftop-v30.webp")!important;opacity:.6!important}
body[data-section="partner"]::before{background-image:linear-gradient(90deg,rgba(12,16,23,.72),rgba(13,21,26,.2)),url("bg-referral-v44.svg")!important;opacity:.83!important}
body[data-section="high"]::before{background-image:linear-gradient(105deg,rgba(16,13,24,.8),rgba(38,19,34,.26)),url("bg-high-v44.svg")!important;opacity:.77!important}
body[data-section="side"]::before{background-image:linear-gradient(120deg,rgba(13,16,26,.65),rgba(24,20,40,.38)),url("bg-side-v44.svg")!important;opacity:.78!important}
body[data-section="contact"]::before{background-image:linear-gradient(105deg,rgba(15,14,23,.73),rgba(28,42,40,.35)),url("bg-referral-v44.svg")!important;opacity:.7!important}
.site-header{position:sticky!important;top:0;box-shadow:0 8px 35px rgba(0,0,0,.13);background:rgba(14,16,23,.79)!important;border-bottom-color:rgba(215,214,184,.18)!important;backdrop-filter:blur(22px) saturate(145%);-webkit-backdrop-filter:blur(22px) saturate(145%)}
.site-header::after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:1px;background:linear-gradient(90deg,transparent,rgba(183,211,178,.7),rgba(221,176,148,.55),transparent);opacity:.7}
.brand{gap:12px!important;flex-shrink:0}.brand-signet{position:relative;display:grid!important;place-items:center;width:41px!important;height:41px!important;flex:none;background:linear-gradient(140deg,rgba(45,60,56,.9),rgba(44,32,44,.88));border:1px solid rgba(210,225,193,.58)!important;box-shadow:0 0 0 3px rgba(185,208,183,.06),0 0 28px rgba(145,206,160,.11);transform:none!important;transition:transform .55s var(--clover-ease),box-shadow .4s}
.brand-signet::after{content:"";position:absolute;inset:-5px;border:1px solid rgba(229,199,158,.25);border-radius:50%}
.brand-signet img{display:block;width:29px;height:29px;object-fit:contain;filter:drop-shadow(0 0 6px rgba(214,232,188,.3))}
.brand:hover .brand-signet{transform:rotate(-18deg) scale(1.08)!important;box-shadow:0 0 24px rgba(150,204,161,.3)}
.brand-name{font-family:Georgia,"Yu Mincho",serif!important;font-weight:650!important;letter-spacing:.06em!important;font-size:clamp(13px,1.35vw,19px)!important;white-space:nowrap;color:#f4ede2}
.brand-sub{letter-spacing:.17em!important;font-size:9px!important;color:#a6c8b4!important;margin-top:5px!important}
.header-nav a,.header-mobile{transition:color .28s,background .28s,transform .28s,border-color .28s!important}
.header-nav a:hover{color:#cbe2c5!important;transform:translateY(-2px)}
.header-nav a[aria-current="page"]{color:#c8e0bf!important}
.header-cta,.header-mobile{border-color:rgba(179,213,177,.46)!important}
.header-cta:hover,.header-mobile:hover{background:rgba(189,223,182,.11)}
.main-stage{position:relative;z-index:1;overflow:visible!important}
.contact-dock{position:relative;z-index:2;backdrop-filter:blur(8px)}
.contact-line-main{background:linear-gradient(115deg,#dce9cf,#e9d1b7)!important;border-color:#d0d7c2!important;color:#222928!important;box-shadow:0 5px 25px rgba(139,198,151,.12);position:relative;overflow:hidden}
.contact-line-main::after,.v43-high-cta::after,.partner-primary::after,.side-card-consult::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 28%,rgba(255,255,255,.5) 46%,transparent 64%);transform:translateX(-140%);transition:transform .68s var(--clover-ease);pointer-events:none}
.contact-line-main:hover::after,.v43-high-cta:hover::after,.partner-primary:hover::after,.side-card-consult:hover::after{transform:translateX(140%)}
.contact-line-main:hover,.v43-high-cta:hover,.partner-primary:hover,.side-card-consult:hover{box-shadow:0 10px 35px rgba(152,211,166,.23);transform:translateY(-3px)}
.contact-line-main:active,.v43-high-cta:active,.partner-primary:active,.side-card-consult:active,.cat:active,.v38-side-card:active{transform:scale(.975)!important}
.cat-grid,.v38-side-grid{gap:clamp(9px,1.25vw,18px)!important}
body[data-section="home"] .main-stage{min-height:665px!important}
body[data-section="home"] .cat-grid{min-height:470px!important;height:min(70vh,650px)}
body[data-section="home"] .home-intro{padding:16px 0 5px}
.cat{border-color:var(--clover-border)!important;box-shadow:0 12px 34px rgba(4,9,16,.18),inset 0 1px rgba(255,255,255,.035);transition:transform .55s var(--clover-ease),box-shadow .55s,border-color .4s!important;backdrop-filter:blur(10px)}
.cat:hover{transform:translateY(-6px) scale(1.012)!important;box-shadow:0 22px 48px rgba(2,7,12,.38),0 0 26px rgba(176,207,161,.09);border-color:rgba(194,223,177,.7)!important}
.cat-night{background-image:linear-gradient(90deg,rgba(9,13,23,.97) 0%,rgba(9,16,24,.76) 48%,rgba(17,17,32,.11)),url("night-rooftop-v30.webp")!important;background-size:cover!important;animation:clover-scene 18s ease-in-out infinite alternate}
.cat-night .person{filter:drop-shadow(0 18px 23px rgba(0,0,0,.76)) drop-shadow(0 0 25px rgba(199,218,179,.16));transition:transform .7s var(--clover-ease),filter .7s!important;animation:ryo-float 5.5s ease-in-out infinite}
.cat-night:hover .person{filter:drop-shadow(0 26px 25px rgba(0,0,0,.72)) drop-shadow(0 0 33px rgba(224,199,151,.28))}
.cat-partners{background-image:linear-gradient(112deg,rgba(22,30,37,.82),rgba(34,38,41,.49)),url("bg-referral-v44.svg")!important;background-size:cover!important;background-position:70% 48%!important}
.cat-high{background-image:linear-gradient(112deg,rgba(28,20,35,.84),rgba(44,27,36,.48)),url("bg-high-v44.svg")!important;background-size:cover!important;background-position:76% 54%!important}
.cat-side{background-image:linear-gradient(112deg,rgba(30,22,40,.8),rgba(25,35,48,.48)),url("bg-side-v44.svg")!important;background-size:cover!important;background-position:70% 48%!important}
.cat .cat-index,.eyebrow,.partner-mini,.partner-section-en,.v38-side-num{display:inline-flex;align-items:center;gap:8px}
.cat .cat-index::before,.eyebrow::before,.partner-mini::before,.partner-section-en::before,.v38-side-num::before{content:"";display:inline-block;width:12px;height:12px;flex:none;background:#d8e0bf;mask:url("clover-mark.svg") center/contain no-repeat;-webkit-mask:url("clover-mark.svg") center/contain no-repeat}
.cat-side-mark{display:flex;align-items:center;justify-content:center;font-size:0!important;color:transparent!important;background:url("clover-mark.svg") center/contain no-repeat;width:79px;height:79px;opacity:.3;filter:drop-shadow(0 0 22px rgba(190,221,175,.34));animation:clover-orbit 14s ease-in-out infinite}
.cat-go b{transition:transform .32s ease}.cat:hover .cat-go b{transform:translate(5px,-4px)}
.home-intro h1{font-size:clamp(28px,3vw,46px)!important;text-shadow:0 4px 30px rgba(0,0,0,.3)}
.home-intro h1 span{background:linear-gradient(90deg,#e8c1a5,#cadfbe,#f2d3b5);background-size:200% 100%;background-clip:text;-webkit-background-clip:text;color:transparent!important;animation:clover-gradient 9s ease-in-out infinite}
.clover-stats{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:13px 20px;border:1px solid rgba(205,218,185,.22);border-radius:12px;background:linear-gradient(110deg,rgba(18,27,29,.82),rgba(43,30,43,.64));backdrop-filter:blur(14px);box-shadow:0 10px 30px rgba(0,0,0,.13)}
.clover-stats strong{font-family:Georgia,"Yu Mincho",serif;color:#e4d5af;font-size:clamp(16px,2.1vw,26px)}
.clover-stats small{color:#c5ccc0;font-size:11px;line-height:1.4}
.clover-stats .clover-stats-divider{width:1px;height:26px;background:rgba(228,211,184,.22)}
.v38-hero{background-image:linear-gradient(112deg,rgba(12,19,25,.75),rgba(33,21,32,.5)),url("bg-side-v44.svg")!important;background-size:cover!important;background-position:center!important;border-color:rgba(191,211,178,.3)!important}
body[data-section="partner"] .partner-hero{background-image:linear-gradient(100deg,rgba(19,28,31,.75),rgba(21,26,33,.38)),url("bg-referral-v44.svg")!important;background-size:cover!important}
body[data-section="high"] .v43-high-hero{background-image:linear-gradient(96deg,rgba(14,13,25,.95),rgba(26,17,32,.7) 61%,rgba(38,24,37,.36)),url("bg-high-v44.svg")!important;background-size:cover!important;border-color:rgba(221,195,158,.39)!important}
body[data-section="night"] .detail-feature{background-image:linear-gradient(100deg,rgba(14,13,23,.91),rgba(39,25,37,.5)),url("night-rooftop-v30.webp")!important;background-size:cover!important}
body[data-section="contact"] .detail-feature{background-image:linear-gradient(100deg,rgba(14,22,26,.82),rgba(26,25,39,.55)),url("bg-referral-v44.svg")!important}
body[data-section="side"] .v38-side-card{position:relative;overflow:hidden;border-color:rgba(210,205,189,.3);transition:transform .43s var(--clover-ease),box-shadow .43s,border-color .3s!important;backdrop-filter:blur(12px)}
body[data-section="side"] .v38-side-card:hover,body[data-section="side"] .v38-side-card[aria-pressed="true"]{border-color:#cbdcbf!important;box-shadow:0 15px 40px rgba(10,10,20,.3),0 0 18px rgba(172,222,180,.12);transform:translateY(-5px)}
body[data-section="side"] .v38-side-card[aria-pressed="true"]::after{content:"";position:absolute;inset:0;border-radius:inherit;border:1px solid rgba(198,229,181,.7);pointer-events:none;animation:clover-border-pulse 3s ease-in-out infinite}
body[data-section="side"] .v42-chat{background-image:linear-gradient(110deg,rgba(39,23,43,.92),rgba(44,31,42,.55)),url("bg-side-v44.svg")!important;background-position:center!important;background-size:cover!important}
.v43-high-cta,.partner-primary,.side-card-consult{position:relative;overflow:hidden;transition:transform .4s var(--clover-ease),box-shadow .4s,filter .3s!important}
.v43-partner-reward{border-color:rgba(193,218,182,.32)!important}
.v43-partner-reward::before{content:"";position:absolute;width:130px;height:130px;right:10px;top:-30px;background:url("clover-mark.svg") center/contain no-repeat;opacity:.07;pointer-events:none}
.v43-partner-reward{position:relative;overflow:hidden}
.v43-high-age,.v43-age{box-shadow:0 0 20px rgba(230,184,144,.12)}
.v43-high-hero::after{content:"";position:absolute;z-index:0;right:-18px;top:30px;width:clamp(120px,19vw,260px);height:clamp(120px,19vw,260px);background:url("clover-mark.svg") center/contain no-repeat;opacity:.085;filter:drop-shadow(0 0 40px rgba(211,226,185,.3));animation:clover-orbit 17s ease-in-out infinite;pointer-events:none}
.v43-high-body{position:relative;z-index:1}
.clover-ambient{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;opacity:.44}
.clover-ambient .clover-orb{position:absolute;display:block;width:clamp(230px,38vw,510px);height:clamp(230px,38vw,510px);border-radius:50%;background:radial-gradient(closest-side,rgba(136,195,151,.15),transparent);filter:blur(12px);animation:clover-drift 22s ease-in-out infinite alternate}
.clover-ambient .clover-orb:nth-child(1){left:-13%;top:8%}.clover-ambient .clover-orb:nth-child(2){right:-13%;bottom:-16%;background:radial-gradient(closest-side,rgba(216,147,159,.14),transparent);animation-delay:-9s}
.clover-ambient .clover-spark{position:absolute;width:3px;height:3px;border-radius:50%;background:#efd7a9;box-shadow:0 0 12px #ffe0ab;animation:clover-twinkle 4s ease-in-out infinite}
.clover-ambient .clover-spark:nth-child(3){left:20%;top:28%}.clover-ambient .clover-spark:nth-child(4){left:78%;top:17%;animation-delay:-1.5s}.clover-ambient .clover-spark:nth-child(5){left:85%;top:70%;animation-delay:-3s}
.clover-ambient .clover-starline{position:absolute;width:100px;height:1px;right:11%;top:20%;transform:rotate(-32deg);background:linear-gradient(90deg,transparent,rgba(247,218,174,.1),rgba(247,218,174,.7));animation:clover-shooting 12s ease-in-out infinite}
.clover-ripple{position:absolute;display:block;border-radius:50%;background:rgba(232,235,194,.28);transform:scale(0);animation:clover-ripple .7s ease-out;pointer-events:none}
.clover-motion-ready .clover-reveal{transition:opacity .75s var(--clover-ease),transform .75s var(--clover-ease);transition-delay:var(--clover-delay,0ms)}
.clover-motion-ready .clover-reveal:not(.clover-visible){opacity:.03;transform:translateY(20px)}
.clover-motion-ready .clover-reveal.clover-visible{opacity:1;transform:translateY(0)}
/* Subtle depth on non-main editorial pages */
body:not(.ryo-v31) .site-header,body:not(.ryo-v31) .header{backdrop-filter:blur(16px)}
body.ryo-v31 .detail-panel,body.ryo-v31 .partner-info,body.ryo-v31 .v38-side-card{box-shadow:0 10px 40px rgba(0,0,0,.13)}
.detail-person{animation:ryo-float 6.4s ease-in-out infinite}
.site-header .brand-name{line-height:1.2!important}
@keyframes clover-orbit{0%,100%{transform:rotate(-6deg) scale(.93)}50%{transform:rotate(13deg) scale(1.12)}}
@keyframes clover-drift{0%{transform:translate3d(0,0,0) scale(.94)}100%{transform:translate3d(12vw,-5vh,0) scale(1.16)}}
@keyframes clover-twinkle{0%,100%{opacity:.1;transform:scale(.6)}50%{opacity:1;transform:scale(1.5)}}
@keyframes clover-shooting{0%,72%,100%{opacity:0;transform:translate3d(0,0,0) rotate(-32deg)}76%{opacity:.9}90%{opacity:0;transform:translate3d(-70px,50px,0) rotate(-32deg)}}
@keyframes clover-scene{from{background-position:50% 50%}to{background-position:53% 44%}}
@keyframes clover-gradient{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes clover-border-pulse{0%,100%{opacity:.28}50%{opacity:.9}}
@keyframes ryo-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes clover-ripple{to{opacity:0;transform:scale(3)}}
@media(max-width:1120px){.brand-name{font-size:12px!important}.brand-sub{font-size:7px!important}.header-nav{gap:10px!important;font-size:10px!important}.header-inner{gap:12px!important}}
@media(max-width:700px){body[data-section="home"] .main-stage{min-height:auto!important}.brand-signet{width:32px!important;height:32px!important}.brand-signet img{width:24px;height:24px}.brand-name{font-size:11px!important;letter-spacing:.015em!important}.brand-sub{font-size:6.7px!important;letter-spacing:.12em!important}.brand{gap:9px!important}.header-mobile{font-size:9px!important;padding:8px!important;white-space:nowrap}.header-inner{gap:5px!important}.home-intro h1{font-size:clamp(22px,6.2vw,31px)!important}.clover-stats{padding:10px 12px;gap:7px 12px}.clover-stats strong{font-size:15px!important}.clover-stats small{font-size:9px}.clover-stats .clover-stats-divider{height:19px}.cat-grid{grid-template-rows:235px repeat(3,116px)!important;min-height:630px!important;height:auto!important;flex:none!important}.cat-night .cat-content{max-width:78%}.cat-night .person{max-height:245px!important}.cat-small{min-height:116px}.cat-side-mark{width:42px;height:42px}.clover-ambient{opacity:.24}.clover-ambient .clover-starline{display:none}.clover-motion-ready .clover-reveal:not(.clover-visible){transform:translateY(9px)}.v43-high-hero::after{opacity:.035}}
@media(max-width:370px){.brand-name{font-size:9.6px!important}.brand-sub{font-size:5.7px!important}.home-intro h1{font-size:21px!important}.clover-stats{justify-content:center}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.clover-ambient{display:none}.clover-motion-ready .clover-reveal:not(.clover-visible){opacity:1;transform:none}}
