/* Ham Scouts prototype — no external stylesheets */
:root{--purple:#7413dc;--dark:#205b41;--teal:#088486;--cream:#f7f5fb;--ink:#181818}*{box-sizing:border-box}body{margin:0;font:1.05rem/1.6 "Nunito Sans",system-ui,Arial,sans-serif;color:var(--ink)}a{color:var(--purple)}a:focus-visible,button:focus-visible{outline:3px solid #ffe627;outline-offset:3px}.skip{position:absolute;left:-999px}.skip:focus{left:1rem;top:1rem;background:white;z-index:99;padding:.5rem}.info{background:var(--dark);color:white;padding:.35rem max(1rem,calc((100% - 1100px)/2));font-size:.86rem}.site-head{position:sticky;top:0;z-index:10;background:var(--purple);color:white;box-shadow:0 2px 9px #0002}.nav-wrap{max-width:1100px;margin:auto;padding:.8rem 1rem;display:flex;align-items:center;gap:2rem;flex-wrap:wrap}.brand{display:flex;align-items:center;gap:.8rem;color:white;text-decoration:none;font-size:1.3rem;font-weight:800}.brand img{width:37px;height:52px;object-fit:contain}.nav{display:flex;gap:.2rem;flex-wrap:wrap;align-items:center}.nav a,.nav summary{display:block;color:white;text-decoration:none;padding:.55rem .7rem;border-radius:.35rem;cursor:pointer}.nav a:hover,.nav summary:hover{background:#ffffff24}.nav details{position:relative}.nav details div{background:var(--purple);min-width:190px;box-shadow:0 5px 12px #0003;position:absolute;z-index:12}.nav details div a{padding:.45rem .8rem}.hero{background:var(--purple);color:white;padding:4rem 1rem}.wrap{max-width:1100px;margin:auto;padding:0 1rem}.hero h1{font-size:clamp(2.2rem,5vw,4rem);line-height:1.12;margin:0 0 1rem}.hero p{max-width:670px;font-size:1.3rem}.btn{display:inline-block;background:#fff;color:var(--purple);font-weight:700;text-decoration:none;padding:.7rem 1.2rem;border-radius:.4rem;margin:.3rem .4rem .3rem 0}.btn.alt{background:#ffe627;color:#000}.section{padding:3rem 0}.section h2{font-size:2rem;margin-top:0}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem}.card{background:var(--cream);border-radius:.65rem;padding:1.3rem;border-top:5px solid var(--teal)}.card h3{margin:.1rem 0}.card p{margin:.4rem 0}.band{background:var(--teal);color:white;padding:2.5rem 0}.band a{color:white}.footer{background:var(--dark);color:white;padding:2rem 0}.footer a{color:white}.footer-links{display:flex;gap:1.4rem;flex-wrap:wrap}.consent{position:fixed;bottom:1rem;left:1rem;right:1rem;max-width:640px;background:white;color:var(--ink);box-shadow:0 4px 28px #0005;border:2px solid var(--purple);border-radius:.6rem;padding:1.2rem;z-index:50}.consent[hidden]{display:none}.consent button{border:1px solid var(--purple);background:var(--purple);color:white;padding:.65rem 1rem;border-radius:.35rem;margin:.25rem;cursor:pointer}.consent button.secondary{background:white;color:var(--purple)}@media(max-width:700px){.nav-wrap{gap:.3rem}.nav{width:100%;font-size:.9rem}.nav details div{position:static}.hero{padding:2.5rem 1rem}}

/* Brand alignment: Scouts guidelines v3.3, August 2026.
   Font is local-only when the volunteer-supplied WOFF2 files are present. */
@font-face{font-family:"Nunito Sans";src:url("/fonts/NunitoSans-Regular.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Nunito Sans";src:url("/fonts/NunitoSans-Bold.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:"Nunito Sans";src:url("/fonts/NunitoSans-Black.woff2") format("woff2");font-style:normal;font-weight:900;font-display:swap}
h1,h2,h3{font-weight:900;line-height:1.2}
.nav details:not([open])>div{display:none}
.nav details>summary{list-style:none}
.nav details>summary::-webkit-details-marker{display:none}
.nav details>summary::after{content:" ▾";font-size:.8em}
.nav details[open]>summary::after{content:" ▴"}
.consent button{font:inherit;font-weight:700}
.consent button:hover{filter:brightness(.93)}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* V3: legacy content presentation. Preserve original tables, headings and archives. */
.legacy-content{overflow-wrap:anywhere}.legacy-content img{max-width:100%;height:auto}.legacy-content table{max-width:100%;border-collapse:collapse}.legacy-content td,.legacy-content th{padding:.4rem;vertical-align:top}.legacy-content h1{font-size:1.85rem}.legacy-content h2{font-size:1.55rem;margin-top:2rem}.legacy-content p{max-width:78ch}.legacy-content iframe{max-width:100%}.legacy-content [id]{scroll-margin-top:8rem}
@media(max-width:700px){.legacy-content{overflow-x:auto}}

/* V5: section artwork is reproduced from supplied official vector originals. */
.hero .wrap:has(.section-brand){display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.section-brand{background:#fff;border-radius:.5rem;padding:.75rem 1rem;max-width:min(100%,420px)}
.section-brand img{display:block;width:auto;max-width:100%;max-height:125px;object-fit:contain}

/* V5.1 — shared header: official Scouts logo left, navigation centre, Group badge right. */
.site-head .nav-wrap{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;max-width:1200px}
.header-scouts,.header-group{display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:48px}
.header-scouts img{display:block;width:100px;max-height:60px;object-fit:contain}
.header-group{margin-left:auto}
.header-group img{display:block;width:43px;height:60px;object-fit:contain}
.site-head .nav{flex:1 1 auto;justify-content:center;min-width:0}
@media(max-width:800px){.site-head .nav{order:3;flex-basis:100%;justify-content:flex-start}.header-group{margin-left:auto}.site-head .nav-wrap{gap:.35rem 1rem}.header-scouts img{width:90px;max-height:54px}.header-group img{height:54px;width:39px}}

/* V5.2: black official Scouts logo on white plaque for contrast against purple header. */
.header-scouts{background:#fff;border-radius:.4rem;padding:.3rem .65rem}
.header-scouts img{width:100px;max-height:60px}

/* V5.4: privacy-preserving OSM location panel (no external embeds). */
.osm-map-panel{padding:1.4rem;margin:1.4rem 0;background:#f3f0fa;border:1px solid #ddd3f0;border-radius:.7rem}
.osm-map-link{display:inline-block;padding:.65rem 1rem;background:#7413dc;color:#fff!important;border-radius:.4rem;font-weight:700}
.osm-attribution{font-size:.85rem;margin-top:1rem}

/* Semantic policy document presentation */
.policy-document{max-width:100%;overflow-wrap:break-word}
.policy-document table{border-collapse:collapse;width:100%;margin:1.25rem 0;font-size:.94rem}
.policy-document th,.policy-document td{border:1px solid #d6d0df;padding:.65rem;vertical-align:top;text-align:left}
.policy-document th{background:#eee8f7}
.policy-document tr:first-child td{background:#f7f4fb}
.policy-document img{max-width:100%;height:auto}
.policy-document p{margin:.65rem 0}
.policy-document h2{margin-top:1.75rem}
.policy-document ul,.policy-document ol{padding-left:1.6rem}
@media(max-width:750px){.policy-document{overflow-x:auto}.policy-document table{min-width:620px}}
