/* ==========================================================================
   Build Home Project — main stylesheet
   Column layout uses the Bootstrap grid (bootstrap-grid.min.css, loaded first).
   1 Tokens · 2 Base · 3 Header · 4 Buttons · 5 Hero · 6 Services
   7 Storm-ready check · 8 Sections · 9 Blog · 10 Forms · 11 Footer
   12 Responsive · 13 Motion & print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --cream: #f7f1e3;
  --paper: #efe6d2;
  --ink: #23272b;
  --ink-700: #3a3f45;
  --brick: #a23b2a;
  --brick-700: #82301f;
  --mustard: #e3a72f;
  --mustard-soft: #f6e2b3;
  --steel: #3b5a73;
  --text: #26292c;
  --muted: #5b5850;
  --line: #d8cdb6;
  --white: #ffffff;
  --on-dark: #e4ddcf;
  --danger: #9f2a1c;
  --danger-bg: #fbe7e2;
  --success: #25603a;
  --success-bg: #e2f0e4;

  --font-head: "Oswald", "Arial Narrow", "Segoe UI", sans-serif;
  --font-body: "Libre Franklin", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

  --fs-sm: .9375rem;
  --fs-base: 1.02rem;
  --fs-lg: 1.14rem;
  --fs-h3: 1.3rem;
  --fs-h2: clamp(1.95rem, 1.45rem + 2vw, 2.9rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 3.8vw, 4.6rem);

  --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 6.5rem;
  --r: 3px;
  --hard: 6px 6px 0 var(--ink);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --stripe: repeating-linear-gradient(-45deg, var(--mustard) 0 14px, var(--ink) 14px 28px);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.72; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
img { object-fit: cover; background: var(--paper); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.08; letter-spacing: .005em; text-transform: uppercase; margin: 0 0 var(--s-4); color: var(--ink); }
h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: .02em; }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
a { color: var(--brick); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
ul, ol { padding-left: 1.2rem; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; }
.bg-ink :focus-visible, .site-footer :focus-visible, .site-header :focus-visible, .side-card-ink :focus-visible, .contact-card :focus-visible, .cta-wrap :focus-visible, .hero :focus-visible, .svc-card-head :focus-visible { outline-color: var(--mustard); }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; background: var(--mustard); color: var(--ink); padding: .75rem 1rem; font-weight: 700; }
.skip-link:focus { top: .75rem; color: var(--ink); }
.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; }
.lead { font-size: var(--fs-lg); color: var(--muted); line-height: 1.68; }
.overline { display: inline-block; font-family: var(--font-head); font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--mustard); padding: .2rem .6rem; margin-bottom: var(--s-4); }
.overline-light { background: var(--mustard); color: var(--ink); }
.step-ico { display: inline-grid; place-items: center; width: 50px; height: 50px; background: var(--ink); color: var(--mustard); flex: none; }
.step-ico svg { width: 24px; height: 24px; }
.stripe { height: 12px; background: var(--stripe); }
img.img-failed { object-position: -9999px -9999px; background: repeating-linear-gradient(-45deg, var(--paper) 0 14px, var(--cream) 14px 28px); }

/* 3. Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); color: var(--white); border-bottom: 4px solid var(--mustard); }
.header-inner { display: flex; align-items: center; gap: var(--s-5); min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--white); white-space: nowrap; flex: none; }
.brand img { width: 44px; height: 44px; background: none; outline: 2px solid rgba(255, 255, 255, .25); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; line-height: 1; letter-spacing: .03em; text-transform: uppercase; }
.brand-accent { color: var(--mustard); }
.brand:hover { color: var(--white); }
.primary-nav { margin-left: auto; display: flex; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.nav-link { display: block; white-space: nowrap; padding: .5rem .8rem; font-family: var(--font-head); font-weight: 500; font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark); text-decoration: none; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.nav-link:hover { color: var(--white); border-bottom-color: var(--ink-700); }
.nav-link[aria-current="page"] { color: var(--mustard); border-bottom-color: var(--mustard); }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; color: var(--mustard); }
.header-phone:hover { color: var(--mustard); }
.mobile-extra { display: none; }
.nav-toggle { display: none; align-items: center; gap: .45rem; min-height: 46px; padding: 0 1rem; border: 2px solid var(--mustard); background: transparent; color: var(--white); border-radius: var(--r); font: inherit; font-weight: 700; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.header-cta { white-space: nowrap; }

/* 4. Buttons --------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .7rem 1.45rem; border-radius: var(--r); border: 3px solid var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .2s, color .2s, transform .15s var(--ease), box-shadow .15s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn-sm { min-height: 44px; padding: .45rem 1.05rem; font-size: .98rem; }
.btn-block { width: 100%; }
.btn-brick { background: var(--brick); color: var(--white); }
.btn-brick:hover { background: var(--brick-700); color: var(--white); }
.btn-mustard { background: var(--mustard); color: var(--ink); }
.btn-mustard:hover { background: #efbb4f; color: var(--ink); }
.btn-ink { background: transparent; color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: var(--white); }
.btn-ink-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ink-light:hover { background: var(--white); color: var(--ink); box-shadow: 4px 4px 0 var(--mustard); }
.site-header .btn:hover, .hero .btn:hover, .cta-wrap .btn:hover, .side-card-ink .btn:hover, .mobile-extra .btn:hover { box-shadow: 4px 4px 0 var(--mustard); }
.site-header .btn-mustard:hover, .hero .btn-mustard:hover, .cta-wrap .btn-mustard:hover, .side-card-ink .btn-mustard:hover { box-shadow: 4px 4px 0 var(--white); }
.btn:disabled { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.btn-row-end { justify-content: flex-end; }
.more-link { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brick); text-decoration: none; }
.more-link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.more-link:hover { color: var(--ink); text-decoration: underline; }
.more-link:hover svg { transform: translateX(4px); }

/* 5. Hero ------------------------------------------------------------------ */
.hero { position: relative; isolation: isolate; color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35, 39, 43, .92) 0%, rgba(35, 39, 43, .78) 45%, rgba(35, 39, 43, .15) 100%); }
.hero-inner { display: flex; align-items: center; min-height: 620px; padding-top: var(--s-8); padding-bottom: var(--s-8); }
.hero-panel { max-width: 640px; }
.hero h1 { color: var(--white); }
.hero .hl { display: block; color: var(--mustard); }
.hero .lead { color: var(--on-dark); max-width: 36rem; margin-bottom: var(--s-6); }
.work-bar { background: var(--mustard); border-bottom: 4px solid var(--ink); }
.work-bar ul { list-style: none; margin: 0; padding: var(--s-4) 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-5); }
.work-bar li { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.work-bar svg { width: 22px; height: 22px; }

/* 6. Services -------------------------------------------------------------- */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); }
.tile { position: relative; display: block; height: 100%; min-height: 300px; overflow: hidden; border: 3px solid var(--ink); color: var(--white); text-decoration: none; background: var(--ink); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35, 39, 43, 0) 30%, rgba(35, 39, 43, .92) 78%); }
.tile-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: .2rem; padding: var(--s-4); }
.tile-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; background: var(--mustard); color: var(--ink); margin-bottom: .35rem; }
.tile-ico svg { width: 22px; height: 22px; }
.tile-name { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.15; letter-spacing: .03em; text-transform: uppercase; }
.tile-short { font-size: .86rem; line-height: 1.4; color: var(--on-dark); }
.tile:hover { transform: translate(-3px, -3px); box-shadow: var(--hard); color: var(--white); }
.tile:hover img { transform: scale(1.06); }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s-6); }
.chip-row a { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem .35rem .6rem; border: 2px solid var(--ink); background: var(--cream); font-size: .86rem; font-weight: 600; color: var(--ink); text-decoration: none; transition: background-color .2s; }
.chip-row a svg { width: 18px; height: 18px; color: var(--brick); }
.chip-row a:hover { background: var(--mustard); }
.page-hero-photo .chip-row a { background: var(--cream); }
.svc-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 3px solid var(--ink); box-shadow: var(--hard); scroll-margin-top: 110px; }
.svc-card-head { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4) var(--s-5); background: var(--ink); }
.svc-card-head h2 { margin: 0; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); color: var(--white); }
.svc-card-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; background: var(--mustard); color: var(--ink); flex: none; }
.svc-card-ico svg { width: 24px; height: 24px; }
.svc-card-photo { aspect-ratio: 16 / 10; border-bottom: 3px solid var(--ink); }
.svc-card-photo img { width: 100%; height: 100%; }
.svc-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: var(--s-5); }
.svc-card-body > p:not(.card-note) { color: var(--muted); margin-bottom: var(--s-5); }
.svc-card-body .btn { margin-top: auto; }
.card-note { font-size: var(--fs-sm); background: var(--mustard-soft); border-left: 5px solid var(--mustard); padding: .6rem .9rem; margin-bottom: var(--s-5); }

