/* Villa's Pro Painting LLC — site styles (2026-10, premium redesign v2)
   Direction: the place carries it. A few large photographs of his own work, a navy
   taken from his own siding jobs, white, and one light grotesque. Nothing else. */

:root {
  --ground: oklch(0.978 0.004 265);      /* near-white, a breath toward navy */
  --surface: oklch(0.948 0.007 265);     /* one step down, for quiet panels */
  --line: oklch(0.88 0.01 265);
  --ink: oklch(0.21 0.035 265);          /* navy-black */
  --ink-soft: oklch(0.42 0.03 265);
  --navy: oklch(0.29 0.055 265);         /* his siding navy */
  --navy-deep: oklch(0.23 0.045 265);
  --on-navy: oklch(0.97 0.005 265);
  --on-navy-soft: oklch(0.82 0.02 265);

  --font: 'Work Sans', system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.125rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3rem, 1.6rem + 5.6vw, 6rem);

  --margin: clamp(20px, 5vw, 88px);
  --max: 1360px;
  --section: clamp(112px, 14vw, 208px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-sticky: 20; --z-menu: 30; --z-bar: 40;

  /* legacy names used by inline styles on older pages */
  --bg: var(--ground); --bg-secondary: var(--surface); --bg-tertiary: var(--surface);
  --text-main: var(--ink); --text-muted: var(--ink-soft);
  --brand-primary: var(--navy); --brand-dark: var(--navy); --brand-accent: var(--navy);
  --brand-light: var(--surface); --brand-accent-light: var(--surface);
  --border: transparent; --border-focus: var(--navy);
  --radius: 0px; --radius-sm: 0px; --shadow: none; --shadow-hover: none;
  --font-headings: var(--font); --font-body: var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--step-body)/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
