/* ==========================================================================
   Brouwer Prefab — shared stylesheet
   Palette: charcoal / slate / off-white with a safety-orange accent
   Fonts: Manrope (headings), Inter (body) via Google Fonts
   ========================================================================== */

:root {
  /* Palette adapted from brouwerprefab.nl (white / light grey / charcoal + leaf green),
     with a second, darker forest green for AA-compliant text and buttons. */
  --charcoal: #2B2B2A;      /* headings, body text, dark bands (deepened from NL #575756 for contrast) */
  --charcoal-2: #3A3A39;
  --slate: #575756;         /* NL footer charcoal: footer background, dark gradients */
  --slate-2: #5F5F5E;       /* muted text on white (6.4:1) */
  --mist: #D9D9D7;          /* muted text on dark backgrounds */
  --on-dark: #F2F2F2;       /* body text on dark backgrounds */
  --line: #E6E6E6;          /* borders */
  --offwhite: #FFFFFF;      /* NL page background */
  --paper: #FFFFFF;
  --grey-1: #F9F9F9;        /* NL section bands / card borders */
  --sand: #F2F2F2;          /* NL top-bar grey: soft tints, hovers */
  --green: #76B82A;         /* NL primary leaf green (exact): highlights, icons, hovers, accents on dark */
  --green-tint: #EFF6E5;    /* NL green at 12% on white: icon tiles */
  --green-tint-2: #BADC94;  /* NL green at 50% on white (their split-band tint) */
  --accent: #406417;        /* forest green, same hue (88°): buttons, links, eyebrows (6.9:1 on white) */
  --accent-dark: #2F4A11;   /* forest green hover/pressed */
  --accent-light: #76B82A;  /* alias of --green for use on dark backgrounds */
  --wood: #406417;
  --success: #406417;
  --error: #9A3412;

  --font-head: "Manrope", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(43, 43, 42, .06), 0 8px 24px rgba(43, 43, 42, .08);
  --shadow-lg: 0 2px 4px rgba(43, 43, 42, .06), 0 20px 48px rgba(43, 43, 42, .14);
  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); text-decoration-color: var(--green); text-decoration-thickness: 2px; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--charcoal); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

/* Placeholder marker: makes [bracketed] content easy to spot before launch */
.placeholder {
  background: #FFF4D6;
  color: #6B4A00;
  border: 1px dashed #D9A400;
  border-radius: 4px;
  padding: 0 .3em;
  font-weight: 600;
  overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.on-dark .placeholder { background: rgba(255, 244, 214, .12); color: #FFD98A; border-color: #D9A400; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 1rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--green); color: var(--charcoal); }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--charcoal); border-color: var(--green); }
.btn-light { background: var(--offwhite); color: var(--charcoal); }
.btn-light:hover { background: var(--green); color: var(--charcoal); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: var(--green); color: var(--charcoal); border-color: var(--green); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }

.nav-toggle {
  display: none;
  align-items: center; gap: .5rem;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .55rem .75rem; font: 600 .95rem var(--font-head); color: var(--charcoal); cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 20px; height: 14px; }
.nav-toggle-bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .25s, opacity .2s, top .25s;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  display: block; padding: .6rem .9rem; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  color: var(--slate); text-decoration: none; transition: color .2s, background-color .2s;
}
.site-nav a:hover { color: var(--accent); background: var(--sand); }
.site-nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.site-nav .nav-cta a { background: var(--accent); color: #fff; border-radius: 999px; padding: .65rem 1.2rem; margin-left: .5rem; box-shadow: none; }
.site-nav .nav-cta a:hover { background: var(--green); color: var(--charcoal); }
.site-nav .nav-cta a[aria-current="page"] { box-shadow: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--offwhite); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(43,43,42,.12);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; gap: .15rem; }
  .site-nav a { padding: .85rem .75rem; font-size: 1.05rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--green); background: var(--sand); }
  .site-nav .nav-cta a { margin: .5rem 0 0; text-align: center; }
  .site-nav .nav-cta a[aria-current="page"] { background: var(--accent); color: #fff; box-shadow: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--grey-1); border-block: 1px solid var(--line); }
.section-dark { background: var(--charcoal); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--slate-2); font-size: 1.125rem; }
.section-dark .section-head p { color: var(--mist); }
.section-head .eyebrow { color: var(--accent); font-size: .8rem; }
.section-dark .section-head .eyebrow { color: var(--accent-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section-dark .eyebrow, .on-dark .eyebrow { color: var(--accent-light); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(118, 184, 42, .16), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--sand) 100%);
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.hero::after {
  /* subtle blueprint grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(87,87,86,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87,87,86,.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 span { color: var(--accent); }
.hero-lead { font-size: 1.2rem; color: var(--slate); max-width: 34em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.25rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; color: var(--slate); font-weight: 500; font-size: .98rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-points svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }
.hero-art { position: relative; }
.hero-art img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow-lg); }
.hero-badge {
  position: absolute; left: -1.25rem; bottom: -1.25rem;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .9rem 1.1rem; display: flex; align-items: center; gap: .75rem; max-width: 270px;
}
.hero-badge .icon-tile { width: 44px; height: 44px; margin: 0; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: .98rem; line-height: 1.25; }
.hero-badge span { display: block; font-size: .85rem; line-height: 1.4; color: var(--slate-2); margin-top: .15rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(118, 184, 42, .22), transparent 60%),
    linear-gradient(135deg, var(--charcoal) 0%, var(--slate) 100%);
  color: var(--on-dark);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(270deg, #000 0%, transparent 60%);
  -webkit-mask-image: linear-gradient(270deg, #000 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 16em; }
.page-hero p { font-size: 1.2rem; max-width: 40em; color: var(--mist); margin: 0; }
.breadcrumb { font-size: .9rem; margin-bottom: 1rem; color: var(--mist); }
.breadcrumb a { color: #fff; text-decoration-color: var(--green); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--green); }

/* ---------- Icon tiles ---------- */
.icon-tile {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-tint); color: var(--accent); margin-bottom: 1.25rem; flex-shrink: 0;
}
.icon-tile svg { width: 26px; height: 26px; }
.section-dark .icon-tile { background: rgba(118, 184, 42, .16); color: var(--green); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: 0 1px 2px rgba(43,43,42,.04);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card p { color: var(--slate-2); margin: 0; }
.card h3 { margin-bottom: .45rem; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-tint-2); }

.value-card { position: relative; overflow: hidden; }
.value-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--green); }