/* 7. Storm-ready check ----------------------------------------------------- */
.check-form { display: grid; gap: var(--s-3); }
.check-q { margin: 0; padding: var(--s-4) var(--s-5); border: 2px solid var(--ink); background: var(--white); min-width: 0; }
.check-q legend { float: left; width: 100%; padding: 0; margin-bottom: var(--s-3); font-weight: 600; color: var(--ink); line-height: 1.45; }
.check-q legend + * { clear: both; }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem 1.1rem; border: 2px solid var(--ink); background: var(--cream); font-family: var(--font-head); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); transition: background-color .15s, color .15s; }
.opt:hover span { background: var(--mustard-soft); }
.opt input:checked + span { background: var(--ink); color: var(--mustard); }
.opt input[value="no"]:checked + span { background: var(--brick); color: var(--white); }
.opt input:focus-visible + span { outline: 3px solid var(--brick); outline-offset: 3px; }
.check-actions { margin-top: var(--s-3); }
.check-actions[hidden] { display: none; }
.check-result { position: sticky; top: 110px; padding: var(--s-6) var(--s-5); background: var(--white); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--mustard); }
.check-result h3 { font-size: 1.6rem; padding-bottom: var(--s-3); border-bottom: 3px solid var(--ink); }
.check-result [hidden] { display: none; }
.check-good { display: grid; grid-template-columns: 24px 1fr; gap: .6rem; font-weight: 600; color: var(--success); }
.check-good svg { width: 24px; height: 24px; }
.check-lead { font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brick); margin-bottom: var(--s-3); }
.check-list { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: var(--s-4); }
.check-list li { padding-left: var(--s-4); border-left: 4px solid var(--mustard); }
.check-list a { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.check-list a:hover { color: var(--brick); }
.check-list p { margin: .25rem 0 0; font-size: var(--fs-sm); color: var(--muted); }

/* 8. Sections -------------------------------------------------------------- */
.section { padding: var(--s-9) 0; }
.section-tight { padding: var(--s-6) 0; }
.section-top-tight { padding-top: var(--s-6); }
.bg-paper { background: var(--paper); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.bg-ink { background: var(--ink); color: var(--on-dark); }
.bg-ink h2, .bg-ink h3 { color: var(--white); }
.bg-ink .section-title p, .on-dark { color: var(--on-dark); }
.section-title { max-width: 46rem; margin-bottom: var(--s-7); }
.section-title p { color: var(--muted); font-size: var(--fs-lg); }
.section-title-center { margin-left: auto; margin-right: auto; text-align: center; }
.title-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-7); }
.title-row .section-title { margin-bottom: 0; }
.plains-card { height: 100%; padding: var(--s-6) var(--s-5); border: 2px solid var(--ink-700); border-top: 6px solid var(--mustard); background: rgba(255, 255, 255, .03); }
.bg-paper .plains-card { background: var(--white); border-color: var(--ink); border-top-color: var(--brick); }
.plains-ico { display: inline-grid; place-items: center; width: 50px; height: 50px; background: var(--mustard); color: var(--ink); margin-bottom: var(--s-4); }
.plains-ico svg { width: 24px; height: 24px; }
.plains-card p { font-size: var(--fs-sm); }
.bg-paper .plains-card p { color: var(--muted); }
.boxed-photo { margin: 0 12px 12px 0; border: 3px solid var(--ink); box-shadow: 12px 12px 0 var(--mustard); }
.boxed-photo img { width: 100%; aspect-ratio: 5 / 6; }
.pillar { height: 100%; padding: var(--s-5); background: var(--white); border: 2px solid var(--ink); }
.pillar .step-ico { margin-bottom: var(--s-4); }
.pillar h3 { font-size: 1.2rem; margin-bottom: var(--s-2); }
.pillar p { color: var(--muted); font-size: var(--fs-sm); }
.pillar-dark { background: var(--ink-700); border-color: var(--ink-700); border-left: 6px solid var(--mustard); }
.pillar-dark p { color: var(--on-dark); }
.pillar-dark .step-ico { background: var(--mustard); color: var(--ink); }
.steps { list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.step { position: relative; height: 100%; padding: var(--s-6) var(--s-5) var(--s-5); background: var(--white); border: 2px solid var(--ink); border-top: 8px solid var(--ink); }
.step .step-ico { margin-bottom: var(--s-4); }
.step p { color: var(--muted); font-size: var(--fs-sm); }
.who-card { height: 100%; padding: var(--s-6) var(--s-5); background: var(--white); border: 2px solid var(--ink); box-shadow: var(--hard); }
.who-card .step-ico { margin-bottom: var(--s-4); }
.who-card p { color: var(--muted); }
.faq-box { display: grid; gap: var(--s-3); }
.faq-box details { background: var(--white); border: 2px solid var(--ink); }
.faq-box details[open] { box-shadow: var(--hard); }
.faq-box summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) var(--s-5); font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); cursor: pointer; list-style: none; }
.faq-box summary::-webkit-details-marker { display: none; }
.faq-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--mustard); color: var(--ink); flex: none; transition: transform .25s var(--ease), background-color .25s; }
.faq-mark svg { width: 18px; height: 18px; }
details[open] .faq-mark { transform: rotate(45deg); background: var(--brick); color: var(--white); }
.faq-body { padding: 0 var(--s-5) var(--s-5); color: var(--muted); }
.news-box { padding: var(--s-7) clamp(1.25rem, 5vw, 4rem); background: var(--mustard-soft); border: 3px solid var(--ink); box-shadow: var(--hard); }
.cta-wrap { margin-top: var(--s-7); background: var(--ink); color: var(--on-dark); }
.cta-wrap > .container { padding-top: var(--s-8); padding-bottom: var(--s-8); }
.cta-wrap h2 { color: var(--white); }
.page-hero { padding: var(--s-7) 0 var(--s-6); background: var(--paper); border-bottom: 3px solid var(--ink); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 42rem; }
.page-hero-photo { position: relative; isolation: isolate; padding: var(--s-8) 0; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero-bg img { width: 100%; height: 100%; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: rgba(35, 39, 43, .35); }
.page-hero-panel { max-width: 640px; padding: var(--s-6) var(--s-6) var(--s-6); background: var(--cream); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--mustard); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 var(--s-5); font-size: .9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "\00BB"; margin-right: .4rem; color: var(--brick); font-weight: 700; }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }
.status-page { padding: var(--s-9) 0; }
.status-page h1 { max-width: 16ch; }
.status-page .lead { max-width: 38rem; margin-bottom: var(--s-6); }
.callout { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); padding: var(--s-5); background: var(--mustard-soft); border: 2px solid var(--ink); border-left-width: 8px; color: var(--text); margin-top: var(--s-6); }
.callout svg { width: 24px; height: 24px; color: var(--brick); margin-top: 2px; }

