/* Four-page garden: Georgia, DM Sans, ivory on charcoal, tactile transparent artwork. */
:root{--garden-bg:#080909;--garden-ink:#f1f0ed;--garden-muted:#aaaead;--garden-accent:#ff6558;--garden-line:#2b2e2c}

body{background:var(--garden-bg);color:var(--garden-ink)}

.site-header{margin-top:16px;border:1px solid var(--garden-line);border-radius:22px;background:rgba(16,17,17,.94)}

.desktop-navigation a[aria-current=page]{color:var(--garden-ink);text-decoration:underline;text-decoration-color:var(--garden-accent);text-underline-offset:10px}

.garden-page{max-width:1200px;overflow:visible}
.garden-page *{box-sizing:border-box}
.garden-page h1,.garden-page h2,.garden-page h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;color:var(--garden-ink);text-wrap:balance}
.garden-page h1{font-size:clamp(3.1rem,5.7vw,5.5rem);line-height:1.04;letter-spacing:-.05em;margin:22px 0 28px}
.garden-page h2{font-size:clamp(2.2rem,3.6vw,3.75rem);line-height:1.1;letter-spacing:-.04em;margin:0 0 26px}
.garden-page h3{font-size:1.55rem;line-height:1.25;letter-spacing:-.025em;margin:0 0 12px}
.garden-page p{color:var(--garden-muted);line-height:1.75;margin:0 0 24px}
.garden-page img{display:block;width:100%;height:auto;object-fit:contain}
.garden-page em{font-weight:400}
.garden-page .garden-kicker{text-transform:uppercase;font-size:.72rem;letter-spacing:.14em;color:var(--garden-ink);margin-bottom:24px}
.garden-kicker:before{content:'';display:inline-block;width:7px;height:7px;background:var(--garden-accent);border-radius:50%;margin-right:10px}
.garden-hero{position:relative;min-height:650px;display:flex;align-items:center;padding:75px 0 60px}
.garden-hero-copy{position:relative;z-index:1;width:52%}
.garden-page .garden-hero-art{position:absolute;right:-4%;top:0;width:64%;height:100%;object-fit:contain;pointer-events:none}
.garden-home-hero{min-height:790px;padding-top:260px}
.garden-page .garden-home-hero .garden-hero-art{width:116%;max-width:none;right:-8%;top:-90px;height:100%;object-position:top center}
.garden-home-hero .garden-hero-copy{width:53%}
.garden-lead{font-size:1.08rem;max-width:530px}
.garden-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.garden-button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:12px 26px;background:var(--garden-ink);color:#111!important;border-radius:9px;font-size:.9rem;font-weight:650;text-decoration:none;transition:transform .12s}
.garden-button:active{transform:scale(.98)}
.garden-link{position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 14px;border-bottom:1px solid #6f7370;color:#fff;font-size:.9rem;text-decoration:none;min-height:44px}
.garden-link::before{content:'';position:absolute;z-index:0;inset:0;background:#fff;transform:scaleX(0);transform-origin:left;transition:transform 450ms var(--ease-in-out,cubic-bezier(.77,0,.175,1))}
.garden-link-label,.garden-link-arrow{position:relative;z-index:1;color:#fff;mix-blend-mode:difference}
@media(hover:hover) and (pointer:fine){.garden-link:hover::before{transform:scaleX(1)}}
.garden-link:focus-visible::before{transform:scaleX(1)}
@media(prefers-reduced-motion:reduce){.garden-link::before{transition:none}}
.garden-button:focus-visible,.garden-link:focus-visible{outline:2px solid var(--garden-accent);outline-offset:5px}
.garden-requirement{font-size:.82rem;margin-top:-16px!important}
.garden-section{padding:84px 0;border-top:1px solid var(--garden-line)}
.garden-section-heading{display:grid;grid-template-columns:1.5fr 1fr;gap:70px}
.garden-harvest{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;margin:35px 0}
.garden-harvest img{height:190px;object-position:bottom}
.garden-harvest h3{font-family:'DM Sans',sans-serif;font-size:.95rem;margin-top:20px}
.garden-harvest p{font-size:.8rem}
.garden-split{display:grid;grid-template-columns:1fr 1.25fr;gap:50px;align-items:center}
.garden-split>div{max-width:480px}
.garden-split>img{max-height:560px}
.garden-ending{padding:70px 0;display:grid;grid-template-columns:1.2fr 1fr;gap:50px;align-items:center;border-top:1px solid var(--garden-line)}
.garden-ending p{max-width:520px}
.garden-ending>img{max-height:380px}
.garden-story-hero .garden-hero-copy{width:59%}
.garden-page .garden-story-hero .garden-hero-art{width:56%;right:-6%;top:0;height:550px}
.garden-story{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.garden-story-work>img{max-height:220px;margin-bottom:20px}
.garden-caption{font-size:.75rem!important;color:#a0a4a1!important}
.garden-growth{list-style:none;padding:0;margin:0;counter-reset:growth}
.garden-growth li{display:grid;grid-template-columns:44% 1fr;align-items:center;gap:22px;counter-increment:growth}
.garden-growth img{height:195px}
.garden-growth h3{font-size:1.3rem}
.garden-growth h3:before{content:counter(growth);font:600 .8rem 'DM Sans',sans-serif;background:var(--garden-accent);color:#111;border-radius:50%;display:inline-grid;place-items:center;width:24px;height:24px;margin-right:10px}
.garden-growth p{font-size:.88rem}
.garden-two{display:grid;grid-template-columns:1fr 1fr;gap:75px}
.garden-agents{display:flex;margin:30px 0}
.garden-agents img{width:33.33%;height:160px}
.garden-appleseed img{max-height:390px}
.garden-tree-hero{min-height:620px}
.garden-page .garden-tree-hero .garden-hero-art{right:-7%;width:67%}
.garden-tree-hero .garden-hero-copy{width:45%}
.garden-pillars{padding-bottom:40px}
.garden-pillar{display:grid;grid-template-columns:1fr 2fr;align-items:center;gap:50px;margin:40px 0 70px}
.garden-pillar:nth-of-type(even){grid-template-columns:2fr 1fr}
.garden-pillar:nth-of-type(even)>div:first-child{order:2}
.garden-pillar h2{font-size:2.2rem}
.garden-pillar-art{display:flex;gap:14px;min-width:0}
.garden-pillar-art img{min-width:0;max-height:330px;flex:1}
.garden-two>div>img{max-height:400px}
.garden-grafting{border:1px solid var(--garden-line);border-radius:16px;padding:28px;margin-top:34px;position:relative;overflow:hidden}
.garden-grafting p,.garden-grafting h3{position:relative;z-index:1;max-width:75%}
.garden-grafting img{position:absolute;right:-40px;bottom:-20px;width:45%;height:230px;opacity:.6}
.garden-get-hero .garden-hero-copy{width:45%}
.garden-get-hero{min-height:520px}
.garden-get-hero .garden-actions{display:none}
.garden-page .garden-get-hero .garden-hero-art{width:65%;right:-6%;top:20px}
.garden-benefits{list-style:none;padding:14px 0;color:var(--garden-muted)}
.garden-benefits li{margin:14px 0}
.garden-benefits li:before{content:'✦';color:#82a56b;margin-right:14px}
.garden-page .garden-price{font-size:7rem;margin-bottom:12px}
.garden-page #pricing>img{max-height:250px}
.garden-integrations{gap:24px;margin-top:35px}
.garden-integrations>div{border:1px solid var(--garden-line);border-radius:14px;padding:28px}
.garden-integrations h3{font:600 1.1rem 'DM Sans',sans-serif}
.garden-integrations p{margin:0}
.garden-maker{display:grid;grid-template-columns:3fr 1fr;gap:70px;align-items:center}
.garden-maker img{max-height:200px}
.garden-page .newton-access-request{margin:0;max-width:none;background:#101111;border:1px solid var(--garden-line);border-radius:16px;padding:30px}
.garden-page .newton-access-request input,.garden-page .newton-access-request textarea{background:#151616;border:1px solid #454946;color:var(--garden-ink);border-radius:8px;min-height:48px}
.garden-page .newton-access-request button{background:var(--garden-ink);color:#111;border-radius:8px;min-height:50px}
.garden-page .newton-access-request h3{font-size:1.5rem}
.garden-page .newton-access-request p{font-size:.83rem}
.garden-page .newton-access-request label{font-size:.85rem}
.garden-page~.newton-footer{margin-top:0}

@media(max-width:900px){.garden-page .garden-home-hero .garden-hero-art{top:20px;height:530px}
.garden-home-hero{min-height:680px}
.garden-hero-copy,.garden-home-hero .garden-hero-copy{width:60%}
.garden-harvest{grid-template-columns:repeat(3,1fr)}
.garden-harvest img{height:180px}
.garden-story,.garden-two{gap:35px}
.garden-section-heading{gap:35px}
.garden-pillar{gap:28px}
.garden-tree-hero .garden-hero-copy{width:52%}
}

@media(max-width:600px){.garden-page h1{font-size:3.3rem}
.garden-hero{display:flex;flex-direction:column;min-height:0;padding:35px 0 40px}
.garden-page .garden-hero-art,.garden-page .garden-home-hero .garden-hero-art,.garden-page .garden-story-hero .garden-hero-art,.garden-page .garden-tree-hero .garden-hero-art,.garden-page .garden-get-hero .garden-hero-art{position:relative;top:auto;right:auto;order:0;width:100%;height:240px;object-position:center;margin:0 0 20px}
.garden-page .garden-home-hero .garden-hero-art{width:115%;height:285px;margin-left:-8%}
.garden-hero .garden-hero-copy,.garden-home-hero .garden-hero-copy,.garden-tree-hero .garden-hero-copy,.garden-get-hero .garden-hero-copy{width:100%;order:1}
.garden-page .garden-story-hero .garden-hero-art{height:140px}
.garden-actions{gap:20px}
.garden-section,.garden-ending{padding:48px 0}
.garden-section-heading,.garden-split,.garden-ending,.garden-story,.garden-two,.garden-maker{grid-template-columns:1fr;gap:30px}
.garden-harvest{grid-template-columns:repeat(2,1fr);gap:14px}
.garden-harvest img{height:155px}
.garden-split>img{max-height:400px}
.garden-ending>img{max-height:280px}
.garden-story-work>img{max-height:180px}
.garden-growth li{gap:15px}
.garden-growth img{height:165px}
.garden-pillar,.garden-pillar:nth-of-type(even){grid-template-columns:1fr;gap:16px;margin-bottom:50px}
.garden-pillar:nth-of-type(even)>div:first-child{order:0}
.garden-pillar-art{flex-wrap:wrap}
.garden-pillar-art img{flex-basis:100%;max-height:290px}
.garden-integrations{gap:18px}
.garden-page .newton-access-request{padding:22px}
.garden-maker img{max-height:150px}
.garden-grafting p,.garden-grafting h3{max-width:90%}
}

@media(prefers-reduced-motion:reduce){.garden-button{transition:none}
.garden-button:active{transform:none}
}


@media(min-width:601px) and (max-width:900px){.garden-page .garden-home-hero .garden-hero-art{top:-30px}
.garden-home-hero{padding-top:230px}
}

/* Planted motion rigs retain the illustration row alignment. */
.garden-harvest .growth-rig { position:relative; height:190px; width:min(100%,158.333px); margin-inline:auto; }
.garden-harvest .growth-rig img { width:100%; height:100%; object-fit:contain; object-position:center; }
.growth-rig canvas { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.growth-rig[data-ready="true"] img { visibility:hidden; }
.growth-soil-copy h3,.growth-soil-copy p { position:relative; z-index:1; text-shadow:0 2px 3px #080909,0 0 7px #080909,0 0 14px #080909; }
@media(max-width:900px){.garden-harvest .growth-rig{height:180px;width:min(100%,150px)}}
@media(max-width:600px){.garden-harvest .growth-rig{height:155px;width:min(100%,129.167px)}}
@media(prefers-reduced-motion:reduce){.growth-rig canvas{display:none}.growth-rig[data-ready="true"] img{visibility:visible}}

/* Let the home Treehouse occupy the full right-hand space, beyond the copy grid. */
@media(min-width:901px){
  .garden-page #treehouse{grid-template-columns:.9fr 1.35fr;gap:36px;padding-block:64px}
  .garden-page #treehouse>div{position:relative;z-index:1}
  .garden-page #treehouse>img{width:calc(100% + max(32px, (100vw - 1200px)/2));max-width:none;max-height:none;justify-self:start}
}
@media(min-width:601px) and (max-width:900px){
  .garden-page #treehouse{grid-template-columns:1fr 1.25fr;gap:20px}
  .garden-page #treehouse>img{width:calc(100% + 32px);max-width:none;max-height:none}
}

.garden-harvest .harvest-engine{height:190px;display:flex;align-items:end}
.harvest-engine-scene{position:relative;width:100%;aspect-ratio:1.25;transform-origin:50% 92%;animation:truck-idle 180ms ease-in-out infinite alternate}
.garden-harvest .harvest-truck-base{position:absolute;bottom:0;left:0;width:100%;height:auto;z-index:2}
.garden-harvest .cargo-apple{position:absolute;width:25%;height:auto;bottom:57%;z-index:1;transform-origin:50% 90%;animation:cargo-idle 360ms ease-in-out infinite alternate}
.cargo-apple-0{left:13%;animation-delay:-90ms!important}.cargo-apple-1{left:27%;bottom:62%!important;animation-delay:-220ms!important}.cargo-apple-2{left:41%;animation-delay:-40ms!important}.cargo-apple-3{left:54%;bottom:60%!important;animation-delay:-170ms!important}.cargo-apple-4{left:34%;bottom:69%!important;z-index:0!important;animation-delay:-300ms!important}
.harvest-engine:not([data-in-view="true"]) .harvest-engine-scene,.harvest-engine:not([data-in-view="true"]) .cargo-apple,.harvest-engine[data-user-paused="true"] .harvest-engine-scene,.harvest-engine[data-user-paused="true"] .cargo-apple,.harvest-engine[data-page-hidden="true"] .harvest-engine-scene,.harvest-engine[data-page-hidden="true"] .cargo-apple{animation-play-state:paused}
@keyframes truck-idle{from{transform:translateY(0) rotate(-.3deg)}to{transform:translateY(-.65px) rotate(.3deg)}}
@keyframes cargo-idle{from{transform:translateY(0) rotate(-1.5deg)}to{transform:translateY(-1.5px) rotate(1.5deg)}}
@media(max-width:900px){.garden-harvest .harvest-engine{height:180px}}
@media(max-width:600px){.garden-harvest .harvest-engine{height:155px}}
@media(prefers-reduced-motion:reduce){.harvest-engine-scene,.garden-harvest .cargo-apple{animation:none}}

/* The canopy crosses the upper divider; the cut trunk dissolves into the next section. */
.garden-page #treehouse>.treehouse-mesh{position:relative;z-index:0;max-width:none;width:100%;aspect-ratio:1.5;pointer-events:none;mask-image:linear-gradient(to bottom,#000 0%,#000 82%,rgba(0,0,0,.9) 88%,transparent 100%)}
.treehouse-mesh>img{width:100%;height:100%;object-fit:contain}
.treehouse-mesh canvas{position:absolute;inset:0;width:100%;height:100%}
@media(min-width:901px){
  .garden-page #treehouse{position:relative;min-height:calc((840px + max(32px,(100vw - 1200px)/2))*2/3 - 120px);padding-block:64px;overflow:visible}
  .garden-page #treehouse>div:first-child{max-width:440px;z-index:2}
  .garden-page #treehouse>.treehouse-mesh{position:absolute;left:36%;top:-90px;width:calc(70% + max(32px,(100vw - 1200px)/2));max-width:none}
}
@media(min-width:601px) and (max-width:900px){.garden-page #treehouse>.treehouse-mesh{width:calc(100% + 32px)}}
@media(prefers-reduced-motion:reduce){.treehouse-mesh canvas{display:none}.treehouse-mesh[data-ready="true"] img{visibility:visible}}

@media(min-width:901px){.garden-tree-hero .garden-hero-copy{width:42%}.garden-page .garden-tree-hero .garden-hero-art{width:62%}}
@media(min-width:601px) and (max-width:900px){.garden-page .garden-tree-hero .garden-hero-art{width:46%;right:-4%}}
/* The workshop's living canopy reaches beyond the page grid. */
@media(min-width:901px){
 .garden-tree-hero{min-height:740px}
 .garden-tree-hero .garden-hero-copy{width:40%;text-shadow:0 2px 8px #080909}
 .garden-page .garden-tree-hero .garden-hero-art{width:calc(70% + max(32px,(100vw - 1200px)/2));max-width:none;height:auto;top:0;right:calc(-1 * max(32px,(100vw - 1200px)/2));mask-image:linear-gradient(#000 88%,transparent 100%)}
}
@media(min-width:601px) and (max-width:900px){.garden-page .garden-tree-hero .garden-hero-art{width:60%;right:-9%}}
@media(max-width:600px){.garden-page .garden-tree-hero .garden-hero-art{width:calc(100% + 40px);max-width:none;margin-left:-20px;height:auto}}

.garden-tree-hero .garden-button{text-shadow:none}
/* A bough enters from above the page rather than floating beside the headline. */
@media(min-width:901px){
 .garden-page .garden-story-hero .garden-hero-art{width:78%;max-width:none;height:auto;top:-90px;right:-14%;transform:rotate(12deg);transform-origin:65% 35%}
 .garden-story-hero .garden-hero-copy{width:58%}
}

/* One quiet soil layer, fading in before the footer content. */
.tree-site .site-footer.newton-footer{position:relative;isolation:isolate;border-top:0;padding-top:80px}
body .tree-site .site-footer.newton-footer::before{
 content:"";position:absolute;z-index:-1;pointer-events:none;
 top:-100px;bottom:0;left:50%;width:100vw;transform:translateX(-50%);
 background:linear-gradient(to bottom,rgba(8,9,8,.55),rgba(8,9,8,.82) 55%,#080909 100%),url("garden/footer-soil-v1.png") center top/cover no-repeat;
 filter:none;opacity:1;mask-image:linear-gradient(to bottom,transparent,#000 180px);clip-path:inset(0);
}
.newton-footer-fruit{position:absolute;z-index:-1;inset:-74px calc((100% - 100vw)/2) auto;height:180px;overflow:hidden;pointer-events:none}
.newton-footer-fruit img{position:absolute;width:auto;object-fit:contain;filter:drop-shadow(0 10px 14px #0007)}
.newton-footer-fruit-orange{left:8%;top:44px;height:88px;transform:rotate(-8deg)}
.newton-footer-fruit-banana{left:34%;top:18px;height:92px;transform:rotate(8deg)}
.newton-footer-fruit-pear{right:28%;top:28px;height:108px;transform:rotate(5deg)}
.newton-footer-fruit-blueberry{right:7%;top:48px;height:78px;transform:rotate(-7deg)}
@media(prefers-reduced-motion:no-preference){
 .newton-footer-fruit img{animation:footer-fruit-peek 8s cubic-bezier(.77,0,.175,1) infinite alternate}
 .newton-footer-fruit-banana{animation-delay:-2s!important;animation-duration:9.5s!important}
 .newton-footer-fruit-pear{animation-delay:-4s!important;animation-duration:10.5s!important}
 .newton-footer-fruit-blueberry{animation-delay:-6s!important;animation-duration:9s!important}
}
@keyframes footer-fruit-peek{from{translate:0 5px;rotate:-1deg}to{translate:0 -3px;rotate:1deg}}
@media(max-width:600px){
 .tree-site .site-footer.newton-footer{padding-top:56px}
 body .tree-site .site-footer.newton-footer::before{top:-60px;mask-image:linear-gradient(to bottom,transparent,#000 130px)}
 .newton-footer-fruit{inset:-48px calc((100% - 100vw)/2) auto;height:120px}
 .newton-footer-fruit-orange{left:5%;top:34px;height:58px}
 .newton-footer-fruit-banana{display:none}
 .newton-footer-fruit-pear{right:34%;top:20px;height:72px}
 .newton-footer-fruit-blueberry{right:5%;top:36px;height:52px}
}
