/* Build in Vernon (buildinvernon.ca) — styles v01, 2026-11-26.
   Design audit: /Users/jgd_mbp/Documents/STUDIO/md/mike_petersen/design-system/mike_petersen_buildinvernon-design-audit_v01.md
   Three directions are preview-only (?theme=a|b|c on html[data-theme]); after Jason's pick the other two are deleted. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --page: #FFFFFF;
  --ink: #14181C;
  --ink-2: #4A535C;
  --line: #DDE2E6;
  --panel: #F2F4F5;
  --head-bg: #14181C;
  --head-ink: #FFFFFF;
  --signal: #0B6E6F;        /* A: Kal Lake teal (white text 6.0:1) */
  --signal-ink: #FFFFFF;
  --link: #0B57D0;
  --radius: 6px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[data-theme="b"] {       /* BLUEPRINT */
  --head-bg: #FFFFFF;
  --head-ink: #14181C;
  --signal: #2747C9;
  --page-grid: linear-gradient(#EEF1F8 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, #EEF1F8 1px, transparent 1px) 0 0 / 24px 24px;
}
html[data-theme="c"] {       /* ORCHARD */
  --page: #FAF8F4;
  --panel: #F1EDE6;
  --line: #E3DDD3;
  --signal: #6B2D5C;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  background-image: var(--page-grid, none);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  font-feature-settings: "tnum" 1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 5.4vw, 54px); font-weight: 750; }
h2 { font-size: clamp(25px, 3.4vw, 34px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* header */
.site-head { background: var(--head-bg); color: var(--head-ink); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { color: var(--head-ink); text-decoration: none; font-weight: 750; font-size: 19px; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand svg { width: 28px; height: 28px; }
.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a { color: var(--head-ink); text-decoration: none; font-size: 15px; opacity: .9; }
.site-nav a:hover, .site-nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.site-nav .call { font-weight: 650; }

/* hero */
.hero { position: relative; color: #fff; }
.hero picture img { width: 100%; height: clamp(420px, 64vh, 640px); object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,18,.30) 0%, rgba(10,14,18,.30) 35%, rgba(10,14,18,.80) 100%); pointer-events: none; }
.hero h1, .hero .sub, .hero .lede { text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.hero .copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-bottom: 40px; }
.hero h1 { max-width: 760px; }
.hero .sub { font-size: clamp(18px, 2.2vw, 22px); max-width: 680px; margin-bottom: .4em; font-weight: 550; }
.hero .lede { max-width: 640px; opacity: .95; }
.photo-credit { position: absolute; right: 12px; top: 10px; z-index: 1; font-size: 12px; color: #fff; opacity: .85; text-shadow: 0 1px 2px rgba(0,0,0,.5); }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn { display: inline-block; padding: 13px 20px; border-radius: var(--radius); font-weight: 650; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn-signal { background: var(--signal); color: var(--signal-ink); }
.btn-signal:hover { filter: brightness(1.1); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }

/* sections */
section.band { padding: 64px 0; }
section.band.alt { background: var(--panel); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 720px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; padding: 0; list-style: none; counter-reset: s; }
.steps li { background: var(--page); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--signal); color: var(--signal-ink); font-weight: 750; margin-bottom: 12px; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 24px; }
.points p { color: var(--ink-2); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); }
.note { font-size: 14px; color: var(--ink-2); }
.caption { font-size: 13px; color: var(--ink-2); margin-top: 6px; }

/* form */
.req { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 24px; max-width: 820px; }
.req label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.req .full { grid-column: 1 / -1; }
.req input[type=text], .req input[type=email], .req input[type=tel], .req input[type=number], .req select, .req textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #A9B2BA; border-radius: var(--radius); background: #fff; color: var(--ink);
}
.req textarea { min-height: 110px; }
.req .tick { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.req .tick input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.req .hp { position: absolute; left: -9999px; }
.form-msg { margin-top: 14px; font-weight: 600; }
.form-msg.err { color: #A3261B; }
.form-msg.ok { color: #1B6B35; }

/* cost page */
.answer { font-size: 20px; max-width: 780px; }
.calc { background: var(--page); border: 2px solid var(--ink); border-radius: 10px; padding: 24px; margin-top: 24px; }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 20px; }
.calc label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.calc select, .calc input[type=number] { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #A9B2BA; border-radius: var(--radius); background: #fff; }
.calc .ticks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.calc .ticks label { font-weight: 500; display: flex; gap: 8px; align-items: center; margin: 0; }
.calc-out { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.calc-out table { width: 100%; border-collapse: collapse; font-size: 16px; }
.calc-out td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.calc-out td.n { text-align: right; white-space: nowrap; padding-left: 16px; }
.calc-out tr.total td { font-weight: 750; font-size: 20px; border-bottom: 0; padding-top: 14px; }
.calc-out tr.total td.n { color: var(--signal); }
html[data-theme="b"] .calc-out tr.total td.n, html[data-theme="c"] .calc-out tr.total td.n { color: var(--signal); }
.calc-out .flag { font-size: 14px; color: var(--ink-2); margin: 10px 0 0; }
.calc-send { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.facts { padding-left: 1.1em; }
.facts li { margin-bottom: .6em; }
.src { font-size: 14px; color: var(--ink-2); }
.example { background: var(--panel); border-radius: var(--radius); padding: 20px 24px; max-width: 640px; }
.example table { width: 100%; border-collapse: collapse; }
.example td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.example td.n { text-align: right; white-space: nowrap; }
.example tr.total td { font-weight: 750; border-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 820px; }
.faq summary { font-weight: 650; font-size: 18px; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }
.disclaimer { border-left: 4px solid var(--signal); padding: 4px 0 4px 16px; max-width: 780px; color: var(--ink-2); }
.page-top { padding: 48px 0 8px; }
.page-photo img { width: 100%; height: clamp(220px, 34vh, 360px); object-fit: cover; border-radius: var(--radius); }

/* footer */
.site-foot { background: #14181C; color: #D6DCE1; padding: 40px 0; font-size: 15px; }
.site-foot a { color: #FFFFFF; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-foot p { margin: 0 0 .5em; }

@media (max-width: 820px) {
  .steps, .points, .split, .calc-grid, .site-foot .cols { grid-template-columns: 1fr; }
  .req { grid-template-columns: 1fr; }
  .site-head .wrap { gap: 10px; }
  .brand { font-size: 17px; gap: 8px; }
  .site-nav { gap: 12px; flex-wrap: nowrap; }
  .site-nav a { font-size: 14px; white-space: nowrap; }
  .site-nav .hide-sm { display: none; }
  .hero picture img { height: 560px; }
  section.band { padding: 48px 0; }
  .calc { padding: 18px; }
  .calc-out table, .calc-out tbody, .calc-out tr, .example table, .example tbody, .example tr { display: block; width: 100%; }
  .calc-out td, .example td { display: block; border-bottom: 0; padding: 2px 0; }
  .calc-out td.n, .example td.n { text-align: left; padding: 0 0 10px; font-weight: 650; border-bottom: 1px solid var(--line); white-space: normal; }
  .calc-out tr.total td.n, .example tr.total td.n { border-bottom: 0; }
}
@media (max-width: 420px) {
  .brand svg { display: none; }
  .site-nav { gap: 10px; }
  .site-nav a { font-size: 13px; }
}