/* 9. Blog ------------------------------------------------------------------ */
.post-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 3px solid var(--ink); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.post-card:hover { transform: translate(-3px, -3px); box-shadow: var(--hard); }
.post-card-photo { position: relative; display: block; aspect-ratio: 10 / 7; overflow: hidden; border-bottom: 3px solid var(--ink); }
.post-card-photo img { width: 100%; height: 100%; }
.stamp { position: absolute; left: 14px; bottom: 14px; display: inline-block; padding: .2rem .65rem; background: var(--brick); color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; border: 2px solid var(--white); transform: rotate(-3deg); }
.stamp-inline { position: static; margin-bottom: var(--s-4); border-color: var(--ink); }
.post-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: var(--s-5); }
.post-card h2, .post-card h3 { font-size: 1.3rem; line-height: 1.15; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--brick); text-decoration: underline; }
.post-card p { color: var(--muted); }
.post-card .more-link { margin-top: auto; }
.article-head { padding: var(--s-7) 0 0; background: var(--paper); border-bottom: 3px solid var(--ink); }
.article-head-text { max-width: 900px; }
.article-head h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem); }
.byline { font-family: var(--font-head); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--brick); }
.article-photo { margin: var(--s-6) 0 calc(var(--s-7) * -1); position: relative; z-index: 1; }
.article-photo img { width: 100%; aspect-ratio: 21 / 9; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--mustard); }
.article-photo figcaption { margin-top: .9rem; font-size: .85rem; color: var(--muted); text-align: right; }
.article-head + .section { padding-top: calc(var(--s-7) + var(--s-7)); }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); margin-top: var(--s-7); scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 var(--s-5); padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; background: var(--mustard); border: 2px solid var(--ink); }
.article-foot { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 3px solid var(--ink); }
.copy-status { margin-top: var(--s-3); font-weight: 700; color: var(--success); }
.copy-status:empty { display: none; }
.sidebar { position: sticky; top: 110px; display: grid; gap: var(--s-5); }
.side-card { padding: var(--s-6) var(--s-5); background: var(--white); border: 3px solid var(--ink); }
.side-card h2 { font-size: 1.35rem; }
.side-card-ink { background: var(--ink); color: var(--on-dark); box-shadow: 8px 8px 0 var(--mustard); }
.side-card-ink h2 { color: var(--white); }
.side-card-ink .step-ico { background: var(--mustard); color: var(--ink); margin-bottom: var(--s-4); }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; }
.toc a { display: block; padding: .45rem 0; border-bottom: 1px dashed var(--line); color: var(--text); text-decoration: none; font-size: var(--fs-sm); }
.toc li:last-child a { border-bottom: 0; }
.toc a:hover { color: var(--brick); }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.tick-list li { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; }
.tick-list svg { width: 22px; height: 22px; color: var(--brick); margin-top: 2px; }

