
/* Form Electric — one stylesheet, no frameworks, no external requests. */

/* Azo Sans Black is the brand display face. Drop AzoSans-Black.woff2 into
   /assets/ and this rule picks it up. Until then headings fall back to the
   system stack and the site still looks right. */
@font-face {
  font-family: "Azo Sans";
  src: url("/assets/AzoSans-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F7F5EF;
  --ink: #000000;
  --sage: #5B6151;
  --link: #464C3D;
  --cream: #CCC8B3;
  --rule: #C4BFAC;
  --wrap: 820px;
  --pad: 24px;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Azo Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
}

/* One container. Every section uses it. No per-section overrides. */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

a { color: var(--link); font-weight: 700; text-decoration: underline;
    text-underline-offset: 2px; }
a:hover { color: #2F342A; }

/* Small arrow so links read as links against the warm background.
   Skipped in the header, where nav is obviously nav. */
main a:not(.btn):not(.btn-2)::after,
.site-foot a::after {
  content: " →";
  font-weight: 400;
  font-size: .85em;
  text-decoration: none;
  display: inline-block;
}

h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: 2.25rem; margin-top: 0; }
h2 { font-size: 1.5rem; margin-top: 2.5em; }
h3 { font-size: 1.125rem; margin-top: 2em; }
p, ul, ol { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: .35em; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 3.25rem 0; }

/* Header */
.site-head { padding: 1rem 0; border-bottom: 1px solid var(--rule); margin-bottom: 2rem; }
.site-head .wrap { display: flex; align-items: center; gap: 1.5rem; }
.site-head .brand { flex: 0 0 auto; }
.site-head .brand::after { content: none; }
.site-head img { height: 44px; width: auto; display: block; }
.nav-wide { display: none; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav-wide a { font-size: .95rem; white-space: nowrap; }

/* No-JS hamburger. Mobile-first: shown by default, hidden on wide screens. */
.nav-narrow { display: block; border: 0; padding: 0; margin-left: auto; position: relative; }
.nav-narrow summary { list-style: none; cursor: pointer; padding: .5rem; }
.nav-narrow summary::-webkit-details-marker { display: none; }
.nav-narrow summary::after { content: none !important; }
.nav-narrow .bars,
.nav-narrow .bars::before,
.nav-narrow .bars::after { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 1px; }
.nav-narrow .bars { position: relative; }
.nav-narrow .bars::before { content: ""; position: absolute; top: -7px; }
.nav-narrow .bars::after { content: ""; position: absolute; top: 7px; }
.nav-narrow[open] .bars { background: transparent; }
.nav-narrow[open] .bars::before { top: 0; transform: rotate(45deg); }
.nav-narrow[open] .bars::after { top: 0; transform: rotate(-45deg); }
.nav-narrow nav { position: absolute; right: 0; top: calc(100% + .6rem); z-index: 20;
  background: var(--bg); border: 1px solid var(--rule); border-radius: 4px;
  padding: .4rem 1.1rem; min-width: 190px; display: flex; flex-direction: column;
  box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.nav-narrow nav a { padding: .75rem 0; }

/* The one styled element on the site. */
.btn {
  display: inline-block;
  background: var(--sage);
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
  padding: .7em 1.4em;
  border-radius: 4px;
  border: 0;
}
.btn:hover { background: #474C40; color: var(--cream); }

/* Call / text pair */
.action-row { display: flex; gap: .75rem; flex-wrap: wrap; margin: 0 0 1.1em; }

/* Secondary action — quieter than the main button */
.btn-2 {
  display: inline-block;
  background: transparent;
  color: var(--sage);
  font-weight: 700;
  text-decoration: none;
  padding: .6em 1.2em;
  border-radius: 4px;
  border: 2px solid var(--sage);
}
.btn-2:hover { background: rgba(91,97,81,.08); color: var(--sage); }

/* Paired dread / promise — the homepage centerpiece */
.promise { margin: 2rem 0 0; }
.promise-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.promise-head span { font-family: var(--display); font-weight: 900; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; color: #6B6B63; }
.promise-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  padding: .8rem 0; border-top: 1px solid var(--rule); align-items: baseline; }
.promise-row p { margin: 0; }
.promise-row .dread { color: #77776E; }
.promise-row .mine { font-weight: 700; color: var(--ink); }
.promise-close { margin-top: 1.75rem; font-family: var(--display); font-weight: 900;
  font-size: 1.2rem; }

/* Pull quotes */
.pullquotes { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 2.5rem; margin: 2rem 0 1rem; }
.pullquote p { margin: 0 0 .45rem; font-family: var(--display); font-weight: 900;
  font-size: 1.15rem; line-height: 1.35; }
.pullquote span { font-size: .9rem; color: #6B6B63; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; margin: 2rem 0; }
.gallery figure { margin: 0; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { min-height: 2.6em; }

/* Job photos */
figure { margin: 2rem 0; }
figure img { width: 100%; height: auto; border-radius: 10px; display: block; }
figcaption { font-size: .9rem; color: #6B6B63; margin-top: .5rem; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 2rem 0; }
.photo-pair figure { margin: 0; }
@media (max-width: 640px) { .photo-pair { grid-template-columns: 1fr; } }

/* Star rating blurb */
.rating { font-size: 1.05rem; margin: 0 0 1.5em; }
.rating .stars { letter-spacing: .1em; }

.lede { font-size: 1.125rem; }

/* Service / city link lists */
.linklist { list-style: none; padding: 0; }
.linklist li { margin-bottom: 1.25em; }
.linklist a { font-size: 1.05rem; white-space: nowrap; }
.linklist p { margin: .2em 0 0; }

/* Hours */
.hours { list-style: none; padding: 0; }
.hours li { display: flex; justify-content: space-between; max-width: 340px; border-bottom: 1px solid var(--rule); padding: .35em 0; }

/* Reviews — static list, no carousel */
.review { margin: 0 0 2rem; }
.review p { margin: 0 0 .35em; }
.review .who { font-weight: 700; }
.review .when { color: #5a5a52; }

/* FAQ — native details/summary, no JavaScript */
main details { border-bottom: 1px solid var(--rule); padding: .9em 0; }
main details summary { font-weight: 700; cursor: pointer; list-style: none; padding-right: 1.5em; position: relative; }
main details summary::-webkit-details-marker { display: none; }
main details summary::after { content: "+"; position: absolute; right: 0; top: 0; font-weight: 700; }
main details[open] summary::after { content: "\2013"; }
main details .answer { margin-top: .75em; }

/* Footer — brand beige, matching the logo */
.site-foot { background: var(--bg); color: var(--ink); margin-top: 4rem;
  padding: 2.5rem 0 2rem; border-top: 2px solid var(--sage); }
.site-foot a { color: #333A2C; }
.site-foot a:hover { color: #000; }
.site-foot img { height: 44px; width: auto; margin-bottom: 1.5rem; display: block; }
.site-foot h2 { font-family: var(--display); font-size: 1.25rem; margin: 2.25rem 0 .75rem;
  padding-bottom: .4rem; border-bottom: 1px solid rgba(0,0,0,.18); }
.site-foot ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.site-foot li { margin-bottom: .4em; }
.site-foot li a, .nav-narrow nav a { white-space: nowrap; }
.site-foot .legal { font-size: .9rem; margin-top: 2rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(0,0,0,.18); }
.site-foot .fine { font-size: .85rem; opacity: .7; margin: .75rem 0 0; }

@media (min-width: 641px) {
  .nav-wide { display: flex; }
  .nav-narrow { display: none; }
}

@media (max-width: 640px) {
  :root { --pad: 20px; }
  body { font-size: 17px; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.3rem; }
  .site-head .wrap { gap: .75rem; }
  .site-head img { height: 38px; }
  .nav-wide { display: none; }
  .nav-narrow { display: block; }
  .action-row { flex-direction: column; gap: 1rem; }
  .action-row .btn-2 { display: block; text-align: center; }
  .gallery { grid-template-columns: 1fr; gap: 1.75rem; }
  /* comfortable tap targets */
  .site-foot li a, .site-foot .legal a { display: inline-block; padding: .35em 0; }
  .promise-head { display: none; }
  .promise-row { grid-template-columns: 1fr; gap: .2rem; padding: .9rem 0; }
  .promise-row .dread { font-size: .95rem; }
  .pullquotes { grid-template-columns: 1fr; gap: 1.75rem; }
  .linklist a { display: inline-block; padding: .2em 0; }
}
