/* The one stylesheet of the site. Colours live here only, as variables (working agreement 7.3).
   Brand blue from the logo: RGB 71/123/199. Dark blue estimated from the email banner, to confirm. */
:root {
  --brand: #477bc7;
  --brand-dark: #2e2a50;   /* estimate, to confirm with the owner */
  --brand-light: #a3b5dc;  /* lower part of the logo's W, estimated from the logo image */
  --text: #1d1d1f;
  --muted: #5a5a66;
  --bg: #ffffff;
  --line: #d8dbe3;
  --measure: 42rem;        /* comfortable reading width */
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;   /* system font until D13 is settled */
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--brand); }

.site-header {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: baseline;
  padding: 1rem; border-bottom: 3px solid var(--brand);
}
.site-header .brand { font-weight: 600; text-decoration: none; color: var(--text); margin-right: auto;
  display: inline-flex; align-items: center; gap: .6rem; }
.logo { width: 3rem; height: auto; flex: none; }
.logo polyline { fill: none; stroke-width: 3; stroke-linejoin: miter; }
.logo .logo-dark { stroke: var(--brand); }
.logo .logo-light { stroke: var(--brand-light); }

/* Review bar: design preview build only (D17). Same look in every version, so it never hides the design. */
.review-bar { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center;
  padding: .4rem 1rem; background: #111; color: #bbb; font: 13px/1.4 system-ui, sans-serif; }
.review-bar a { color: #fff; text-decoration: none; padding: .1rem .5rem; border: 1px solid #444; border-radius: 3px; }
.review-bar a[aria-current] { background: #f5c400; color: #111; border-color: #f5c400; }

/* Photo slot without a photo yet (layouts/partials/photo.html). */
.photo-placeholder { display: grid; place-items: center; min-height: 12rem; background: var(--line);
  color: var(--muted); font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }
img { max-width: 100%; height: auto; display: block; }
.site-header .menu { display: flex; flex-wrap: wrap; gap: 1rem; }

main { max-width: var(--measure); margin: 0 auto; padding: 1rem; }

.contact-bar {
  background: var(--brand-dark); color: #fff; font-size: .875rem;
  padding: .25rem 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem;
}
@media (max-width: 26rem) { .contact-bar { font-size: .8rem; } }
.contact-bar a { color: #fff; }

.hero { padding: 2rem 0 1rem; }
.hero .lead { font-size: 1.25rem; }
.button {
  display: inline-block; padding: .6rem 1.2rem; border-radius: 4px;
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 600;
}
.button:hover, .button:focus { background: var(--brand-dark); }

.site-footer {
  border-top: 1px solid var(--line); color: var(--muted);
  font-size: .875rem; padding: 1rem; text-align: center;
}
.site-footer p { margin: .25rem 0; }
.release { font-style: italic; }

/* The owner's logo in the header (layouts/partials/logo.html): scaled only, height set here. */
.logo-img { display: block; height: 3rem; width: auto; }