/* Service cards */
.service-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.service-card .service-visual {
  height: 150px; display: grid; place-items: center; position: relative;
  background: linear-gradient(135deg, var(--slate) 0%, var(--charcoal) 100%);
  color: var(--green);
}
.service-card .service-visual::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.service-card .service-visual svg { width: 72px; height: 72px; position: relative; z-index: 1; }
.service-card .service-visual.wood { background: linear-gradient(135deg, var(--green) 0%, var(--accent) 100%); color: #FFFFFF; }
.service-card .service-visual.sand { background: linear-gradient(135deg, var(--grey-1) 0%, #E4E4E2 100%); color: var(--accent); }
.service-card .service-visual.sand::after { background-image: linear-gradient(rgba(43,43,42,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(43,43,42,.06) 1px, transparent 1px); }
.service-card .service-body { padding: 1.6rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.service-card ul { margin: 1rem 0 0; padding: 0; list-style: none; color: var(--slate); font-size: .95rem; }
.service-card li { display: flex; gap: .55rem; align-items: flex-start; padding: .2rem 0; }
.service-card li svg { width: 18px; height: 18px; margin-top: .22rem; color: var(--green); flex-shrink: 0; }
.card-link { margin-top: auto; padding-top: 1.25rem; font-family: var(--font-head); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.card-link svg { width: 18px; height: 18px; transition: transform .2s; }
.card-link:hover svg { transform: translateX(3px); }

/* ---------- Process steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 28px; right: calc(25% - 1.125rem - 28px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 16px);
  opacity: .55;
}
.step { position: relative; counter-increment: step; }
.step-num {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: var(--charcoal); font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
  margin-bottom: 1.25rem; box-shadow: 0 0 0 8px var(--charcoal);
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--mist); margin: 0; font-size: 1rem; }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--charcoal);
}
.split-media svg, .split-media img { width: 100%; height: auto; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; margin-top: .15rem; }
.checklist strong { font-family: var(--font-head); }

/* ---------- Quote / testimonial placeholder ---------- */
.quote {
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--green);
  border-radius: var(--radius); padding: 2rem 2.25rem; margin: 0;
}
.quote p { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; line-height: 1.45; color: var(--charcoal); }
.quote footer { color: var(--slate-2); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 300px at 0% 100%, rgba(118,184,42,.22), transparent 60%),
    linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff; border-radius: 24px; padding: clamp(2.5rem, 5vw, 3.75rem);
  display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border: 40px solid rgba(118,184,42,.22); border-radius: 50%; pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { margin: 0; font-size: 1.15rem; color: #EFF6E5; max-width: 36em; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; position: relative; z-index: 1; }

/* ---------- Values list (about) ---------- */
.value-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.value-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.value-item .icon-tile { margin: 0; }
.value-item p { color: var(--slate-2); margin: 0; }

.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stat-strip .card { text-align: left; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--charcoal); }
.form-field .req { color: var(--accent); }
.form-field .optional { font-weight: 500; color: var(--slate-2); font-size: .85rem; }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; font-size: 1rem; color: var(--charcoal);
  background: var(--grey-1); border: 1.5px solid #C9C9C7; border-radius: var(--radius-sm);
  padding: .8rem .9rem; width: 100%; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form-field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A4550' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; padding-right: 2.5rem;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: var(--slate-2); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(118, 184, 42, .3);
}
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--error); background: #FBF3EC; }
.field-hint { font-size: .85rem; color: var(--slate-2); }
.field-error { font-size: .875rem; color: var(--error); font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.form-footer .field-hint { margin: 0; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-status.is-visible { display: block; }
.form-status.success { background: var(--green-tint); color: var(--success); border: 1px solid var(--green-tint-2); }
.form-status.error { background: #F8EBE0; color: var(--error); border: 1px solid #E3BFA3; }
.notice {
  display: flex; gap: .75rem; align-items: flex-start;
  background: #FFF8E6; border: 1px solid #F0D58C; color: #5C4300; border-radius: var(--radius-sm);
  padding: .9rem 1rem; font-size: .92rem; margin-bottom: 1.75rem;
}
.notice svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: .1rem; }
.notice code { background: rgba(0,0,0,.06); padding: .05em .35em; border-radius: 4px; font-size: .9em; }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.info-item .icon-tile { margin: 0; width: 46px; height: 46px; }
.info-item h3 { font-size: 1rem; margin-bottom: .15rem; }
.info-item p { margin: 0; color: var(--slate-2); }
.info-item a { font-weight: 600; }

.faq { display: grid; gap: .75rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.25rem; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .75rem 0 0; color: var(--slate-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate); color: #F2F2F2; padding: 4rem 0 2rem; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 26em; }
.site-footer h2 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #FFFFFF; text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .9rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .value-list { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .grid-2, .grid-3, .grid-4, .steps, .form-grid { grid-template-columns: 1fr; }
  .hero-lead { font-size: 1.08rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-badge { position: relative; left: auto; bottom: auto; margin: -1.5rem auto 0 1rem; max-width: calc(100% - 2rem); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .brand img, .footer-brand img { height: 38px; }
  .cta-band { padding: 2rem 1.5rem; border-radius: 20px; }
  .cta-band .cta-actions .btn { flex: 1 1 100%; }
  .card { padding: 1.5rem; }
  .card.service-card { padding: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.1rem; }
  .step-num { grid-row: 1 / span 2; margin-bottom: 0; }
  .step h3 { align-self: end; margin-top: .2rem; }
  .steps { row-gap: 2rem; }
  .quote { padding: 1.5rem; }
  .quote p { font-size: 1.15rem; }
}

/* ---------- Photos (real factory photography) ---------- */
picture { display: block; }
.photo { display: block; width: 100%; height: auto; object-fit: cover; }
.hero-art .photo-hero { aspect-ratio: 4 / 3; object-position: 55% 60%; border-radius: 20px; box-shadow: var(--shadow-lg); background: var(--sand); }
.split-media .photo-factory { aspect-ratio: 4 / 3; object-position: 50% 50%; }
.split-media .photo-team { aspect-ratio: 4 / 5; object-position: 50% 55%; }
.split-media:has(.photo) { background: var(--sand); }
@media (max-width: 860px) {
  .split-media .photo-team { aspect-ratio: 4 / 3; object-position: 50% 62%; }
}
.photo-banner { margin: clamp(2rem, 4vw, 3rem) 0 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--sand); }
.photo-banner .photo-onsite { aspect-ratio: 2 / 1; object-position: 50% 70%; }
@media (max-width: 860px) { .photo-banner .photo-onsite { aspect-ratio: 3 / 2; object-position: 45% 60%; } }
@media (max-width: 600px) { .photo-banner .photo-onsite { aspect-ratio: 4 / 3; object-position: 42% 60%; } }
/* Keep the hero badge off the person in the photo: anchor it bottom-right on wider screens */
@media (min-width: 601px) { .hero-art .hero-badge { left: auto; right: -1.25rem; } }

/* ---------- Canadian identity: top bar, header badge, footer ---------- */
.flag { display: inline-block; flex-shrink: 0; border-radius: 1.5px; box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.top-bar { background: var(--charcoal); color: #F2F2F2; font-size: .82rem; line-height: 1.2; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 36px; }
.top-bar p { margin: 0; display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; }
.top-bar-main { font-weight: 600; letter-spacing: .01em; }
.top-bar .flag { box-shadow: none; }
.tb-short { display: none; }
.brand-group { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.ca-badge {
  display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
  padding: .32rem .7rem .32rem .55rem; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font: 700 .78rem/1 var(--font-head); color: var(--charcoal); letter-spacing: .01em;
}
.footer-canada { display: inline-flex; align-items: flex-start; gap: .55rem; }
.footer-canada .flag { margin-top: .3em; }
.footer-canada strong { color: #FFFFFF; }
@media (max-width: 640px) {
  .tb-long { display: none; }
  .tb-short { display: inline; }
  .top-bar-inner { justify-content: center; min-height: 32px; }
  .ca-badge { display: none; }
}

/* ---------- Header: maple leaf beside the "Prefab" wordmark ----------
   logo.svg is unchanged. Its 260-unit viewBox has ~20 units of empty space after "Prefab",
   so the image box is trimmed to 243 units (object-fit, left-anchored) and the leaf follows
   it. The leaf's bottom sits on the wordmark baseline (y = 29.8 of 48 units). */
.site-header .brand { align-items: flex-start; gap: 1px; }
.site-header .brand img { width: calc(44px * 243 / 48); object-fit: cover; object-position: left center; }
.brand-leaf { display: block; flex-shrink: 0; width: auto; height: 18px; margin-top: calc(44px * 29.8 / 48 - 17px); }
@media (max-width: 600px) {
  .site-header .brand img { width: calc(38px * 243 / 48); }
  .brand-leaf { height: 16px; margin-top: calc(38px * 29.8 / 48 - 15px); }
}
@media (max-width: 360px) {
  .site-header .brand img { height: 32px; width: calc(32px * 243 / 48); }
  .brand-leaf { height: 14px; margin-top: calc(32px * 29.8 / 48 - 13px); }
}

/* ---------- Architectural drawing backgrounds ----------
   Line work from the Port Colborne permit drawings as transparent WebP overlays
   (charcoal lines on light sections, white lines on dark), faded with opacity.
   Title blocks, stamps and notes are cropped out of every source image. */
.has-drawing { position: relative; isolation: isolate; }
.has-drawing > .container, .has-drawing > .hero-grid { position: relative; z-index: 1; }
.has-drawing::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: var(--dw-op, .07);
  background-image: var(--dw-dark); background-repeat: no-repeat;
  background-position: var(--dw-pos, right 4% center);
  background-size: var(--dw-size, min(1100px, 92%) auto);
}
.on-dark.has-drawing::before, .section-dark.has-drawing::before, .cta-band.has-drawing::before { background-image: var(--dw-light); }
.on-dark.has-drawing, .section-dark.has-drawing, .cta-band.has-drawing { --dw-op: .08; }
.dw-elev-front { --dw-dark: url("../images/bg-drawing-elevations-front-dark.webp"); --dw-light: url("../images/bg-drawing-elevations-front-light.webp"); }
.dw-elev-rear  { --dw-dark: url("../images/bg-drawing-elevations-rear-dark.webp");  --dw-light: url("../images/bg-drawing-elevations-rear-light.webp"); }
.dw-plan-main  { --dw-dark: url("../images/bg-drawing-plan-main-dark.webp");        --dw-light: url("../images/bg-drawing-plan-main-light.webp"); }
.dw-plan-second{ --dw-dark: url("../images/bg-drawing-plan-second-dark.webp");      --dw-light: url("../images/bg-drawing-plan-second-light.webp"); }
.hero.has-drawing { --dw-pos: left -4% bottom 6%; --dw-size: min(780px, 60%) auto; --dw-op: .06; }
.cta-band.has-drawing { --dw-pos: right -2% center; --dw-size: 760px auto; --dw-op: .1; }
@media (max-width: 860px) {
  .has-drawing { --dw-pos: center bottom 2%; --dw-size: 150% auto; }
  .hero.has-drawing { --dw-pos: center top 2%; --dw-size: 140% auto; }
  .cta-band.has-drawing { --dw-pos: center; --dw-size: 220% auto; }
}

/* ---------- Project page ---------- */
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.spec-list div { padding: .95rem 0; border-bottom: 1px solid var(--line); padding-right: 1rem; }
.spec-list dt { font: 700 .78rem/1.3 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .3rem; }
.spec-list dd { margin: 0; color: var(--charcoal); }
.drawing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.drawing-grid .wide { grid-column: 1 / -1; }
.drawing-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,.05)); }
.drawing-card a { display: block; padding: 1rem; background: #fff; }
.drawing-card a:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.drawing-card img { width: 100%; height: auto; display: block; }
.drawing-card figcaption { padding: .85rem 1.1rem; border-top: 1px solid var(--line); background: var(--grey-1); font-size: .95rem; color: var(--slate-2); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.drawing-card figcaption strong { color: var(--charcoal); font-family: var(--font-head); }
.note-small { font-size: .9rem; color: var(--slate-2); margin-top: 1.25rem; }
.coming-soon { border: 2px dashed var(--line); border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.5rem); text-align: center; background: var(--paper); }
.coming-soon h3 { margin-bottom: .4rem; }
.coming-soon p { margin: 0 auto; max-width: 36em; color: var(--slate-2); }
.coming-soon .tag { display: inline-block; margin-bottom: .8rem; padding: .25rem .7rem; border-radius: 999px; background: var(--green-tint); color: var(--accent); font: 700 .75rem/1.4 var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 640px) { .spec-list, .drawing-grid { grid-template-columns: 1fr; } }

/* ---------- Rendering backgrounds ----------
   Decorative <picture> layers (alt="") behind banners, with a gradient overlay on
   .has-render::after so text stays at AA contrast over the brightest sky areas. */
.has-render { position: relative; isolation: isolate; overflow: hidden; }
.has-render > .bg-media { position: absolute; inset: 0; z-index: -2; }
.has-render > .bg-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.has-render > .container { position: relative; z-index: 1; }
.page-hero.has-render { background: var(--charcoal); }
.page-hero.has-render::after {
  z-index: -1; background-size: auto; mask-image: none; -webkit-mask-image: none;
  background-image: linear-gradient(90deg, rgba(43,43,42,.93) 0%, rgba(43,43,42,.88) 50%, rgba(43,43,42,.7) 75%, rgba(43,43,42,.45) 100%);
}
.hero.has-render { background: #fff; }
.hero.has-render::after {
  z-index: -1; background-size: auto; mask-image: none; -webkit-mask-image: none;
  background-image: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.92) 48%, rgba(255,255,255,.72) 72%, rgba(255,255,255,.5) 100%);
}
.render-band { color: var(--on-dark); padding: clamp(5rem, 11vw, 8.5rem) 0; background: var(--charcoal); }
.render-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(43,43,42,.92) 0%, rgba(43,43,42,.82) 45%, rgba(43,43,42,.35) 80%, rgba(43,43,42,.15) 100%);
}
.render-band h2 { color: #fff; max-width: 15em; }
.render-band p { color: var(--mist); max-width: 34em; font-size: 1.125rem; }
.render-band .note-small { color: var(--mist); font-size: .85rem; margin-top: 1.5rem; }
.render-band .btn { margin-top: .75rem; }
@media (max-width: 860px) {
  .page-hero.has-render::after { background-image: linear-gradient(rgba(43,43,42,.89), rgba(43,43,42,.89)); }
  .hero.has-render::after { background-image: linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.92)); }
  .render-band::after { background: linear-gradient(rgba(43,43,42,.84), rgba(43,43,42,.84)); }
}
.render-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.render-card { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.render-card a { display: block; }
.render-card a:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.render-card img { width: 100%; height: auto; aspect-ratio: 1120 / 880; object-fit: cover; display: block; }
.render-card figcaption { padding: .85rem 1.1rem; font-size: .95rem; color: var(--slate-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; }
.render-card figcaption strong { color: var(--charcoal); font-family: var(--font-head); }
@media (max-width: 860px) { .render-grid { grid-template-columns: 1fr; } }
.has-render > .bg-media picture { display: block; height: 100%; }
.render-band p.eyebrow { color: var(--accent-light); font-size: .8rem; max-width: none; }
@media (min-width: 861px) {
  .hero.has-render::after { background-image: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.92) 46%, rgba(255,255,255,.6) 68%, rgba(255,255,255,.3) 100%); }
}
