/* Painter Handyman Co. — brand: the paint chip. Barlow + Barlow Condensed, harbor navy and safety orange. */

@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/barlow-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/barlow-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/barlow-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/barlow-condensed-700.woff2') format('woff2'); }

:root {
  --navy: #1C2530;
  --orange: #B54A19;
  --orange-dark: #8E3A13;
  --chip: #D9622B;
  --teal: #2C6E6A;
  --cedar: #8A5A3C;
  --moss: #6B7A3A;
  --gray: #4A5568;
  --primer: #F6F4EF;
  --white: #FFFFFF;
  --line: #DAD6CC;
  --ink-2: #3D4652;
  --muted: #5A6270;
  --on-navy: #C9CED6;
  --on-navy-accent: #F0A374;
  --on-teal: #E4EFEE;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--primer); color: var(--navy); font: 17px/1.55 Barlow, system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); }
a:hover { color: var(--orange-dark); }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--chip); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.row-wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.section { padding-top: 72px; padding-bottom: 72px; }
.section--tight { padding-top: 48px; padding-bottom: 48px; }
.bg-white { background: var(--white); }
.bordered { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.muted { color: var(--muted); }
.ink-2 { color: var(--ink-2); }
.small { font-size: 15px; }
.lead { font-size: 19px; max-width: 620px; }
.prose { max-width: 760px; }
.prose p + p { margin-top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.eyebrow { font-family: var(--display); font-weight: 600; letter-spacing: 0.16em; font-size: 15px; text-transform: uppercase; color: var(--orange); }
.h1 { font-family: var(--display); font-weight: 700; font-size: 72px; line-height: 0.98; letter-spacing: -0.01em; }
.h1--md { font-size: 64px; line-height: 1; }
.h2 { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; }
.h2--md { font-size: 40px; }
.h2--sm { font-size: 36px; line-height: 1.05; }
.h3 { font-size: 20px; font-weight: 600; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.link-strong { font-weight: 600; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; padding: 14px 22px; border-radius: 6px; border: 1.5px solid transparent; text-align: center; line-height: 1.3; }
.btn--lg { padding: 16px 26px; font-size: 18px; }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-dark); color: var(--white); }
.btn--outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { color: var(--navy); background: var(--primer); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { color: var(--navy); background: var(--primer); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { color: var(--white); background: #235956; }
.btn--split { display: flex; justify-content: space-between; gap: 16px; text-align: left; }

/* Header */
.topbar { background: var(--navy); color: #EDE7DA; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: #EDE7DA; font-weight: 600; text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.logo:hover { color: var(--navy); }
.logo__mark { width: 46px; height: 46px; flex-shrink: 0; }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: 0.02em; }
.logo__sub { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.22em; color: var(--muted); }
.nav { display: flex; gap: 28px; font-weight: 500; font-size: 16px; }
.nav a { color: var(--navy); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange); }
.header-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.header-cta .phone { font-weight: 600; color: var(--navy); text-decoration: none; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-weight: 600; padding: 10px 14px; border: 1.5px solid var(--navy); border-radius: 6px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; }
.menu__label-close, .menu[open] .menu__label-open { display: none; }
.menu[open] .menu__label-close { display: inline; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu__panel { display: flex; }
.menu__panel { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 24px 20px; box-shadow: 0 10px 20px rgba(28, 37, 48, 0.08); }
.menu__panel a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 500; }

.breadcrumbs { padding-top: 20px; font-size: 14px; color: var(--muted); }
.breadcrumbs a { color: inherit; }
.breadcrumbs--dark { color: var(--on-navy); }

/* Grids */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
.split--3-2 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; }
.split--2-3 { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.align-center { align-items: center; }
.align-start { align-items: start; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(var(--min, 260px), 1fr)); }

/* Hero */
.hero { background: var(--white); }
.hero--service { border-bottom: 1px solid var(--line); }
.hero--dark { background: var(--navy); color: var(--primer); }
.hero--dark .eyebrow { color: var(--on-navy-accent); }
.hero--dark .lead { color: #E1E4E8; }
.hero__grid { padding-top: 72px; padding-bottom: 80px; }
.hero--service .hero__grid, .hero--dark .hero__grid { padding-top: 32px; padding-bottom: 64px; }
.hero__lead { font-size: 20px; color: var(--ink-2); max-width: 560px; }
.trust { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; color: var(--ink-2); padding-top: 8px; }
.hero__media { position: relative; }
.rating-badge { position: absolute; left: -28px; bottom: 32px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; box-shadow: 0 6px 18px rgba(28, 37, 48, 0.10); line-height: 1.3; }
.rating-badge__chips { display: flex; gap: 4px; }
.rating-badge__chips span { width: 14px; height: 36px; border-radius: 2px; }

/* Photos & placeholders */
.photo { border-radius: 10px; overflow: hidden; aspect-ratio: var(--ratio, 4 / 3); background: repeating-linear-gradient(135deg, #EDE7DA 0 14px, #E4DDCD 14px 28px); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; text-align: center; padding: 24px; }
.photo--dark { background: repeating-linear-gradient(135deg, #263241 0 14px, #2D3A4A 14px 28px); color: var(--on-navy); }
.photo--after { background: repeating-linear-gradient(135deg, #DCE8E7 0 14px, #CFE0DE 14px 28px); color: var(--ink-2); }
.photo--sm { border-radius: 8px; font-size: 14px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo:has(img) { padding: 0; }
.job { display: flex; flex-direction: column; gap: 10px; }
.job figcaption { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.job figcaption strong { color: var(--navy); font-size: 17px; }

/* Maps */
.map { margin: 0; }
.map .photo { padding: 0; background: var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Paint chips */
.chip-card { text-decoration: none; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
a.chip-card:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(28, 37, 48, 0.08); }
.chip-card__swatch { height: 120px; }
.chip-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.chip-card__label { font-size: 12px; letter-spacing: 0.14em; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.chip-card__name { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.05; }
.chip-card__blurb { font-size: 15px; color: var(--ink-2); }
.swatch { display: inline-block; width: 28px; height: 28px; border-radius: 4px; flex-shrink: 0; }
.swatch--lg { width: 40px; height: 40px; }
.tag { display: flex; align-items: center; gap: 10px; }
.service-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-weight: 600; }
.service-link:hover { color: var(--navy); border-color: var(--navy); }
.service-link--lg { gap: 14px; padding: 16px; font-weight: 400; }
.service-link--lg strong { display: block; }
.service-link--lg small { font-size: 14px; color: var(--muted); }
span.service-link { color: var(--muted); }

/* Bands */
.band-teal { background: var(--teal); color: var(--white); }
.band-teal .eyebrow { color: #CFE3E1; }
.band-teal p { color: var(--on-teal); }
.band-teal a:not(.btn) { color: var(--white); font-weight: 600; }
.band-navy { background: var(--navy); color: var(--primer); }
.band-navy .eyebrow { color: var(--on-navy-accent); }
.band-navy p { color: var(--on-navy); }
.cta-band { background: var(--orange); color: var(--white); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 48px; padding-bottom: 48px; }

/* Steps */
.step { display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--navy); padding-top: 18px; }
.step__num { font-family: var(--display); font-weight: 700; font-size: 40px; color: var(--orange); line-height: 1; }
.step__title { font-weight: 600; font-size: 20px; }
.step__text { color: var(--ink-2); }

/* Price rows */
.price-rows { display: flex; flex-direction: column; }
.price-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-rows > div:last-child { border-bottom: 0; }
.price-rows strong { white-space: nowrap; }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 4px; align-self: start; }
.price-card .price-rows > div { padding: 14px 0; }
.price-card .btn { margin-top: 12px; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.price-table caption { text-align: left; padding: 0 0 12px; }
.price-table th, .price-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th[scope="col"] { font-family: var(--display); letter-spacing: 0.12em; text-transform: uppercase; font-size: 14px; color: var(--muted); font-weight: 600; background: var(--primer); }
.price-table td:last-child { white-space: nowrap; font-weight: 600; }
.price-table tbody tr:last-child td { border-bottom: 0; }

/* Lists */
.checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; }
.checklist li::before { content: '✓'; color: var(--teal); font-weight: 700; }
.checklist--box li::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 4px; border: 2px solid var(--navy); border-radius: 3px; }

/* Reviews */
.review { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.review__stars { color: var(--orange); letter-spacing: 2px; }
.review figcaption { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; font-size: 18px; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--ink-2); }
.faq--lg summary { font-size: 19px; }
.faq--lg details { padding: 18px 0; }

/* Town pills */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { color: var(--navy); text-decoration: none; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 7px 14px; }
a.pill:hover { color: var(--navy); border-color: var(--navy); }
.pills--dark { gap: 10px; }
.pills--dark .pill { color: var(--primer); background: transparent; border-color: var(--gray); padding: 8px 16px; }
.pills--dark a.pill:hover { color: var(--white); border-color: var(--on-navy); }

/* Quote */
.quote { border-left: 4px solid var(--chip); padding: 4px 0 4px 22px; display: flex; flex-direction: column; gap: 12px; }
.quote blockquote { font-size: 19px; line-height: 1.6; }
.quote figcaption { font-family: var(--display); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 15px; color: var(--muted); }
.quote figcaption::before { content: '— '; }

/* Callout */
.callout { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 40px; }
.callout .eyebrow { color: var(--teal); }

/* Forms */
.form { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 32px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field small { color: var(--muted); font-size: 14px; }
.field input, .field select, .field textarea { font: inherit; color: var(--navy); background: var(--white); border: 1.5px solid var(--line); border-radius: 6px; padding: 12px 14px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.form .btn { justify-self: start; border: 0; cursor: pointer; font-size: 18px; }
.notice { background: #FFF4E5; border: 1px solid #F0C48A; border-radius: 8px; padding: 14px 16px; font-size: 15px; }

/* Payment */
.pay-card { max-width: 560px; }
.pay-result { display: none; }
.pay-result.is-visible { display: block; }
.pay-success { background: #E4EFEE; border: 1px solid #A9CBC8; border-radius: 8px; padding: 18px 20px; }
.pay-error { background: #FBE9E2; border: 1px solid #E8B4A0; border-radius: 8px; padding: 14px 16px; font-size: 15px; }
#paypal-buttons { min-height: 150px; }

/* Footer */
.footer { background: var(--navy); color: var(--on-navy); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer__col { display: flex; flex-direction: column; gap: 6px; }
.footer__col a { color: var(--on-navy); text-decoration: none; }
.footer__col a:hover { color: var(--white); text-decoration: underline; }
.footer__head { color: var(--primer); font-weight: 600; }
.footer__brand { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--primer); }
.footer__legal { padding-top: 16px; padding-bottom: 24px; border-top: 1px solid #2D3A4A; font-size: 13px; }

/* Mobile call bar */
.callbar { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu { display: block; }
  .header-cta .phone { display: none; }
}

@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .wrap { padding: 0 16px; }
  .split, .split--3-2, .split--2-3, .split--even, .form__row { grid-template-columns: 1fr; gap: 32px; }
  .h1, .h1--md { font-size: 44px; line-height: 1; }
  .h2 { font-size: 36px; }
  .h2--md, .h2--sm { font-size: 32px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .hero__grid { padding-top: 40px; padding-bottom: 48px; }
  .rating-badge { left: 12px; bottom: 12px; }
  .callout, .form { padding: 24px; }
  .header-cta .btn { display: none; }
  .price-table th, .price-table td { padding: 12px; }
  .price-table td:last-child { white-space: normal; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--navy); box-shadow: 0 -4px 14px rgba(28, 37, 48, 0.2); }
  .callbar a { color: var(--white); text-decoration: none; font-weight: 600; text-align: center; padding: 14px 6px; font-size: 16px; }
  .callbar a:first-child { background: var(--orange); }
  .callbar a + a { border-left: 1px solid #2D3A4A; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
