:root{--ink:#27332c;--muted:#788079;--paper:#f4f1e8;--card:#fffdf8;--line:#e7e2d6;--green:#355e4b;--green-dark:#234634;--sage:#d9e5d9;--gold:#b68b54;--soft:#ece8dc;--shadow:0 20px 55px rgba(45,51,39,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:92px}body{margin:0;background:var(--paper);color:var(--ink);font-family:"IBM Plex Sans Arabic",system-ui,sans-serif;line-height:1.7}.site-shell{max-width:1260px;margin:auto;padding:0 44px}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(58,68,54,.11)}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand-mark{width:43px;height:43px;display:grid;place-items:center;border-radius:50% 50% 44% 44%;background:var(--green);color:#f8f5ec;font-family:Amiri,serif;font-size:25px;box-shadow:inset 0 0 0 3px rgba(255,255,255,.17)}.brand strong,.brand small{display:block}.brand strong{font-size:15px;line-height:1.25}.brand small{font-size:11px;color:var(--muted);margin-top:4px}.top-actions{display:flex;align-items:center;gap:20px}.beta-pill{display:flex;align-items:center;gap:8px;border:1px solid #d7dfd3;background:#e9eee6;color:var(--green);border-radius:50px;padding:7px 12px;font-size:11px;font-weight:600}.beta-pill i,.meta-dot{width:7px;height:7px;background:#6c9477;border-radius:50%;display:inline-block;box-shadow:0 0 0 3px rgba(108,148,119,.15)}.icon-button{display:none;background:none;border:0;padding:9px;cursor:pointer}.hero{min-height:495px;display:grid;grid-template-columns:1fr .9fr;align-items:center;gap:35px;padding:42px 0 30px}.hero-copy{padding:0 5px}.eyebrow{text-transform:uppercase;letter-spacing:.04em;color:var(--gold);font-size:11px;font-weight:700;margin:0 0 13px;display:flex;align-items:center;gap:9px}.eyebrow span{width:18px;height:1px;background:var(--gold)}h1,h2,p{margin-top:0}h1{font-family:Amiri,serif;font-size:clamp(43px,5.5vw,69px);line-height:1.21;letter-spacing:-.02em;margin:0 0 19px;font-weight:700}h1 em{font-style:normal;color:var(--green)}.hero-lead{max-width:440px;color:#69736b;font-size:15px;line-height:1.95;margin-bottom:26px}.hero-actions{display:flex;align-items:center;gap:10px}.button{font-family:inherit;border-radius:9px;border:1px solid transparent;padding:11px 17px;text-decoration:none;font-size:12px;font-weight:600;display:inline-flex;gap:18px;align-items:center;justify-content:center;cursor:pointer;transition:.2s}.button-primary{background:var(--green);color:#fffdf6;box-shadow:0 7px 18px rgba(53,94,75,.17)}.button-primary:hover{background:var(--green-dark);transform:translateY(-1px)}.button-quiet{color:var(--green);padding-inline:13px}.button-quiet:hover{background:rgba(255,255,255,.5)}.hero-meta{font-size:10px;color:var(--muted);margin-top:22px;display:flex;align-items:center;gap:9px}.meta-dot{width:6px;height:6px}.hero-art{height:385px;position:relative;overflow:hidden;border-radius:48% 48% 15px 15px;background:linear-gradient(145deg,#d9dfd0 0%,#e8e1cd 47%,#c6d2be 100%);isolation:isolate}.hero-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(37,63,47,.25));z-index:-1}.sun{position:absolute;width:160px;height:160px;border-radius:50%;background:#f6edcf;top:49px;left:50%;transform:translateX(-50%);box-shadow:0 0 60px 23px rgba(246,237,207,.25)}.ridge{position:absolute;bottom:0;width:140%;height:190px;left:-20%;border-radius:50% 50% 0 0}.ridge-back{background:#a5b79f;transform:rotate(-8deg) translateY(25px)}.ridge-front{background:#567a61;height:146px;bottom:-35px;transform:rotate(9deg);opacity:.82}.tree-orbit{position:absolute;border:1px solid rgba(255,255,255,.55);border-radius:50%;width:250px;height:250px;left:50%;top:52%;transform:translate(-50%,-50%)}.orbit-two{width:315px;height:315px;border-color:rgba(255,255,255,.29)}.hero-seal{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:117px;height:117px;border-radius:50%;border:1px solid rgba(255,255,255,.8);display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(246,241,225,.72);backdrop-filter:blur(4px);box-shadow:0 10px 32px rgba(25,53,37,.12)}.hero-seal span{font-family:Amiri,serif;font-size:34px;line-height:1.1;color:var(--green)}.hero-seal small{font-size:11px;color:var(--green);letter-spacing:.14em}.art-caption{position:absolute;bottom:20px;right:22px;color:white;display:flex;flex-direction:column;text-shadow:0 1px 5px rgba(0,0,0,.2)}.art-caption span{font-family:Amiri,serif;font-size:20px}.art-caption small{font-size:10px;opacity:.8}.stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr);padding:19px 0;margin:3px 0 78px}.stat{display:flex;align-items:center;justify-content:center;gap:12px;border-left:1px solid var(--line)}.stat:last-child{border:0}.stat-number{font:700 25px Amiri,serif;color:var(--green)}.stat-label{font-size:11px;color:var(--muted)}.section{margin-bottom:90px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:24px}.section-heading h2,.story-copy h2{font:700 36px/1.3 Amiri,serif;margin:0 0 8px}.section-note{font-size:12px;color:var(--muted);margin:0;max-width:510px}.tree-tools{display:flex;align-items:center;gap:9px}.search-box{width:240px;height:42px;background:var(--card);border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;gap:9px;padding:0 12px;color:var(--muted)}.search-box>span{font-size:24px;line-height:1}.search-box input{border:0;outline:0;background:transparent;min-width:0;width:100%;font:inherit;font-size:11px;color:var(--ink)}.search-box input::placeholder{color:#9da39b}.search-box kbd{white-space:nowrap;font:10px system-ui;border:1px solid #e4e1d8;border-radius:4px;padding:2px 4px;color:#9aa097}.button-outline{border-color:#dcd8cd;color:var(--green);background:transparent;padding:10px 13px}.button-outline:hover{background:white}.tree-panel{background:var(--card);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);overflow:hidden}.tree-toolbar{height:59px;border-bottom:1px solid #eeeadf;display:flex;align-items:center;justify-content:space-between;padding:0 21px}.tree-toolbar>div{display:flex;align-items:center;gap:9px;font-size:11px}.tiny-icon{color:var(--gold);font-size:15px}.tree-date{color:#a1a49b;font-size:10px;margin-right:6px}.draft-badge,.branch-status{color:#8e744f;background:#f6f0e2;border:1px solid #eee2c6;border-radius:20px;padding:4px 9px;font-size:9px}.tree-canvas{padding:39px 25px 31px;min-height:310px}.person-card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;cursor:pointer;transition:transform .2s,box-shadow .2s}.person-card:hover,.person-card:focus-visible{transform:translateY(-3px);box-shadow:0 12px 25px rgba(39,51,44,.11);outline:none}.founder{width:220px;margin:0 auto;background:#f0f4eb;border:1px solid #dce6d8;border-radius:11px;padding:16px 18px 13px}.card-kicker{font-size:9px;color:#8b9388;margin-bottom:3px}.person-name{font-family:Amiri,serif;font-size:20px;font-weight:700;color:var(--green-dark);line-height:1.4}.person-sub{font-size:10px;color:#7c857d;margin-top:3px}.card-arrow{display:flex;align-items:center;gap:8px;color:var(--green);font-size:9px;margin-top:9px}.card-arrow b{font-size:15px}.tree-stem{width:1px;height:37px;background:#b9c6b5;margin:auto;position:relative}.tree-stem:after{content:"";position:absolute;width:10px;height:10px;background:var(--card);border:1px solid #b9c6b5;border-radius:50%;bottom:-4px;left:50%;transform:translateX(-50%)}.branches{position:relative;display:grid;grid-template-columns:repeat(3,minmax(170px,220px));justify-content:center;gap:18px;padding-top:0}.branches:before{content:"";height:1px;background:#b9c6b5;position:absolute;top:0;left:calc(50% - 119px);right:calc(50% - 119px)}.branch{border:1px dashed #d8d5c8;border-radius:10px;padding:17px 15px 14px;background:#fffefa;min-height:149px}.branch:before{content:"";position:absolute;top:-19px;width:1px;height:18px;background:#b9c6b5}.branch-number{position:absolute;top:-11px;right:12px;width:23px;height:23px;border-radius:50%;background:var(--green);color:white;border:3px solid var(--card);font-size:9px;display:grid;place-items:center}.branch .person-name{font-size:17px}.branch-status{margin-top:12px}.no-results{text-align:center;color:var(--muted);font-size:12px;padding:28px}.tree-legend{display:flex;gap:24px;flex-wrap:wrap;padding:13px 22px;border-top:1px solid #eeeadf;font-size:9px;color:#929990}.tree-legend span{display:flex;align-items:center;gap:7px}.legend-solid,.legend-dashed{width:13px;height:9px;border-radius:3px;border:1px solid #dce6d8;background:#f0f4eb}.legend-dashed{background:white;border-style:dashed;border-color:#d8d5c8}.story-section{display:grid;grid-template-columns:.92fr 1fr;gap:60px;align-items:center}.story-art{height:275px;background:#e7e4d8;border-radius:14px;overflow:hidden;position:relative}.story-map{position:absolute;inset:0;background:radial-gradient(ellipse at 75% 44%,#d3d8c9 0 3%,transparent 3.5%),radial-gradient(ellipse at 23% 70%,#d3d8c9 0 2%,transparent 2.5%),repeating-linear-gradient(13deg,transparent 0 33px,rgba(100,125,103,.13) 34px 35px,transparent 36px 67px),repeating-linear-gradient(101deg,transparent 0 46px,rgba(100,125,103,.1) 47px 48px,transparent 49px 92px),linear-gradient(135deg,#eee9db,#d5dece)}.map-label{position:absolute;font-size:11px;color:#566858;font-weight:600}.origin{right:17%;top:23%}.destination{left:18%;bottom:24%}.map-route{position:absolute;width:59%;height:58%;left:19%;top:23%;border-top:2px dashed var(--gold);border-radius:50%;transform:rotate(-23deg)}.map-pin{position:absolute;width:10px;height:10px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px rgba(53,94,75,.15)}.pin-start{right:29%;top:34%}.pin-end{left:26%;bottom:31%;background:var(--gold);box-shadow:0 0 0 5px rgba(182,139,84,.17)}.map-stamp{position:absolute;right:50%;bottom:18px;transform:translateX(50%);border:1px solid rgba(80,100,78,.27);border-radius:50%;width:59px;height:59px;display:grid;place-items:center;text-align:center;color:rgba(53,94,75,.65);font:700 11px Amiri,serif;transform-origin:center;rotate:-12deg}.story-copy{padding:10px 0}.story-copy h2{font-size:38px;margin-bottom:14px}.story-copy>p:not(.eyebrow){font-size:13px;color:#6e776e;line-height:2.1;max-width:520px}.story-note{background:#edece2;padding:11px 13px;border-right:2px solid var(--gold);font-size:11px!important;color:#74796e!important;margin:18px 0}.story-note span{color:var(--gold);margin-left:6px}.text-link{font-size:11px;color:var(--green);font-weight:600;text-decoration:none;display:inline-flex;gap:12px;align-items:center}.review-banner{display:flex;align-items:center;gap:16px;border:1px solid #e3ddcf;border-radius:12px;padding:19px 22px;margin:0 0 62px;background:rgba(255,253,248,.55)}.review-icon{width:39px;height:39px;background:#e7ecdf;border-radius:50%;display:grid;place-items:center;color:var(--green);font-size:17px;flex:none}.review-banner strong{font:700 17px Amiri,serif}.review-banner p{margin:3px 0 0;color:#7c847b;font-size:10px}.review-lock{margin-right:auto;font-size:10px;color:#778177;white-space:nowrap}.footer{min-height:94px;height:auto;padding:14px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.footer-brand .brand-mark{width:34px;height:34px;font-size:20px}.footer-brand strong{font-size:12px}.footer-brand small{font-size:9px}.footer p,.to-top{font-size:10px;color:#8a9189;margin:0;line-height:1.8}.footer p{text-align:center}.to-top{text-decoration:none}.person-dialog{border:1px solid var(--line);border-radius:18px;padding:30px;width:min(440px,calc(100% - 32px));background:var(--card);color:var(--ink);box-shadow:0 25px 90px rgba(20,30,22,.25);text-align:center}.person-dialog::backdrop{background:rgba(27,40,31,.43);backdrop-filter:blur(3px)}.dialog-close{position:absolute;top:14px;left:15px;width:32px;height:32px;border:0;background:#f0eee6;border-radius:50%;font-size:22px;color:#647064;cursor:pointer}.dialog-symbol{margin:0 auto 14px;width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:#e9eee5;color:var(--green);font:700 26px Amiri,serif}.person-dialog .eyebrow{justify-content:center}.person-dialog h2{font:700 28px Amiri,serif;margin-bottom:10px}.dialog-description{font-size:12px;color:#6e786e;line-height:1.9}.dialog-facts{display:grid;grid-template-columns:1fr;gap:7px;margin:18px 0}.dialog-fact{background:#f4f2eb;border-radius:7px;padding:8px;color:#687168;font-size:10px}.dialog-footnote{font-size:9px;color:#999b91}
@media(max-width:800px){.site-shell{padding:0 22px}.hero{grid-template-columns:1fr .83fr;gap:18px;min-height:420px}.hero-art{height:310px}h1{font-size:50px}.hero-lead{font-size:13px}.section-heading{align-items:start;flex-direction:column}.tree-tools{width:100%}.search-box{flex:1}.story-section{gap:30px}.story-art{height:245px}.branches{gap:10px;grid-template-columns:repeat(3,minmax(130px,1fr))}.branches:before{left:calc(50% - 98px);right:calc(50% - 98px)}}
@media(max-width:600px){.site-shell{padding:0 17px}.topbar{height:72px}.brand-mark{width:37px;height:37px;font-size:22px}.brand strong{font-size:13px}.brand small{font-size:10px}.top-actions{gap:8px}.beta-pill{font-size:9px;padding:6px 9px}.icon-button{display:none}.hero{display:flex;flex-direction:column;align-items:stretch;gap:24px;padding:36px 0 25px}.hero-copy{padding:0}.hero-art{height:255px;order:2;border-radius:46% 46% 12px 12px}.sun{width:115px;height:115px;top:35px}.hero-seal{width:93px;height:93px}.hero-seal span{font-size:28px}.hero-seal small{font-size:9px}.tree-orbit{width:185px;height:185px}.orbit-two{width:238px;height:238px}.ridge{height:150px}.ridge-front{height:115px}.art-caption{bottom:12px;right:14px}.art-caption span{font-size:16px}.hero h1{font-size:46px}.hero-lead{max-width:none;font-size:13px;margin-bottom:20px}.hero-meta{font-size:9px;margin-top:17px}.stats{margin:2px 0 55px;padding:14px 0}.stat{gap:7px;flex-direction:column;text-align:center}.stat-number{font-size:21px}.stat-label{font-size:9px;line-height:1.5}.section{margin-bottom:62px}.section-heading h2,.story-copy h2{font-size:31px}.section-note{font-size:11px}.tree-tools{gap:7px}.search-box{height:41px}.search-box kbd{display:none}.button-outline{font-size:10px;padding:9px}.tree-toolbar{padding:0 13px;height:53px}.tree-toolbar>div{gap:6px;font-size:10px}.tree-date{display:none}.tree-canvas{padding:29px 12px 23px}.founder{width:min(220px,92%)}.branches{grid-template-columns:1fr;gap:14px;padding:0 6px 0 0;margin-right:22px}.branches:before{top:16px;bottom:16px;right:-12px;left:auto;width:1px;height:auto}.branch{min-height:90px;align-items:flex-start;text-align:right;padding:11px 16px 10px 10px}.branch:before{width:12px;height:1px;right:-12px;top:28px}.branch-number{right:auto;left:12px;top:11px;position:absolute;width:20px;height:20px;border-width:2px}.branch .card-kicker{margin-bottom:0}.branch .person-name{font-size:16px}.branch .person-sub{font-size:9px}.branch-status{position:absolute;left:10px;bottom:10px;margin:0;font-size:8px}.tree-stem{height:31px}.tree-legend{gap:10px;padding:11px 13px;font-size:8px}.tree-legend span:last-child{width:100%}.story-section{grid-template-columns:1fr;gap:23px}.story-art{height:210px;order:2}.story-copy h2{margin-bottom:9px}.story-copy>p:not(.eyebrow){font-size:12px}.review-banner{padding:15px 13px;gap:10px;align-items:flex-start;margin-bottom:42px}.review-icon{width:33px;height:33px}.review-banner strong{font-size:15px}.review-banner p{font-size:9px;line-height:1.7}.review-lock{font-size:9px;margin-top:4px}.footer{height:auto;min-height:78px;gap:8px;flex-wrap:wrap;padding:13px 0}.footer p{font-size:8px;order:3;width:100%;text-align:center}.to-top{font-size:9px}.footer-brand .brand-mark{width:30px;height:30px}.footer-brand strong{font-size:10px}.footer-brand small{font-size:8px}.person-dialog{padding:25px 20px}}

.branches{direction:ltr}.branch{direction:rtl}

.hero-seal span{font-size:25px}.person-dialog{max-height:85vh;overflow:auto}.unknown-edit{margin:16px 0;padding:12px;border:1px solid #e4dfd3;border-radius:9px;background:#f8f6ef;text-align:right}.unknown-edit[hidden]{display:none}.unknown-edit label{display:block;font-size:11px;font-weight:600;color:#596b5d;margin-bottom:7px}.unknown-edit-row{display:flex;gap:7px}.unknown-edit-row input{flex:1;min-width:0;border:1px solid #d9d5ca;border-radius:6px;padding:8px 10px;font:inherit;font-size:12px;background:white}.unknown-edit-row button{border:0;border-radius:6px;padding:7px 13px;background:var(--green);color:white;font:inherit;font-size:11px;cursor:pointer}.unknown-edit small{display:block;margin-top:6px;color:#898f86;font-size:9px}@media(max-width:600px){.hero-seal span{font-size:20px}}
.branch-tree,.person-edit{margin:17px 0;text-align:right}.branch-tree[hidden],.person-edit[hidden]{display:none}.tree-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0;font-size:11px;color:var(--green)}.tree-editor-heading span{font-size:9px;color:#898f86}.local-edit-note{border-right:3px solid #c19a46;background:#f8f4e9;padding:8px 10px;margin:8px 0 13px;color:#756d5b;font-size:9px;line-height:1.7}.tree-person-list{display:grid;gap:7px}.tree-person{border:1px solid #e6e1d6;border-radius:9px;background:#fffefa;overflow:hidden}.tree-person summary{display:flex;align-items:center;gap:8px;padding:8px;list-style:none;cursor:pointer}.tree-person summary::-webkit-details-marker{display:none}.tree-avatar{width:35px;height:35px;border-radius:50%;object-fit:cover;flex:none}.tree-avatar-empty{display:grid;place-items:center;background:#e8eee4;color:var(--green);font:700 16px Amiri,serif}.tree-person-main{display:flex;flex:1;min-width:0;flex-direction:column;line-height:1.4}.tree-person-main strong{font-size:11px}.tree-person-main small{font-size:8px;color:#878e84}.tree-person-actions{display:flex;gap:4px;flex:none}.tree-person-actions button{background:#f3f1e9;border:1px solid #e3dfd3;border-radius:6px;padding:5px 7px;color:#59675c;font:inherit;font-size:8px;cursor:pointer}.tree-person-actions button:hover{background:#e9eee4}.tree-person-actions button[data-delete-person]{color:#8a3d37;background:#fbefed;border-color:#f0d2ce}.tree-person-actions button[data-delete-person]:hover{background:#f6e2df}.tree-children{display:grid;gap:6px;border-top:1px solid #eeeae1;padding:7px 8px 8px 16px;margin-right:19px}.tree-person .tree-person .tree-children{margin-right:14px}.tree-empty{padding:0 12px 8px;color:#969b92;font-size:8px}.unlinked-names{margin-top:10px;border:1px dashed #d8d1bf;border-radius:8px;padding:8px 10px;text-align:right;color:#7a7567}.unlinked-names summary{font-size:9px;cursor:pointer}.unlinked-names p{font-size:8px;margin:8px 0 0;line-height:1.8}.person-edit{border:1px solid #ddd8cc;border-radius:9px;padding:13px;background:#f8f6ef}.edit-heading{font:700 15px Amiri,serif;color:var(--green);margin-bottom:9px}.person-edit label{display:block;font-size:9px;font-weight:600;color:#606b60;margin:8px 0 4px}.person-edit input:not([type=file]){width:100%;border:1px solid #d9d5ca;border-radius:6px;padding:8px 9px;font:inherit;font-size:10px;background:#fff}.person-edit input[type=file]{display:block;max-width:100%;font-size:9px}.edit-actions{display:flex;gap:7px;margin-top:11px}.edit-actions button{border:0;border-radius:6px;padding:8px 12px;background:var(--green);color:white;font:inherit;font-size:9px;cursor:pointer}.person-edit small{display:block;margin-top:7px;font-size:8px;color:#858b83;line-height:1.7}.dialog-footnote{display:block;margin-top:12px}
 .member-login-link{display:inline-flex;align-items:center;border:1px solid #d7dfd3;border-radius:50px;padding:7px 13px;color:var(--green);text-decoration:none;font-size:11px;font-weight:600;white-space:nowrap}.member-login-link:hover{background:#e9eee6}@media(max-width:600px){.top-actions{gap:7px}.member-login-link{padding:6px 9px;font-size:9px}.beta-pill{padding:6px 8px;font-size:9px}}
