/*
 Theme Name:   Michael Hines Painting
 Description:  Standalone theme for hinespainting.com. Was a Divi child until 2026-08-09;
               the only coupling was one enqueue of the parent stylesheet, so dropping
               Template: Divi cost nothing and removed ~20 requests per page of Divi CSS
               and JS that no v2 template ever used. SEO machinery lives in hines-seo.
 Version:      0.2.0
*/

/* ---------- self-hosted fonts (no external requests) ---------- */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('fonts/montserrat-var.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url('fonts/montserrat-italic-var.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url('fonts/sourcesans3-var.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/plexmono-500.woff2') format('woff2'); }

/* ---------- design tokens (mockup v8.2) ---------- */
:root {
  --hines-paper: #f7fafa;
  --hines-paper-deep: #e9f1f0;
  --hines-ink: #16283c;
  --hines-ink-soft: #41556d;
  --hines-teal: #14907f;
  --hines-teal-deep: #0b6a5e;
  --hines-teal-tint: #dcefec;
  --hines-gold: #eeb022;      /* micro-accent only: stars, logo */
  --hines-line: #d4e0dd;
  --hines-display: 'Montserrat', Verdana, sans-serif;
  --hines-body: 'Source Sans 3', Verdana, sans-serif;
  --hines-mono: 'IBM Plex Mono', Consolas, monospace;
}

/* ---------- sitewide type & brand color base ---------- */
body, .et_pb_module { font-family: var(--hines-body); }
h1, h2, h3, h4, .et_pb_module h1, .et_pb_module h2, .et_pb_module h3 {
  font-family: var(--hines-display); font-weight: 800; letter-spacing: -.015em; color: var(--hines-ink);
}
body { color: var(--hines-ink); font-size: 17px; }
a { color: var(--hines-teal-deep); }

/* menu CTA item styled as button */
#top-menu li.hines-cta > a,
.et-menu li.hines-cta > a {
  background: var(--hines-ink); color: #fff !important; border-radius: 4px;
  padding: 10px 18px !important; font-weight: 700;
}
#top-menu li.hines-cta > a:hover { background: #24405e; opacity: 1; }

/* ---------- linking-engine output (hines-seo plugin) ---------- */
.hines-local-links {
  border-top: 1px solid var(--hines-line); margin-top: 40px; padding-top: 22px;
  font-size: 16px; color: var(--hines-ink-soft);
}
.hines-local-links p { margin: 0 0 10px; }
.hines-trust-line { font-family: var(--hines-mono); font-size: 15px; color: var(--hines-teal-deep); }

/* ---------- homepage components (builder off, clean HTML) ---------- */
.hines-home { background: var(--hines-paper); }
.hines-home #main-content { background: var(--hines-paper); }
.hines-home .entry-title { display: none; }
.hines-home #left-area { width: 100%; padding-bottom: 0; }
.hines-home #sidebar, .hines-home #main-content .container::before { display: none; }
.hines-home .entry-content { padding-top: 0; }
/* old secondary top bar: bring onto the new palette until the header rebuild */
#top-header, #et-secondary-nav { background-color: var(--hines-ink) !important; }
#top-header a, #et-info a, #et-info { color: #cfe7e2 !important; font-family: var(--hines-mono); font-size: 12px; letter-spacing: .06em; }
.hines-wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

.hines-eyebrow { font-family: var(--hines-mono); font-size: 13.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--hines-teal-deep); margin: 0 0 18px; }

.hines-hero { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; padding: 56px 0 48px; }
.hines-hero h1 { font-size: clamp(34px, 4.8vw, 52px); line-height: 1.12; margin: 0; }
.hines-hero .sub { font-size: 19px; color: var(--hines-ink-soft); margin: 22px 0 28px; max-width: 34em; }
.hines-stroke { position: relative; white-space: nowrap; }
.hines-stroke svg { position: absolute; left: -4%; bottom: 2px; width: 108%; height: .42em; z-index: -1; }

.hines-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hines-btn { display: inline-block; font-weight: 700; text-decoration: none; border-radius: 4px;
  padding: 14px 24px; font-size: 16.5px; transition: transform .15s ease; }
.hines-btn:hover { transform: translateY(-1px); }
.hines-btn-primary { background: var(--hines-ink); color: #fff !important; box-shadow: 0 2px 0 #0a1626; }
.hines-btn-line { border: 2px solid var(--hines-ink); color: var(--hines-ink) !important; }
.hines-trustrow { display: flex; gap: 10px; align-items: center; margin-top: 24px; font-weight: 600;
  font-size: 15px; color: var(--hines-ink-soft); flex-wrap: wrap; }
.hines-stars { color: var(--hines-gold); letter-spacing: 2px; }

.hines-ph { background: linear-gradient(160deg, #cfd8cf, #a8bab3 55%, #8ba49e); border-radius: 6px;
  display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; }
.hines-ph span { font-family: var(--hines-mono); font-size: 12.5px; letter-spacing: .1em;
  text-transform: uppercase; background: rgba(22,40,60,.72); padding: 7px 13px; border-radius: 3px; }
.hines-hero .hines-ph { aspect-ratio: 4 / 4.6; box-shadow: 14px 14px 0 var(--hines-teal-tint); }
.hines-photo { position: relative; }
.hines-chip-float { position: absolute; left: -30px; bottom: 34px; background: #fff;
  border-left: 5px solid var(--hines-teal); border-radius: 4px; box-shadow: 0 10px 28px rgba(22,40,60,.18);
  padding: 13px 18px; font-weight: 700; font-size: 15.5px; }
.hines-chip-float small { display: block; font-weight: 400; color: var(--hines-ink-soft); font-size: 13.5px; }

.hines-awards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 8px 0; }
.hines-award { border: 1px solid var(--hines-line); background: #fff; border-radius: 5px;
  padding: 16px 18px; display: flex; gap: 12px; align-items: center; }
.hines-award .yr { font-family: var(--hines-mono); color: var(--hines-teal-deep); font-size: 13px; }
.hines-award b { font-size: 14.5px; line-height: 1.3; display: block; color: var(--hines-ink); }

.hines-svc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 40px 0 8px; }
.hines-card { background: #fff; border: 1px solid var(--hines-line); border-radius: 6px; overflow: hidden;
  text-decoration: none; color: var(--hines-ink) !important; transition: transform .16s ease, box-shadow .16s ease; display: block; }
