
:root{
 --black:#090909;--ink:#171717;--muted:#686868;--ivory:#f7f5ee;--paper:#fff;
 --gold:#d6b336;--gold2:#b88a17;--line:#e5e0d5;--green:#178449;--blue:#1677e8;
 --radius:20px;--shadow:0 8px 28px rgba(20,20,20,.06)
}
*{box-sizing:border-box}html{background:var(--ivory);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
body{margin:0;background:var(--ivory);font-size:15px;line-height:1.45;color:var(--ink)}
a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}
img,video{max-width:100%;display:block}.wrap{width:min(1120px,calc(100% - 28px));margin:auto}
.topbar{height:72px;background:var(--black);border-bottom:2px solid var(--gold);color:#fff;display:flex;align-items:center;position:sticky;top:0;z-index:40}
.topin{display:flex;align-items:center;justify-content:space-between;width:min(1120px,calc(100% - 28px));margin:auto;gap:12px}
.brand{display:flex;align-items:center;gap:10px;min-width:0}.brand img{width:88px;height:42px;object-fit:contain;background:transparent}.brand strong{display:block;font-size:14px}.brand small{display:block;color:#ccc;font-size:11px}
.iconbtn{width:44px;height:44px;border:1px solid #333;border-radius:14px;background:#121212;color:#fff;font-size:21px;display:grid;place-items:center}
.topactions{display:flex;gap:8px}
.hero{margin:18px auto;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow);display:grid;grid-template-columns:1.05fr .95fr;min-height:430px}
.hero-copy{padding:42px}.eyebrow{font-size:11px;font-weight:900;letter-spacing:.12em;color:#937016;text-transform:uppercase}.hero h1{font-size:clamp(34px,5vw,56px);line-height:.98;margin:10px 0 16px;letter-spacing:-.03em}.hero h1 em{font-style:normal;color:#a98013}.hero p{font-size:17px;color:#4e4e4e;max-width:580px}
.hero-media{min-height:360px;position:relative;background:#111}.hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 26%}
.hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.12),transparent 35%)}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.btn{min-height:44px;padding:11px 18px;border-radius:12px;border:1px solid #1d1d1d;background:#fff;font-weight:850;cursor:pointer}.btn.gold{background:var(--gold);border-color:var(--gold);color:#111}.btn.black{background:#0d0d0d;color:white}.btn.soft{background:#f3efe5;border-color:#e4dcc7}.btn:disabled{opacity:.5;cursor:not-allowed}
.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:14px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.card-pad{padding:20px}.section{margin:22px auto}.sectionhead{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:10px}.sectionhead h2{font-size:25px;line-height:1.05;margin:0}.sectionhead p{margin:4px 0 0;color:var(--muted)}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.kpi{background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px;text-align:center}.kpi b{font-size:22px;display:block}.kpi span{font-size:11px;color:var(--muted)}
.media16{aspect-ratio:16/9;background:#111;overflow:hidden}.media16 img,.media16 video{width:100%;height:100%;object-fit:cover}.crop{overflow:hidden}.crop img{width:100%;height:100%;object-fit:cover;object-position:center 25%}
.pills{display:flex;gap:7px;overflow:auto;padding-bottom:4px}.pill{white-space:nowrap;border:1px solid var(--line);background:#fff;padding:9px 13px;border-radius:999px;font-weight:800;font-size:12px}.pill.active{background:var(--gold);border-color:var(--gold)}
.post{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.posthead{padding:14px 16px;display:flex;align-items:center;gap:10px}.avatar{width:38px;height:38px;border-radius:50%;object-fit:cover}.postmeta strong{display:block}.postmeta small{color:var(--muted)}.postbody{padding:0 16px 14px}.postbody h3{font-size:19px;margin:0 0 6px}.postactions{display:flex;border-top:1px solid var(--line)}.postactions button{flex:1;border:0;background:#fff;min-height:44px;font-weight:750}
.thumbrow{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.thumb .media16{border-radius:12px}.thumb b{font-size:12px;display:block;margin-top:6px}.thumb small{font-size:10px;color:var(--muted)}
.mapframe{border-radius:18px;overflow:hidden;border:1px solid var(--line);background:#dde8ec;min-height:330px}.mapframe.large{min-height:530px}.map-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.map-toolbar input,.map-toolbar select{min-height:44px;border:1px solid #ccc;border-radius:10px;padding:0 12px;background:#fff}.map-toolbar input{flex:1;min-width:190px}
.list{display:grid;gap:9px}.listitem{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:12px;background:#fff}.listitem .grow{flex:1;min-width:0}.listitem b{display:block}.listitem small{color:var(--muted)}
.form{display:grid;gap:12px}.form label{font-size:12px;font-weight:850}.form input,.form select,.form textarea{width:100%;min-height:44px;border:1px solid #cfcac0;border-radius:11px;padding:10px 12px;background:#fff;font-size:16px}.form textarea{min-height:110px}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.notice{border:1px solid #eadfb9;background:#fff9e6;border-radius:13px;padding:12px;color:#64531b}.ok{color:#176d3f}.danger{color:#a02121}
.bottomnav{background:#090909;color:#fff;border-top:2px solid var(--gold);margin-top:32px}.bottomin{width:min(720px,100%);margin:auto;display:grid;grid-template-columns:repeat(6,1fr)}.bottomin a{min-height:62px;display:grid;place-items:center;text-align:center;font-size:10px;color:#ddd}.bottomin a b{display:block;font-size:18px;line-height:1}.bottomin a.active{color:var(--gold)}
.footer{background:#090909;color:#ddd;text-align:center;padding:24px 14px}.footer img{width:100px;height:48px;object-fit:contain;margin:0 auto 8px;background:transparent}
.drawerback{position:fixed;inset:0;background:rgba(0,0,0,.48);z-index:90;display:none}.drawerback.open{display:block}.drawer{position:absolute;right:0;top:0;bottom:0;width:min(360px,88vw);background:#fbfaf6;padding:18px;overflow:auto}.drawerhead{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:12px}.drawerhead strong{color:#8f6d11}.drawer nav{display:grid;gap:7px;margin-top:14px}.drawer nav a{padding:12px 13px;background:#f2eee4;border-radius:10px;border-left:3px solid var(--gold);font-weight:800}.drawer nav a:nth-child(3n){border-left-color:var(--green)}.drawer .private{margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}
.access{width:min(720px,calc(100% - 28px));margin:24px auto;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}.accesshero{height:220px}.accesshero img{width:100%;height:100%;object-fit:cover;object-position:center 28%}.accessbody{padding:28px}.accessbody h1{font-size:31px;line-height:1.05;margin:6px 0 10px;text-align:center}.accessbody>p{text-align:center;color:var(--muted)}.social{display:grid;gap:9px;margin:18px 0}.social a{min-height:46px;border:1px solid #ccc;border-radius:11px;display:flex;align-items:center;justify-content:center;font-weight:850;background:#fff}.social a.fb{background:#1677e8;color:#fff;border-color:#1677e8}
.privatebox{border:1px dashed #c6b15c;background:#fffbed;border-radius:15px;padding:14px}.resources{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.resource{border:1px solid var(--line);border-radius:15px;background:#fff;padding:15px}.resource h3{margin:0 0 5px;font-size:16px}.resource small{color:var(--muted)}.resource .state{display:inline-block;margin-top:9px;padding:4px 8px;border-radius:99px;background:#f1eee6;font-size:10px;font-weight:900}
@media(max-width:780px){
 body{font-size:14px}.topbar{height:64px}.brand img{width:76px;height:34px}.brand strong{font-size:13px}.brand small{font-size:10px}
 .hero{grid-template-columns:1fr;margin-top:12px;min-height:0}.hero-copy{padding:24px 20px}.hero h1{font-size:34px}.hero p{font-size:15px}.hero-media{min-height:285px;order:-1}
 .grid{gap:10px}.kpis{grid-template-columns:repeat(4,1fr)}.kpi{padding:10px 6px}.kpi b{font-size:18px}.sectionhead h2{font-size:21px}
 .thumbrow{grid-template-columns:repeat(2,1fr)}.mapframe{min-height:300px}.mapframe.large{min-height:420px}.two{grid-template-columns:1fr}
 .bottomnav{position:sticky;bottom:0;z-index:35;margin-top:22px}.bottomin a{min-height:58px;font-size:9px}
 .access{margin:12px auto}.accesshero{height:175px}.accessbody{padding:20px 16px}.accessbody h1{font-size:26px}
 .resources{grid-template-columns:1fr}.hero .actions .btn{flex:1}
}

/* ATB9 mobile density patch — 2026-09-27 working build */
@media(max-width:680px){
 body{font-size:13px;line-height:1.38}
 .wrap{width:min(100% - 16px,1120px)}
 .topbar{height:58px}.topin{width:min(100% - 14px,1120px);gap:7px}.brand{gap:6px}.brand img{width:64px;height:30px}.brand strong{font-size:11px}.brand small{display:none}.iconbtn{width:38px;height:38px;border-radius:11px;font-size:18px}
 .hero{margin:8px auto;border-radius:16px}.hero-copy{padding:17px 14px}.hero h1{font-size:28px;line-height:1}.hero p{font-size:12px;line-height:1.4}.hero-media{min-height:215px;max-height:300px}.actions{gap:6px;margin-top:12px}.btn{min-height:36px;padding:8px 10px;border-radius:10px;font-size:10px}
 .section{margin:12px auto}.sectionhead{align-items:flex-start}.sectionhead h2{font-size:18px}.sectionhead p{font-size:10px}.card{border-radius:14px}.card-pad{padding:12px}
 .kpis{gap:5px}.kpi{border-radius:10px;padding:7px 4px}.kpi b{font-size:14px}.kpi span{font-size:8px}
 .thumbrow{gap:6px}.thumb .media16{border-radius:9px}.thumb b{font-size:9px;margin-top:3px}.thumb small{font-size:8px}
 .list{gap:6px}.listitem{padding:8px;border-radius:10px}.listitem b{font-size:10px}.listitem small{font-size:8px}
 .access{width:min(100% - 16px,720px);margin:8px auto;border-radius:16px}.accesshero{height:135px}.accessbody{padding:14px 12px}.accessbody h1{font-size:22px}.accessbody>p{font-size:10px}.social{gap:6px;margin:10px 0}.social a{min-height:38px;font-size:10px}
 .form{gap:8px}.form label{font-size:10px}.form input,.form select,.form textarea{min-height:38px;border-radius:9px;padding:8px 9px;font-size:13px}.form textarea{min-height:80px}
 .bottomnav{margin-top:14px}.bottomin a{min-height:52px;font-size:8px}.bottomin a b{font-size:16px}
 .footer{padding:16px 10px;font-size:9px}.footer img{width:78px;height:36px}
}

@media(max-width:680px){
 .bottomin{grid-template-columns:repeat(5,1fr)}
 .bottomin a:nth-child(5){display:none}
}
