/*
Theme Name: John's Tree Service
Description: A one-page tree-service theme with a cinematic scroll film, real business photography, editable content and direct contact.
Version: 2.4.0
Author: Kodoro Labs
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: johns-tree-service
*/
:root{--forest:#102f25;--forest-soft:#1b3d2e;--paper:#f5f3ea;--ink:#173d2a;--muted:#aebdaf;--orange:#e67d3e;--lime:#c8d1b8;--line:#cbd1c1;--display:'Barlow Condensed','Arial Narrow',Impact,sans-serif;--body:'DM Sans',Arial,sans-serif;--header:94px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:var(--header)}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:15px;line-height:1.7}body.dialog-open{overflow:hidden}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-underline-offset:5px}img{display:block;max-width:100%;height:auto}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}[hidden]{display:none!important}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-family:var(--display);font-weight:600;line-height:1.02}h2{font-size:clamp(42px,4.9vw,74px);letter-spacing:-.015em}p+p{margin-top:16px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--orange);outline-offset:5px}.skip-link{position:fixed;top:-100px;left:20px;z-index:1000;background:var(--orange);color:var(--forest);padding:12px 22px}.skip-link:focus{top:12px}.eyebrow{font-size:10px;line-height:1.5;font-weight:600;letter-spacing:.18em;text-transform:uppercase;margin-bottom:22px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 24px;background:var(--orange);color:#172b1d;font-size:12px;font-weight:700;line-height:1.3;text-decoration:none;border:1px solid var(--orange);transition:background .2s,transform .2s}.button:hover{background:#ff9146;border-color:#ff9146;transform:translateY(-2px)}.button-small{min-height:42px;padding:11px 20px;font-size:11px}.text-link{font-size:12px;font-weight:600;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:6px;display:inline-block}.text-link:hover{color:#c55109}.site-header{position:fixed;left:0;right:0;top:0;min-height:var(--header);padding:23px 5.2%;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:25px;background:var(--forest);color:var(--paper);border-bottom:1px solid transparent;transition:border-color .2s}.site-header.scrolled{border-color:#315041}.brand{font-family:var(--display);font-weight:800;font-size:34px;line-height:.9;letter-spacing:.02em;color:inherit;text-decoration:none;white-space:nowrap}.brand span{display:block;font-family:var(--body);font-size:9px;font-weight:600;letter-spacing:.25em;margin-top:10px}.main-nav{display:flex;gap:38px;align-items:center}.main-nav a{text-decoration:none;font-size:12px}.main-nav a:hover,.main-nav a[aria-current]{color:var(--lime)}.menu-toggle{display:none}.journey{height:450svh;background:var(--forest);color:var(--paper)}.tree-stage{height:100svh;min-height:680px;position:sticky;top:0;overflow:hidden;isolation:isolate}.hero-location{position:absolute;top:calc(var(--header) + 28px);left:25%;width:50%;text-align:center;text-transform:uppercase;font-size:9px;letter-spacing:.16em;color:var(--lime)}.hero-intro{position:absolute;left:6%;top:28%;width:23%;z-index:2;pointer-events:none}.hero-intro .eyebrow{font-size:9px;color:var(--lime);letter-spacing:.14em}.hero-intro h1{font-size:clamp(64px,6.8vw,108px);line-height:.93;letter-spacing:-.02em}.hero-intro h1 em{font-style:normal;color:var(--lime)}.hero-description{font-size:12px;line-height:1.9;max-width:205px;margin-top:25px;color:var(--muted)}.hero-intro .text-link{margin-top:22px;color:var(--paper);font-size:10px;pointer-events:auto}.tree-canvas{position:absolute;left:25%;width:50%;top:19%;height:64%;touch-action:pan-y;cursor:grab;z-index:1}.tree-canvas:active{cursor:grabbing}.tree-canvas canvas{display:block;width:100%;height:100%}#loading{position:absolute;left:15%;right:15%;top:45%;text-align:center;color:var(--muted);font-size:11px}.tree-fallback{display:none;position:absolute;inset:10% 2%;width:96%;height:80%;object-fit:cover}.tree-failed .tree-fallback,[data-disabled=true] .tree-fallback{display:block}.tree-failed canvas,[data-disabled=true] canvas{display:none}.tree-error{position:absolute;left:10%;right:10%;bottom:0;font-size:11px;text-align:center;background:var(--forest);padding:12px}.story-copy{position:absolute;left:77%;width:18%;top:34%;z-index:2}.story-copy .eyebrow{color:var(--lime);font-size:8px;letter-spacing:.1em}.story-number{color:var(--orange);margin-right:9px}.story-panel h2{font-size:clamp(29px,3.1vw,43px);max-width:220px;margin-bottom:20px}.story-panel>p:last-child{font-size:12px;color:var(--muted);line-height:1.9;max-width:220px}.story-copy .button{margin-top:26px;padding:13px 18px;font-size:11px}.hero-phone{display:block;font-size:11px;margin-top:15px;text-decoration:none;color:var(--muted)}.tree-controls{position:absolute;bottom:34px;left:5.2%;right:5.2%;display:flex;align-items:center;justify-content:space-between;gap:25px;border-top:1px solid #345043;padding-top:22px;z-index:4}.skip-story{font-size:10px;color:var(--muted);text-decoration:none}.story-nav{display:flex;gap:34px}.story-nav button{background:none;border:0;color:var(--muted);font-size:11px;position:relative;padding:9px 0;min-width:55px}.story-nav button span{font-size:8px;color:#7f9582;margin-right:7px}.story-nav button[aria-current]{color:var(--paper)}.story-nav button[aria-current]::after{content:'';position:absolute;left:0;right:0;bottom:-23px;height:2px;background:var(--orange)}.motion-toggle{background:none;color:var(--muted);border:1px solid #45604c;font-size:9px;padding:9px 14px}.motion-toggle[aria-pressed=true]{border-color:var(--lime);color:var(--lime)}.story-progress{height:3px;position:absolute;bottom:0;left:0;right:0;background:#284334}.story-progress>div{background:var(--orange);width:0;height:100%}.section{padding:110px 7%;scroll-margin-top:0}.section-heading{display:grid;grid-template-columns:1.2fr 1fr;gap:12%;align-items:end;margin-bottom:58px}.section-heading h2{max-width:640px}.section-heading>p{font-size:14px;line-height:1.9;max-width:370px;padding-bottom:4px}.services .eyebrow,.about .eyebrow,.faq .eyebrow{color:#607354}.service-layout{display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:start}.service-photo{padding-top:10px}.service-photo img{width:100%;height:430px;object-fit:cover;object-position:53% 50%}.service-photo figcaption{font-size:10px;color:#66725e;margin-top:15px;letter-spacing:.01em}details{border-bottom:1px solid var(--line)}details:first-child{border-top:1px solid var(--line)}summary{display:flex;align-items:center;gap:16px;padding:23px 0;cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}summary h3{font-size:28px;flex:1}.item-number{font-size:10px;color:#7b896d;align-self:center}.details-state{width:19px;height:19px;flex:0 0 19px;position:relative}.details-state::before,.details-state::after{content:'';position:absolute;left:3px;right:3px;top:9px;height:1px;background:currentColor}.details-state::after{transform:rotate(90deg);transition:transform .2s}details[open] .details-state::after{transform:rotate(0)}.detail-body{padding:0 20px 26px 30px}.detail-body p{font-size:13px;line-height:1.9;color:#596653}.detail-body .text-link{font-size:10px;margin-top:17px}.work{background:var(--forest);color:var(--paper)}.work .eyebrow{color:var(--lime)}.work .section-heading>p{color:var(--muted)}.work-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:30px 35px;align-items:start}.work-photo-1{grid-row:span 2}.photo-button{padding:0;border:0;position:relative;background:none;color:var(--paper);display:block;width:100%;overflow:hidden}.photo-button img{width:100%;object-fit:cover;transition:transform .6s}.photo-button:hover img{transform:scale(1.035)}.work-photo-1 img{height:590px;object-position:45% 50%}.work-photo-2 img,.work-photo-3 img{height:232px}.photo-button>span{position:absolute;bottom:16px;right:17px;background:var(--forest);padding:7px 12px;font-size:9px;opacity:0;transition:opacity .2s}.photo-button:hover>span,.photo-button:focus-visible>span{opacity:1}.work-photo figcaption{font-size:11px;margin-top:13px;color:#d0d8c8}.work-photo figcaption span{font-size:9px;color:var(--lime);margin-right:12px}.about{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:center}.about-image{position:relative}.about-image img{width:100%;max-height:650px;object-fit:cover}.photo-label{position:absolute;left:22px;bottom:22px;background:var(--paper);color:var(--ink);font-size:9px;letter-spacing:.15em;padding:10px 16px}.about-copy h2{max-width:400px;margin-bottom:30px}.about-copy>p:not(.eyebrow){font-size:14px;line-height:1.95;color:#53624e}.about-copy blockquote{font-family:var(--display);font-size:41px;margin:26px 0;color:var(--ink)}.about-values{border-top:1px solid var(--line);padding-top:20px;display:grid;gap:16px;margin-bottom:30px}.about-values h3{font-family:var(--body);font-size:12px;font-weight:700;line-height:1.5}.about-values p{font-size:11px;color:#65745c;line-height:1.7}.faq{display:grid;grid-template-columns:.9fr 1.1fr;gap:12%;background:#eaece0}.faq>div>h2{max-width:400px}.faq>div>p:last-child{font-size:12px;color:#63735a;margin-top:25px}.faq summary{padding:22px 0}.faq h3{font-family:var(--body);font-size:14px;line-height:1.5;font-weight:600}.faq .detail-body{padding:0 30px 23px 0}.faq .detail-body p{font-size:12px}.contact{display:grid;grid-template-columns:1fr 1fr;gap:11%;background:var(--forest);color:var(--paper)}.contact .eyebrow{color:var(--lime)}.contact-copy h2{max-width:470px;margin-bottom:25px}.contact-copy>p:not(.eyebrow){color:var(--muted);font-size:13px;line-height:1.9;max-width:370px}.contact-links{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:32px}.contact-links>a{text-decoration:none;font-size:12px}.contact-links .contact-phone{font-family:var(--display);font-size:35px;line-height:1.2}.service-area{margin-top:38px;padding-top:25px;border-top:1px solid #35513e;max-width:380px}.service-area .eyebrow{margin-bottom:8px;font-size:8px}.service-area>p:last-child{font-size:11px;color:var(--muted)}.contact-form{padding-top:6px}.contact-form>h3{font-size:35px}.contact-form>p{font-size:14px;margin:20px 0}.site-footer{padding:48px 7% 23px;background:#0b251c;color:var(--paper)}.footer-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:38px}.footer-top p{font-family:var(--display);font-size:29px;color:var(--lime)}.footer-top>a:last-child{font-size:11px}.footer-bottom{border-top:1px solid #2b4536;padding-top:20px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;font-size:9px;color:#adbaaa}.photo-dialog{border:0;padding:60px 45px 28px;background:var(--forest);color:var(--paper);max-width:min(1050px,95vw);max-height:95svh;width:100%;overflow:auto}.photo-dialog::backdrop{background:#071a13e8}.photo-dialog img{max-height:72svh;width:auto;max-width:100%;object-fit:contain;margin:auto}.photo-dialog figcaption{font-size:12px;text-align:center;margin-top:18px}.dialog-close{position:absolute;top:18px;right:22px;padding:6px 10px;background:transparent;color:var(--paper);border:1px solid #748771;font-size:11px}.standard-content{padding-top:160px;min-height:65vh}.standard-content h1{font-size:60px;margin-bottom:30px}.standard-content article{max-width:850px;margin:0 auto 50px}.standard-content p{margin-bottom:20px}.standard-content .wp-block-image{margin:25px 0}.admin-bar .site-header{top:32px}.admin-bar .tree-stage{top:32px;height:calc(100svh - 32px)}
@media(min-width:1600px){.section{padding-left:max(7%,calc((100vw - 1450px)/2));padding-right:max(7%,calc((100vw - 1450px)/2))}.tree-canvas{left:26%;width:48%}.hero-intro{left:8%}.story-copy{left:77%;width:16%}}
@media(max-width:1050px){:root{--header:85px}.hero-intro{left:5%;width:25%;top:30%}.hero-intro h1{font-size:74px}.hero-intro .eyebrow{font-size:8px}.hero-description{font-size:11px;max-width:170px}.story-copy{left:77%;width:19%;top:34%}.story-panel h2{font-size:31px}.story-panel>p:last-child{font-size:11px}.story-copy .button{padding:12px 13px;font-size:10px}.section{padding:85px 6%}.section-heading{gap:7%}.service-layout{gap:5%}.service-photo img{height:390px}summary h3{font-size:25px}.work-photo-1 img{height:530px}.work-photo-2 img,.work-photo-3 img{height:202px}.about{gap:7%}.about-copy blockquote{font-size:34px}.faq{gap:8%}.contact{gap:8%}}
@media(max-width:760px){:root{--header:79px}.site-header{padding:20px 6%;gap:15px}.brand{font-size:27px}.brand span{font-size:7px;margin-top:8px}.site-header>.button{margin-left:auto;min-height:37px;font-size:10px;padding:9px 13px}.menu-toggle{display:block;order:3;background:none;color:var(--paper);border:0;font-size:10px;padding:10px 0 10px 7px}.main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--forest);padding:15px 6% 25px;gap:25px;border-bottom:1px solid #3b5543}.main-nav.is-open{display:flex}.main-nav a{font-size:11px}.tree-stage{min-height:690px}.hero-location{top:calc(var(--header) + 20px);left:5%;width:90%;font-size:8px;letter-spacing:.1em}.hero-intro{left:6%;top:19%;width:88%;text-align:center}.hero-intro .eyebrow{font-size:8px;margin-bottom:12px}.hero-intro h1{font-size:53px;line-height:.96}.hero-intro h1 br{display:none}.hero-intro h1 em::before,.hero-intro h1 em::after{content:' '}.hero-intro h1 em{display:block}.hero-description{display:none}.hero-intro>.text-link{display:none}.tree-canvas{left:10%;width:80%;top:32%;height:39%}.story-copy{left:7%;width:86%;top:auto;bottom:15%;display:grid;grid-template-columns:1fr auto;gap:0 17px;align-items:center}.story-panel .eyebrow{font-size:7px;margin-bottom:5px}.story-panel h2{font-size:28px;margin-bottom:6px;max-width:none}.story-panel>p:last-child{font-size:10px;line-height:1.6;max-width:300px}.story-copy>.button{font-size:9px;padding:11px 13px;margin:0;min-height:40px}.hero-phone{display:none}.tree-controls{bottom:27px;left:6%;right:6%;padding-top:16px;gap:15px}.skip-story{display:none}.story-nav{gap:25px}.story-nav button{font-size:10px;min-width:0}.story-nav button span{display:none}.story-nav button[aria-current]::after{bottom:-20px}.motion-toggle{font-size:8px;padding:8px 10px}.section{padding:70px 7%}.section-heading{grid-template-columns:1fr;gap:22px;margin-bottom:35px}.section-heading>p{font-size:13px;max-width:540px}.section h2{font-size:47px}.eyebrow{font-size:8px;margin-bottom:15px}.service-layout{grid-template-columns:1fr;gap:35px}.service-photo img{height:auto;max-height:400px}.service-photo figcaption{font-size:9px}.service-list summary{padding:20px 0}.service-list h3{font-size:27px}.work-grid{gap:25px}.work-photo-1 img{height:400px}.work-photo-2 img,.work-photo-3 img{height:145px}.work-photo figcaption{font-size:10px}.work-photo figcaption span{font-size:8px;margin-right:5px}.about{grid-template-columns:1fr;gap:40px}.about-image img{max-height:570px;object-position:50% 30%}.about-copy h2{max-width:430px}.about-copy>p:not(.eyebrow){font-size:13px}.about-values{grid-template-columns:1fr 1fr 1fr;gap:15px}.about-values h3{font-size:10px}.about-values p{font-size:10px}.faq{grid-template-columns:1fr;gap:35px}.faq>div>h2{max-width:440px}.faq summary h3{font-size:13px}.contact{grid-template-columns:1fr;gap:45px}.contact-copy h2{max-width:490px}.contact-copy>p:not(.eyebrow){max-width:490px}.contact-links .contact-phone{font-size:31px}.contact-links>a{font-size:11px}.service-area{margin-top:25px}.contact-form{border-top:1px solid #36513e;padding-top:35px}.footer-top{flex-wrap:wrap;gap:25px}.footer-top p{font-size:24px}.footer-top>a:last-child{font-size:10px}.footer-bottom{font-size:8px;gap:15px}.admin-bar .site-header{top:46px}.admin-bar .tree-stage{top:46px;height:calc(100svh - 46px)}}
@media(max-width:460px){.tree-stage{min-height:650px}.hero-intro{top:19%}.hero-intro h1{font-size:48px}.tree-canvas{left:5%;width:90%;top:34%;height:35%}.story-copy{bottom:14%;gap:12px}.story-panel h2{font-size:25px}.story-panel>p:last-child{font-size:9px;max-width:205px}.story-panel .eyebrow{font-size:6px;letter-spacing:.07em}.story-copy>.button{padding:10px;font-size:8px;min-height:38px}.story-nav{gap:18px}.motion-toggle{font-size:7px;padding:8px}.section h2{font-size:43px}.work-grid{grid-template-columns:1fr 1fr;gap:24px 16px}.work-photo-1{grid-row:auto;grid-column:1/-1}.work-photo-1 img{height:360px}.work-photo-2 img,.work-photo-3 img{height:135px}.work-photo figcaption{font-size:9px;line-height:1.6}.about-values{grid-template-columns:1fr;gap:17px}.about-values h3{font-size:12px}.about-values p{font-size:11px}.footer-top p{order:3;width:100%;font-size:30px}.footer-top>a:last-child{margin-left:auto}.photo-dialog{padding:60px 15px 20px}}
.story-nav button,.motion-toggle,.menu-toggle{min-height:44px}.story-nav button{min-width:44px}.menu-toggle{min-width:44px}
.tree-canvas:not(.is-ready) .tree-fallback{display:block}.tree-canvas:not(.is-ready) #loading{z-index:2;background:var(--forest);padding:10px}
.journey.no-3d,.journey:has([data-disabled=true]){height:100svh;min-height:690px}.no-3d .story-nav,.no-3d .motion-toggle,[data-disabled=true] .story-nav,[data-disabled=true] .motion-toggle,[data-disabled=true] #loading{display:none}.no-3d .tree-stage{position:relative}
@media(max-width:460px){.story-nav{gap:13px}.motion-toggle{font-size:9px;padding:7px 9px}.tree-controls{gap:12px}}
@media(max-width:380px){.story-nav{gap:6px}.story-nav button{min-width:40px}.tree-controls{gap:8px}.motion-toggle{font-size:8px;padding:6px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
