/* Purpose Talent live-reference trial. Observed tokens; local font substitutes.
   Isolated from the approved Trees version. No source analytics or Webflow runtime. */
:root {
    --bg-color:#f9f2e9; --bg-rgb:249,242,233; --text-color:#1e1e1e; --text-rgb:30,30,30;
    --green:#1e1e1e; --green-rgb:30,30,30; --green-light:#403f3e; --green-deep:#1e1e1e;
    --ui-paper:#f9f2e9; --ui-forest:#1e1e1e; --ui-ink:#1e1e1e; --ui-muted:#59534b;
    --ui-line:#d5c8b8; --ui-control-line:#a79785; --ui-hover:#f0b420; --ui-radius:18px;
    --ui-backdrop:#1e1e1e80; --ui-shadow:none; --purpose-yellow:#f0b420;
    --purpose-muted:#a79785; --purpose-pale:#f2e8dc;
    --font-display:'Tiempos Headline',Georgia,serif;
}
body { background:var(--bg-color); }
.vignette,.light-leak,.container-stripes { display:none; }
.texture-overlay { opacity:.8; mix-blend-mode:color-burn; z-index:500; }
.title-card { display:block; align-items:normal; padding:0; overflow-x:hidden; overflow-y:auto; background:var(--bg-color); text-align:start; }
.title-card.hidden { display:none; }
.title-card::before,.title-card::after { content:none; display:none; }
[dir="rtl"] .title-card { align-items:normal; }
.purpose-home { width:100%; }
.purpose-nav { position:relative; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:24px; padding:22px 3.6vw; min-height:98px; z-index:2; }
.purpose-nav-left,.purpose-nav-right { display:flex; gap:8px; align-items:center; }
.purpose-nav-right { justify-content:flex-end; }
.purpose-wordmark { font:700 21px/.95 var(--font-heading); text-align:center; max-width:150px; white-space:normal; transform:rotate(-2deg); letter-spacing:-.055em; }
.purpose-pill,.purpose-experiment .btn-enter,.purpose-experiment .atlas-entry-home { position:relative; display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:46px; padding:13px 28px; border:1px solid #1e1e1e; border-radius:999px; color:#1e1e1e; background:transparent; font:700 13px/1.3 var(--font-body); letter-spacing:0; text-transform:none; text-decoration:none; white-space:normal; cursor:pointer; overflow:hidden; isolation:isolate; transition:color .25s,border-color .25s,transform .25s; box-shadow:none; }
.purpose-pill::before { content:''; position:absolute; inset:0; background:var(--purpose-yellow); z-index:-1; transform:translateY(110%); border-radius:50%; transition:transform .45s cubic-bezier(.16,1,.3,1),border-radius .45s; }
.purpose-pill:hover::before { transform:translateY(0); border-radius:0; }
.purpose-pill:hover { color:#1e1e1e; border-color:var(--purpose-yellow); transform:translateY(-2px); }
.purpose-pill-yellow,.purpose-experiment .purpose-pill-yellow.btn-enter { background:var(--purpose-yellow); border-color:var(--purpose-yellow); color:#1e1e1e; }
.purpose-pill-yellow::before { background:#1e1e1e; }
.purpose-pill-yellow:hover,.purpose-experiment .purpose-pill-yellow.btn-enter:hover { color:var(--ui-paper); border-color:#1e1e1e; background:var(--purpose-yellow); }
.purpose-pill-ink { background:#1e1e1e; color:var(--ui-paper); border-color:#1e1e1e; }
.purpose-nav-pill { padding:6px 13px; min-height:36px; border-color:transparent; font-size:12px; }
.purpose-nav-pill:hover { border-color:#1e1e1e; }
.purpose-nav-pill .ui-icon { width:23px; height:23px; }
.purpose-nav .purpose-pill-ink { min-height:36px; padding:6px 14px; font-size:12px; }
.purpose-language { display:flex; gap:4px; border:0; min-height:44px; color:#1e1e1e; background:none; box-shadow:none; padding:8px; }
.purpose-hero { min-height:calc(100dvh - 98px); position:relative; padding:8px 8vw 80px; display:grid; grid-template-columns:44% 56%; align-items:center; overflow:clip; }
.purpose-hero-art { position:relative; height:min(510px,60vw); align-self:end; }
.purpose-hero-art>img { width:115%; max-width:none; height:100%; margin-inline-start:-12%; object-fit:contain; transform:rotate(-4deg); mix-blend-mode:multiply; }
.purpose-art-caption { position:absolute; inset-inline-start:10%; bottom:0; display:flex; flex-direction:column; gap:4px; font-size:11px; line-height:1.5; transform:rotate(-4deg); }
.purpose-art-caption i { font-family:var(--font-heading); }
.purpose-hero-copy { position:relative; padding:12px 0 0; }
.purpose-headline { font:700 clamp(78px,8.6vw,146px)/.83 var(--font-display); color:#1e1e1e; letter-spacing:-.065em; text-transform:uppercase; padding:0; margin:0 0 48px; text-align:start; }
.purpose-headline>span { display:block; width:fit-content; }
.purpose-headline>span:nth-child(1) { transform:rotate(-2.2deg); margin-inline-start:-7vw; }
.purpose-headline>span:nth-child(2) { transform:rotate(1.3deg); margin-block:14px; margin-inline-start:-3vw; }
.purpose-headline>span:nth-child(3) { transform:rotate(-1.9deg); margin-inline-start:0; }
.purpose-rays { position:absolute; width:90px; height:90px; object-fit:contain; top:30%; inset-inline-end:7%; mix-blend-mode:multiply; pointer-events:none; animation:purpose-rays-end .01s step-end 4.9s forwards; }
@keyframes purpose-rays-end { to{visibility:hidden;} }
.purpose-intro { max-width:390px; margin-inline-start:8%; }
.purpose-kicker { font:500 12px/1.5 var(--font-body); margin:0 0 13px; }
.purpose-subtitle { font:500 19px/1.4 var(--font-body); max-width:340px; margin:0 0 28px; }
.purpose-actions { display:flex; gap:10px; align-items:stretch; flex-wrap:wrap; }
.purpose-actions .purpose-pill { padding:13px 22px; }
.purpose-hero-bottom { position:absolute; bottom:28px; inset-inline:5vw; display:flex; justify-content:space-between; align-items:center; gap:20px; font-size:11px; }
.purpose-scroll { border:0; background:none; color:inherit; font:inherit; cursor:pointer; display:flex; align-items:center; gap:10px; min-height:44px; }
.purpose-scroll .ui-icon { width:18px; }
.purpose-experiment :focus-visible { outline:2px solid currentColor; outline-offset:5px; }
/* One visual vocabulary, from the entrance to every reading window. */
.purpose-experiment { --accent-color:#1e1e1e; --accent-rgb:30,30,30; --bg-shift:#f9f2e9; --bg-shift-rgb:249,242,233; }
.purpose-experiment .logo { display:block; top:26px; left:50%; right:auto; max-width:140px; transform:translateX(-50%) rotate(-2deg); text-align:center; color:var(--ui-ink); opacity:1; font:700 21px/.95 var(--font-heading); letter-spacing:-.055em; }
.purpose-experiment .top-right-ui { top:24px; right:3.6vw; left:auto; gap:6px; }
html:lang(ar) .purpose-experiment .top-right-ui { left:3.6vw; right:auto; }
.purpose-experiment .icon-btn,.purpose-experiment .control-button,.purpose-experiment .atlas-round,.purpose-experiment .about-close,.purpose-experiment .species-picker-close,.purpose-experiment .end-card-close { width:44px; height:44px; min-width:44px; min-height:44px; border:1px solid var(--ui-ink); color:var(--ui-ink); background:var(--ui-paper); border-radius:50%; box-shadow:none; transition:background .22s,color .22s,transform .22s; }
.purpose-experiment .icon-btn:hover,.purpose-experiment .control-button:hover:not(:disabled),.purpose-experiment .atlas-round:hover { background:var(--purpose-yellow); transform:translateY(-2px); }
.purpose-experiment #btn-info,.purpose-experiment .about-close,.purpose-experiment .species-picker-close,.purpose-experiment .end-card-close,.purpose-experiment #atlas-close { color:var(--ui-paper); background:var(--ui-ink); }
.purpose-experiment #btn-info:hover,.purpose-experiment .about-close:hover,.purpose-experiment .species-picker-close:hover,.purpose-experiment .end-card-close:hover,.purpose-experiment #atlas-close:hover { color:var(--ui-ink); background:var(--purpose-yellow); border-color:var(--purpose-yellow); }
.purpose-experiment .icon-btn.active { color:var(--ui-ink); background:var(--purpose-yellow); }
.purpose-experiment .info-panel { top:88px; left:50%; right:auto; transform:translateX(-50%); width:min(900px,90%); max-width:none; max-height:calc(100dvh - 230px); padding:0; align-items:center; text-align:center; overflow-y:auto; scrollbar-width:thin; pointer-events:auto; background:none; }
.purpose-experiment .tree-header { justify-content:center; gap:8px; margin:0 0 12px; flex-wrap:wrap; animation:none; opacity:1; transform:none; }
.purpose-experiment .tree-scientific { flex-basis:auto; margin-bottom:0; font:italic 13px/1.5 var(--font-body); opacity:1; color:var(--ui-muted); }
.purpose-experiment .type-tag,.purpose-experiment .tree-size { font:500 10px/1.4 var(--font-body); letter-spacing:0; color:var(--ui-ink); padding:5px 10px; border-color:var(--ui-ink); text-transform:none; }
.purpose-experiment .tree-size { background:var(--purpose-yellow); border-color:var(--purpose-yellow); }
.purpose-experiment .tree-name { font:700 clamp(34px,4vw,60px)/.98 var(--font-display); text-transform:uppercase; letter-spacing:-.05em; color:var(--ui-ink); max-width:100%; margin:0 0 14px; animation:none; opacity:1; transform:none; overflow-wrap:normal; }
.purpose-experiment .tree-desc { display:block; font:400 14px/1.65 var(--font-body); margin:0 0 12px; max-width:620px; padding:0; color:var(--ui-ink); opacity:1; animation:none; transform:none; overflow:visible; -webkit-line-clamp:unset; }
.purpose-experiment .the-number { font:400 11px/1.6 var(--font-body); color:var(--ui-muted); opacity:1; margin:0 0 12px; padding-top:0; border:0; animation:none; }
.purpose-experiment .detail-trigger,.purpose-experiment .atlas-text-button,.purpose-experiment .end-actions .btn-enter,.purpose-experiment #btn-restart { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:46px; padding:13px 24px; font:700 13px/1.4 var(--font-body); letter-spacing:0; text-transform:none; border:1px solid var(--purpose-yellow); border-radius:999px; background:var(--purpose-yellow); color:var(--ui-ink); text-decoration:none; transition:background .22s,color .22s; }
.purpose-experiment .detail-trigger:hover,.purpose-experiment .atlas-text-button:hover,.purpose-experiment .end-actions .btn-enter:hover { background:var(--ui-ink); border-color:var(--ui-ink); color:var(--ui-paper); }
.purpose-experiment .species-button { border-radius:999px; border:1px solid var(--ui-ink); padding:13px 20px; min-height:48px; background:var(--ui-ink); color:var(--ui-paper); font:500 12px/1.5 var(--font-body); }
.purpose-experiment .species-button:hover { background:var(--purpose-yellow); color:var(--ui-ink); border-color:var(--purpose-yellow); }
.purpose-experiment .species-button #counter-text { color:inherit; opacity:1; letter-spacing:0; font-size:11px; }
.purpose-experiment .progress-counter { bottom:28px; }
.purpose-experiment .progress-bar { width:70px; height:2px; background:var(--ui-line); }
.purpose-experiment .progress-fill { background:var(--purpose-yellow); }
.purpose-experiment .arrow-nav { bottom:36px; }
.purpose-experiment .prev-arrow { left:5vw; }
.purpose-experiment .next-arrow { right:5vw; background:var(--purpose-yellow); border-color:var(--purpose-yellow); }
.purpose-experiment .instruction { top:auto; bottom:98px; left:50%; right:auto; transform:translateX(-50%); border:0; background:none; box-shadow:none; backdrop-filter:none; padding:0; font:400 10px/1.4 var(--font-body); letter-spacing:0; text-transform:none; white-space:nowrap; animation:fadeIn .4s ease 2s both; }
.purpose-experiment .render-container,.purpose-experiment .scale-ui { bottom:80px; }
.purpose-experiment .ground-line { background:linear-gradient(to bottom,#1e1e1e08,#1e1e1e14); }
.purpose-experiment .scale-label-ui { font:500 10px/1.4 var(--font-body); color:var(--ui-muted); }
/* Strong titles, readable body copy, fine ink rules and the same pill controls. */
.purpose-experiment .species-picker,.purpose-experiment .about-panel-card,.purpose-experiment .tree-atlas { border-color:var(--ui-ink); border-radius:22px; box-shadow:none; }
.purpose-experiment .species-picker::backdrop,.purpose-experiment .tree-atlas::backdrop,.purpose-experiment .about-panel { background:#1e1e1e66; backdrop-filter:blur(5px); }
.purpose-experiment .ui-dialog-header,.purpose-experiment .species-picker header,.purpose-experiment .atlas-header { border-color:var(--ui-ink); background:var(--ui-paper); }
.purpose-experiment .ui-eyebrow,.purpose-experiment .atlas-eyebrow,.purpose-experiment .about-section-label { color:var(--ui-ink); font:500 11px/1.5 var(--font-body); letter-spacing:0; text-transform:none; }
.purpose-experiment .species-picker { width:min(740px,calc(100% - 40px)); padding-inline:28px; }
.purpose-experiment .species-picker header { gap:22px; padding-block:24px; }
.purpose-experiment .species-picker h2 { font:700 36px/1 var(--font-display); letter-spacing:-.04em; text-transform:uppercase; min-width:0; }
.purpose-experiment .species-picker-list { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:20px; padding-block:8px; }
.purpose-experiment .species-picker-list button { min-width:0; gap:12px; padding:10px 8px; min-height:84px; color:var(--ui-ink); border-color:var(--ui-line); font:700 20px/1.1 var(--font-heading); }
.purpose-experiment .species-picker-list img { width:44px; height:62px; flex-basis:44px; mix-blend-mode:multiply; }
.purpose-experiment .species-caption { min-width:0; }
.purpose-experiment .species-caption i { font:italic 11px/1.5 var(--font-body); color:var(--ui-muted); }
.purpose-experiment .species-picker-list button:hover,.purpose-experiment .species-picker-list [aria-current="true"] { background:var(--purpose-yellow); }
.purpose-experiment .about-panel-card { padding-inline:36px; }
.purpose-experiment .about-panel .ui-dialog-header { margin-inline:-36px; padding:18px 24px; }
.purpose-experiment #about-title { font:700 clamp(34px,4.2vw,54px)/1 var(--font-display); letter-spacing:-.045em; text-transform:uppercase; transform:rotate(-1.5deg); margin:0 0 26px; }
.purpose-experiment .about-lead { font:400 16px/1.7 var(--font-body); }
.purpose-experiment .about-desc { font:400 14px/1.7 var(--font-body); }
.purpose-experiment .about-author h3 { font:700 27px/1.2 var(--font-heading); letter-spacing:-.03em; }
.purpose-experiment .about-section { border-color:var(--ui-ink); padding-top:22px; }
.purpose-experiment .about-section-label { margin-bottom:12px; }
.purpose-experiment .about-contact-links { gap:8px; }
.purpose-experiment .about-contact-link { display:flex; align-items:center; gap:9px; min-height:44px; border:1px solid var(--ui-ink); border-radius:999px; padding:10px 14px; color:var(--ui-ink); font:500 11px/1.5 var(--font-body); text-decoration:none; }
.purpose-experiment .about-contact-link:hover { background:var(--purpose-yellow); }
.purpose-experiment .about-references summary,.purpose-experiment .atlas-method summary { font-weight:700; border-bottom:1px solid var(--ui-line); }
.purpose-experiment .modal-source-item { font:400 13px/1.7 var(--font-body); }
.purpose-experiment .atlas-header h2 { font:700 30px/1.05 var(--font-display); letter-spacing:-.04em; text-transform:uppercase; }
.purpose-experiment .atlas-selector select { border:1px solid var(--ui-ink); border-radius:999px; padding:10px 28px 10px 14px; font:500 13px/1.5 var(--font-body); }
.purpose-experiment .atlas-brand { min-width:0; }
.purpose-experiment .atlas-sidebar { background:var(--ui-paper); }
.atlas-overview h3 { margin:8px 0 20px; font:700 34px/1.05 var(--font-heading); letter-spacing:-.04em; text-transform:uppercase; }
.atlas-overview>p { font:400 14px/1.7 var(--font-body); margin-bottom:16px; }
.atlas-overview .atlas-overview-stats { font-size:12px; font-weight:700; border-block:1px solid var(--ui-ink); padding-block:14px; }
.tree-atlas.is-overview .atlas-sidebar { display:flex; flex-direction:column; }
.tree-atlas.is-overview .atlas-sidebar>* { flex-shrink:0; }
.tree-atlas.is-overview .atlas-overview { order:0; }
.tree-atlas.is-overview #atlas-place-reading { order:1; }
.tree-atlas.is-overview .atlas-places-section { order:2; }
.tree-atlas.is-overview .atlas-method { order:3; }
.atlas-related-trees { margin-top:24px; }
.atlas-related-tree { display:flex; align-items:center; width:100%; text-align:start; gap:12px; padding:10px 0; min-height:86px; border:0; border-bottom:1px solid var(--ui-line); background:none; color:var(--ui-ink); cursor:pointer; }
.atlas-related-tree>span { flex:1; }
.atlas-related-tree img { width:44px; height:64px; object-fit:contain; mix-blend-mode:multiply; }
.atlas-related-tree strong { display:block; font:700 20px/1.2 var(--font-heading); }
.atlas-related-tree i { display:block; font:italic 12px/1.5 var(--font-body); margin-top:5px; color:var(--ui-muted); }
.atlas-related-tree:hover { background:#f0b42044; }
.atlas-overview-back { display:inline-flex; align-items:center; min-height:44px; margin:0 0 18px; padding:8px 14px; border:1px solid var(--ui-ink); border-radius:999px; color:var(--ui-ink); background:var(--ui-paper); font:500 12px/1.5 var(--font-body); cursor:pointer; }
.atlas-overview-back:hover { background:var(--purpose-yellow); }
.atlas-cluster-pill { display:flex; align-items:center; justify-content:center; width:88px; min-height:36px; padding:7px 12px; border:2px solid var(--ui-paper); border-radius:999px; background:var(--ui-ink); color:var(--ui-paper); font:700 12px/1.3 var(--font-body); white-space:nowrap; }
.purpose-experiment .atlas-intro h3 { font:700 36px/1.04 var(--font-display); letter-spacing:-.04em; text-transform:uppercase; }
.purpose-experiment .atlas-intro i,.purpose-experiment .atlas-companion i { font:italic 13px/1.5 var(--font-body); }
.purpose-experiment .atlas-description { font:400 14px/1.7 var(--font-body); color:var(--ui-ink); }
.purpose-experiment .atlas-facts { background:none; border-color:var(--ui-ink); gap:20px; }
.purpose-experiment .atlas-fact strong { font:700 23px/1.3 var(--font-heading); }
.purpose-experiment .atlas-section-title,.purpose-experiment .atlas-place-reading h3,.purpose-experiment .atlas-local h4,.purpose-experiment .species-sources h4 { font:700 25px/1.08 var(--font-heading); letter-spacing:-.03em; }
.purpose-experiment .atlas-help,.purpose-experiment .atlas-method p,.purpose-experiment .atlas-companion p { font:400 13px/1.7 var(--font-body); }
.purpose-experiment .atlas-place-button { border-color:var(--ui-line); padding-inline:10px; }
.purpose-experiment .atlas-place-button strong { font-weight:700; }
.purpose-experiment .atlas-place-button[aria-pressed="true"],.purpose-experiment .atlas-place-button:hover { background:var(--purpose-yellow); }
.purpose-experiment .atlas-place-reading { border-inline-start-color:var(--ui-ink); }
.purpose-experiment .atlas-source { font-size:12px; }
.purpose-experiment .atlas-range-toggle,.purpose-experiment .atlas-map-toolbar button { color:var(--ui-ink); border:1px solid var(--ui-ink); border-radius:999px; background:var(--ui-paper); }
.purpose-experiment .atlas-range-toggle input { accent-color:var(--ui-ink); }
.purpose-experiment .atlas-map-toolbar button:hover { background:var(--purpose-yellow); }
.purpose-experiment .atlas-map-legend { background:var(--ui-paper); border-color:var(--ui-ink); color:var(--ui-ink); border-radius:14px; }
.purpose-experiment .atlas-key-range { background:#f0b42055; border-color:var(--ui-ink); }
.purpose-experiment .atlas-key-place,.purpose-experiment .atlas-marker-dot { background:var(--ui-ink); }
.purpose-experiment .atlas-marker.is-active .atlas-marker-dot { background:var(--purpose-yellow); border-color:var(--ui-ink); }
.purpose-experiment .atlas-map .leaflet-overlay-pane path { stroke:var(--ui-ink); fill:var(--purpose-yellow); }
.purpose-experiment .atlas-map .atlas-place-tooltip { border:1px solid var(--ui-ink); background:var(--ui-paper); color:var(--ui-ink); border-radius:999px; padding:8px 12px; box-shadow:none; }
.purpose-experiment .atlas-map .leaflet-control-zoom { border-color:var(--ui-ink); border-radius:999px; }
.purpose-experiment .atlas-map .leaflet-control-zoom a { color:var(--ui-ink); background:var(--ui-paper); }
.purpose-experiment .atlas-map .leaflet-control-zoom a:hover { background:var(--purpose-yellow); }
/* An individual tree is a reading experience; the shared atlas stays map-led. */
@media(min-width:801px) {
    .purpose-experiment .atlas-header { align-items:flex-end; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-layout { grid-template-columns:minmax(0,7fr) minmax(0,3fr); }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-sidebar { padding:32px clamp(24px,2.8vw,44px) 36px; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-intro { min-height:170px; gap:24px; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-intro h3 { font-size:clamp(36px,3.8vw,58px); line-height:1.02; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-intro img { width:130px; height:170px; filter:none; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-description { max-width:680px; font-size:15px; line-height:1.75; margin-block:18px 24px; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-facts { gap:24px 40px; padding-block:18px; margin-bottom:20px; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-fact strong { font-size:28px; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-places-section .atlas-help { max-width:620px; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-place-reading>p { max-width:680px; font-size:14px; line-height:1.75; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-map-toolbar { inset-inline-start:12px; top:14px; max-width:calc(100% - 76px); gap:6px; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-map-toolbar button,
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-range-toggle { font-size:11px; padding:8px 10px; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-map-legend { inset-inline-start:12px; bottom:22px; max-width:calc(100% - 24px); padding:10px 12px; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-place-tooltip { max-width:min(180px,24vw); }
    .purpose-experiment .tree-atlas:not(.is-overview) #atlas-place-reading:empty { display:none; }
}
@media(min-width:1100px) {
    /* Keep sections in reading order; unequal columns leave empty space below the shorter one. */
    .purpose-experiment .tree-atlas:not(.is-overview) #atlas-profile { display:grid; grid-template-columns:minmax(0,1fr) 170px; gap:14px 32px; align-items:start; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-intro { display:contents; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-intro>div { grid-column:1; grid-row:1; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-intro h3 { margin:0 0 10px; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-intro img { grid-column:2; grid-row:1/span 4; align-self:center; width:170px; height:240px; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-description { grid-column:1; margin:0; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-facts { grid-column:1; gap:16px 32px; padding-block:12px; margin:0; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-text-button { grid-column:1; justify-self:start; }
    .purpose-experiment .tree-atlas:not(.is-overview) #atlas-places:has(>.atlas-place-button:nth-child(2)),
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-ecosystem .companions-grid:has(>.companion-chip:nth-child(2)) { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 24px; }
    .purpose-experiment .tree-atlas:not(.is-overview) #atlas-places>.atlas-place-button:last-child:nth-child(odd) { grid-column:1/-1; }
    .purpose-experiment .tree-atlas:not(.is-overview) #atlas-editorial { margin-top:26px; }
}
@media(max-width:800px) {
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-map-pane { height:180px; min-height:180px; max-height:180px; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-map-legend { inset-inline-start:10px; bottom:18px; padding:6px 8px; font-size:10px; }
    .purpose-experiment .tree-atlas:not(.is-overview) .atlas-map-legend>span { margin-inline-end:8px; }
}
.purpose-experiment .end-title { font:700 clamp(38px,5vw,70px)/.98 var(--font-display); letter-spacing:-.045em; text-transform:uppercase; transform:rotate(-1.5deg); }
.purpose-experiment .end-title em { font-style:normal; }
.purpose-experiment .end-subtitle { font:400 15px/1.7 var(--font-body); }
.purpose-experiment #btn-restart { border-color:var(--ui-ink); background:transparent; }
.purpose-experiment #btn-restart:hover { background:var(--ui-ink); color:var(--ui-paper); }
.purpose-experiment .end-thumb:hover { background:#f0b42033; }
.purpose-experiment .share-feedback { border:1px solid var(--ui-ink); border-radius:999px; color:var(--ui-paper); background:var(--ui-ink); }
html:lang(ar) .purpose-experiment .tree-name,html:lang(ar) .purpose-experiment #about-title,html:lang(ar) .purpose-experiment .end-title { line-height:1.25; transform:none; }
html:lang(ar) .purpose-experiment .atlas-intro h3 { line-height:1.3; }
@media(max-width:999px) {
    .purpose-experiment .logo { left:24px; right:auto; transform:rotate(-2deg); max-width:130px; text-align:start; }
    .purpose-experiment .info-panel { top:88px; }
    .purpose-experiment .tree-header { margin-bottom:14px; }
    .purpose-experiment .tree-name { margin-bottom:16px; }
    .purpose-experiment .tree-desc { max-width:560px; font-size:14px; }
    html:lang(ar) .purpose-experiment .logo { right:24px; left:auto; }
    html:lang(ar) .purpose-experiment .top-right-ui { left:24px; right:auto; }
}
@media(max-width:639px) {
    .purpose-experiment .logo { top:22px; left:16px; max-width:85px; font-size:18px; }
    .purpose-experiment .top-right-ui { top:18px; right:16px; gap:4px; }
    .purpose-experiment .info-panel { top:92px; width:calc(100% - 40px); align-items:center; text-align:center; max-height:calc(58dvh - 192px); overflow-y:auto; scrollbar-width:thin; pointer-events:auto; padding-bottom:6px; }
    .purpose-experiment .tree-header { justify-content:center; margin-bottom:12px; gap:6px; }
    .purpose-experiment .tree-scientific { font-size:11px; margin-bottom:2px; }
    .purpose-experiment .tree-name { font-size:clamp(28px,8.5vw,42px); line-height:1.02; margin-bottom:16px; }
    .purpose-experiment .tree-desc { font-size:13px; line-height:1.6; margin-bottom:14px; }
    .purpose-experiment .the-number { font-size:11px; margin-bottom:12px; }
    .purpose-experiment .detail-trigger { padding:11px 20px; font-size:12px; flex:none; }
    .purpose-experiment .instruction { font-size:9px; bottom:84px; }
    .purpose-experiment .progress-counter { bottom:20px; }
    .purpose-experiment .arrow-nav { bottom:28px; }
    .purpose-experiment .species-button { font-size:11px; padding:11px 14px; min-height:46px; max-width:210px; }
    .purpose-experiment .species-picker { width:calc(100% - 16px); padding-inline:20px; border-radius:20px; }
    .purpose-experiment .species-picker header { gap:16px; padding-block:20px; }
    .purpose-experiment .species-picker h2 { font-size:30px; }
    .purpose-experiment .species-picker-list { grid-template-columns:1fr; }
    .purpose-experiment .species-picker-list button { font-size:23px; }
    .purpose-experiment .about-panel-card { padding-inline:22px; border-radius:20px; }
    .purpose-experiment .about-panel .ui-dialog-header { margin-inline:-22px; padding:14px 16px; }
    .purpose-experiment #about-title { font-size:34px; padding-inline-end:64px; min-height:0; }
    .purpose-experiment .about-tree { width:60px; height:125px; }
    .purpose-experiment .about-lead { font-size:14px; line-height:1.75; }
    .purpose-experiment .about-contact-links { grid-template-columns:1fr; }
    .purpose-experiment .about-contact-link { font-size:12px; }
    .purpose-experiment .atlas-header h2 { font-size:24px; }
    .purpose-experiment .atlas-intro h3 { font-size:34px; }
    .purpose-experiment .tree-atlas { border:0; border-radius:0; }
    .purpose-experiment .end-title { font-size:40px; }
    html:lang(ar) .purpose-experiment .logo { left:auto; right:16px; }
    html:lang(ar) .purpose-experiment .top-right-ui { left:16px; right:auto; }
    html:lang(ar) .purpose-experiment .tree-name { font-size:30px; }
    html:lang(ar) .purpose-experiment .species-picker h2 { font-size:26px; }
}
@media(min-width:640px) and (max-height:560px) {
    .purpose-experiment .info-panel { top:84px; max-height:calc(50dvh - 84px); }
    .purpose-experiment .tree-header { margin-bottom:8px; }
    .purpose-experiment .tree-name { font-size:30px; margin-bottom:12px; }
    .purpose-experiment .tree-desc { font-size:13px; }
}
@media(max-width:370px) {
    .purpose-experiment .logo { max-width:60px; font-size:15px; left:12px; }
    .purpose-experiment .top-right-ui { right:12px; gap:2px; }
    .purpose-experiment .info-panel { width:calc(100% - 32px); }
    .purpose-experiment .species-button { padding-inline:11px; gap:6px; max-width:190px; }
    .purpose-experiment .prev-arrow { left:12px; }
    .purpose-experiment .next-arrow { right:12px; }
    .purpose-experiment .atlas-header h2 { font-size:21px; }
    html:lang(ar) .purpose-experiment .logo { right:12px; }
    html:lang(ar) .purpose-experiment .top-right-ui { left:12px; }
}
.purpose-hero-art,.purpose-hero-copy { animation:purpose-arrive .85s cubic-bezier(.16,1,.3,1) both; }
.purpose-hero-art { animation-delay:.08s; }
.purpose-hero-copy { animation-delay:.16s; }
@keyframes purpose-arrive { from{opacity:0;translate:0 24px;}to{opacity:1;translate:0 0;} }
[dir="rtl"] .purpose-headline { font-family:'Cairo',sans-serif; letter-spacing:0; text-transform:none; line-height:1.2; }
[dir="rtl"] .purpose-headline { font-size:clamp(58px,7vw,110px); }
[dir="rtl"] .purpose-wordmark { font-family:'Cairo',sans-serif; letter-spacing:0; }
@media(min-width:1600px) { .purpose-hero { padding-inline:12vw; } .purpose-hero-art { height:640px; } }
@media(max-width:1000px) {
    .purpose-nav { padding-inline:24px; gap:12px; }
    .purpose-nav-pill { padding-inline:4px; gap:6px; }
    .purpose-hero { padding-inline:6vw; padding-top:25px; }
    .purpose-headline { font-size:9.2vw; margin-bottom:35px; }
    .purpose-hero-art { height:56vw; }
    .purpose-intro { margin-inline-start:0; }
    .purpose-rays { width:64px; height:64px; inset-inline-end:0; }
    .purpose-subtitle { font-size:17px; }
    .purpose-actions .purpose-pill { padding:13px 17px; font-size:12px; }
}
@media(max-width:650px) {
    .purpose-nav { min-height:84px; padding:18px 18px 10px; gap:8px; grid-template-columns:1fr auto; }
    .purpose-wordmark { grid-column:1; grid-row:1; text-align:start; max-width:105px; font-size:19px; }
    .purpose-nav-right { grid-column:2; grid-row:1; gap:5px; }
    .purpose-nav-left { grid-column:1/-1; grid-row:2; justify-content:space-between; border-bottom:1px solid #1e1e1e20; padding-top:10px; }
    .purpose-nav-pill { min-height:44px; padding:5px 0; }
    .purpose-nav .purpose-pill-ink { min-height:44px; }
    .purpose-hero { display:flex; flex-direction:column; align-items:stretch; padding:32px 24px 86px; min-height:0; }
    .purpose-hero-art { position:absolute; top:38px; inset-inline-end:-38px; width:57%; height:280px; align-self:auto; }
    .purpose-hero-art>img { margin:0; width:100%; height:100%; transform:rotate(5deg); }
    .purpose-art-caption { display:none; }
    .purpose-hero-copy { padding:0; }
    .purpose-headline { font-size:clamp(53px,15.4vw,98px); line-height:.9; letter-spacing:-.055em; margin:0 0 35px; width:82%; padding-top:18px; }
    .purpose-headline>span:nth-child(1) { margin-inline-start:0; }
    .purpose-headline>span:nth-child(2) { margin-inline-start:6px; margin-block:12px; }
    .purpose-headline>span:nth-child(3) { margin-inline-start:0; }
    .purpose-rays { top:135px; inset-inline-end:22%; width:50px; height:50px; }
    .purpose-intro { padding-top:26px; max-width:100%; }
    .purpose-kicker { font-size:11px; margin-bottom:12px; }
    .purpose-subtitle { font-size:18px; line-height:1.5; max-width:310px; margin-bottom:24px; }
    .purpose-actions { gap:8px; }
    .purpose-actions .purpose-pill { padding:13px 15px; font-size:12px; min-height:48px; }
    .purpose-hero-bottom { inset-inline:24px; bottom:18px; font-size:10px; gap:12px; }
    .purpose-hero-bottom>span { max-width:140px; line-height:1.6; }
    .purpose-scroll { gap:6px; font-size:10px; }
    [dir="rtl"] .purpose-headline { font-size:14vw; width:75%; }
}
@media(prefers-reduced-motion:reduce) {
    .purpose-rays { display:none; }
    .purpose-hero-art,.purpose-hero-copy { animation:none; }
    .purpose-pill,.purpose-pill::before { transition:none; }
}
