@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root{--blue:#103d65;--deep:#082c4b;--gold:#f0c453;--ink:#18354d;--muted:#5e7180;--paper:#fff;--mist:#f3f6f8;--border:#dce4e9}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:105px}body{margin:0;font:16px/1.6 'DM Sans',Arial,sans-serif;color:var(--ink);background:var(--paper)}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,select,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #b78c17;outline-offset:4px}button{color:inherit}h1,h2,h3,p,figure{margin:0}h1,h2{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;line-height:1.08}h2{font-size:clamp(2.3rem,4vw,3.25rem)}.wrap{max-width:1250px;width:calc(100% - 96px);margin:auto}.topline{background:var(--deep);color:#d5e3ee;font-size:.8rem;padding:8px 0}.topline .wrap{display:flex;justify-content:space-between}header{background:white;position:sticky;top:0;z-index:10;border-bottom:1px solid var(--border)}.header-inner{height:96px;display:flex;align-items:center;gap:30px}.brand{font-weight:700;font-size:1.9rem;letter-spacing:-1.2px;display:flex;align-items:center;gap:12px}.brand-sub{display:block;font-size:.62rem;letter-spacing:2px;font-weight:500;margin-top:-5px}.brand-symbol{height:44px;width:43px;border:1px solid #c4a04b;border-radius:22px 22px 3px 3px;text-align:center;font-family:Georgia,serif;font-size:1.8rem;position:relative}.brand-symbol span{position:absolute;font-size:.8rem;right:0;top:-9px;color:#ab801b;background:white}.header-inner nav{margin-left:auto;display:flex;gap:25px;font-size:.88rem;font-weight:500}.header-inner nav a:hover{color:#947011}.chapter-select select{background:var(--mist);border:1px solid var(--border);padding:10px;border-radius:5px;width:145px;font-size:.85rem}.menu-toggle{display:none}.hero{background:var(--blue);color:white;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.08fr 1fr;gap:54px;min-height:648px;align-items:center;padding:58px 0}.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:1.6px;color:#647785;margin-bottom:18px}.hero .eyebrow{color:#e9c76f;display:flex;align-items:center;gap:12px}.line{height:1px;width:30px;background:var(--gold)}h1{font-size:clamp(3.2rem,5.1vw,4.8rem);letter-spacing:-1.7px;max-width:610px}h1 em{color:var(--gold);font-style:normal}.hero-description{margin-top:25px;color:#d4e1eb;max-width:475px;font-size:1.02rem;line-height:1.8}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border-radius:5px;font-size:.88rem;font-weight:700;min-height:48px;border:1px solid transparent;transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px)}.gold{background:var(--gold);color:#19374f}.outline{border-color:#88a0b5;color:white;background:transparent}.blue{background:var(--blue);color:white}.hero-note{display:flex;gap:14px;align-items:center;margin-top:34px;font-size:.8rem;color:#c0d3e3;line-height:1.5}.hero-note strong{font-weight:500;color:white}.round-icon{width:40px;height:40px;border:1px solid #728ba0;border-radius:50%;display:grid;place-items:center;color:var(--gold);font-size:1.1rem}.hero-image{height:515px;position:relative;border-radius:120px 8px 8px 8px;overflow:hidden;box-shadow:18px 18px 0 #214c70}.hero-image img{height:100%;width:100%;object-fit:cover}.hero-image:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 50%,#031b2dd9)}.hero-image figcaption{position:absolute;left:30px;bottom:27px;z-index:1;display:flex;flex-direction:column}.hero-image figcaption span{font-size:.7rem;letter-spacing:1.4px}.hero-image figcaption strong{font-family:Georgia,serif;font-size:1.6rem;font-weight:400}.photo-label{position:absolute;right:17px;top:20px;color:white;border:1px solid #ffffff70;background:#16344850;padding:5px 10px;font-size:.7rem}.community-strip{background:#f4f6f7;border-bottom:1px solid var(--border)}.community-strip .wrap{display:flex;justify-content:space-between;padding:22px 0;font-size:.85rem}.community-strip span:before{content:'✦';color:#b59136;margin-right:13px}.community-strip a{font-weight:700;color:var(--blue)}.section{padding:80px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:30px}.section-heading>p{color:var(--muted);font-size:.9rem}.filter-row,.directory-controls{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.pills{display:flex;gap:5px;flex-wrap:wrap}.pills button{border:1px solid transparent;border-radius:5px;background:transparent;padding:9px 14px;font-size:.85rem;font-weight:500}.pills button.active{background:var(--blue);color:white}.pills button:hover:not(.active){background:#e7edf1}.search{position:relative}.search input{width:250px;padding:9px 35px 9px 13px;border:1px solid var(--border);border-radius:5px;font-size:.85rem}.search span{position:absolute;right:12px;top:5px;font-size:1.4rem}.demo-note{font-size:.75rem;color:var(--muted);margin-bottom:18px}.chapter-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.chapter-card{border:1px solid var(--border);border-radius:7px;padding:25px 22px;transition:box-shadow .2s,border .2s;background:white}.chapter-card:hover{border-color:#94abbc;box-shadow:0 8px 24px #173b5710}.chapter-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.chapter-code{font-size:.75rem;letter-spacing:2px;color:#a98730;font-weight:700}.region-icon{color:#7990a2;font-size:1.3rem}.chapter-card h3{font-size:1.2rem;margin-bottom:3px}.country{color:var(--muted);font-size:.8rem}.members{font-size:.8rem;margin:20px 0 14px;padding-bottom:14px;border-bottom:1px solid var(--border)}.members strong{font-weight:600}.next-event{font-size:.8rem;min-height:55px;line-height:1.5}.next-event small{display:block;color:var(--muted);font-size:.7rem;margin-bottom:5px}.chapter-link{display:block;color:var(--blue);font-weight:700;font-size:.8rem;margin-top:17px}.chapter-link:hover{text-decoration:underline}.events-section{background:var(--mist);padding:70px 0}.event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.event-card{background:white;border:1px solid var(--border);border-radius:7px;padding:26px;display:flex;flex-direction:column;align-items:start}.event-top{display:flex;align-items:center;gap:17px;margin-bottom:22px}.date-block{border:1px solid #d6e0e6;width:60px;text-align:center;border-radius:4px;padding:5px}.date-block span{font-size:.65rem;font-weight:700;display:block;letter-spacing:1px;color:#72808c}.date-block strong{font-size:1.65rem;font-weight:500;line-height:1.2}.badge{font-size:.7rem;color:#436883;background:#edf3f6;border-radius:3px;padding:3px 8px}.event-card h3{font-size:1.15rem;margin-bottom:8px}.event-card p{font-size:.85rem;color:var(--muted);margin-bottom:20px}.text-button{background:transparent;border:0;padding:0;text-decoration:underline;text-underline-offset:4px;font-size:.8rem;font-weight:600}.event-card .text-button{margin-top:auto}.events-section .demo-note{margin-top:18px;margin-bottom:0}.directory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.directory-card{display:flex;align-items:start;gap:16px;border-top:1px solid var(--border);padding-top:24px}.directory-avatar{width:53px;height:53px;flex-shrink:0;background:#e8eef3;color:#43617a;border-radius:50%;display:grid;place-items:center;font-family:Georgia,serif;font-size:1.2rem}.directory-card h3{font-size:1rem;margin-bottom:4px}.directory-card p{font-size:.8rem;color:var(--muted);margin-bottom:10px}.family-section{background:var(--deep);color:white;padding:74px 0}.family-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}.family-section .eyebrow{color:#e4c165}.family-section h2{font-size:3.5rem}.family-section p:not(.eyebrow){color:#c0d3e2;font-size:.95rem;max-width:450px;margin:23px 0;line-height:1.8}.family-section .family-small{font-size:.73rem!important;margin-bottom:0!important}.tree-preview{border:1px solid #587387;background:#123a59;border-radius:8px;padding:28px 28px 15px}.tree-top{font-size:.7rem;letter-spacing:2px;color:#dbbf76;display:flex;justify-content:space-between}.tree-top span{font-size:.65rem;color:#c2d2de;letter-spacing:0}.tree-generation{display:flex;justify-content:center;margin-top:26px}.person{text-align:center;background:#204763;padding:14px 18px;border:1px solid #638094;border-radius:5px;min-width:140px;font-size:.85rem}.person>span{display:block;background:#375a70;margin:0 auto 7px;border-radius:50%;width:35px;height:35px;padding:6px;font-size:.8rem;color:#f1d282}.person small{display:block;font-size:.65rem;color:#adc6d6;margin-top:3px}.tree-connector{height:25px;width:50%;margin:auto;border-left:1px solid #b9a670;border-right:1px solid #b9a670;border-top:1px solid #b9a670;transform:translateY(25px)}.two{gap:28px;margin-top:24px}.tree-bottom{text-align:center;font-size:.75rem;color:#bbcedc;margin-top:25px}.heritage{text-align:center;padding:74px 0}.heritage h2{font-size:3.5rem}.heritage p:not(.eyebrow){color:var(--muted);font-size:.95rem;margin:22px 0 25px}footer{background:var(--mist);border-top:1px solid var(--border);padding:40px 0 20px}.footer-main{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:40px}.footer-main .brand{display:block;align-self:start;font-size:1.7rem}.footer-main p{font-size:.85rem;color:var(--muted)}.footer-main>div{display:flex;gap:8px;flex-direction:column;font-size:.8rem}.footer-bottom{border-top:1px solid var(--border);margin-top:30px;padding-top:18px;font-size:.73rem;display:flex;justify-content:space-between;color:var(--muted)}dialog{border:1px solid var(--border);border-radius:12px;width:min(620px,calc(100% - 32px));padding:38px;max-height:85vh;color:var(--ink)}dialog::backdrop{background:#052840b3;backdrop-filter:blur(3px)}.dialog-close{position:absolute;top:10px;right:15px;border:0;background:none;font-size:1.8rem}.dialog-copy{margin:20px 0;color:var(--muted)}dialog h2{font-size:2.5rem}.dialog-list{background:var(--mist);padding:20px;border-radius:6px;margin:20px 0}dialog form{display:grid;gap:14px}dialog label{font-size:.85rem;font-weight:600}dialog input{display:block;width:100%;padding:10px;border:1px solid var(--border);border-radius:5px;margin-top:5px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;top:-100px;left:15px;background:white;padding:12px;z-index:30}.skip:focus{top:12px}[hidden]{display:none!important}
@media(min-width:1450px){.hero-grid{min-height:680px}}@media(max-width:1150px){.wrap{width:calc(100% - 64px)}.header-inner{gap:20px}.header-inner nav{gap:15px;font-size:.8rem}.brand{font-size:1.6rem}.chapter-select select{width:125px}.hero-grid{gap:35px}.hero-image{height:500px}.chapter-grid{grid-template-columns:repeat(3,1fr)}.family-grid{gap:45px}}@media(max-width:900px){.header-inner{height:80px;flex-wrap:wrap;position:relative}.menu-toggle{display:block;margin-left:auto;background:white;border:1px solid var(--border);border-radius:5px;padding:7px 12px}.header-inner nav{display:none;position:absolute;top:80px;left:-32px;right:-32px;background:white;margin:0;padding:20px 32px;border-bottom:1px solid var(--border);gap:20px;flex-wrap:wrap;font-size:.95rem}.header-inner nav.open{display:flex}.hero-grid{grid-template-columns:1fr 1fr;gap:25px;padding:45px 0}.hero-image{height:480px;border-top-left-radius:70px}.hero h1{font-size:3.3rem}.hero .eyebrow{font-size:.65rem;letter-spacing:1px}.hero-description{font-size:.9rem}.button{font-size:.8rem;padding:12px 14px}.community-strip .wrap{flex-wrap:wrap;gap:14px}.section-heading{align-items:start;flex-direction:column}.chapter-grid{grid-template-columns:repeat(2,1fr)}.event-grid,.directory-grid{gap:14px}.event-card{padding:20px}.family-grid{gap:25px}.family-section h2{font-size:2.9rem}.tree-preview{padding:20px 12px}.person{min-width:120px;padding:12px}.two{gap:12px}.tree-top{letter-spacing:1px}.footer-main{gap:20px}.filter-row{flex-wrap:wrap}}@media(max-width:620px){.wrap{width:calc(100% - 40px)}.topline .wrap>span:last-child{display:none}.header-inner{gap:10px}.brand{font-size:1.45rem;gap:8px}.brand-symbol{width:33px;height:37px;font-size:1.5rem}.brand-sub{font-size:.5rem;letter-spacing:1.4px}.chapter-select{display:none}.header-inner nav{left:-20px;right:-20px;padding:20px}.hero-grid{grid-template-columns:1fr;padding:38px 0 45px;gap:33px}.hero h1{font-size:3.55rem;letter-spacing:-1px}.hero-image{height:350px;border-top-left-radius:85px;box-shadow:10px 10px 0 #214c70}.hero-description{font-size:.97rem}.hero-note{margin-top:25px}.hero .eyebrow{font-size:.63rem}.actions{gap:9px}.actions .button{font-size:.76rem;padding:12px}.community-strip .wrap{display:grid;grid-template-columns:1fr;gap:10px;padding:20px 0;font-size:.8rem}.section{padding:52px 0}.section-heading{margin-bottom:25px;gap:16px}.section-heading>p{font-size:.9rem}.pills{gap:3px}.pills button{font-size:.75rem;padding:8px 9px}.search,.search input{width:100%}.chapter-grid{grid-template-columns:1fr 1fr;gap:12px}.chapter-card{padding:18px 14px}.chapter-card h3{font-size:1.08rem}.chapter-meta{margin-bottom:16px}.members{font-size:.7rem;margin-top:15px}.next-event{font-size:.74rem;min-height:75px}.chapter-link{font-size:.75rem}.country{font-size:.75rem}.event-grid,.directory-grid{grid-template-columns:1fr;gap:18px}.events-section{padding:52px 0}.event-card{padding:24px}.family-grid{grid-template-columns:1fr;gap:35px}.family-section{padding:52px 0}.tree-preview{padding:25px}.person{min-width:125px}.heritage{padding:50px 0}.heritage h2{font-size:3rem}.heritage br{display:none}.footer-main{grid-template-columns:1fr;gap:22px}.footer-bottom{flex-direction:column;align-items:start;gap:14px}.directory-controls{align-items:start;flex-direction:column;gap:5px}dialog{padding:30px 23px}.tree-top{font-size:.65rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
header:before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#103d65 0 70%,#f0c453 70% 85%,#8fbb16 85%)}
.landmark-slider{touch-action:pan-y}.landmark-slider:after{display:none}#landmark-slides,.landmark-slide{height:100%;width:100%}.landmark-slide{position:relative;margin:0}.landmark-slide:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 35%,#031b2deb)}.landmark-slider .landmark-slide figcaption{bottom:85px;right:25px}.landmark-slider figcaption strong{font-size:1.5rem;line-height:1.2;margin:6px 0}.landmark-slider figcaption .landmark-description{font-size:.85rem;letter-spacing:0;line-height:1.5;color:#e1ebf2}.slider-controls{position:absolute;bottom:20px;left:20px;right:20px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:8px}.slider-controls>button{border:1px solid #ffffff80;border-radius:5px;color:white;background:#082c4b80;font-size:.75rem;padding:9px 12px;min-height:42px}.slider-controls>button:hover{background:#234e70}.slide-dots{display:flex;align-items:center;gap:0}.slide-dots button{background:transparent;border:0;min-width:30px;min-height:40px;display:grid;place-items:center;padding:0}.slide-dots button:before{content:'';width:7px;height:7px;background:#ffffff85;border-radius:50%}.slide-dots button[aria-pressed="true"]:before{background:var(--gold);width:10px;height:10px}.landmark-slider .photo-label{z-index:2}.landmark-slider:focus-visible{outline-offset:6px}@media(max-width:620px){.landmark-slider figcaption strong{font-size:1.4rem}.landmark-slider .landmark-slide figcaption{left:22px;bottom:80px}.slider-controls{left:16px;right:16px}.slide-dots button{min-width:27px}}
.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}textarea{font:inherit;color:inherit;display:block;width:100%;padding:10px;border:1px solid var(--border);border-radius:5px;margin-top:5px;resize:vertical}.consent{display:flex;align-items:start;gap:12px;font-weight:400!important;line-height:1.6}.consent input{width:20px;height:20px;flex-shrink:0;margin-top:3px}button:disabled{opacity:.6;cursor:wait}.application-reference{display:block;overflow-wrap:anywhere;margin:15px 0;font-size:.85rem}.chapter-start{display:flex;align-items:center;justify-content:space-between;gap:22px;background:var(--mist);border:1px solid var(--border);padding:24px;border-radius:7px;margin-top:25px}.chapter-start h3{margin-bottom:5px}.chapter-start p{font-size:.85rem;color:var(--muted)}.review-card{padding:28px;border:1px solid var(--border);border-radius:8px;margin-top:24px}.review-card dl{display:grid;grid-template-columns:180px 1fr;gap:10px}.review-card dt{font-weight:600}.review-card dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.decline{border-color:#a74343;background:white;color:#8b3030}#application-status,#review-status{margin:18px 0}#approved-chapters{margin-top:40px}@media(max-width:620px){.form-pair{grid-template-columns:1fr}.chapter-start{flex-direction:column;align-items:start}.review-card dl{grid-template-columns:1fr;gap:5px}.review-card dd{margin-bottom:12px}.review-card{padding:20px}}
.chapter-world{background:var(--deep);border:1px solid #527089;border-radius:10px;padding:20px;margin:0 0 25px;color:white;overflow:hidden}.chapter-world svg{display:block;width:100%;height:auto;min-height:220px}.chapter-world figcaption{display:flex;justify-content:space-between;gap:15px;font-size:.75rem;color:#c1d2de;padding-top:12px}.map-view-controls{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.map-view-controls button{font-size:.75rem;background:#123b5a;color:white;border:1px solid #5e7c91;border-radius:5px;padding:7px 10px}.map-view-controls button[aria-pressed="true"]{color:var(--deep);background:var(--gold);border-color:var(--gold)}.map-graticule{fill:none;stroke:#406079;stroke-width:.6;opacity:.6}.map-land{fill:none;stroke:#7593a6;stroke-width:1.4;opacity:.65}.globe-ocean{fill:#163e5e;stroke:#7794a7;stroke-width:1.4}.map-thread{fill:none;stroke:var(--gold);stroke-width:1.5}.map-pin{cursor:pointer}.map-hit{fill:transparent}.map-dot{fill:var(--gold);stroke:white;stroke-width:2}.home-pin .map-dot{fill:#8fbb16}.map-pin text{font:500 15px 'DM Sans',Arial,sans-serif;fill:white;stroke:var(--deep);stroke-width:4;paint-order:stroke;opacity:0;pointer-events:none}.map-pin:hover text,.map-pin:focus text,.home-pin text{opacity:1}.map-pin:focus{outline:none}.map-pin:focus .map-dot{stroke:var(--gold);stroke-width:5}.globe-label{fill:#b8cbd9;font:600 16px Arial,sans-serif;letter-spacing:2px}@media(max-width:620px){.chapter-world{padding:14px}.chapter-world figcaption{flex-direction:column;gap:5px}.chapter-world svg{min-height:170px}.globe-label{display:none}.map-pin text{font-size:22px}}
.directory-title{font-size:clamp(2.4rem,5vw,4rem);line-height:1.1}.business-filters{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:16px;padding:24px;background:var(--mist);border:1px solid var(--border);border-radius:8px}.business-filters label,.business-submit label{font-size:1rem;font-weight:600}.business-filters input,.business-filters select,.business-submit input:not([type=checkbox]),.business-submit select{display:block;width:100%;padding:12px;background:white;border:1px solid var(--border);border-radius:5px;font:inherit;color:inherit;margin-top:6px}.business-filters button{justify-self:start}.business-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}.business-card{border:1px solid var(--border);border-top:4px solid var(--gold);border-radius:8px;padding:28px;overflow-wrap:anywhere}.business-card h2{font-size:2rem}.business-card p{margin:12px 0}.business-card .eyebrow{font-size:.875rem}.business-description{white-space:pre-wrap}.business-connection{color:var(--deep);font-weight:600}.business-card .actions{align-items:start;flex-wrap:wrap}.business-submit{max-width:850px;margin:64px auto 0;padding-top:40px;border-top:1px solid var(--border);scroll-margin-top:100px}.business-submit form{display:grid;gap:20px}.business-submit fieldset{border:1px solid var(--border);border-radius:8px;padding:24px;display:grid;gap:16px;min-width:0}.business-submit legend{font-weight:700}.business-submit fieldset p{font-size:.875rem;color:var(--muted)}.business-submit .consent{font-size:1rem}.business-submit button{justify-self:start}#business-status{margin:24px 0}#business-signin{margin:20px 0}#business-admin{margin-left:20px}@media(max-width:900px){.business-filters{grid-template-columns:1fr 1fr}}@media(max-width:620px){.business-filters,.business-grid{grid-template-columns:1fr}.business-filters,.business-card,.business-submit fieldset{padding:20px}.business-submit{margin-top:40px}.businesses-header{flex-wrap:wrap}.business-grid .actions{flex-direction:column}}
.businesses-header{height:auto;min-height:95px;padding:20px 0;flex-wrap:wrap;gap:18px}.business-filters .text-button{font-size:1rem}.business-submit textarea{font-size:1rem}.business-card .text-button{font-size:1rem}.businesses-header .brand{margin-right:auto}.chapter-card .chapter-link{display:block;margin-top:10px}
/* Community chapter cards: flag colours, open typography and a useful event panel. */
.polished-chapter{padding:0;overflow:hidden;border-radius:16px;box-shadow:0 8px 24px #082c4b08;display:flex;flex-direction:column}.chapter-card-banner{background:var(--deep);color:white;padding:24px;position:relative;border-bottom:4px solid var(--gold)}.chapter-card-banner .chapter-code{display:inline-block;border:1px solid #7290a6;border-radius:30px;padding:5px 12px;color:#f2d079;font-size:.875rem}.chapter-flag{float:right;font-size:1.9rem;line-height:1.2}.chapter-card-banner p{font-size:.875rem;color:#d2e1ec;margin-top:15px}.chapter-card-body{padding:24px;display:flex;flex-direction:column;flex:1}.chapter-card-body h3{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:2rem}.chapter-card-body .country{font-size:.875rem}.chapter-card-body .members{display:flex;gap:10px;align-items:baseline;margin:18px 0;border:0;padding:0;font-size:.875rem}.chapter-card-body .members strong{font-size:1.55rem;color:var(--blue)}.chapter-gathering{background:var(--mist);padding:16px;border-radius:8px;min-height:134px;margin-bottom:22px}.chapter-gathering .eyebrow{font-size:.75rem;letter-spacing:1px;margin-bottom:8px}.chapter-gathering p{font-size:1rem}.chapter-gathering time{display:block;font-size:.875rem;color:var(--muted);margin-top:6px}.chapter-card-actions{margin-top:auto;display:grid;gap:12px}.chapter-card-actions .button{font-size:.875rem;min-height:48px}.chapter-card-actions .chapter-link{font-size:.875rem;text-align:center;margin:0;padding:9px}.nav-signup{color:#886714}.profile-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:64px;align-items:start}.profile-intro{position:sticky;top:140px}.profile-note{border-left:4px solid var(--gold);background:var(--mist);padding:22px;margin:30px 0}.profile-note p{margin-top:8px;font-size:1rem}.research-links h2{font-size:1.65rem}.research-links p{margin-top:15px;font-size:.875rem}.research-links .text-button{font-size:inherit}.account-panel{border:1px solid var(--border);border-radius:16px;padding:32px;box-shadow:0 12px 34px #082c4b09}.account-panel .pills{margin:22px 0}.account-panel form,#profile-form{display:grid;gap:20px}.account-panel label,#profile-form label{font-size:1rem;font-weight:600}.account-panel input:not([type=checkbox]),#profile-form input:not([type=checkbox]),#profile-form select{display:block;width:100%;border:1px solid var(--border);border-radius:6px;padding:12px;margin-top:6px;font:inherit;background:white}.account-panel small,#profile-form small{display:block;font-size:.875rem;color:var(--muted);font-weight:400;margin:7px 0}.account-panel .demo-note{font-size:.875rem;margin-top:20px}#profile-panel>h2{margin-bottom:24px}#profile-form fieldset{padding:25px;border:1px solid var(--border);border-radius:12px;min-width:0}#profile-form legend{font-weight:700;font-size:1rem;padding:0 7px}.person-fields{display:grid;gap:15px;margin:12px 0 25px}.person-fields:last-child{margin-bottom:0}.person-fields h3{font-size:1rem;color:var(--blue)}.form-hint{font-size:.875rem;color:var(--muted);margin-bottom:16px}.private-family-summary{margin-top:35px;border-top:1px solid var(--border);padding-top:25px}.private-family-summary h2{font-size:2rem;margin-bottom:14px}.family-summary-branches{display:grid;grid-template-columns:1fr 1fr;gap:18px}.family-summary-branches h3{font-size:1rem}.family-summary-person{border:1px solid var(--border);border-radius:7px;padding:15px;margin:12px 0;background:var(--mist);display:grid;gap:3px;overflow-wrap:anywhere}.family-summary-person small,.family-summary-person span{font-size:.875rem;color:var(--muted)}@media(max-width:1100px){.header-inner nav{gap:12px}.header-inner{gap:15px}.chapter-card-body,.chapter-card-banner{padding:20px}.profile-layout{gap:32px}}@media(max-width:800px){.profile-layout{grid-template-columns:1fr}.profile-intro{position:static}.profile-intro h1{max-width:none}}@media(max-width:620px){.chapter-grid{grid-template-columns:1fr}.chapter-card-body h3{font-size:2rem}.account-panel{padding:22px}.family-summary-branches{grid-template-columns:1fr}#profile-form fieldset{padding:20px}.profile-layout{gap:24px}}
.person-photo-editor{background:var(--mist);border:1px solid var(--border);border-radius:10px;padding:18px;display:grid;gap:12px}.person-photo{width:100px;height:100px;object-fit:cover;border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px var(--border)}.person-photo-editor .actions{margin:0}.person-photo-editor .text-button{font-size:.875rem;min-height:40px}.person-photo-editor [role=status]{font-size:.875rem}.extra-relative{border-bottom:1px solid var(--border);padding-bottom:24px;margin-bottom:24px}.extra-relative:last-child{border-bottom:0}.extra-relative .text-button{font-size:.875rem}.tree-person-photo,.tree-person-placeholder{width:72px;height:72px;border-radius:50%;object-fit:cover;margin:auto auto 6px;border:3px solid white}.tree-person-placeholder{display:grid!important;place-items:center;background:var(--blue);color:white!important;font-size:1.2rem!important}.family-summary-person{text-align:center;position:relative}.family-summary-person:hover{border-color:#b28b31;background:#edf2f5}.tree-grandparents{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tree-grandparents .family-summary-person{font-size:.875rem;padding:12px}.family-summary-branches{position:relative}.tree-self{max-width:240px;margin:16px auto 0;border-top:2px solid var(--gold);padding-top:12px}.extra-tree-links{display:grid;grid-template-columns:1fr 1fr;gap:18px}.extra-tree-links>section>p{font-size:.875rem}.person-fields{scroll-margin-top:130px}.person-fields:target{outline:2px solid var(--gold);outline-offset:8px;border-radius:7px}@media(max-width:620px){.tree-grandparents{gap:8px}.extra-tree-links{grid-template-columns:1fr}.person-photo-editor{padding:14px}.tree-grandparents .family-summary-person{padding:10px}.tree-person-photo,.tree-person-placeholder{width:60px;height:60px}.person-photo-editor input[type=file]{font-size:.875rem;max-width:100%}}
.welcome-message{background:#eaf1f6;border-bottom:1px solid var(--border);padding:22px 0}.welcome-message .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px}.welcome-message p{font-weight:600}.chapter-admin-label{font-size:.875rem;color:var(--muted);margin:14px 0;overflow-wrap:anywhere}.chapter-admin-label a{text-decoration:underline;text-underline-offset:3px}@media(max-width:620px){.welcome-message .wrap{flex-direction:column;align-items:start}}
.chapter-dashboard-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:28px;margin-top:30px}.chapter-dashboard-grid .account-panel h2{font-size:2rem;margin-bottom:25px}.chapter-dashboard-grid label{display:block}.chapter-dashboard-grid textarea,.chapter-dashboard-grid select{display:block;width:100%;padding:12px;border:1px solid var(--border);border-radius:6px;font:inherit;margin-top:6px}.chapter-dashboard-grid .actions{margin-top:10px}.chapter-dashboard-grid .text-button{font-size:.875rem}.chapter-content-photo{width:100%;height:240px;object-fit:cover;border-radius:8px;margin-bottom:18px}.chapter-upload-preview{max-width:100%;max-height:280px;object-fit:contain;border-radius:8px}.chapter-public{scroll-margin-top:120px}.chapter-public-intro{display:flex;justify-content:space-between;gap:40px;align-items:center;padding:35px;border-radius:18px;background:var(--mist);border-left:5px solid var(--green)}.chapter-public-intro>div:first-child{max-width:700px}.chapter-public-intro>.actions{flex-direction:column;flex-shrink:0;margin:0}.chapter-public-feed>section{margin-top:50px}.chapter-public-feed>section>h2{font-size:2.3rem;margin-bottom:20px}.chapter-content-body{white-space:pre-wrap}.chapter-public-feed .business-card h3{font-size:1.4rem}@media(max-width:800px){.chapter-dashboard-grid{grid-template-columns:1fr}.chapter-public-intro{flex-direction:column;align-items:start;padding:24px}.chapter-public-intro>.actions{flex-direction:row;flex-wrap:wrap}}
/* Lush Tayabas greens and water blues. */
:root{--green:#197554;--blue:#0c6684;--deep:#073f49;--gold:#e5c569;--ink:#123e4b;--muted:#526f76;--mist:#edf7f5;--border:#d1e5e2}.hero{background:linear-gradient(115deg,#105d49 0%,#075969 53%,#08436b 100%)}.hero-image{box-shadow:18px 18px 0 #1b798570}.topline{background:#073f49}.community-strip{background:#e5f3ec}.chapter-card-banner{background:linear-gradient(120deg,#0d5c49,#0d627c);border-bottom-color:#32a37c}.polished-chapter:nth-child(even) .chapter-card-banner{background:linear-gradient(120deg,#0a5977,#08456c);border-bottom-color:#35a0b5}.chapter-gathering{background:#edf7f5}.events-section{background:linear-gradient(115deg,#eef8f3,#eaf4fa)}.family-section{background:linear-gradient(115deg,#083f43,#0b4566)}.tree-preview{background:#13565d}.chapter-world{background:linear-gradient(120deg,#084e4a,#073f66)}footer{background:#eaf5f2}.nav-signup{color:#17674d}.welcome-message{background:#e4f3ec}.business-card{border-top-color:#268b76}.profile-note{border-left-color:#299570;background:#eaf6ef}header:before{background:linear-gradient(90deg,#197554 0 45%,#0c6684 45% 90%,#e5c569 90%)}.map-view-controls button{background:#125464}.map-view-controls button[aria-pressed="true"]{background:#b9e7d0;color:#073f49;border-color:#b9e7d0}.button.blue:hover{background:#084c64}.chapter-card .chapter-code{color:#d4eddf;border-color:#5cb494}.heritage .eyebrow{color:#197554}

/* Shareable event pages and private attendance management */
.event-cover{display:block;width:100%;max-height:460px;object-fit:cover;border-radius:22px;margin:24px 0}.share-event-callout{padding:22px 26px;margin:28px 0;background:#e4f3ee;border:1px solid #c2ddd4;border-radius:18px}.share-event-callout>p:first-child{font-size:1.2rem;font-weight:700;color:var(--blue)}.share-event-callout input{width:100%;padding:12px;border:1px solid #9abdb4;border-radius:8px}#rsvp{scroll-margin-top:24px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.actions:has(input[type=file]:focus-visible) label.button{outline:3px solid #147bac;outline-offset:3px}.attendance-totals{font-size:1.2rem;font-weight:700;color:var(--blue)}.table-scroll{overflow-x:auto}.attendance-table{width:100%;border-collapse:collapse;text-align:left}.attendance-table caption{text-align:left;padding:12px 0;color:#526f75}.attendance-table th,.attendance-table td{padding:14px 12px;border-bottom:1px solid #d2e4df}.attendance-table th{background:#eaf4f1}#event-management{scroll-margin-top:24px}.business-card .actions{flex-wrap:wrap}

.profile-section{border:1px solid #c9dfd7;border-radius:14px;margin:14px 0;background:white}.profile-section summary{padding:18px 20px;font-weight:700;font-size:1.05rem;color:#0b6575;cursor:pointer}.profile-section[open] summary{border-bottom:1px solid #d9e9e3;background:#edf7f3;border-radius:14px 14px 0 0}.profile-section-content{padding:20px}.profile-chapter-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 0;border-bottom:1px solid #d9e9e3}.profile-chapter-row strong{flex:1;min-width:180px}#profile-chapters{margin-bottom:24px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.stats-card{padding:22px;background:#edf7f3;border:1px solid #c9dfd7;border-radius:16px}.stats-card strong{display:block;color:#0b6575;font-size:2rem}.site-admin-controls{margin:32px 0}.admin-chapter-list{display:flex;gap:12px;flex-wrap:wrap}

.gallery-editor-grid,.chapter-album-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;margin:16px 0}.gallery-editor-photo{margin:0;padding:8px;border:1px solid #c9dfd7;border-radius:12px;background:#edf7f3}.gallery-editor-photo img,.chapter-album-grid img{width:100%;height:130px;object-fit:cover;border-radius:8px;display:block}.gallery-editor-photo figcaption{font-size:.875rem;padding:8px 0}.gallery-editor-photo button{min-height:40px}.chapter-album-grid a:focus-visible{outline:3px solid #0c6684;outline-offset:3px}.chapter-album-grid a{border-radius:8px}.album-count{color:#526f75;font-size:.875rem}

.chapter-album{grid-column:1/-1}.chapter-album-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}.chapter-album-grid img{height:180px}@media(max-width:480px){.chapter-album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chapter-album-grid img{height:140px}}
