/* Design 1, "bold": dark slate, safety amber and roof-pitch shapes. */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-700-normal.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/public-sans-latin-400-normal.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/public-sans-latin-600-normal.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111820;
  --ink-2: #19232d;
  --ink-3: #2a3745;
  --paper: #ffffff;
  --sand: #f4f1ea;
  --line: #e2ddd1;
  --field: #8a8377;
  --text: #16202a;
  --muted: #56616d;
  --accent: #f2a516;
  --accent-hover: #ffb935;
  --accent-deep: #9a6200;
  --on-accent: #111820;
  --on-dark: #f4f1ea;
  --on-dark-muted: #b9c1c9;
  --focus: #111820;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 22px 50px -24px rgb(17 24 32 / 0.38);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --pitch: clamp(22px, 3.5vw, 52px);
  --font-head: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
ul[role='list'], ol.steps { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 0.7rem 1rem; border-radius: var(--radius);
  background: var(--accent); color: var(--on-accent);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Dark surfaces get an amber focus ring. */
.demo-strip, .hero, .page-hero, .highlight, .site-footer, .mobile-bar { --focus: var(--accent); }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0.8em 1.35em;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 600 1rem/1.15 var(--font-body);
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform 0.15s ease; }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.14);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgb(255 255 255 / 0.55); background: rgb(255 255 255 / 0.06); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgb(255 255 255 / 0.14); }
.btn-ghost .icon, .btn-call .icon { transform: none !important; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4em;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 3px; text-underline-offset: 6px;
}
.text-link .icon { width: 1.05em; height: 1.05em; transition: transform 0.15s ease; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link-light { color: #fff; }

.phone-link {
  display: inline-flex; align-items: center; gap: 0.55em;
  min-height: 44px;
  font-weight: 600; text-decoration: none;
}
.phone-link .icon { width: 1.2em; height: 1.2em; }
.phone-link:hover .phone-number { text-decoration: underline; text-underline-offset: 4px; }
.phone-link-strong { font-family: var(--font-head); font-size: 1.2rem; }
.phone-link-big { font-family: var(--font-head); font-size: 1.6rem; margin-bottom: 1.25rem; }
.phone-link-big .icon { color: var(--accent-deep); }

.eyebrow {
  display: flex; align-items: center; gap: 0.7em;
  margin: 0 0 1rem;
  color: var(--ink-3);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
}
.eyebrow::before {
  content: ''; flex: none;
  width: 14px; height: 9px;
  background: var(--accent);
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 78% 100%, 50% 42%, 22% 100%);
}

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; }

/* ---------- Demo strip ---------- */

.demo-strip { background: #0a0f14; color: var(--on-dark-muted); font-size: 0.82rem; line-height: 1.4; }
.demo-strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.2rem 1.5rem; padding-block: 0.55rem; }
.demo-strip p { margin: 0; }
.demo-strip a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.mark-bg { fill: var(--ink); }
.mark-line { stroke: var(--accent); }
.brand-name { display: block; font-family: var(--font-head); font-size: 1.35rem; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; }
.brand-sub { display: block; margin-top: 0.3rem; color: var(--muted); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.34em; line-height: 1; text-transform: uppercase; }

.nav-desktop ul { display: flex; gap: 0.15rem; }
.nav-desktop a {
  display: block; padding: 0.6rem 0.7rem; border-radius: var(--radius);
  color: var(--ink); font-size: 0.96rem; font-weight: 600; text-decoration: none;
}
.nav-desktop a:hover { background: var(--sand); }
.nav-desktop a[aria-current='page'] { box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }

.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.header-phone { display: flex; flex-direction: column; color: var(--ink); line-height: 1.15; text-decoration: none; }
.header-phone small { color: var(--muted); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.header-phone strong { font-family: var(--font-head); font-size: 1.2rem; }
.header-phone:hover strong { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.header-cta { min-height: 48px; }

.nav-mobile { display: none; }
.nav-mobile summary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 46px; padding: 0.5rem 0.95rem;
  border: 2px solid var(--ink); border-radius: var(--radius);
  font-weight: 600; cursor: pointer; list-style: none;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile .icon { width: 1.3em; height: 1.3em; }
.nav-mobile .icon-close, .nav-mobile[open] .icon-open { display: none; }
.nav-mobile[open] .icon-close { display: block; }
.nav-mobile[open] summary { background: var(--ink); color: #fff; }
.nav-mobile-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - 80px); overflow-y: auto;
  padding: 0.25rem var(--gutter) 1.5rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -20px rgb(0 0 0 / 0.35);
}
.nav-mobile-panel a:not(.btn):not(.phone-link) {
  display: block; padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-size: 1.25rem; text-decoration: none;
}
.nav-mobile-panel a[aria-current='page'] { color: var(--accent-deep); }
.nav-mobile-actions { display: grid; gap: 1rem; justify-items: center; margin-top: 1.25rem; }

/* ---------- Home: hero ---------- */

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-dark); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(12 17 23 / 0.95) 0%, rgb(12 17 23 / 0.84) 42%, rgb(12 17 23 / 0.45) 72%, rgb(12 17 23 / 0.3) 100%),
    linear-gradient(0deg, rgb(12 17 23 / 0.55), transparent 40%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(5.5rem, 10vw, 8.5rem);
}
.hero .eyebrow { color: #fff; }
.hero h1 { margin-bottom: 1.2rem; color: #fff; font-size: clamp(2.45rem, 5.4vw, 4.3rem); }
.hero .lead { max-width: 36em; color: #dfe4e9; font-size: clamp(1.08rem, 1.5vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 1.8rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; font-size: 0.96rem; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 0.45rem; }
.hero-points .icon { width: 1.25em; height: 1.25em; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--ink); stroke-width: 3; }

.hero-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--paper); color: var(--text);
  border-top: 6px solid var(--accent); border-radius: var(--radius-lg);
  box-shadow: 0 34px 80px -30px rgb(0 0 0 / 0.75);
  --focus: var(--ink);
}
.hero-card h2 { margin-bottom: 0.35rem; font-size: 1.65rem; }
.hero-card-lead { color: var(--muted); font-size: 0.97rem; }

/* ---------- Trust bar ---------- */

.trust-wrap { position: relative; z-index: 2; margin-top: -3.25rem; }
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.trust li { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.4rem 1.4rem; border-right: 1px solid var(--line); }
.trust li:last-child { border-right: 0; }
.trust .icon { width: 2.2rem; height: 2.2rem; padding: 0.42rem; border-radius: 9px; background: var(--accent); color: var(--ink); }
.trust strong { display: block; margin-bottom: 0.2rem; font-family: var(--font-head); font-size: 1.04rem; line-height: 1.2; }
.trust span { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.section-alt .trust { margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-alt { background: var(--sand); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; max-width: none; }
.section-head-row > div { max-width: 46rem; }
.section-head h2 { margin-bottom: 0.45em; font-size: clamp(2rem, 3.8vw, 2.9rem); }
.section-head .section-text { margin: 0; color: var(--muted); font-size: 1.1rem; }
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split-intro .section-head { margin-bottom: 1.5rem; }

/* ---------- Service cards ---------- */

.service-cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.service-cards-grid .service-card:first-child { grid-row: span 2; }
.service-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow); }
.service-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.service-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-card-media img { transform: scale(1.05); }
.service-cards-grid .service-card:first-child .service-card-media { flex: 1; min-height: 260px; aspect-ratio: auto; }
.service-card-icon {
  display: grid; place-items: center; aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, transparent 0 49.5%, rgb(255 255 255 / 0.05) 50% 100%),
    var(--ink);
  color: var(--accent);
}
.service-card-icon .icon { width: 64px; height: 64px; stroke-width: 1.4; }
.service-card-body { padding: 1.35rem 1.5rem 1.5rem; }
.service-card h2, .service-card h3 { margin-bottom: 0.4rem; font-size: 1.35rem; }
.service-card .stretched { text-decoration: none; }
.service-card .stretched::after { content: ''; position: absolute; inset: 0; }
.service-card .stretched:focus-visible { outline: none; }
.service-card p { margin-bottom: 1rem; color: var(--muted); font-size: 0.98rem; }
.more { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.95rem; font-weight: 600; }
.more .icon { width: 1.1em; height: 1.1em; color: var(--accent-deep); transition: transform 0.2s ease; }
.service-card:hover .more .icon { transform: translateX(4px); }

/* ---------- Highlight band (roof-pitch top edge) ---------- */

.highlight {
  position: relative;
  padding-block: calc(var(--pitch) + clamp(3rem, 7vw, 5.5rem)) clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(circle at 85% 20%, rgb(242 165 22 / 0.12), transparent 45%),
    var(--ink);
  color: var(--on-dark);
  clip-path: polygon(0 var(--pitch), 50% 0, 100% var(--pitch), 100% 100%, 0 100%);
}
.highlight-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.highlight .eyebrow { color: #fff; }
.highlight h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 2.9rem); }
.highlight p { max-width: 34em; color: #d5dbe1; font-size: 1.1rem; }
.highlight .actions { margin-top: 2rem; }
.highlight-media { position: relative; }
.highlight-media::before {
  content: ''; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 3px solid var(--accent); border-radius: var(--radius-lg);
}
.highlight-media img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }

/* ---------- Process ---------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; }
.step { position: relative; padding-top: 4.4rem; }
.step-num {
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center;
  width: 3.1rem; height: 3.1rem;
  background: var(--ink); color: var(--accent);
  border-radius: 10px;
  font-family: var(--font-head); font-size: 1.35rem;
}
.step:not(:last-child)::before {
  content: ''; position: absolute; top: 1.52rem; left: 4rem; right: -0.6rem;
  border-top: 2px dashed #cfc8b9;
}
.step h3 { font-size: 1.22rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.section-alt .step-num { box-shadow: 0 0 0 6px var(--sand); }

/* ---------- Projects ---------- */

.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.project { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.project-media { aspect-ratio: 3 / 2; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-body { display: flex; flex: 1; flex-direction: column; padding: 1.35rem 1.5rem 1.5rem; }
.project-place {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-bottom: 0.6rem;
  color: var(--accent-deep); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.project-place .icon { width: 1.1em; height: 1.1em; }
.project h3 { font-size: 1.3rem; }
.project p { color: var(--muted); font-size: 0.98rem; }
.project-details {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 0.75rem;
  margin: auto 0 0; padding-top: 1rem; border-top: 1px solid var(--line);
}
.project-details dt { color: var(--muted); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.project-details dd { margin: 0; font-size: 0.96rem; font-weight: 600; }

/* ---------- Areas ---------- */

.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 185px), 1fr)); gap: 0.6rem; }
.areas li {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 600;
}
.areas .icon { width: 1.15em; height: 1.15em; color: var(--accent-deep); }
.areas-missing { display: flex; align-items: center; gap: 0.6rem; margin: 2rem 0 0; font-size: 1.05rem; }
.areas-missing .icon { width: 1.3em; height: 1.3em; color: var(--accent-deep); }
.areas-missing a { font-weight: 600; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1.2rem 0;
  font-family: var(--font-head); font-size: 1.12rem; line-height: 1.3;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-deep); }
.faq-icon { width: 2rem; height: 2rem; padding: 0.42rem; border-radius: 50%; background: var(--sand); color: var(--ink); transition: transform 0.2s ease, background-color 0.2s ease; }
.section-alt .faq-icon { background: var(--paper); }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--accent); }
.faq-answer { max-width: 44rem; padding: 0 3rem 1.3rem 0; color: var(--muted); }
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--text); font-weight: 600; }
.faq-page { display: grid; gap: 3rem; max-width: 860px; }
.faq-group h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.faq-group h2 a { text-decoration: none; }
.faq-group h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }

/* ---------- Call to action band ---------- */