/* 10. Forms ---------------------------------------------------------------- */
.form-shell { padding: clamp(1.5rem, 4vw, 3rem); background: var(--white); border: 3px solid var(--ink); box-shadow: var(--hard); }
.form-intro { color: var(--muted); }
.form { display: grid; gap: var(--s-5); }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field label { font-weight: 700; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; min-height: 52px; padding: .75rem 1rem; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); color: var(--text); font: inherit; transition: box-shadow .2s; }
textarea { min-height: 170px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--mustard); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .925rem; font-weight: 700; margin: .4rem 0 0; }
.field .field-error { margin-top: 0; }
.field-error:empty { display: none; }
.hint { font-size: .9rem; color: var(--muted); margin: 0; }
.checkbox { display: grid; grid-template-columns: 24px 1fr; gap: .7rem; align-items: start; }
.checkbox input { width: 22px; height: 22px; margin: 4px 0 0; accent-color: var(--brick); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: var(--s-4) var(--s-5); font-weight: 700; border: 2px solid currentColor; }
.form-alert svg { width: 22px; height: 22px; margin-top: 2px; }
.form-alert p { margin: 0; }
.form-alert[hidden] { display: none; }
.form-alert-error { background: var(--danger-bg); color: var(--danger); }
.form-alert-success { background: var(--success-bg); color: var(--success); }
.inline-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-3); align-items: start; }
.contact-card { padding: var(--s-6) var(--s-5); background: var(--ink); color: var(--on-dark); box-shadow: 8px 8px 0 var(--mustard); }
.contact-card h2 { color: var(--white); font-size: 1.6rem; }
.contact-card h3 { font-size: .95rem; letter-spacing: .14em; color: var(--mustard); margin-bottom: .3rem; }
.contact-card a { color: var(--white); }
.contact-card .more-link { color: var(--mustard); margin-top: var(--s-3); }
.contact-card .step-ico { background: var(--mustard); color: var(--ink); }
.contact-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
.contact-rows li { display: flex; gap: var(--s-4); min-width: 0; }
.contact-rows li > div { min-width: 0; overflow-wrap: anywhere; }
.contact-rows p { margin: 0; }

