/* Typography fixed by docs/RULINGS.md 4 Sept 2026: Lora headings 500-600, Source Sans 3 body 400/600, nothing above 600, no uppercase. Enforced by core/tester_intake.py:enforce_typography(). */
body{font-family:"Source Sans 3",system-ui,sans-serif;font-weight:400}
h1,h2,h3,h4,h5,h6,.site-name{font-family:Lora,Georgia,serif;font-weight:600}
strong,b{font-weight:600}
.wrap{max-width:1040px;margin:0 auto;padding:0 20px}
body{margin:0;color:#1a1a1a;background:#f4f3ef;line-height:1.5}
h1,h2,h3{font-weight:600;margin:0 0 .5em}
p{margin:0 0 1em}
.site-header{background:#12232e;color:#fff;padding:20px 0}
.site-header .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px}
.site-header a{color:#fff;text-decoration:none}
.site-nav ul{list-style:none;display:flex;flex-wrap:wrap;gap:16px;margin:0;padding:0}
.site-nav a{padding:4px 2px}
.site-nav a[aria-current="page"]{border-bottom:2px solid #f2a900}
.hero{background:#0d3b2e;color:#fff;padding:60px 0;text-align:center}
.hero h1{font-weight:600;font-size:2.2rem}
.hero p{font-size:1.1rem}
.section{padding:50px 0;border-bottom:1px solid #d8d5cd}
.section h2{color:#0d3b2e}
.cta{display:inline-block;background:#f2a900;color:#12232e;padding:12px 24px;border-radius:4px;text-decoration:none;font-weight:600;margin-top:10px}
.cta:hover{background:#d99400}
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin-top:20px}
.gallery figure{margin:0;background:#fff;padding:10px;border-radius:6px}
.gallery figcaption{font-size:.85rem;color:#4a4a4a;margin-top:6px}
img{max-width:100%;height:auto;border-radius:4px}
.site-footer{background:#12232e;color:#fff;padding:30px 0;text-align:center}
.site-footer a{color:#f2a900}
.image-credits{font-size:.75rem;color:#6b6b6b}
@media (max-width:600px){.hero{padding:40px 0}.hero h1{font-size:1.7rem}.section{padding:30px 0}}

/* Layout fixed by the tester round (T1/T2, 13 Sept 2026): every page the same column, nav labels never break mid-word, images never wider than the column, footer inside the column, placeholders visible. */
.wrap{max-width:1040px;margin:0 auto;padding-left:1rem;padding-right:1rem;box-sizing:border-box}
img{max-width:100%!important;height:auto!important;display:block}
main img,.section img,.hero img,figure img{width:100%!important;max-height:60vh!important;object-fit:cover;margin:1rem 0}
main *,.wrap *{min-width:0;max-width:100%;box-sizing:border-box}
.site-header .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.5rem}
.site-nav ul{display:flex;flex-wrap:wrap;gap:.5rem 1rem;list-style:none;margin:0;padding:0}
.site-nav li{margin:0;padding:0}
.site-nav a{white-space:nowrap;display:inline-block;padding:.25rem 0;overflow-wrap:normal;word-break:normal;hyphens:none}
.site-contact{white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none}
.site-contact .nowrap{white-space:nowrap}
.site-header a,.site-header .site-name,.site-header .site-contact{color:inherit}
.site-header .site-name{font-size:1.25rem;text-decoration:none}
.site-footer .wrap{padding-top:1.5rem;padding-bottom:1.5rem}
mark.placeholder{background:#fff3b0;color:#4a3b00;padding:0 .2em;border-radius:2px}
.image-credits{font-size:.85rem;opacity:.8}
