:root{--maroon:#75110b;--maroon-2:#5d0a07;--maroon-dark:#420b08;--gold:#e6b86e;--gold-light:#f4dca9;--gold-deep:#b67a3e;--ink:#4f221b;--red:#92150c;--paper:#fcf0df;--edge:#e7c29d;--shadow:0 3px 12px rgba(92,38,16,.11);--serif:"Noto Serif",Georgia,"Times New Roman",serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;color:var(--ink);font-family:var(--serif);background:#f9eddd url(/assets/paper.png) repeat;font-size:14px}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}svg.icon{width:21px;height:21px;display:inline-block;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.tree-visual.genealogy-visual{height:auto;min-height:215px;overflow:visible;padding:0 24px 22px}.genealogy-tree-toolbar{display:flex;align-items:center;gap:16px;padding:15px 4px 13px;border-bottom:1px solid #edcfaf;position:relative;z-index:3}.genealogy-tree-toolbar>div:first-child{display:grid;grid-gap:2px;gap:2px;flex:1 1;min-width:0}.genealogy-toolbar-label{color:#987564;font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:700}.genealogy-tree-toolbar strong{color:#7b1711;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.genealogy-branch-select{display:flex;align-items:center;gap:8px;color:#6d4033;font-size:11px;font-weight:700;white-space:nowrap}.genealogy-branch-select span{position:static;width:auto;height:auto;overflow:visible;clip:auto;color:#815646;font-size:11px;font-weight:800}.genealogy-branch-select select{min-height:42px;border:1px solid #dfc19e;border-radius:9px;background:#fffaf2;color:#6b271d;padding:8px 32px 8px 11px;font-family:inherit;font-size:12px;font-weight:700;outline:none}.genealogy-branch-select select:focus{box-shadow:0 0 0 3px #b67a3e55;border-color:#a35a32}.genealogy-expand-button{display:inline-flex;align-items:center;gap:7px;min-height:42px;border:1px solid #a95b39;border-radius:9px;background:#8d211a;color:#fff7e8;padding:8px 13px;font-family:inherit;font-size:12px;font-weight:800;box-shadow:0 3px 8px #77211624;transition:background .2s ease,transform .2s ease}.genealogy-expand-button:hover{background:#67130f;transform:translateY(-1px)}.genealogy-expand-button .icon{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.genealogy-tree-preview{min-height:170px;max-height:240px;overflow:hidden;padding:10px 0 2px;-webkit-mask-image:linear-gradient(180deg,#000 82%,transparent);mask-image:linear-gradient(180deg,#000 82%,transparent)}.genealogy-levels{display:grid;grid-gap:0;gap:0;min-width:max-content;padding:12px 0 18px;text-align:center}.genealogy-level{position:relative;padding:0 0 24px}.genealogy-level:not(:first-child):before{content:"";position:absolute;top:-2px;left:50%;height:14px;border-left:2px solid #c8905a;opacity:.65}.genealogy-level-label{display:flex;align-items:center;justify-content:center;gap:9px;color:#9b5b3e;font-size:10px;letter-spacing:.07em;text-transform:uppercase;font-weight:800}.genealogy-level-label i{display:block;width:32px;height:1px;background:#d9af80}.genealogy-level-nodes{display:flex;justify-content:center;gap:12px;padding-top:9px}.genealogy-node{position:relative;display:grid;min-width:126px;max-width:190px;min-height:64px;align-content:center;grid-gap:3px;gap:3px;padding:10px 12px;border:1px solid #dfb990;border-top:3px solid var(--node-color,#8d211a);border-radius:10px;background:#fffaf2;color:#5b2a21;font-family:inherit;cursor:pointer;box-shadow:0 3px 9px #7b381d14;transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease}.genealogy-node:focus-visible,.genealogy-node:hover{border-color:var(--node-color,#8d211a);box-shadow:0 7px 18px #7b381d25;transform:translateY(-2px);outline:none}.genealogy-node.is-selected{box-shadow:0 0 0 3px #e0b87588,0 7px 18px #7b381d25}.genealogy-node-dot{position:absolute;top:-7px;left:50%;width:11px;height:11px;transform:translateX(-50%);border:2px solid #fff8ed;border-radius:50%;background:var(--node-color,#8d211a);box-shadow:0 0 0 1px var(--node-color,#8d211a)}.genealogy-node strong{font-size:12px;line-height:1.35}.genealogy-node small{color:#9a6c5d;font-size:10px;line-height:1.3}.genealogy-empty{display:grid;min-height:130px;place-items:center;color:#9a6c5d;font-size:13px}.genealogy-modal-backdrop{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:20px;background:#24100dcc;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.genealogy-modal{display:grid;width:min(1180px,100%);max-height:min(900px,calc(100dvh - 40px));overflow:hidden;border:1px solid #d1a36f;border-radius:15px;background:#fcf0df url(/assets/paper.png) repeat;box-shadow:0 26px 80px #27090466}.genealogy-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 24px 16px;border-bottom:1px solid #e3c6a4;background:#fff8eeda}.genealogy-modal-header h2{margin:0;color:#73140e;font-size:25px}.genealogy-modal-header p:last-child{margin:5px 0 0;color:#7d5c4e;font-size:12px}.genealogy-modal-close{display:grid;width:44px;height:44px;place-items:center;border:1px solid #d2ac82;border-radius:9px;background:#fff8ec;color:#742018;font-size:28px;line-height:1;cursor:pointer}.genealogy-modal-close:hover{background:#f7e2c9}.genealogy-modal-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 24px;border-bottom:1px solid #e5c8a8;background:#fff4e5aa}.genealogy-zoom-controls{display:flex;align-items:center;gap:6px}.genealogy-zoom-controls button{min-width:42px;min-height:42px;border:1px solid #d7b386;border-radius:8px;background:#fffaf3;color:#772017;font-family:inherit;font-size:13px;font-weight:800;cursor:pointer}.genealogy-zoom-controls button:first-child,.genealogy-zoom-controls button:nth-child(3){font-size:21px}.genealogy-zoom-controls button:hover{background:#f6e5d1}.genealogy-zoom-controls output{min-width:52px;color:#7f5c4c;font-size:12px;text-align:center;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.genealogy-modal-body{display:grid;grid-template-columns:minmax(0,1fr) 265px;min-height:0;overflow:hidden}.genealogy-canvas-scroll{min-width:0;overflow:auto;padding:24px 24px 38px;background:linear-gradient(180deg,#fff7e9b5,#f5e3c8b3)}.genealogy-canvas{width:max-content;min-width:100%;transform-origin:top center;transition:transform .2s ease}.genealogy-canvas .genealogy-levels{gap:5px}.genealogy-canvas .genealogy-level{padding-bottom:35px}.genealogy-canvas .genealogy-node{min-width:154px;min-height:76px;padding:12px 16px}.genealogy-member-panel{display:flex;flex-direction:column;align-items:flex-start;min-width:0;overflow:auto;padding:28px 22px;border-left:1px solid #e1c3a0;background:#fffaf2}.genealogy-member-seal{display:grid;width:56px;height:56px;place-items:center;margin-bottom:17px;border:3px solid #f4d9a8;border-radius:50%;color:#fff7e7;font-size:23px;font-weight:800;box-shadow:0 2px 6px #5b160f33}.genealogy-member-panel h3{margin:3px 0 18px;color:#71160f;font-size:20px;line-height:1.35}.genealogy-member-panel dl{display:grid;width:100%;grid-gap:10px;gap:10px;margin:0}.genealogy-member-panel dl div{display:grid;grid-gap:2px;gap:2px;padding-bottom:9px;border-bottom:1px dashed #dfc6a7}.genealogy-member-panel dt{color:#98705f;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.genealogy-member-panel dd{margin:0;color:#54271f;font-size:13px;font-weight:700;line-height:1.4}.genealogy-member-bio{color:#714c3e;font-size:12px;line-height:1.65}.genealogy-member-placeholder{justify-content:center;text-align:center;color:#8f6b5b}.genealogy-member-placeholder strong{color:#6d261d;font-size:15px}.genealogy-member-placeholder p{font-size:12px;line-height:1.6}@media (max-width:760px){.genealogy-visual{padding-right:14px;padding-left:14px}.genealogy-tree-toolbar{align-items:stretch;flex-wrap:wrap}.genealogy-tree-toolbar>div:first-child{flex-basis:calc(100% - 120px)}.genealogy-branch-select{flex:1 1}.genealogy-branch-select select{width:100%}.genealogy-expand-button{flex:0 0 auto}.genealogy-expand-button span{display:none}.genealogy-modal-backdrop{align-items:end;padding:0}.genealogy-modal{max-height:94dvh;border-radius:16px 16px 0 0}.genealogy-modal-controls,.genealogy-modal-header{padding-right:16px;padding-left:16px}.genealogy-modal-body{display:flex;flex-direction:column;overflow:auto}.genealogy-canvas-scroll{min-height:310px;max-height:52dvh}.genealogy-member-panel{min-height:220px;border-top:1px solid #e1c3a0;border-left:0}}@media (prefers-reduced-motion:reduce){.genealogy-canvas,.genealogy-expand-button,.genealogy-node{transition:none}}.page-shell{overflow:hidden;min-height:100vh}.masthead{color:#fff3dc;background:linear-gradient(100deg,#660c08,#77110b 48%,#580a07);position:relative;z-index:10;box-shadow:0 3px 8px rgba(67,16,7,.15)}.masthead:before{opacity:.52;background-image:url(/assets/clouds.svg);background-position:center -20px;background-size:450px 128px}.masthead:after,.masthead:before{content:"";position:absolute;inset:0;pointer-events:none}.masthead:after{background:linear-gradient(90deg,transparent,#cf7843 49.95%,transparent 50.05%);opacity:.04}.topbar{height:76px;max-width:1548px;padding:0 25px;margin:auto;position:relative;gap:20px}.brand,.topbar{display:flex;align-items:center}.brand{gap:15px;flex:1 1;min-width:270px}.seal{display:grid;place-items:center;width:57px;height:57px;color:#ffe3a6;font-family:"Noto Serif",serif;font-size:36px;font-weight:800;line-height:1;border:2px solid var(--gold);border-radius:13px;position:relative;flex-shrink:0;box-shadow:inset 0 0 0 4px #75100a,inset 0 0 0 5px #cfa46d}.seal:after,.seal:before{content:"✣";position:absolute;color:#f5d9a4;font-size:12px;top:-7px;left:22px}.seal:after{top:auto;bottom:-7px}.brand-name{font-size:26px;font-weight:700;line-height:1.35;white-space:nowrap;letter-spacing:-.5px}.brand-slogan{font-size:11px;margin-top:2px;color:#f1d3a6;font-style:italic;white-space:nowrap}.header-tools{display:flex;align-items:center;gap:19px}.search{position:relative;width:min(420px,32vw)}.search .search-icon{position:absolute;top:50%;left:15px;transform:translateY(-50%);color:#9d1c16;width:19px}.search input{width:100%;outline:none;border-radius:11px;border:1.5px solid #dcb178;background:#fff9f0;padding:12px 16px 12px 46px;color:#5e3128;font-size:13px;box-shadow:0 1px 2px rgba(0,0,0,.13)}.search input:focus{box-shadow:0 0 0 3px #e5c08680}.search-results{display:none;position:absolute;top:calc(100% + 9px);right:0;left:0;border-radius:12px;border:1px solid #e3bd90;background:#fffaf2;color:#4e251c;box-shadow:0 14px 34px #3d0c0838;z-index:100;max-height:320px;overflow:auto;padding:7px}.search-item,.search-results.visible{display:block}.search-item{width:100%;border:0;background:transparent;text-align:left;padding:11px 13px;border-radius:7px;color:#5c2b20;font-size:12px}.search-item:focus,.search-item:hover{background:#f8e5cc}.search-item strong{display:block;font-size:13px;margin-bottom:2px}.search-item small{color:#986955}.search-empty{padding:13px;color:#8d6d5d;font-size:12px}.tool-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:28px;height:32px;color:#ffdc9d;background:none;border:0;padding:0}.tool-btn:hover{color:white}.tool-btn .icon{height:25px;width:25px}.alert-dot{position:absolute;width:8px;height:8px;border-radius:50%;top:1px;right:-1px;background:#f6473b;border:1px solid #fff3dc}.user-control{display:flex;align-items:center;gap:9px;border:0;border-left:1px solid #ae6e4a;padding:0 0 0 15px;color:#fff6e7;background:transparent;white-space:nowrap;font-size:13px;font-weight:700}.user-avatar{display:grid;place-items:center;background:#fff0db;color:#a36c4f;border:2px solid #e8c697;border-radius:50%;width:37px;height:37px}.user-avatar svg{width:26px;height:26px}.user-control .icon-chevron{width:15px;height:15px}.mobile-menu-button{display:none;background:transparent;color:#f4d3a3;border:0;padding:8px}.nav-wrap{border-top:1px solid rgba(235,183,126,.23);border-bottom:1px solid rgba(245,193,125,.55);position:relative}.main-nav{max-width:1470px;margin:auto;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:0 20px}.nav-item{display:inline-flex;align-items:center;justify-content:center;gap:13px;color:#ffe8c4;background:transparent;-moz-appearance:none;appearance:none;-webkit-appearance:none;font-family:inherit;white-space:nowrap;min-height:45px;padding:10px 28px;border:1px solid transparent;border-radius:13px;font-weight:700;font-size:14px;transition:background .2s ease,transform .2s ease}.nav-item:hover{color:#fff;background:#ffffff17;transform:translateY(-1px)}.nav-item.active{background:#fff1d7;color:#7c130c;border-color:#c58d55;outline:1px solid #f5dcaa;outline-offset:-5px;box-shadow:0 2px 0 #a35b35,0 3px 12px #39080033}.nav-item.active:hover{color:#7c130c}.nav-item svg{width:23px;height:23px;color:#ffdf9e}.nav-item.active svg{color:#aa2318}.hero{height:253px;position:relative;background:linear-gradient(180deg,#fff1df,#f9ebd9 63%,#efe1ca);isolation:isolate}.hero:before{content:"";position:absolute;inset:0;background:url(/assets/paper.png) repeat;opacity:.55;pointer-events:none;z-index:-1}.hero-gate,.hero-mountains,.hero-plum{position:absolute;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.hero-gate{left:0;-webkit-mask-image:linear-gradient(90deg,#000 74%,transparent);mask-image:linear-gradient(90deg,#000 74%,transparent)}.hero-gate,.hero-plum{height:100%;width:auto;top:0;z-index:-1}.hero-plum{right:0;-webkit-mask-image:linear-gradient(270deg,#000 74%,transparent);mask-image:linear-gradient(270deg,#000 74%,transparent)}.hero-mountains{height:82px;width:59%;object-fit:cover;left:27%;bottom:0;z-index:-2;opacity:.85;-webkit-mask-image:linear-gradient(180deg,transparent,#000 60%);mask-image:linear-gradient(180deg,transparent,#000 60%)}.hero-copy{position:absolute;left:38%;right:20%;top:20px;text-align:center;color:#7c0e09}.hero-title{font-family:Dancing Script,Segoe Script,Brush Script MT,cursive;font-size:clamp(44px,4.4vw,73px);line-height:1.32;margin:0 0 8px;letter-spacing:1px;text-shadow:0 1px 0 #fff7ea}.hero-motto,.hero-title{font-weight:700;white-space:nowrap}.hero-motto{font-size:14px;color:#6f261d}.hero-motto:after,.hero-motto:before{content:"—";color:#b98151;margin:0 12px;font-weight:400}.scroll-flourish{font-size:21px;color:#c49150;position:absolute;top:39px}.scroll-flourish.left{left:-55px}.scroll-flourish.right{right:-45px}.main-content{max-width:1516px;margin:0 auto;padding:0 15px 70px;position:relative;z-index:2}.stats-grid{margin-top:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:42px}.heritage-panel,.stat-card{position:relative;border:1px solid #e9c39e;border-radius:9px;background:linear-gradient(125deg,#fff4e4cc,#fff0dbdd 55%,#fff6eacd);box-shadow:var(--shadow),inset 0 0 0 4px rgba(255,249,238,.55)}.heritage-panel:before,.stat-card:before{content:"";pointer-events:none;position:absolute;inset:4px;border:1px solid #f2d9bd;border-radius:4px}.heritage-panel:after,.stat-card:after{content:"⌜   ⌝";font-size:18px;color:#c88c5a;letter-spacing:2px;position:absolute;top:-1px;left:5px;right:5px;display:flex;justify-content:space-between;pointer-events:none;opacity:.8}.stat-card{height:89px;display:flex;align-items:center;gap:21px;padding:12px 28px 12px 34px}.stat-icon{width:61px;height:57px;background:linear-gradient(130deg,#b21a11,#860b05 68%,#740800);box-shadow:inset 0 0 0 1px #d68f65,0 2px 5px #8d2f1733;border-radius:10px;display:grid;place-items:center;color:#fff0af;flex-shrink:0}.stat-icon svg{width:31px;height:31px;stroke-width:2.1}.stat-number{font-family:Georgia,serif;font-size:35px;line-height:1;font-weight:800;color:#8a140e;margin-bottom:6px}.stat-label{font-size:14px;line-height:1.35;font-weight:600;white-space:nowrap;color:#53251b}.tree-panel{margin-top:20px;min-height:267px;overflow:hidden;scroll-margin-top:16px}.panel-heading{position:relative;z-index:2;justify-content:space-between;padding:13px 24px 0 28px}.panel-heading,.section-title{display:flex;align-items:center}.section-title{font-family:var(--serif);font-size:19px;color:#910f0b;gap:13px;font-weight:800;margin:0}.section-title svg{width:26px;height:26px;stroke-width:2.4}.more-link{border:0;background:none;color:#9c1a0e;text-decoration:underline;font-weight:700;font-size:12px;display:flex;align-items:center;gap:5px}.more-link .icon{width:16px;height:16px}.more-link:hover{color:#cf3820}.tree-visual{height:215px;position:relative;overflow:hidden}.tree-visual:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#fff2e1bd 0,#fff1e350 57%,#fbe2ca70),url(/assets/hero-mountains.webp) bottom /cover no-repeat;opacity:.55}.tree-visual:after{content:"";width:360px;height:180px;left:5%;bottom:0;opacity:.19;background:radial-gradient(ellipse at 50% 100%,#92724d 0,transparent 65%)}.tree-svg,.tree-visual:after{position:absolute;pointer-events:none}.tree-svg{width:min(900px,85%);height:160px;left:50%;bottom:8px;transform:translateX(-50%);overflow:visible}.tree-svg circle,.tree-svg path{stroke:#900d08;stroke-width:3;fill:none}.tree-svg circle{fill:#900d08;stroke-width:0}.tree-root{position:absolute;left:50%;top:-8px;transform:translateX(-50%);width:192px;text-align:center}.ancestor-portrait{margin:auto auto -3px;width:83px;height:83px;border-radius:50%;border:3px solid #c99459;background:radial-gradient(circle at 50% 35%,#f0d8ad,#cda577);display:grid;place-items:center;box-shadow:0 1px 3px #a4744f55;position:relative;z-index:2}.ancestor-portrait svg{width:64px;height:64px}.tree-node{min-height:65px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#fff1d8,#f8dcae);color:#392015;border:2px solid #d59355;border-radius:10px;box-shadow:0 2px 4px #99572e33,inset 0 0 0 3px #ffeed0;line-height:1.43;padding:7px 15px;text-align:center;position:relative;z-index:1}.tree-node strong{font-size:13px}.tree-node small{font-size:11px;font-weight:700}.root-node{min-height:68px}.branch-row{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);width:min(900px,85%);display:flex;justify-content:space-between;z-index:1}.branch-node{min-width:155px;min-height:52px}.branch-node:hover,.root-node:hover{box-shadow:0 2px 7px #9d483452,inset 0 0 0 3px #ffeed0}.tree-root-button{width:100%}.branch-button,.tree-root-button{padding:0;border:0;background:none}.feed-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:33px;gap:33px;margin-top:20px}.feed-panel{padding-bottom:20px;scroll-margin-top:20px}.feed-panel .panel-heading{padding:15px 24px 10px}.feed-panel .section-title{font-size:19px}.feed-divider{border:0;border-top:1px solid #e9cbae;margin:0 24px 14px}.event-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px;padding:0 24px}.event-card{border:0;padding:0;text-align:left;background:transparent;min-width:0;color:#55271c}.event-card img{width:100%;height:113px;object-fit:cover;border-radius:9px;border:1px solid #e3be90;box-shadow:0 2px 5px #703d1d2b}.event-card strong{display:block;font-size:12px;line-height:1.5;margin:8px 1px 4px}.article-meta,.event-card small{font-size:11px;color:#93654d}.event-card:hover strong,.news-card:hover h3{color:#b72816;text-decoration:underline}.news-list{padding:0 24px}.news-card{display:flex;align-items:flex-start;gap:21px;text-align:left;border:0;padding:0 0 14px;width:100%;background:transparent;color:#55271c}.news-card+.news-card{border-top:1px solid #e9cfb0;padding-top:14px}.news-card img{width:190px;height:114px;object-fit:cover;border:1px solid #e4bb91;border-radius:8px;flex-shrink:0}.news-card h3{font-size:14px;color:#78120b;margin:0 0 5px;font-weight:800;line-height:1.5}.news-card p{font-size:12px;line-height:1.6;margin:0 0 10px;color:#6c4536}.article-meta{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.article-meta span{display:inline-flex;align-items:center;gap:6px}.article-meta svg{width:15px;height:15px;color:#a61910}.footer{margin-top:40px;padding:21px 0;border-top:1px solid #ddc09f;color:#825e4a;text-align:center;font-size:12px}.footer strong{color:#7c1a12}.modal-backdrop{position:fixed;inset:0;background:#1b0907b5;display:none;align-items:center;justify-content:center;padding:20px;z-index:300}.modal-backdrop.open{display:flex}.modal{background:#fff6e9 url(/assets/paper.png) repeat;border:2px solid #c38c57;border-radius:14px;width:min(570px,100%);padding:28px 30px;box-shadow:0 25px 90px #17090399;position:relative}.modal h2{font-size:23px;color:#81140c;margin:0 30px 17px 0}.modal p{font-size:13px;line-height:1.9;white-space:pre-line}.modal-close{position:absolute;top:14px;right:16px;border:0;color:#8d1d13;background:#f3deca;border-radius:50%;padding:8px;width:34px;height:34px;display:grid;place-items:center}.modal-close .icon{width:18px;height:18px}.modal-button{background:#87170c;color:#fff2d6;padding:11px 23px;border:1px solid #c68e5c;border-radius:8px;margin-top:10px}.mobile-only{display:none}@media(max-width:1250px){.main-nav{gap:4px}.nav-item{padding:9px 20px;gap:8px}.stats-grid{gap:16px}.stat-card{padding:12px 18px;gap:14px}.hero-copy{left:36%;right:15%}.hero-title{font-size:55px}.hero-gate{left:-70px}.hero-plum{right:-100px}}@media(max-width:900px){.topbar{height:72px;padding:0 18px}.brand{min-width:0}.brand-name{font-size:21px}.brand-slogan{font-size:10px}.header-tools{gap:13px}.search{width:32vw}.user-control span.name{display:none}.main-nav{gap:4px;padding:5px 15px}.nav-item{padding:8px 10px;font-size:12px;gap:5px}.nav-item svg{width:20px;height:20px}.hero{height:230px}.hero-gate{left:-125px}.hero-plum{right:-150px}.hero-copy{left:34%;right:9%}.hero-title{font-size:47px}.hero-motto{font-size:11px;white-space:normal}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:14px}.stat-card{height:80px}.feed-grid{grid-template-columns:1fr;gap:16px}.tree-panel{margin-top:15px}}@media(max-width:600px){.topbar{height:69px;gap:9px;padding:0 13px}.seal{width:43px;height:43px;font-size:27px;border-radius:9px}.brand{gap:9px}.brand-name{font-size:17px;letter-spacing:0}.brand-slogan{display:none}.mobile-menu-button{display:inline-flex;justify-content:center;align-items:center}.mobile-menu-button svg{width:24px;height:24px}.header-tools .search,.header-tools .tool-btn,.header-tools .user-control,.nav-wrap{display:none}.nav-wrap.open{display:block}.main-nav{padding:10px 16px;display:flex;flex-direction:column;align-items:stretch;gap:4px}.nav-item{justify-content:flex-start;font-size:14px;padding:11px 15px}.hero{height:221px}.hero-gate{height:100%;left:-240px;opacity:.56}.hero-plum{height:100%;right:-250px;opacity:.65}.hero-copy{left:5%;right:5%;top:51px}.hero-title{white-space:normal;font-size:46px;line-height:1.1;margin-bottom:15px;text-shadow:0 2px 6px #fff6e6}.hero-motto{font-size:11px;line-height:1.8;text-shadow:0 1px 4px #fff6e6}.hero-motto:after,.hero-motto:before,.scroll-flourish{display:none}.main-content{padding:0 12px 35px}.stats-grid{gap:10px;padding-top:12px}.stat-card{height:76px;padding:10px;gap:10px}.stat-icon{width:44px;height:44px;border-radius:7px}.stat-icon svg{width:25px;height:25px}.stat-number{font-size:28px;margin-bottom:3px}.stat-label{font-size:11px}.panel-heading{padding:13px 12px 0}.section-title{font-size:15px;gap:6px}.section-title svg{width:21px;height:21px}.more-link{font-size:11px}.tree-panel{min-height:275px}.tree-visual{height:229px}.tree-root{width:150px;top:3px}.ancestor-portrait{height:71px;width:71px}.ancestor-portrait svg{height:56px;width:56px}.tree-node{padding:5px 7px}.root-node{min-height:57px}.tree-node strong{font-size:11px}.tree-node small{font-size:9px}.branch-row{width:96%;bottom:9px;gap:5px}.branch-node{min-width:0;width:30vw;max-width:136px;min-height:54px}.tree-svg{width:95%;height:160px;bottom:10px}.feed-panel .panel-heading{padding:14px 13px 8px}.feed-divider{margin:0 13px 13px}.event-list{gap:10px;padding:0 13px}.event-card img{height:75px}.event-card strong{font-size:10px}.news-list{padding:0 13px}.news-card{gap:12px}.news-card img{width:115px;height:105px}.news-card h3{font-size:12px}.news-card p{font-size:11px}.article-meta{font-size:10px;gap:8px}.mobile-only{display:initial}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}.hero-area,.page-shell{position:relative}.hero{height:286px;overflow:hidden;background:linear-gradient(180deg,#fff0dc,#f9ebd9 78%,#f7e7d2)}.hero-gate,.hero-plum{height:253px}.hero-mountains{bottom:1px;height:115px;opacity:.7}.hero:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:148px;pointer-events:none;z-index:2;background:linear-gradient(180deg,rgba(249,237,221,0) 0,rgba(249,237,221,.08) 21%,rgba(249,237,221,.29) 41%,rgba(249,237,221,.63) 67%,rgba(249,237,221,.87) 84%,rgba(249,237,221,1))}.hero-copy,.main-content{z-index:3}.stats-grid{position:relative;z-index:4;margin-top:-33px;gap:42px}.stat-card{height:90px;position:relative;isolation:isolate;border:1px solid #d8a774;border-radius:11px;background:linear-gradient(120deg,rgba(255,247,234,.94),rgba(255,249,239,.92) 54%,rgba(255,243,224,.93));box-shadow:0 3px 11px #7843191f,0 1px 2px #8c461421,inset 0 0 0 2px #fff7e9;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);padding-left:36px;transition:transform .25s ease,box-shadow .25s ease}.stat-card:hover{transform:translateY(-3px);box-shadow:0 6px 17px #78431927,inset 0 0 0 2px #fff7e9}.stat-card:before{content:"";position:absolute;inset:5px;pointer-events:none;border:1px solid rgba(225,178,128,.62);border-radius:6px}.stat-card:after{content:"";display:none}.stat-card .corner{position:absolute;z-index:2;width:28px;height:28px;background:url(/assets/corner-ornament.svg) 50%/contain no-repeat;pointer-events:none;opacity:.9}.stat-card .corner.tl{top:3px;left:3px}.stat-card .corner.tr{top:3px;right:3px;transform:rotate(90deg)}.stat-card .corner.br{bottom:3px;right:3px;transform:rotate(180deg)}.stat-card .corner.bl{bottom:3px;left:3px;transform:rotate(270deg)}.stat-icon{z-index:1;background:linear-gradient(145deg,#bb1a0f,#910b07 68%,#760804);border:1px solid #c5683a}.stat-label,.stat-number{position:relative;z-index:1}.falling-petals{pointer-events:none;position:absolute;inset:0 0 auto;height:440px;overflow:hidden;z-index:11}.petal{position:absolute;left:var(--x);top:-45px;width:var(--size);height:calc(var(--size) * 1.28);opacity:var(--alpha);filter:drop-shadow(0 1px 1px #ae39412a);animation:petal-fall var(--duration) linear infinite;animation-delay:var(--delay);will-change:transform}.petal svg{width:100%;height:100%;display:block}@keyframes petal-fall{0%{transform:translate3d(0,-35px,0) rotate(0deg) scale(.85)}24%{transform:translate3d(var(--d1),114px,0) rotate(105deg) scale(1)}53%{transform:translate3d(var(--d2),256px,0) rotate(260deg) scale(.93)}78%{transform:translate3d(var(--d3),361px,0) rotate(395deg) scale(1)}to{transform:translate3d(var(--d4),495px,0) rotate(545deg) scale(.88)}}@media(max-width:1250px){.stats-grid{gap:16px}.stat-card{padding-left:25px}}@media(max-width:900px){.hero{height:255px}.hero-gate,.hero-plum{height:230px}.stats-grid{margin-top:-15px}.falling-petals{height:410px}.stat-card{height:82px;padding-left:19px}.stat-card .corner{width:24px;height:24px}}@media(max-width:600px){.hero{height:239px}.hero-gate,.hero-plum{height:221px}.hero:after{height:125px}.hero-copy{top:46px}.stats-grid{margin-top:-12px;padding-top:10px}.stat-card{height:77px;padding:8px 11px;gap:9px}.stat-card .corner{width:19px;height:19px}.falling-petals{height:385px}}@media(prefers-reduced-motion:reduce){.petal{display:none!important;animation:none!important}.stat-card{transition:none!important}}@media(min-width:901px){.hero-copy{left:31%;right:24%;top:21px}.hero-title{height:114px;max-width:540px;margin:0 auto -13px;font-size:0;line-height:0;color:transparent;background:url(/assets/title-calligraphy.png) 50%/contain no-repeat}.hero-motto{font-size:13px}}@media(min-width:601px) and (max-width:900px){.hero-title{height:100px;max-width:490px;margin:0 auto -8px;font-size:0;line-height:0;color:transparent;background:url(/assets/title-calligraphy.png) 50%/contain no-repeat}}@media(max-width:600px){.hero-title{height:77px;max-width:370px;margin:0 auto -4px;font-size:0;line-height:0;color:transparent;background:url(/assets/title-calligraphy.png) 50%/contain no-repeat}}.hero:after{opacity:1}.falling-petals{height:465px}.petal{pointer-events:none}@media(max-width:600px){.falling-petals{height:420px}}.account-menu{position:relative;flex:0 0 auto}.user-control{min-height:44px;cursor:pointer;text-decoration:none}.account-avatar-actions label:focus-within,.account-dialog button:focus-visible,.account-dialog input:focus-visible,.account-dropdown button:focus-visible,.user-control:focus-visible{outline:3px solid #f3c982;outline-offset:2px}.user-control.account-loading{cursor:wait;opacity:.72}.user-avatar{overflow:hidden;flex:0 0 auto}.user-avatar img{display:block;width:100%;height:100%;object-fit:cover}.account-dropdown{position:absolute;z-index:450;top:calc(100% + 10px);right:0;width:min(280px,calc(100vw - 24px));padding:8px;border:1px solid #d7a66f;border-radius:13px;background:#fff8ed url(/assets/paper.png) repeat;color:#4f281f;box-shadow:0 18px 48px #25070466}.account-dropdown:before{content:"";position:absolute;top:-6px;right:22px;width:11px;height:11px;transform:rotate(45deg);border-top:1px solid #d7a66f;border-left:1px solid #d7a66f;background:#fff8ed}.account-dropdown-header{display:flex;align-items:center;gap:11px;padding:9px 10px 13px;border-bottom:1px solid #ead2b5}.account-dropdown-header small,.account-dropdown-header strong{display:block;max-width:185px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-dropdown-header strong{color:#6f170f;font-size:13px}.account-dropdown-header small{margin-top:3px;color:#8a6657;font-size:11px}.account-dropdown>button{display:flex;width:100%;min-height:44px;align-items:center;gap:11px;margin-top:4px;padding:10px 11px;border:0;border-radius:8px;background:transparent;color:#5b2c23;font-family:inherit;font-size:13px;font-weight:700;text-align:left;cursor:pointer}.account-dropdown>button:hover{background:#f5e2c9;color:#82170f}.account-dropdown>button:disabled{cursor:wait;opacity:.58}.account-dropdown>button.account-logout{margin-top:5px;border-top:1px solid #ead2b5;border-radius:0 0 8px 8px;color:#a32319}.account-menu-error{margin:7px 8px 3px;color:#a32319;font-size:11px;line-height:1.5}.account-dialog-backdrop{position:fixed;inset:0;z-index:1400;display:grid;place-items:center;padding:20px;background:#1b0907bf;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.account-dialog{width:min(590px,100%);max-height:calc(100dvh - 40px);overflow:auto;border:2px solid #c38c57;border-radius:16px;background:#fff8ed url(/assets/paper.png) repeat;color:#4f281f;box-shadow:0 28px 90px #17090399}.account-dialog>header{position:-webkit-sticky;position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px 18px;border-bottom:1px solid #e7c9a6;background:#fff8edf2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.account-dialog>header span{display:block;margin-bottom:4px;color:#9b6c53;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.account-dialog h2{margin:0;color:#81140c;font-size:24px}.account-dialog-close{display:grid;width:44px;height:44px;flex:0 0 auto;place-items:center;border:1px solid #deb98f;border-radius:50%;background:#f3deca;color:#8d1d13;cursor:pointer}.account-dialog-close .icon{width:19px;height:19px}.account-dialog form{padding:24px}.account-avatar-editor{display:flex;align-items:center;gap:18px;padding:16px;border:1px solid #e4c39f;border-radius:12px;background:#fffaf3aa}.user-avatar.account-profile-avatar{width:88px;height:88px;border-width:3px}.account-profile-avatar svg{width:58px;height:58px}.account-avatar-editor>div{min-width:0}.account-avatar-editor strong{display:block;color:#6f170f;font-size:14px}.account-avatar-editor p{margin:4px 0 10px;color:#806052;font-size:11px;line-height:1.5}.account-avatar-actions{display:flex;flex-wrap:wrap;gap:8px}.account-avatar-actions button,.account-avatar-actions label{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border:1px solid #c99561;border-radius:8px;background:#fff7eb;color:#82170f;font-family:inherit;font-size:12px;font-weight:800;cursor:pointer}.account-avatar-actions button:hover,.account-avatar-actions label:hover{background:#f4dfc5}.account-avatar-actions input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}.account-profile-fields{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px;margin-top:20px}.account-profile-fields label{display:grid;grid-gap:7px;gap:7px;color:#60362b;font-size:12px;font-weight:800}.account-profile-fields label:last-child{grid-column:1/-1}.account-profile-fields input{width:100%;min-height:46px;border:1px solid #dcc0a2;border-radius:9px;background:#fffdf8;padding:10px 12px;color:#4f281f;font:inherit;font-size:14px;outline:none}.account-profile-fields input:focus{border-color:#9b2419;box-shadow:0 0 0 3px #c7815433}.account-profile-fields input[readonly]{background:#f3eadf;color:#80675c}.account-profile-feedback{min-height:25px;margin-top:14px}.account-profile-feedback p{margin:0;padding:9px 11px;border-radius:8px;font-size:12px;line-height:1.5}.account-form-error{border-left:4px solid #b52c22;background:#fbe5e2;color:#8b1e17}.account-form-success{border-left:4px solid #4f7d57;background:#e7f2e6;color:#315d39}.account-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:18px;border-top:1px solid #e7c9a6}.account-dialog footer button{min-height:44px;padding:10px 18px;border-radius:9px;font-family:inherit;font-weight:800;cursor:pointer}.account-dialog footer button:disabled{cursor:wait;opacity:.58}.account-secondary-button{border:1px solid #d5b28d;background:#fffaf1;color:#6c3b2e}.account-primary-button{border:1px solid #a44b2d;background:#87170c;color:#fff2d6;box-shadow:0 5px 14px #6d170b2b}@media(max-width:600px){.header-tools .account-menu{display:block}.header-tools .account-menu .user-control{display:flex;padding:0;border-left:0}.account-menu .user-control .icon-chevron,.account-menu .user-control .name{display:none}.account-dropdown{position:fixed;top:62px;right:12px}.account-dropdown:before{right:27px}.account-dialog-backdrop{align-items:end;padding:0}.account-dialog{max-height:92dvh;border-radius:18px 18px 0 0}.account-dialog form,.account-dialog>header{padding:18px}.account-avatar-editor{align-items:flex-start;padding:13px}.user-avatar.account-profile-avatar{width:72px;height:72px}.account-profile-avatar svg{width:48px;height:48px}.account-profile-fields{grid-template-columns:1fr;gap:14px}.account-profile-fields label:last-child{grid-column:auto}.account-dialog footer{position:-webkit-sticky;position:sticky;bottom:-18px;margin-right:-18px;margin-left:-18px;padding:13px 18px max(13px,env(safe-area-inset-bottom));background:#fff8edf2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.account-dialog footer button{flex:1 1}}@media(prefers-reduced-motion:reduce){.account-dialog,.account-dropdown{scroll-behavior:auto}}