/* 11. Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 0 0 var(--s-5); }
.site-footer > .container { padding-top: var(--s-8); }
.cta-wrap + .site-footer, main + .site-footer { margin-top: 0; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--mustard); text-decoration: underline; }
.site-footer .brand, .site-footer .brand:hover { color: var(--white); text-decoration: none; }
.footer-blurb { margin: var(--s-5) 0; max-width: 34rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-contact li { display: flex; align-items: center; gap: .6rem; min-width: 0; overflow-wrap: anywhere; }
.footer-contact svg { width: 20px; height: 20px; color: var(--mustard); flex: none; }
.footer-col h2 { font-size: 1rem; letter-spacing: .14em; color: var(--mustard); margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-split { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-5) !important; }
.footer-sub { margin-top: var(--s-6); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .15); font-size: var(--fs-sm); }
.footer-bottom p { margin: 0; }
.back-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 50px; height: 50px; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: var(--r); background: var(--mustard); color: var(--ink); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s, background-color .2s; }
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--white); }

/* 12. Responsive ----------------------------------------------------------- */
@media (min-width: 1200px) {
  .header-phone { display: none; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .header-cta { display: none; }
}
@media (max-width: 1199.98px) {
  .nav-toggle { display: inline-flex; }
  .header-phone { margin-left: auto; }
  .header-phone span { display: inline; }
  .primary-nav { position: fixed; top: var(--nav-top, 80px); left: 0; right: 0; bottom: 0; z-index: 120; margin: 0; background: var(--ink); padding: var(--s-5) clamp(16px, 4vw, 40px) var(--s-7); overflow-y: auto; display: none; }
  .primary-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { font-size: 1.6rem; padding: .8rem 0; border-bottom: 1px solid var(--ink-700); }
  .nav-link[aria-current="page"] { border-bottom-color: var(--mustard); }
  .mobile-extra { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
  .m-link { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
  .m-link svg { width: 22px; height: 22px; color: var(--mustard); flex: none; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .section { padding: var(--s-8) 0; }
  .sidebar, .check-result { position: static; }
  .btn-row-end { justify-content: flex-start; }
  .section-title { margin-bottom: var(--s-6); }
  .hero-inner { min-height: 540px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(35, 39, 43, .55) 0%, rgba(35, 39, 43, .88) 60%); }
  .work-bar ul { justify-content: flex-start; }
  .page-hero-panel { padding: var(--s-5); }
  .header-phone span { display: none; }
}
@media (max-width: 767.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .inline-field { grid-template-columns: minmax(0, 1fr); }
  .inline-field .btn { width: 100%; }
  .header-cta { display: none; }
  .header-phone span { display: none; }
  .footer-split { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
  .tile { min-height: 230px; }
  .work-bar ul { flex-direction: column; gap: .4rem; }
  .article-photo img { aspect-ratio: 4 / 3; box-shadow: 6px 6px 0 var(--mustard); }
  .boxed-photo { box-shadow: 8px 8px 0 var(--mustard); }
  .page-hero-panel { box-shadow: 6px 6px 0 var(--mustard); }
  .check-q { padding: var(--s-4); }
}
@media (max-width: 480px) {
  .brand-name { font-size: 1.12rem; }
  .brand img { width: 36px; height: 36px; }
  .header-inner { gap: var(--s-3); min-height: 66px; }
  .nav-toggle-text { display: none; }
  .nav-toggle { width: 46px; padding: 0; justify-content: center; }
  .btn { padding-left: 1.05rem; padding-right: 1.05rem; }
  .tile-name { font-size: 1rem; }
  .tile-short { display: none; }
  .opt span { padding: .35rem .85rem; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 1rem; }
  .brand { gap: .45rem; }
  .brand img { width: 32px; height: 32px; }
  .header-phone { display: none; }
  .nav-toggle { margin-left: auto; }
}

/* 13. Motion & print ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .back-to-top, .news-box, .cta-wrap, .sidebar, .check-actions { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
  .section { padding: 1.5rem 0; }
}
.check-result { scroll-margin-top: 100px; }
@media (min-width: 768px) { .svc-card-head { min-height: 88px; } }