.hines-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(22,40,60,.13); }
.hines-dip { height: 60px; }
.hines-card .pad { padding: 14px 16px 18px; }
.hines-card b { font-size: 16.5px; }
.hines-card p { font-size: 14px; color: var(--hines-ink-soft); margin: 5px 0 0; line-height: 1.45; }

.hines-band { background: var(--hines-ink); color: var(--hines-paper); border-radius: 8px;
  padding: 36px 44px; margin: 48px 0; position: relative; overflow: hidden; }
.hines-band::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 85% -10%, rgba(20,144,127,.35), transparent 70%); }
.hines-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.hines-stat .n { font-family: var(--hines-mono); font-size: 30px; color: #5fd6c4; }
.hines-stat .d { color: #9fb0c2; font-size: 14.5px; }
.hines-band .foot { font-family: var(--hines-mono); font-size: 12.5px; color: #8fa0b3; margin: 18px 0 0; position: relative; }
.hines-band .foot a { color: #5fd6c4; }

.hines-quote { padding: 48px 0 8px; max-width: 820px; }
.hines-quote blockquote { font-family: var(--hines-display); font-style: italic; font-weight: 700;
  font-size: clamp(21px, 2.6vw, 27px); line-height: 1.4; margin: 0; color: var(--hines-teal-deep);
  border: none; padding: 0; }
.hines-quote figcaption { margin-top: 14px; font-weight: 600; color: var(--hines-ink-soft); }

.hines-cta-band { background: var(--hines-teal-deep); color: #fff; border-radius: 8px;
  padding: 40px 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; margin: 24px 0 64px; }
.hines-cta-band h2 { font-size: 29px; color: #fff; margin: 0; }
.hines-cta-band p { color: #cfe7e2; margin: 8px 0 0; }
.hines-cta-band .hines-btn { background: #fff; color: var(--hines-teal-deep) !important; justify-self: start; }

/* ---------- TWEAK 1 (pending Michael's approval): unified modern buttons ----------
   Replaces the mixed outline/uppercase button styles with one solid system:
   teal-deep primary, real padding, soft radius, no hover arrow. */
html body #page-container a.et_pb_button,
html body #page-container .et_pb_button {
  background: var(--hines-ink) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 15px 28px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
  box-shadow: 0 2px 0 #0a1626, 0 6px 18px rgba(22, 40, 60, .22) !important;
  transition: transform .15s ease, box-shadow .15s ease;
}
html body #page-container .et_pb_button:hover {
  background: #24405e !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 0 #0a1626, 0 10px 24px rgba(22, 40, 60, .28) !important;
}
html body #page-container .et_pb_button:after { display: none !important; }
/* buttons inside teal sections: white variant for contrast */
html body #page-container .et_pb_section.et_pb_with_background .et_pb_column .et_pb_button.hines-on-dark {
  background: #fff !important; color: var(--hines-ink) !important;
  box-shadow: 0 2px 0 rgba(0,0,0,.15) !important;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hines-hero { grid-template-columns: 1fr; padding-top: 36px; }
  .hines-awards, .hines-stats { grid-template-columns: repeat(2, 1fr); }
  .hines-svc { grid-template-columns: repeat(2, 1fr); }
  .hines-cta-band { grid-template-columns: 1fr; padding: 30px; }
  .hines-band { padding: 28px 24px; }
  .hines-chip-float { left: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hines-btn, .hines-card { transition: none; }
}

/* ---------- hero promise triad (test bench demo) ---------- */
.hines-triad { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 22px; }
.hines-beat { display: grid; grid-template-columns: 34px auto; grid-template-rows: auto auto;
  column-gap: 12px; align-items: center; background: rgba(255,255,255,.92); border-radius: 6px;
  padding: 10px 16px; max-width: 460px; box-shadow: 0 4px 14px rgba(22,40,60,.10); }
.hines-beat .n { grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 50%;
  background: var(--hines-teal-deep); color: #fff; font-family: var(--hines-mono);
  font-size: 14px; display: grid; place-items: center; }
.hines-beat b { font-family: var(--hines-display); font-size: 17px; color: var(--hines-ink); line-height: 1.25; }
.hines-beat i { font-style: normal; font-size: 13.5px; color: var(--hines-ink-soft); line-height: 1.35; }
@media (max-width: 900px) { .hines-beat { max-width: 100%; } }

/* ---------- FAQ details blocks ---------- */
.et_pb_text details { border-bottom: 1px solid var(--hines-line); }
.et_pb_text details summary { cursor: pointer; font-weight: 700; font-size: 17px;
  padding: 14px 4px; font-family: var(--hines-display); color: var(--hines-ink); list-style: none; }
.et_pb_text details summary::after { content: "+"; float: right; color: var(--hines-teal); font-size: 20px; }
.et_pb_text details[open] summary::after { content: "-"; }
.et_pb_text details p { padding: 0 4px 14px; margin: 0; }