::selection { background: var(--navy); color: var(--on-navy); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font); font-weight: 300; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: var(--step-display); }
h2 { font-size: var(--step-head); }
h3 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; }
h4 { font-size: 1.0625rem; font-weight: 500; letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
strong, b { font-weight: 500; }

/* buttons: square, one fill */
.btn, .btn-call, .btn-quote {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px;
  border: 0; border-radius: 0; font: 500 1rem/1 var(--font); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
}
.btn:active, .btn-quote:active { transform: translateY(1px); }
.btn.alt, .btn-quote { background: var(--navy); color: var(--on-navy) !important; }
.btn.alt:hover, .btn-quote:hover { background: var(--navy-deep); color: var(--on-navy); }
.btn.primary { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1px var(--ink); } /* taste-skill-ignore: secondary button outline */
.btn.primary:hover { background: var(--ink); color: var(--ground) !important; }
.btn.outline, .btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); } /* taste-skill-ignore: outline button state */
.btn.outline:hover, .btn.ghost:hover { background: var(--ink); color: var(--ground); }
.on-navy .btn.primary, .on-navy .btn.alt { background: var(--on-navy); color: var(--navy) !important; }
.on-navy .btn.primary:hover, .on-navy .btn.alt:hover { background: #fff; }
.on-navy .btn.outline { color: var(--on-navy); box-shadow: inset 0 0 0 1px var(--on-navy); } /* taste-skill-ignore: outline button state */
.on-navy .btn.outline:hover { background: var(--on-navy); color: var(--navy); }
.btn-call { padding: 0 4px; min-height: 44px; background: transparent; color: var(--ink); font-weight: 500; }
.btn-call:hover { color: var(--navy); text-decoration: underline; }

/* header: a plain bar */
.bar { position: sticky; top: 0; z-index: var(--z-bar); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 14px var(--margin); background: var(--ground); transition: background-color .3s var(--ease); }
.bar.scrolled { background: color-mix(in oklch, var(--ground) 94%, white); }
.bar-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.bar-brand img { width: 40px; height: 40px; aspect-ratio: 1/1; object-fit: contain; }
.bar-brand span { font-weight: 500; font-size: 1.0625rem; letter-spacing: -0.01em; }
.bar-links { display: flex; justify-content: center; gap: 28px; }
.bar-links > a, .bar-drop > button { padding: 8px 0; background: none; border: 0; cursor: pointer; font: 400 0.9375rem/1 var(--font); color: var(--ink); text-decoration: none; }
.bar-links > a:hover, .bar-drop > button:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.bar-drop { position: relative; }
.bar-drop-menu { position: absolute; top: calc(100% + 14px); left: -20px; min-width: 260px; display: none; padding: 10px 0; background: #fff; box-shadow: 0 24px 48px oklch(0.21 0.035 265 / 0.14); z-index: var(--z-menu); } /* taste-skill-ignore: real floating menu */
.bar-drop:hover .bar-drop-menu, .bar-drop:focus-within .bar-drop-menu, .bar-drop.open .bar-drop-menu { display: grid; }
.bar-drop-menu a { padding: 11px 20px; text-decoration: none; font-size: 0.9375rem; color: var(--ink); }
.bar-drop-menu a:hover { background: var(--surface); }
.bar-actions { display: flex; align-items: center; gap: 20px; }
.bar-toggle { display: none; min-height: 44px; padding: 0 4px; background: none; border: 0; font: 500 1rem/1 var(--font); color: var(--ink); cursor: pointer; }
.bar-mobile { display: none; }
@media (max-width: 1080px) {
  .bar { gap: 16px; }
  .bar-links, .bar-actions .btn-quote { display: none; }
  .bar-toggle { display: inline-flex; align-items: center; }
  .bar-mobile.open { display: grid; position: fixed; inset: 68px 0 0 0; z-index: var(--z-menu); align-content: start; padding: 24px var(--margin) 120px; background: var(--ground); overflow-y: auto; }
  .bar-mobile a { padding: 16px 0; font-size: 1.5rem; font-weight: 300; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); box-shadow: 0 1px 0 var(--line); } /* taste-skill-ignore: menu separators */
}
@media (max-width: 520px) { .bar-brand span { display: none; } }

/* frame */
section { max-width: var(--max); margin: var(--section) auto; padding: 0 var(--margin); }
.container, .wrap { max-width: var(--max); margin: 0 auto; }
.on-navy { background: var(--navy); color: var(--on-navy); }
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy h4 { color: var(--on-navy); }
.on-navy a:hover { color: #fff; }

/* ---------- inner pages: legacy components set calmly ---------- */
.hero { margin-top: clamp(40px, 6vw, 96px); }
.hero h1 { font-size: clamp(2.75rem, 1.6rem + 4.4vw, 5.25rem); max-width: 15ch; }
.sub, .hero .sub { font-size: var(--step-lead); line-height: 1.4; color: var(--ink); max-width: 44ch; margin-top: 24px; font-weight: 300; }
.direct-answer { font-size: var(--step-body); color: var(--ink); max-width: 62ch; margin-top: 18px; }
.direct-answer strong { font-weight: 500; }
.section-title-wrap { max-width: 860px; margin-bottom: clamp(32px, 4vw, 56px); }
.hero-tag, .glow-bg, .glow-bg-left, .service-icon-container, .process-step, .review-stars, .kpi-icon, .offer-badge, .tldr-box h3 { display: none !important; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-content { display: flex; flex-direction: column; gap: 24px; }
.hero-content h1 { font-size: clamp(2.75rem, 1.6rem + 4.2vw, 5rem); }
.hero-content .sub { margin-top: 0; }
.hero-ctas, .cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-image-wrap { display: grid; gap: 24px; }
.hero-image-container { overflow: hidden; aspect-ratio: 4/5; background: var(--surface); }
.hero-image-container img { width: 100%; height: 100%; object-fit: cover; }
.tldr-box { padding-top: 20px; box-shadow: 0 -1px 0 var(--line); } /* taste-skill-ignore: single divider */
.tldr-statement { font-size: 1rem; color: var(--ink-soft); }
.tldr-bullets { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 10px; font-size: 0.9375rem; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { display: grid; gap: 2px; }
.kpi b { font-size: 1.375rem; font-weight: 400; letter-spacing: -0.02em; }
.kpi span { font-size: 0.875rem; color: var(--ink-soft); }

.grid { display: grid; gap: clamp(28px, 3vw, 48px) clamp(24px, 3vw, 40px); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .process-card, .review-card, .service-card, .offer, .info-card, .content-box, .highlight-box, .form-card {
  background: transparent; padding: 24px 0 0; border: 0; border-radius: 0; box-shadow: 0 -1px 0 var(--line); /* taste-skill-ignore: top rule only */
}
.card h3, .process-card h3, .service-card h3, .offer h3 { margin-bottom: 10px; }
.card p, .process-card p, .service-card p { font-size: 1rem; color: var(--ink-soft); }
.accent-text, .text-accent { color: inherit; font-weight: 500; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }

.pillbar { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 40px; }
.pill, .cities a { font-size: 0.9375rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 6px; }
.pill:hover, .cities a:hover { text-decoration-color: var(--ink); }
.cities { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px !important; }

.service-card { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.service-card .sub { font-size: 0.9375rem; margin: 0 0 12px; color: var(--ink-soft); }
.features, .offer-features, .about-list { list-style: none; display: grid; gap: 8px; margin-top: 16px; font-size: 0.9375rem; color: var(--ink-soft); }
.features li, .offer-features li, .about-list li { padding-left: 18px; position: relative; }
.features li::before, .offer-features li::before, .about-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.service-meta { font-size: 0.875rem; color: var(--ink-soft); margin-bottom: 14px; }
.service-card .btn { align-self: flex-start; }

.offers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.offer { display: flex; flex-direction: column; gap: 18px; }
.offer-price-wrap { display: flex; align-items: baseline; gap: 12px; }
.offer-price-lbl { font-size: 0.9375rem; color: var(--ink-soft); }
.offer-price { font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.75rem); font-weight: 300; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.offer-note { font-size: 0.875rem; color: var(--ink-soft); }
.offer .btn { align-self: flex-start; }

.review-card { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.review-text { font-size: 1.25rem; line-height: 1.45; font-weight: 300; letter-spacing: -0.01em; }
.review-author { font-weight: 500; font-size: 0.9375rem; }
.review-author span { font-weight: 400; color: var(--ink-soft); }

.faq-wrap { display: grid; }
.faq-item { box-shadow: 0 -1px 0 var(--line); } /* taste-skill-ignore: list rule */
.faq-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; padding: 20px 0; background: none; border: 0; cursor: pointer; text-align: left; font: 400 1.25rem/1.3 var(--font); letter-spacing: -0.01em; color: var(--ink); }
.faq-btn::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-4px); transition: transform .3s var(--ease); }
.faq-item.active .faq-btn::after { transform: rotate(-135deg) translateY(-2px); }
.faq-content { display: none; padding: 0 0 28px; max-width: 68ch; color: var(--ink-soft); }
.faq-item.active .faq-content { display: block; }

.cta-card { background: var(--navy); color: var(--on-navy); padding: clamp(32px, 5vw, 80px); text-align: left !important; max-width: none !important; }
.cta-card h2 { color: var(--on-navy); max-width: 16ch; }
.cta-card .direct-answer { color: var(--on-navy-soft); margin: 18px 0 28px !important; }
.cta-card .btn.alt { background: var(--on-navy); color: var(--navy) !important; }
.form-embed-wrapper { border: 0 !important; border-radius: 0 !important; background: #fff !important; max-width: 760px !important; margin: 32px 0 0 !important; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); }
.contact-item { display: grid; gap: 4px; padding: 16px 0; }
.contact-icon { display: none; }

/* phone bar on small screens */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); background: var(--ground); padding: 0 0 env(safe-area-inset-bottom); }
  .sticky-cta .btn { min-height: 58px; }
  .sticky-cta .btn.alt { background: var(--navy); }
  .sticky-cta .btn.primary { background: var(--ground); color: var(--ink) !important; box-shadow: inset 0 1px 0 var(--line); } /* taste-skill-ignore: bar edge */
  body { padding-bottom: 58px; }
}

/* footer: the name, set large */
.foot { background: var(--navy-deep); color: var(--on-navy-soft); padding: clamp(64px, 8vw, 120px) var(--margin) 32px; margin-top: var(--section); }
.foot a { color: var(--on-navy); text-decoration: none; }
.foot a:hover { text-decoration: underline; color: #fff; }
.foot-word { max-width: var(--max); margin: 0 auto; font-size: clamp(3.5rem, 1rem + 10vw, 10rem); font-weight: 300; letter-spacing: -0.045em; line-height: 0.9; color: var(--on-navy); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px 32px; max-width: var(--max); margin: clamp(48px, 6vw, 96px) auto 0; }
.foot-grid h4 { color: var(--on-navy); font-size: 0.9375rem; font-weight: 500; margin-bottom: 16px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; font-size: 0.9375rem; }
.foot-grid p { font-size: 0.9375rem; line-height: 1.65; max-width: 36ch; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; max-width: var(--max); margin: 64px auto 0; font-size: 0.8125rem; }
.foot-base nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* motion: content is always visible; where scroll timelines exist, sections rise in as they enter */
@keyframes rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
}

@media (max-width: 1080px) {
  .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-layout, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .grid.cols-2, .grid.cols-3, .offers-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1, .hero-content h1 { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* offer bar: the specials, visible on every page */
.offer-bar { display: flex; align-items: center; justify-content: center; gap: 12px 28px; flex-wrap: wrap; padding: 10px var(--margin); background: var(--navy-deep); color: var(--on-navy); font-size: 0.9375rem; text-align: center; }
.offer-bar p { margin: 0; }
.offer-bar b { font-weight: 500; }
.offer-bar a { color: var(--on-navy); text-decoration: underline; text-underline-offset: 4px; font-weight: 500; }
.offer-bar a:hover { color: #fff; }
@media (max-width: 680px) {
  .offer-bar { font-size: 0.875rem; gap: 14px; padding: 10px var(--margin); flex-wrap: nowrap; white-space: nowrap; }
  .offer-bar .offer-label, .offer-bar .offer-sep, .offer-bar .offer-ext, .offer-bar .offer-call { display: none; }
  .offer-bar p::first-letter { text-transform: uppercase; }
}
@media (min-width: 681px) and (max-width: 1080px) { .offer-bar .offer-call { display: none; } }
