/* Opt-in: four approved public profiles and the existing master chooser.
   The booking section is a sibling of .fj-master-story, never its descendant. */
body:is(.fj-profile-page,.fj-choice-page){background:#061710}
.fj-master-story,body:is(.fj-profile-page,.fj-choice-page) :is(.site-header,.site-footer,.mobile-book,.demo-strip){--bg:#061710;--surface:#10271d;--surface-soft:#173426;--paper:#10271d;--card:#10271d;--ink:#f7f1e3;--heading:#f7f1e3;--text:#f1eee4;--text-muted:#c0cabe;--muted:#c0cabe;--accent:#dec18a;--rose:#dec18a;--line:#68734e;--border:#68734e;--gold:#d7b77b;color:var(--text)}
:root[data-theme=light] .fj-master-story{--surface:#143022;--paper:#143022;--card:#143022;--text:#fff9ed;--muted:#d0d8c8;--text-muted:#d0d8c8}
body.fj-profile-page .master-booking{background:var(--bg)}
body:is(.fj-profile-page,.fj-choice-page) .site-header{background:#081b14;border-color:#b99a5d45}
body:is(.fj-profile-page,.fj-choice-page) .main-nav a{color:#f1eee4}
body:is(.fj-profile-page,.fj-choice-page) .main-nav a[aria-current]{color:#dec18a;border-color:#dec18a}
body:is(.fj-profile-page,.fj-choice-page) :is(.brand,.brand>span){color:#f7f1e3}
body:is(.fj-profile-page,.fj-choice-page) :is(.brand small,.theme-trigger,.icon-button,.languages a.active){color:#dec18a}
body:is(.fj-profile-page,.fj-choice-page) .theme-menu{background:#10271d;border-color:#68734e}
body:is(.fj-profile-page,.fj-choice-page) .theme-option[aria-checked=true]{background:#1d402e;color:#f1d7a5}
body:is(.fj-profile-page,.fj-choice-page) .site-footer{background:#04120c;border-color:#b99a5d40}
body:is(.fj-profile-page,.fj-choice-page) .site-footer h3{color:#dec18a}
body:is(.fj-profile-page,.fj-choice-page) .demo-strip{background:#10251b;color:#d3ddcd;border-color:#b99a5d30}
body:is(.fj-profile-page,.fj-choice-page) .mobile-book{background:#071a13f5;border-color:#b99a5d50}
.fj-master-story{position:relative;isolation:isolate;background:radial-gradient(ellipse at 65% 12%,#173b2755,transparent 65%),#061710;line-height:1.7}
.fj-master-story .wrap{width:min(1160px,calc(100% - 112px));margin-inline:auto}
.fj-master-story :is(h1,h2,h3,.serif){font-family:Georgia,"Times New Roman",serif;font-weight:400;color:#f7f1e3}
.fj-master-story a{color:#e4c88f}
.fj-master-story a:hover{color:#fff0ca}
.fj-master-story :focus-visible,body:is(.fj-profile-page,.fj-choice-page) :is(.site-header,.site-footer,.mobile-book) :focus-visible{outline:2px solid #f0cf8e;outline-offset:5px}
.fj-master-story .button,body.fj-profile-page .mobile-book .button{min-height:46px;padding:11px 23px;border:1px solid #d7b77b;border-radius:999px;background:#10271d;color:#f7f1e3;box-shadow:none;transition:background .16s,border-color .16s}
.fj-master-story .button:hover{background:#1d402e;border-color:#f1d6a0}
.fj-master-story .hero{background:transparent;overflow:hidden}
.fj-master-story .hero-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:70px;min-height:0;padding-block:50px 60px}
.fj-master-story .hero-copy{padding:0;min-width:0}
.fj-master-story .master-hero h1{font-size:clamp(42px,4.8vw,66px);line-height:1.12;letter-spacing:0;max-width:none;margin-block:18px}
.fj-master-story .hero-tagline{font-size:26px;line-height:1.5;color:#dfc28d;margin-block:16px 26px}
.fj-master-story .hero-copy>.text-link{font-size:13px;margin:0}
.fj-master-story .hero-portrait{position:relative;isolation:isolate;overflow:visible;margin:0 auto;min-height:0;height:auto;width:min(100%,350px);padding:9px;border:0;border-radius:120px 18px 18px 18px;background:#0a1d15}
.fj-master-story .hero-portrait::before{content:"";position:absolute;inset:0;border:1px solid #d7b77b99;border-radius:inherit;z-index:0;pointer-events:none}
.fj-master-story .hero-portrait::after{content:none}
.fj-master-story .hero-portrait>.photo{position:relative;inset:auto;display:block;width:100%;height:350px;border-radius:112px 11px 11px 11px;z-index:2;overflow:hidden}
.fj-master-story .hero-portrait>.photo img{width:100%;height:100%;object-fit:cover;object-position:50% 30%;filter:none}
.fj-master-story .fj-personal-botany{position:absolute;right:-105px;bottom:-82px;width:295px;height:445px;z-index:1;pointer-events:none;user-select:none}
.fj-master-story .fj-personal-botany img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
[dir=rtl] .fj-master-story .hero-portrait{border-radius:18px 120px 18px 18px}
[dir=rtl] .fj-master-story .hero-portrait>.photo{border-radius:11px 112px 11px 11px}
[dir=rtl] .fj-master-story .fj-personal-botany{right:auto;left:-105px;transform:scaleX(-1)}
.fj-master-details{padding-block:20px 55px}
.fj-master-details .section{padding-block:38px}
.fj-master-details .section-heading{display:block;text-align:center;margin-bottom:30px}
.fj-master-details .section-heading h2{font-size:42px;line-height:1.2;justify-content:center;font-weight:400}
.fj-master-details .section-heading h2>span{display:none}
.fj-master-details .master-description{max-width:840px;margin:auto;font-size:17px;line-height:1.95;color:var(--text-muted)}
.fj-master-details .full-services{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.fj-master-story .service-card{background:var(--card);border:1px solid #b99a5d70;border-radius:16px;box-shadow:0 12px 28px #0003;min-width:0;padding:9px}
.fj-master-details .service-card{display:flex;flex-direction:column}
.fj-master-details .service-card>.photo{height:210px;aspect-ratio:auto;border-radius:9px}
.fj-master-details .card-content{padding:20px 13px 14px;display:flex;flex:1;flex-direction:column;min-width:0}
.fj-master-details .service-card h3{font-size:27px;line-height:1.25;margin-bottom:12px}
.fj-master-details .service-card p{font-size:14px;line-height:1.75;color:var(--text-muted);margin-bottom:16px}
.fj-master-details .service-meta{color:var(--text);font-size:14px;flex-wrap:wrap;border-block:1px solid #b99a5d30;padding-block:12px;margin-block:auto 16px}
.fj-master-details .card-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center}
.fj-master-details .card-actions :is(.button,.text-link){font-size:13px;min-height:44px}
.fj-master-details .card-actions .button{padding:9px 16px}
.fj-master-details .master-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.fj-master-details .master-work{background:var(--card);border:1px solid #68734e;border-radius:14px;padding:10px}
.fj-master-details .master-work .certificate-button{display:block;width:100%;background:transparent;border:0;border-radius:7px;overflow:hidden}
.fj-master-details .master-work figcaption{padding:8px 5px;color:var(--text);font-size:17px}
.fj-master-details .full-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.fj-master-details .result-card{padding:10px;background:var(--card);border:1px solid #68734e;border-radius:14px}
.fj-master-details .compare{aspect-ratio:1.5;border-radius:8px;overflow:hidden}
.fj-master-details .compare-line{background:#dec18a}
.fj-master-details .compare-line>span{border-color:#dec18a;background:#092219;color:#ffe1a0}
.fj-master-details .compare-label{color:#fff9ed;background:#092219e8}
.fj-master-details .result-caption h3{font-size:25px}
.fj-master-details :is(.demo-label,.certificate small){color:#e4cc9d;font-size:12px}
.fj-master-details .result-card p{font-size:14px;line-height:1.7;color:var(--text-muted)}
.fj-master-details .full-certificates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;padding:0;border:0;background:transparent}
.fj-master-details .certificate{min-width:0;text-align:center}
.fj-master-details .certificate-button{background:#10271d;border:1px solid #68734e;border-radius:11px;padding:11px}
.fj-master-details .certificate .certificate-button{display:block;width:100%;height:370px}
.fj-master-details .certificate .photo{display:block;width:100%;height:100%;aspect-ratio:auto;background:#f8f0dc}
.fj-master-details .certificate img{width:100%;height:100%;object-fit:contain;filter:none}
.fj-master-details .certificate h3{font-size:24px;line-height:1.4;margin:17px 0 10px}
.fj-master-details .certificate small{font-size:13px;display:block}
.fj-master-details .certificate p{display:block;font-size:13px;line-height:1.7;color:var(--text-muted)}
.fj-master-details .full-reviews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;overflow:visible}
.fj-master-details .review-card{min-width:0;background:var(--card);border:1px solid #68734e;border-radius:13px;padding:26px;box-shadow:0 12px 24px #0003}
.fj-master-details .review-card p{font-size:16px;line-height:1.8;color:var(--text)}
.fj-master-details .rating{color:#dec18a}
.fj-master-details .avatar{background:#1b3c28;color:#dec18a}
.fj-master-details .empty-state{color:var(--text-muted);border-color:#68734e;background:var(--card)}
#forest-master-choice .hero-grid{display:block;padding-block:60px 24px}
#forest-master-choice .hero-copy{max-width:850px;margin:auto;text-align:center}
#forest-master-choice .hero h1{font-size:clamp(45px,5vw,70px);line-height:1.15;letter-spacing:0;max-width:none;text-wrap:balance}
#forest-master-choice .eyebrow{display:flex;justify-content:center;gap:9px;color:#d7b77b;font-size:11px;letter-spacing:1.5px;margin-bottom:20px}
#forest-master-choice .hero-tagline{font-size:27px;margin-block:18px 12px}
#forest-master-choice .hero-subtitle{color:var(--text-muted);font-size:16px;line-height:1.8;max-width:680px;margin-inline:auto}
#forest-master-choice .hero-portrait{display:none}
#forest-master-choice>.section{padding-block:15px 70px}
#forest-master-choice .section-heading{display:block;text-align:center;margin-bottom:30px}
#forest-master-choice .section-heading h2{display:block;font-size:36px;font-weight:400}
#forest-master-choice .section-heading h2>span{display:none}
#forest-master-choice .masters-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
#forest-master-choice .master-card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);position:relative;isolation:isolate;overflow:hidden;padding:10px;border-color:#d7b77b99;transition:transform .16s,border-color .16s,box-shadow .16s}
#forest-master-choice .master-card:hover{transform:translateY(-2px);border-color:#f1d7a5;box-shadow:0 12px 30px #b99a5d18}
#forest-master-choice .master-photo-link{border-radius:9px;position:relative;z-index:1;min-width:0}
#forest-master-choice .master-photo-link>.photo{height:100%;min-height:390px;aspect-ratio:auto}
#forest-master-choice .master-photo-link img{object-position:50% 30%;filter:none}
#forest-master-choice .card-content{padding:22px 20px;gap:11px;position:relative;z-index:1;min-width:0}
#forest-master-choice .master-card h3{font-size:30px;line-height:1.2}
#forest-master-choice .master-name-link{color:#f7f1e3}
#forest-master-choice .master-specialization{font-size:14px;color:#dfc28d;line-height:1.5;margin:0}
#forest-master-choice .master-card-description{font-size:14px;line-height:1.7;color:var(--text-muted);margin:0}
#forest-master-choice .master-service-preview{margin:2px 0 8px}
#forest-master-choice .master-service-preview li{font-size:13px;border-color:#d7b77b30;color:var(--text);gap:10px;padding-block:7px}
#forest-master-choice .master-card .button{font-size:14px;padding:10px 18px;gap:9px}
body.fj-profile-page :is(#service-dialog,#lightbox){background:#10271d;color:#f1eee4;border:1px solid #d7b77b;border-radius:15px}
body.fj-profile-page :is(#service-dialog,#lightbox)::backdrop{background:#010a07e6}
body.fj-profile-page :is(#service-dialog,#lightbox) .dialog-close{background:#173426;color:#f1d7a5}
body.fj-profile-page #service-dialog :is(h2,p,.service-meta){color:#f1eee4}
body.fj-profile-page #service-dialog .button{background:#10271d;color:#f7f1e3;border:1px solid #d7b77b;border-radius:999px}
body.fj-profile-page #lightbox-body p{color:#f1eee4}
body.fj-profile-page :is(#service-dialog,#lightbox) :focus-visible{outline:2px solid #f0cf8e;outline-offset:4px}
body.fj-profile-page #lightbox-body>.photo{width:100%;height:min(65dvh,660px);max-height:65dvh;background:transparent}
body.fj-profile-page #lightbox-body img{width:100%;height:100%;object-fit:contain;filter:none}
@media(max-width:1100px){
 .fj-master-story .wrap{width:calc(100% - 96px)}
 .fj-master-story .hero-grid{gap:40px;padding-block:42px 52px}
 .fj-master-story .master-hero h1{font-size:49px}
 .fj-master-story .hero-tagline{font-size:23px}
 .fj-master-story .hero-portrait{width:min(100%,300px)}
 .fj-master-story .hero-portrait>.photo{height:315px}
 .fj-master-story .fj-personal-botany{width:240px;height:360px;right:-75px;bottom:-70px}
 [dir=rtl] .fj-master-story .fj-personal-botany{left:-75px;right:auto}
 .fj-master-details .full-services{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fj-master-details .full-reviews{grid-template-columns:repeat(2,minmax(0,1fr))}
 #forest-master-choice .master-card{grid-template-columns:1fr}
 #forest-master-choice .master-photo-link>.photo{height:285px;min-height:0}
 #forest-master-choice .card-content{padding:23px 19px}
 #forest-master-choice .hero h1{font-size:54px}
}
@media(max-width:600px){
 body:is(.fj-profile-page,.fj-choice-page) .main-nav{background:#10271d;border-color:#68734e}
 .fj-master-story .wrap{width:calc(100% - 40px)}
 .fj-master-story .hero-grid{display:flex;flex-direction:column;gap:28px;padding-block:34px 50px}
 .fj-master-story .hero-copy{padding:0 8px;text-align:center;width:100%}
 .fj-master-story .master-hero h1{font-size:43px;line-height:1.16;letter-spacing:0;margin-block:16px}
 .fj-master-story .hero-tagline{font-size:23px;line-height:1.5;margin-block:14px 22px}
 .fj-master-story .hero-copy>.button{min-width:180px}
 .fj-master-story .hero-portrait{width:min(100% - 26px,320px);border-radius:84px 16px 16px 16px}
 .fj-master-story .hero-portrait>.photo{height:300px;border-radius:76px 9px 9px 9px}
 [dir=rtl] .fj-master-story .hero-portrait{border-radius:16px 84px 16px 16px}
 [dir=rtl] .fj-master-story .hero-portrait>.photo{border-radius:9px 76px 9px 9px}
 .fj-master-story .fj-personal-botany{width:190px;height:285px;right:-55px;bottom:-60px}
 [dir=rtl] .fj-master-story .fj-personal-botany{left:-55px;right:auto}
 .fj-master-details{padding-block:12px 30px}
 .fj-master-details .section{padding-block:30px}
 .fj-master-details .section-heading h2{font-size:34px}
 .fj-master-details .master-description{font-size:16px;line-height:1.9}
 .fj-master-details :is(.full-services,.full-results,.full-reviews,.full-certificates){grid-template-columns:1fr;gap:24px}
 .fj-master-details .master-gallery{grid-template-columns:1fr;gap:24px}
 .fj-master-details .service-card h3{font-size:29px}
 .fj-master-details .service-card p{font-size:15px}
 .fj-master-details .review-card{min-width:0;padding:25px}
 .fj-master-details .certificate .certificate-button{height:370px}
 .fj-master-details .certificate h3{font-size:23px}
 #forest-master-choice .hero-grid{padding-block:38px 20px}
 #forest-master-choice .hero h1{font-size:45px}
 #forest-master-choice .hero-tagline{font-size:24px}
 #forest-master-choice .hero-subtitle{font-size:15px}
 #forest-master-choice .section-heading h2{font-size:31px}
 #forest-master-choice .masters-grid{grid-template-columns:1fr;gap:26px}
 #forest-master-choice .master-photo-link>.photo{height:280px}
 #forest-master-choice .master-card h3{font-size:33px}
 #forest-master-choice .master-card .button{min-height:46px}
 #forest-master-choice>.section{padding-bottom:45px}
}
@media(prefers-reduced-motion:reduce){.fj-master-story *, .fj-master-story *::before,.fj-master-story *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}#forest-master-choice .master-card:hover{transform:none}}
