/* ==========================================================
   RE-SKIN HERE: colors, fonts, radius, shadow.
   Change these variables and the whole site follows.
   ========================================================== */
:root {
  --paper: #F6F1E7;
  --paper-2: #EDE5D3;      /* alternate section background */
  --card: #FFFDF8;
  --ink: #1D1A16;
  --muted: #5B5347;        /* 6.5:1 on paper */
  --accent: #F2A900;       /* electrical amber, always with dark text */
  --accent-deep: #C98700;
  --deep: #1F3A34;         /* deep slate green */
  --deep-2: #2A4A42;
  --on-deep: #E6EDE8;
  --rule: #CFC5B0;
  --field-border: #6E6555; /* 4.6:1 for non-text contrast */
  --error: #A32A1B;

  --font-head: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 6px;
  --shadow: 6px 6px 0 var(--ink);

  /* spacing scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  overflow-wrap: break-word; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s4); max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: var(--radius); }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.how :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 10px 22px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; font-stretch: 90%;
  text-decoration: none; cursor: pointer; border: 2px solid var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-amber { background: var(--accent); color: var(--ink); }
.btn-amber:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--accent-deep); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-line-dark { background: var(--card); color: var(--ink); }
.btn-lg { min-height: 56px; padding-inline: 28px; font-size: 1.125rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 2px solid var(--ink); }
.bar { display: flex; align-items: center; gap: var(--s5); min-height: 68px; }
.wordmark { text-decoration: none; font-family: var(--font-head); font-size: 1.625rem; line-height: 1; display: inline-flex; align-items: baseline; gap: 6px; font-stretch: 80%; white-space: nowrap; }
.wm-a { font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.wm-b { font-weight: 300; text-transform: uppercase; letter-spacing: .12em; font-size: .78em; padding-bottom: 2px; border-bottom: 4px solid var(--accent); }
.nav { margin-left: auto; display: flex; gap: var(--s5); }
.nav a { text-decoration: none; font-weight: 600; font-size: .9375rem; padding: 10px 2px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--ink); }
.btn-phone { min-height: 44px; padding-block: 6px; }
.phone-short { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: var(--s8) 0; }
.hero::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 44%; background: var(--deep); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s8); align-items: center; }
.eyebrow { font-weight: 700; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s5); }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6.25rem); font-weight: 800; font-stretch: 78%; line-height: .94; letter-spacing: -0.015em; text-transform: uppercase; margin-bottom: var(--s5); }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%); padding-inline: 2px; }
.lead { font-size: 1.25rem; line-height: 1.55; max-width: 52ch; margin-bottom: var(--s6); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s6); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); font-weight: 600; font-size: .9375rem; }
.chips li { display: inline-flex; align-items: center; gap: var(--s2); }
.chips .ico { color: var(--deep); }

.hero-art { position: relative; }
.hero-note { color: var(--on-deep); font-size: .8125rem; margin: var(--s4) 0 0; max-width: 34ch; }

/* photo placeholders */
.ph {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--ink);
  background:
    repeating-linear-gradient(135deg, rgba(29,26,22,.07) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #E4DAC4, #C9BB9A);
  display: flex; align-items: flex-end;
}
.ph figcaption { position: relative; z-index: 1; margin: var(--s4); padding: 6px 12px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); font-size: .8125rem; font-weight: 700; line-height: 1.3; display: flex; flex-direction: column; }
.ph figcaption span { font-weight: 500; color: var(--muted); }
.ph-glyph { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; transform: translate(-50%, -60%); fill: none; stroke: rgba(29,26,22,.45); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ph-tag { position: absolute; top: 0; left: 0; background: var(--accent); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 4px 12px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.ph-hero { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }

/* ---------- Sections ---------- */
.section { padding: var(--s9) 0; }
.kicker { font-family: var(--font-head); font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .14em; font-size: .875rem; margin-bottom: var(--s4); color: var(--deep); display: flex; align-items: center; gap: var(--s3); }
.kicker::before { content: ""; width: 28px; height: 4px; background: var(--accent); }
.kicker-on-dark { color: var(--accent); }
.kicker-ink { color: var(--ink); }
.kicker-ink::before { background: var(--ink); }
h2 { font-size: clamp(2.125rem, 4.4vw, 3.5rem); font-weight: 800; font-stretch: 85%; }
.h3-like { font-size: 1.75rem; margin-bottom: var(--s5); font-stretch: 90%; }

/* Services: asymmetric list, not cards */
.services { background: var(--paper-2); border-block: 2px solid var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: var(--s8); align-items: start; }
.split-head { position: sticky; top: 108px; }
.split-head h2 { margin-bottom: var(--s5); }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.svc { display: grid; grid-template-columns: 44px 1fr; gap: var(--s4); padding: var(--s5) var(--s4) var(--s5) 0; border-bottom: 1px solid var(--rule); }
.svc:nth-child(even) { padding-left: var(--s5); border-left: 1px solid var(--rule); }
.svc-ico { width: 44px; height: 44px; fill: none; stroke: var(--deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.svc:hover .svc-ico { transform: translateY(-3px) rotate(-4deg); stroke: var(--ink); }
.svc h3 { font-size: 1.375rem; font-stretch: 90%; font-weight: 700; margin-bottom: var(--s2); line-height: 1.15; }
.svc p { margin: 0; color: var(--muted); font-size: 1rem; }

/* How it works */
.how { background: var(--deep); color: var(--on-deep); }
.how h2 { color: #fff; margin-bottom: var(--s8); max-width: 14ch; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s7); counter-reset: none; }
.step { border-top: 2px solid var(--accent); padding-top: var(--s5); position: relative; }
.step:nth-child(2) { margin-top: var(--s7); }
.step:nth-child(3) { margin-top: calc(var(--s7) * 2); }
.num { display: block; font-family: var(--font-head); font-weight: 800; font-stretch: 75%; font-size: clamp(5.5rem, 10vw, 8.5rem); line-height: .8; color: var(--accent); margin-bottom: var(--s4); }
.step h3 { color: #fff; font-size: 1.5rem; font-weight: 700; font-stretch: 90%; line-height: 1.15; margin-bottom: var(--s3); }
.step p { margin: 0; color: var(--on-deep); }

/* Proof */
.proof-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s6); flex-wrap: wrap; margin-bottom: var(--s7); }
.proof-head h2 { max-width: 16ch; }
.rating { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; font-size: 1.0625rem; margin: 0; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 22px; height: 22px; fill: var(--accent); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.work-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 200px 200px; gap: var(--s4); margin-bottom: var(--s8); }
.work-grid .ph { min-height: 0; }
.ph-a { grid-row: 1 / 3; }
.ph-d { grid-column: 2 / 4; }
.reviews { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--s6); }
.review { margin: 0; padding: var(--s5) 0 0; border-top: 4px solid var(--ink); }
.review p { font-family: var(--font-head); font-size: 1.375rem; line-height: 1.3; font-weight: 500; font-stretch: 95%; margin-bottom: var(--s4); }
.review:first-child p { font-size: 1.625rem; }
.review footer { font-size: .9375rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: center; }
.tag { display: inline-block; background: var(--accent); color: var(--ink); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 3px; }

/* Area + FAQ */
.area { background: var(--paper-2); border-block: 2px solid var(--ink); }
.area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
.area h2 { margin-bottom: var(--s5); }
.towns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--s5); margin-top: var(--s5); max-width: 420px; }
.towns li { padding: 10px 0; border-bottom: 1px dashed var(--field-border); font-weight: 600; }
.faq details { border-top: 2px solid var(--ink); }
.faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s4) var(--s7) var(--s4) 0; min-height: 56px; font-family: var(--font-head); font-weight: 700; font-size: 1.1875rem; font-stretch: 92%; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.75rem; line-height: 1; font-weight: 500; transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 var(--s5); color: var(--muted); }

