/* Mobile first; scoped to the two candidate presentation surfaces. */
.landing-tree-r1,.tree-music-page{--space-1:8px;--space-2:16px;--space-3:24px;--space-4:36px;--space-5:52px;--space-6:72px;--gutter:20px;padding-top:0!important;font-family:Arial,Helvetica,sans-serif}
.landing-tree-r1 .ringtone-strip,.tree-music-page .ringtone-strip{position:relative;height:auto;min-height:106px}
.landing-tree-r1 .nav,.tree-music-page .nav{padding:var(--space-3) var(--gutter);gap:var(--space-2)}
.landing-tree-r1 #navlinks,.tree-music-page #navlinks{gap:12px 20px;flex-wrap:wrap}
.landing-tree-r1 #navlinks>a,.tree-music-page #navlinks>a{min-height:44px;display:inline-flex;align-items:center}
.landing-tree-r1 .muse-float,.tree-music-page .muse-float{position:static;display:inline-flex;inset:auto;max-width:100%;margin:16px 0;box-shadow:3px 3px 0 #171715}
.landing-tree-r1 section,.tree-music-page section{padding:var(--space-5) var(--gutter)}
.landing-tree-r1 .hero{padding-top:var(--space-4);min-height:0;grid-template-columns:minmax(0,1fr);gap:var(--space-4)}
.landing-tree-r1 .hero h1{font-size:clamp(3rem,11.8vw,4.4rem);max-width:12ch;margin-bottom:var(--space-3)}
.landing-tree-r1 .hero p{max-width:62ch}
.landing-tree-r1 .hero .page-glyph{max-width:150px;margin-bottom:var(--space-3)}
.landing-tree-r1 .headliner-intro-3lv{grid-template-columns:minmax(0,1fr);gap:var(--space-3);padding:var(--space-5) var(--gutter)!important;align-items:start}
.landing-tree-r1 .headliner-copy-3lv h2{font-size:clamp(1.9rem,7vw,2.6rem);line-height:1.1;letter-spacing:-.035em;margin-bottom:var(--space-3);max-width:24ch}
.landing-tree-r1 .headliner-copy-3lv p{max-width:65ch;margin-bottom:var(--space-2)}
.landing-tree-r1 .headliner-copy-3lv :is(.three,.journey){grid-template-columns:minmax(0,1fr);gap:var(--space-3)}
.landing-tree-r1 .hero-motion-3lv{margin:0;max-height:none}
.landing-tree-r1 .hero-motion-3lv img{aspect-ratio:16/9}
.landing-tree-r1 .foundergrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2)}
.landing-tree-r1 .foundercard{min-width:0;padding:0;overflow-wrap:anywhere}
.landing-tree-r1 .foundercard img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.landing-tree-r1 .foundercard span{display:block;padding:12px;font-size:1rem;line-height:1.35}
.landing-tree-r1 .listening-grid{gap:var(--space-3)}
.landing-tree-r1 .listening-grid>*,.landing-tree-r1 .three>*,.landing-tree-r1 .journey>*{padding:var(--space-3);min-width:0}
.landing-tree-r1 .numbers{gap:var(--space-3)}
.landing-tree-r1 .page-actions{margin:var(--space-3) var(--gutter);padding:var(--space-2);display:flex;flex-wrap:wrap;gap:12px}
.landing-tree-r1 :is(p,h1,h2,h3,a,summary),.tree-music-page :is(p,h1,h2,h3,a,summary){overflow-wrap:anywhere}
.landing-tree-r1 :is(a,button,summary):focus-visible,.tree-music-page :is(a,button,summary):focus-visible{outline:3px solid #a91929;outline-offset:4px}
.landing-tree-r1 .dark :focus-visible{outline-color:#e4e94a}
.landing-group-heading{padding:var(--space-5) var(--gutter) var(--space-4);border-top:4px solid var(--red);background:#e9e7de}
.landing-group-heading h2{font-size:clamp(2rem,8vw,3.2rem);margin-bottom:var(--space-2);line-height:1.05}
.landing-group-heading p{max-width:68ch;margin-bottom:0}
.landing-section-index{padding:var(--space-3) var(--gutter);border-block:1px solid var(--ink)}
.landing-section-index h2{font-size:1.2rem;letter-spacing:0;line-height:1.4;margin-bottom:12px}
.landing-section-index ul,.tree-roots{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;list-style:none;padding:0;margin:0}
.landing-section-index ul{grid-template-columns:repeat(2,minmax(0,1fr))}
.landing-section-index a{display:flex;align-items:center;min-height:48px;padding:12px;border:1px solid var(--ink);text-decoration:none}
.landing-audience{display:flex;flex-wrap:wrap;gap:12px;margin-block:var(--space-3)}
.landing-audience a{min-height:48px;display:inline-flex;align-items:center;padding:12px 16px;border:1px solid var(--ink);text-decoration:none}
.tree-preview{display:grid;gap:16px;max-width:65ch}
.tree-preview ul{display:flex;flex-wrap:wrap;gap:12px;list-style:none;padding:0;margin:0}
.tree-preview a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--line);text-decoration:none}
.tree-music-page .tree-intro{display:grid;gap:var(--space-4)}
.tree-music-page h1{font-size:clamp(3rem,12vw,5rem);margin-bottom:24px}
.tree-music-page h2{font-size:clamp(1.9rem,7vw,3rem);line-height:1.15;margin-bottom:24px}
.tree-music-page h3{font-size:1.4rem;line-height:1.2}
.tree-music-page p{max-width:68ch}
.tree-art{display:block;max-width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border:1px solid var(--line)}
.tree-map{border:1px solid var(--ink);padding:var(--space-3);background:#e9e7de;max-width:640px}
.tree-map svg{display:block;width:100%;height:auto;max-height:240px;color:var(--red)}
.tree-map p{font-size:.95rem;margin:12px 0 0}
.tree-map path{fill:none;stroke:currentColor;stroke-width:2;stroke-dasharray:6 5}
.tree-map circle{fill:var(--paper);stroke:var(--ink);stroke-width:2}
.tree-js .tree-spark{animation:tree-flow 9s linear infinite}
@keyframes tree-flow{to{stroke-dashoffset:-110}}
.motion-paused .tree-spark{animation-play-state:paused!important}
.tree-controls{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-block:24px}
.tree-controls button{min-height:48px;padding:12px 16px;border:1px solid var(--ink);background:var(--paper);color:var(--ink)}
.tree-controls button:disabled{cursor:default;opacity:1}
.tree-roots a{display:block;min-height:108px;padding:24px;border:1px solid var(--ink);text-decoration:none}
.tree-roots strong{display:block;font-size:1.25rem;margin-bottom:8px}
.tree-roots span{display:block;line-height:1.5}
.tree-branch{scroll-margin-top:24px!important;border-top:2px solid var(--ink)}
.tree-branch>p{margin-bottom:24px}
.tree-branch details{max-width:100%;border:1px solid var(--ink);padding:16px;background:#f7f6f0}
.tree-branch summary{cursor:pointer;min-height:48px;line-height:1.5;padding:8px;font-weight:700}
.tree-leaves{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;padding-top:24px}
.tree-leaf{padding:24px;border:1px solid var(--line);min-width:0}
.tree-leaf p{margin-bottom:16px}
.tree-leaf .tree-example{border-left:3px solid var(--red);padding-left:16px}
.tree-leaf a{display:inline-block;min-height:44px;padding-block:8px}
.tree-branch-nav{display:flex;flex-wrap:wrap;gap:16px;margin-top:24px}
.tree-branch-nav a{min-height:44px;display:inline-flex;align-items:center}
.tree-music-page #main,.landing-tree-r1 #main{min-width:0}
.landing-tree-r1 main [id],.tree-music-page main [id]{scroll-margin-top:24px}
.landing-tree-r1 .footer-3lv,.tree-music-page .footer-3lv{padding:52px var(--gutter)}
/* Tablet portrait: content pairs and generous gutters; feature art stays above copy. */
@media(min-width:700px){.landing-tree-r1,.tree-music-page{--gutter:36px;--space-5:60px}.landing-tree-r1 .ringtone-strip,.tree-music-page .ringtone-strip{min-height:64px}.landing-section-index ul{grid-template-columns:repeat(4,minmax(0,1fr))}.tree-roots,.tree-leaves{grid-template-columns:repeat(2,minmax(0,1fr))}.landing-tree-r1 .headliner-copy-3lv :is(.three,.journey){grid-template-columns:repeat(2,minmax(0,1fr))}.landing-tree-r1 .foundergrid{grid-template-columns:repeat(3,minmax(0,1fr))}.landing-tree-r1 .hero h1{font-size:clamp(4rem,8vw,6rem)}.landing-tree-r1 .headliner-copy-3lv h2{font-size:2.8rem}.landing-tree-r1 .headliner-copy-3lv .listening-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Tablet landscape: art and reading column side by side, with bounded copy. */
@media(min-width:1000px){.landing-tree-r1,.tree-music-page{--gutter:48px}.landing-tree-r1 .headliner-intro-3lv{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;gap:36px}.landing-tree-r1 .hero{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.landing-tree-r1 .foundergrid{grid-template-columns:repeat(2,minmax(0,1fr))}.tree-music-page .tree-intro{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:36px}.tree-roots{grid-template-columns:repeat(3,minmax(0,1fr))}.tree-leaves{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Desktop: wider gutters and editorial art balance rather than stretched text. */
@media(min-width:1300px){.landing-tree-r1,.tree-music-page{--gutter:clamp(64px,6vw,112px);--space-5:72px}.landing-tree-r1 .headliner-intro-3lv{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:48px}.landing-tree-r1 .headliner-copy-3lv h2{font-size:clamp(2.8rem,3.5vw,4rem)}.landing-tree-r1 .headliner-copy-3lv :is(.three,.journey){grid-template-columns:repeat(3,minmax(0,1fr))}.landing-tree-r1 .foundergrid{grid-template-columns:repeat(3,minmax(0,1fr))}.tree-music-page section{max-width:1600px;margin-inline:auto}.tree-music-page h1{font-size:6rem}}
@media(prefers-reduced-motion:reduce){.tree-spark{animation:none!important}.landing-tree-r1,.tree-music-page{scroll-behavior:auto!important}}

/* Reviewer fix: retain Back to top in document flow on the two changed pages. */
.landing-tree-r1 .back-top,.tree-music-page .back-top{position:static;inset:auto;z-index:auto;margin:var(--space-3) var(--gutter);max-width:calc(100% - 2 * var(--gutter));min-height:44px}
