/* BMA website. Mobile first, no web fonts, no scripts. */
:root {
  --ink: #14181f;
  --muted: #5b6270;
  --line: #dcdfe5;
  --paper: #fbfaf7;
  --stone: #f1efe9;
  --navy: #002060;
  --navy-2: #0b2f7a;
  --todo: #9a3b00;
  --todo-bg: #fff1e3;
  --wrap: 72rem;
  --gutter: 1rem;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 1rem/1.6 var(--sans);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 0.18em; }
a:hover { color: var(--navy-2); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 650; max-width: 18ch; }
h2 { font-size: 1.35rem; font-weight: 650; }
h3 { font-size: 1.05rem; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 3rem 0; }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

.draft { background: var(--todo-bg); color: var(--todo); border-bottom: 1px solid #f0c9a4; font-size: 0.85rem; padding: 0.45rem var(--gutter); text-align: center; }
.todo { background: var(--todo-bg); color: var(--todo); border-radius: 3px; padding: 0 0.3em; font-size: 0.85em; font-weight: 500; white-space: nowrap; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
/* Official logo (Logo_7000X7000.png), mark and wordmark side by side; the file is 3x for sharp phones. */
.logo { width: auto; height: 2.4rem; max-width: 100%; }
@media (min-width: 40rem) { .logo { height: 2.9rem; } }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: 0.95rem; }
.nav a { color: var(--ink); text-decoration: none; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--navy); color: var(--navy); }

/* Type helpers */
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 600; color: var(--muted); margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: #2f3541; max-width: 40rem; }
.muted { color: var(--muted); }
.section-title { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.note { margin-top: 2rem; padding: 1rem 1.25rem; border-left: 3px solid var(--navy); background: var(--stone); font-size: 0.95rem; max-width: 48rem; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.button { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; padding: 0.8rem 1.4rem; font-weight: 600; border: 2px solid var(--navy); }
.button:hover { background: var(--navy-2); color: #fff; }
.button-light { background: #fff; color: var(--navy); border-color: #fff; }
.button-light:hover { background: transparent; color: #fff; }
.button-off { background: var(--stone); color: var(--muted); border-color: var(--line); }
.link-arrow { font-weight: 600; text-decoration: none; }

/* Hero */
.hero { padding: 3rem 0 3.5rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-plan { width: 100%; max-width: 30rem; justify-self: center; }
.hero-plan .lot { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-dasharray: 8 4; }
.hero-plan .road { stroke: #9aa1ad; stroke-width: 2; }
.hero-plan .thin { stroke-width: 1; stroke-dasharray: 10 8; }
.hero-plan .bldg { fill: #e7ebf3; stroke: var(--navy); stroke-width: 2; }
.hero-plan .bldg-line { stroke: var(--navy); stroke-width: 0.8; opacity: 0.5; fill: none; }
.hero-plan .parking path { stroke: #9aa1ad; stroke-width: 1; }
.hero-plan .setback { stroke: #b9bfca; stroke-width: 0.8; stroke-dasharray: 3 3; }
.hero-plan .tree { fill: none; stroke: #6f8a6a; stroke-width: 1.2; }
.hero-plan .walk { stroke: #9aa1ad; stroke-width: 1; stroke-dasharray: 2 3; }

/* Bands */
.band { background: var(--stone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--navy); color: #e8ecf6; border: 0; }
.band-dark .section-title { color: #fff; }
.two-col { display: grid; gap: 1.5rem 3rem; align-items: start; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem; counter-reset: s; }
.steps li { border-top: 2px solid var(--navy); padding-top: 0.9rem; }
.steps .n, .service .n { font-size: 0.8rem; font-weight: 700; color: var(--navy); letter-spacing: 0.08em; }
.steps h3 { margin: 0.35rem 0 0.4rem; }
.steps p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Category list */
.cat-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0.25rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 1.1rem; font-weight: 550; }
.cat-list a:hover { color: var(--navy); background: var(--stone); }
.cat-list .arrow { color: var(--navy); }

/* Page head */
.page-head { padding: 3rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.9rem, 5vw, 3rem); max-width: 24ch; }

.page-head + section { padding-top: 1rem; }

/* Services */
.services { display: grid; gap: 0; }
.service { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.service h2 { margin-top: 0.3rem; }
.service p { color: #2f3541; max-width: 40rem; margin: 0; }

/* Projects */
.chips ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips a { display: inline-flex; gap: 0.4rem; padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 0.9rem; background: #fff; }
.chips a:hover { border-color: var(--navy); color: var(--navy); }
.chips .arrow { display: none; }
.category { padding: 2.5rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.category:last-child { border-bottom: 0; }
.category-head p { color: var(--muted); max-width: 42rem; }
.grid { display: grid; gap: 1rem; margin-top: 1.25rem; }
.tile { margin: 0; }
.tile img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--stone); }
.tile figcaption { font-size: 0.9rem; padding-top: 0.5rem; }
.tile .credit { display: block; color: var(--muted); font-size: 0.8rem; }
.tile-empty .frame { aspect-ratio: 4 / 3; display: grid; place-items: center; background:
  repeating-linear-gradient(45deg, transparent 0 14px, rgba(0,32,96,0.05) 14px 15px), var(--stone);
  border: 1px dashed #c4c9d3; color: var(--muted); font-size: 0.85rem; }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-card { background: #fff; border: 1px solid var(--line); padding: 1.5rem; }
.contact-card h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 0.3rem; }
.contact-card p { margin-bottom: 1.4rem; }
.map { margin: -0.6rem 0 1.4rem; }
.map iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); margin-bottom: 0.5rem; }
.contact-card .map-links { margin: 0; font-size: 0.95rem; }
.big { font-size: 1.25rem; font-weight: 600; overflow-wrap: anywhere; }
.ticks { padding-left: 1.2rem; }
.ticks li { margin-bottom: 0.4rem; }
.prose { max-width: 42rem; }
.prose h2 { margin-top: 2rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--stone); font-size: 0.9rem; padding: 2.5rem 0 1.5rem; }
.footer-grid { display: grid; gap: 1rem 2rem; }
.footer-grid p { margin: 0 0 0.35rem; }
.footer-name { font-weight: 650; }
.disclaimer { color: var(--muted); font-size: 0.8rem; max-width: 52rem; margin-top: 1.5rem; }
.copy { color: var(--muted); font-size: 0.8rem; margin: 0; }

@media (min-width: 40rem) {
  :root { --gutter: 1.5rem; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 60rem) {
  :root { --gutter: 2rem; }
  section { padding: 4.5rem 0; }
  .hero { padding: 5rem 0; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; }
  .two-col { grid-template-columns: 1fr 1.4fr; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .services { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .site-header .nav, .draft, .skip { display: none; } }