/* Quote */
.quote { background: var(--accent); border-bottom: 2px solid var(--ink); }
.quote-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s8); align-items: start; }
.quote-copy { position: sticky; top: 108px; }
.quote-copy h2 { margin-bottom: var(--s5); }
.next { margin: var(--s6) 0; display: grid; gap: var(--s3); }
.next li { display: flex; gap: var(--s3); align-items: center; font-weight: 600; }
.next span { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.or { font-size: 1.125rem; font-weight: 600; }
.or a { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; text-underline-offset: 4px; }
.quote-card { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s6); }

.field { margin: 0 0 var(--s5); padding: 0; border: 0; min-width: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
label, legend { display: block; font-weight: 700; font-size: 1rem; margin-bottom: var(--s2); padding: 0; }
.hint { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 2px solid var(--field-border); border-radius: var(--radius);
}
textarea { resize: vertical; min-height: 110px; }
input::placeholder, textarea::placeholder { color: #6F6759; opacity: 1; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); background: #FFF6F3; }
.err { color: var(--error); font-weight: 600; font-size: .9375rem; margin: var(--s2) 0 0; min-height: 0; }
.err:empty { display: none; }
.err-summary { background: #FFF6F3; border: 2px solid var(--error); color: var(--error); font-weight: 700; border-radius: var(--radius); padding: var(--s3) var(--s4); margin-bottom: var(--s5); }
.note { font-size: .875rem; color: var(--muted); margin: var(--s2) 0 0; }
.note.fine { text-align: center; margin: var(--s4) auto 0; }
input[type="file"] { width: 100%; font: inherit; font-size: .9375rem; }
input[type="file"]::file-selector-button { font: inherit; font-weight: 700; min-height: 44px; padding: 8px 16px; margin-right: var(--s3); border: 2px solid var(--ink); background: var(--paper); border-radius: var(--radius); cursor: pointer; }
.radios { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.radio { position: relative; margin: 0; }
.radio input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 8px 10px; border: 2px solid var(--field-border); border-radius: var(--radius); background: #fff; font-weight: 600; transition: background-color .15s ease; }
.radio:hover span { background: var(--paper); }
.radio input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.radio input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }

/* success */
.success { text-align: left; }
.success:focus { outline: none; }
.ok-ico { width: 56px; height: 56px; fill: none; stroke: var(--deep); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: var(--s3); }
.success h3 { font-size: 2.25rem; font-weight: 800; font-stretch: 85%; margin-bottom: var(--s3); }
.success-lead { color: var(--muted); }
.echo { display: grid; grid-template-columns: 7.5rem 1fr; margin: 0 0 var(--s5); border-top: 2px solid var(--ink); }
.echo dt, .echo dd { margin: 0; padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
.echo dt { font-weight: 700; }
.echo dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.demo-line { background: var(--paper-2); border-left: 6px solid var(--accent); padding: var(--s3) var(--s4); border-radius: 0 var(--radius) var(--radius) 0; }
.linkbtn { background: none; border: 0; padding: 12px 0; min-height: 44px; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #E7E1D3; padding: var(--s8) 0 var(--s5); font-size: .9375rem; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--s7); }
.foot-brand { font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; font-stretch: 80%; text-transform: uppercase; color: #fff; margin-bottom: var(--s3); }
.foot-h { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .8125rem; color: var(--accent); margin-bottom: var(--s3); }
.foot-base { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid #4A443A; }
.foot-base p { margin: 0; color: #C9C2B2; font-size: .875rem; max-width: none; }

/* Mobile sticky bar */
.mobile-bar { display: none; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .btn-phone { margin-left: auto; }
  .hero::before { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s7); }
  .hero-art { background: var(--deep); padding: var(--s5); border-radius: var(--radius); }
  .ph-hero { aspect-ratio: 16 / 10; box-shadow: none; }
  .split, .area-grid, .quote-grid { grid-template-columns: 1fr; gap: var(--s7); }
  .split-head, .quote-copy { position: static; }
  .steps { grid-template-columns: 1fr; gap: var(--s6); }
  .step:nth-child(2), .step:nth-child(3) { margin-top: 0; }
  .num { font-size: 5rem; }
  .reviews { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { padding-bottom: 84px; }
  .section { padding: var(--s8) 0; }
  .hero { padding: var(--s6) 0 var(--s8); }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 3.75rem); }
  .lead { font-size: 1.125rem; }
  .wordmark { font-size: 1.375rem; }
  .phone-full { display: none; }
  .phone-short { display: inline; }
  .actions .btn { width: 100%; }
  .svc-list { grid-template-columns: 1fr; }
  .svc:nth-child(even) { padding-left: 0; border-left: 0; }
  .work-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 140px 140px; }
  .ph-a { grid-column: 1 / 3; grid-row: 1; }
  .ph-d { grid-column: 1 / 3; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .radios { grid-template-columns: 1fr; }
  .quote-card { padding: var(--s5) var(--s4); box-shadow: 4px 4px 0 var(--ink); }
  .echo { grid-template-columns: 1fr; }
  .echo dt { border-bottom: 0; padding-bottom: 0; color: var(--muted); font-size: .875rem; }
  .foot-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s3); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: var(--s3) var(--gutter) calc(var(--s3) + env(safe-area-inset-bottom)); background: var(--paper); border-top: 2px solid var(--ink);
  }
  .mobile-bar .btn { min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 720px) {
  .ph figcaption { margin: var(--s2); padding: 4px 8px; font-size: .75rem; }
}