.cta-band { padding-block: clamp(2.75rem, 6vw, 4rem) calc(clamp(2.75rem, 6vw, 4rem) + var(--pitch)); background: var(--accent); color: var(--on-accent); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-copy { max-width: 40rem; }
.cta-band h2 { margin-bottom: 0.35rem; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.cta-band p { margin: 0; font-size: 1.07rem; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.cta-band .btn-primary { background: var(--ink); color: #fff; box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--ink-3); }
.cta-phone { font-family: var(--font-head); font-size: 1.35rem; }
.cta-phone .phone-label { display: none; }

/* ---------- Inner page hero ---------- */

.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 4.25rem) clamp(3rem, 7vw, 5rem);
  background: var(--ink); color: var(--on-dark);
}
/* Two faint roof lines behind the heading, echoing the logo. */
.page-hero::after {
  content: ''; position: absolute; z-index: -1; right: -2%; bottom: 0;
  width: min(52vw, 640px); aspect-ratio: 2 / 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'%3E%3Cpath d='M6 104 100 14l94 90' fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='13'/%3E%3Cpath d='M46 104l54-52 54 52' fill='none' stroke='%23f2a516' stroke-opacity='0.12' stroke-width='8'/%3E%3C/svg%3E") no-repeat right bottom / contain;
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-photo::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(12 17 23 / 0.95) 0%, rgb(12 17 23 / 0.82) 50%, rgb(12 17 23 / 0.5) 100%);
}
.page-hero.has-photo::after { display: none; }
.page-hero-copy { max-width: 46rem; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.page-hero .eyebrow { color: #fff; }
.page-hero .lead { margin-bottom: 0; color: #dfe4e9; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.page-hero .actions { margin-top: 1.8rem; }
.page-hero .phone-link { color: #fff; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1.4rem; padding: 0; list-style: none; color: var(--on-dark-muted); font-size: 0.88rem; }
.crumbs li + li::before { content: '/'; margin-right: 0.35rem; opacity: 0.6; }
.crumbs a { color: inherit; text-underline-offset: 3px; }
.crumbs a:hover { color: #fff; }

/* ---------- Service page ---------- */

.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.55rem, 2.6vw, 2rem); }
.prose .intro { color: var(--text); font-size: 1.22rem; line-height: 1.55; }
.prose a { font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose .faq { margin-top: 0.5rem; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 1.6rem; margin-bottom: 0.5rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.7rem; line-height: 1.45; }
.checklist .icon { width: 1.45rem; height: 1.45rem; margin-top: 0.05rem; padding: 0.24rem; border-radius: 50%; background: var(--accent); color: var(--ink); stroke-width: 3; }

.service-aside { display: grid; gap: 1.25rem; }
.aside-card { padding: 1.5rem; background: var(--sand); border-radius: var(--radius-lg); }
.form-card { background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--accent); box-shadow: var(--shadow); }
.aside-title { margin-bottom: 0.4rem; font-size: 1.35rem; }
.aside-lead { color: var(--muted); font-size: 0.95rem; }
.aside-subtitle { margin: 0 0 0.5rem; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.aside-note { display: flex; gap: 0.5rem; margin: 1rem 0 0; color: var(--muted); font-size: 0.94rem; }
.aside-note .icon { margin-top: 0.15rem; color: var(--accent-deep); }
.hours { display: grid; gap: 0.3rem; margin: 0; font-size: 0.95rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; text-align: right; }
.other-services ul { display: grid; }
.other-services a {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--line);
  font-weight: 600; text-decoration: none;
}
.other-services li:last-child a { border-bottom: 0; }
.other-services a .icon:first-child { color: var(--accent-deep); }
.other-services .arrow { margin-left: auto; width: 1.05em; height: 1.05em; transition: transform 0.15s ease; }
.other-services a:hover .arrow { transform: translateX(3px); }
.other-services a:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Forms ---------- */

.quote-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.quote-form.compact { gap: 0.85rem; }
.quote-form .field-wide, .quote-form .btn, .quote-form .form-privacy, .quote-form .form-demo-note { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 0.35rem; font-size: 0.92rem; font-weight: 600; }
.field .optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.85rem;
  border: 1.5px solid var(--field); border-radius: var(--radius);
  background: #fff; color: var(--text);
  font: inherit; font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111820' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 1.1rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(242 165 22 / 0.55); }
.form-demo-note {
  display: flex; align-items: flex-start; gap: 0.5rem; margin: 0;
  padding: 0.6rem 0.8rem; border: 1px dashed #d6a540; border-radius: var(--radius);
  background: #fff7e3; color: #5b4200; font-size: 0.85rem; line-height: 1.4;
}
.form-demo-note .icon { width: 1.15em; height: 1.15em; margin-top: 0.05rem; }
.form-privacy { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.45; }
.form-privacy a { color: var(--text); }

/* ---------- About and contact ---------- */

.about-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-figure { position: relative; margin: 0; }
.about-figure::before { content: ''; position: absolute; inset: -1.1rem 1.1rem 1.1rem -1.1rem; border: 3px solid var(--accent); border-radius: var(--radius-lg); }
.about-figure img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.value { padding: 1.6rem; background: var(--paper); border-left: 5px solid var(--accent); border-radius: var(--radius); }
.value h3 { font-size: 1.25rem; }
.value p { margin: 0; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-form-card { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--radius-lg); scroll-margin-top: 100px; }
.contact-form-card h2 { font-size: 1.8rem; }
.contact-aside { display: grid; gap: 1.25rem; }
.next-steps { display: grid; gap: 0.8rem; margin: 0.75rem 0 0; padding: 0; list-style: none; counter-reset: next; }
.next-steps li { position: relative; padding-left: 2.4rem; counter-increment: next; line-height: 1.45; }
.next-steps li::before {
  content: counter(next); position: absolute; left: 0; top: -0.05rem;
  display: grid; place-items: center; width: 1.7rem; height: 1.7rem;
  border-radius: 6px; background: var(--ink); color: var(--accent);
  font-family: var(--font-head); font-size: 0.9rem;
}

/* ---------- Simple pages: thanks, 404, privacy ---------- */

.simple-page { padding-block: clamp(4rem, 10vw, 7.5rem); }
.simple-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.simple-page .lead { color: var(--muted); font-size: 1.15rem; }
.simple-page .actions { margin-top: 2rem; }
.simple-icon { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; margin-bottom: 1.5rem; border-radius: 12px; background: var(--accent); color: var(--ink); }
.simple-icon .icon { width: 2rem; height: 2rem; stroke-width: 2.6; }
.simple-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 1.5rem; }
.simple-links a { font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.privacy h2 { font-size: 1.5rem; }
.note { padding: 1rem 1.2rem; border-left: 5px solid var(--accent); border-radius: var(--radius); background: var(--sand); }

/* ---------- Footer (roof-shaped top edge over the amber band) ---------- */

.site-footer {
  position: relative; margin-top: calc(-1 * var(--pitch));
  padding-top: calc(var(--pitch) + clamp(2.75rem, 5vw, 4rem));
  background: var(--ink); color: var(--on-dark-muted);
  clip-path: polygon(0 var(--pitch), 50% 0, 100% var(--pitch), 100% 100%, 0 100%);
  font-size: 0.97rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer .brand { margin-bottom: 1.2rem; color: #fff; }
.site-footer .brand-sub { color: var(--on-dark-muted); }
.site-footer h2 { margin-bottom: 1rem; color: #fff; font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 0.55rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.footer-brand p { max-width: 24rem; }
.footer-phone { margin: 0.25rem 0 1rem; color: #fff !important; font-family: var(--font-head); font-size: 1.45rem; }
.footer-phone .icon { color: var(--accent); }
.site-footer .hours { max-width: 18rem; font-size: 0.9rem; }
.site-footer .hours dt { color: var(--on-dark-muted); }
.site-footer .hours dd { color: var(--on-dark); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.4rem; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--accent); }

/* Pages without the amber band: keep the footer roof over white. */
.page-thanks .site-footer, .page-not-found .site-footer, .page-privacy .site-footer, .page-contact .site-footer { margin-top: 0; }

/* ---------- Mobile call bar ---------- */

.mobile-bar { display: none; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.24s; }
  .hero-card { animation: rise 0.8s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-media img { animation: settle 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }

/* ---------- Smaller screens ---------- */

@media (max-width: 1140px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .header-inner { gap: 0.9rem; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(3rem, 8vw, 4rem); }
  /* On phones the photo sits behind the headline and fades into the dark background. */
  .hero-media { bottom: auto; height: min(100%, 680px); }
  .hero-media img { object-position: 58% 30%; }
  .hero::before { background: linear-gradient(180deg, rgb(12 17 23 / 0.62) 0, rgb(12 17 23 / 0.8) 380px, var(--ink) 680px); }
  .trust-wrap { margin-top: 0; padding-top: 1.5rem; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(2) { border-right: 0; }
  .trust li:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .service-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlight-grid, .split, .about-layout, .service-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .highlight-media { margin: 0 1.1rem 1.1rem 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.25rem; }
  .step::before { display: none; }
  .projects { grid-template-columns: minmax(0, 1fr); }
  .project { flex-direction: row; }
  .project-media { flex: 0 0 42%; aspect-ratio: auto; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .about-figure { margin: 1.1rem 0 0 1.1rem; }
}

@media (max-width: 760px) {
  .header-actions { display: none; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.15rem; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 0.6rem;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
    background: rgb(12 17 23 / 0.97);
    box-shadow: 0 -10px 30px rgb(0 0 0 / 0.25);
  }
  .mobile-bar .btn { min-height: 50px; padding: 0.6em 0.8em; }
  .btn-call { border-color: rgb(255 255 255 / 0.5); color: #fff; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .demo-strip .wrap { padding-block: 0.45rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .quote-form { grid-template-columns: minmax(0, 1fr); }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .trust li { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust li:last-child { border-bottom: 0; }
  .service-cards-grid { grid-template-columns: minmax(0, 1fr); }
  .service-cards-grid .service-card:first-child { grid-row: auto; }
  .service-cards-grid .service-card:first-child .service-card-media { min-height: 0; aspect-ratio: 16 / 10; }
  .steps, .checklist, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .project { flex-direction: column; }
  .project-media { aspect-ratio: 3 / 2; }
  .faq-answer { padding-right: 0; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .page-hero .actions .btn { flex: 1 1 100%; }
}
