/* Ported from the real builditdevelopment.com site.css (Next.js project),
   near-verbatim — same brand colours/fonts, this is a rewrite, not a
   redesign. Bunny Fonts family names substituted for the real Google
   Fonts equivalents (Libre Baskerville, Work Sans). */

:root {
  --color-claret: #5c1228;
  --color-steel: #9db4c0;
  --color-accent: #1b6ca8;
  --color-zinc: #e4e9ed;
  --color-surface: #f8fafb;
  --color-ink: #1a1416;
  --color-footer: #1f0a12;
  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-sans: 'Work Sans', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--color-zinc); color: var(--color-ink); font-family: var(--font-sans); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: var(--color-ink); padding: .5rem .75rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.sr-only, .skip-screen { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.font-display, h1, h2, h3, .site-wordmark { font-family: var(--font-display); }
.kicker { font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--color-claret); margin: 0; }
.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }

/* Disclosure label — only used on advertorial pre-lander pages, not on the
   core official-company pages (see just-moved-in/ and save-on-snagging/). */
.preland-ad { display: inline-block; background: var(--color-claret); color: #fff; padding: .35rem .6rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }

.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid color-mix(in srgb, var(--color-claret) 18%, transparent); background: color-mix(in srgb, var(--color-surface) 94%, white); }
.site-header-inner { display: flex; align-items: center; gap: 1rem; padding: .75rem 1rem; width: min(72rem, 100%); margin-inline: auto; }
.site-wordmark { flex-shrink: 0; font-size: 1.125rem; color: var(--color-claret); text-decoration: none; }
.site-nav { display: none; flex: 1; justify-content: center; gap: 1.5rem; font-size: .9rem; }
.site-nav a { text-decoration: none; color: var(--color-ink); }
.site-nav a[aria-current="page"] { text-decoration: underline; }
.site-quote { display: none; border-radius: 4px; padding: .5rem .75rem; font-size: .9rem; text-decoration: none; }
.site-quote, .btn-primary { background: var(--color-claret); color: #fff; }
.site-menu { margin-left: auto; border: 1px solid var(--color-steel); background: #fff; border-radius: 4px; padding: .5rem .75rem; }
.site-mobile { display: block; border-top: 1px solid var(--color-steel); padding: 1rem; }
.site-mobile[hidden] { display: none; }
.site-mobile ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }

.btn-primary, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; padding: .75rem 1.25rem; text-decoration: none; border: 0; cursor: pointer; font: inherit; }
.btn-ghost { border: 1px solid var(--color-ink); background: transparent; color: var(--color-ink); }

.hero { background: var(--color-surface); border-bottom: 1px solid var(--color-steel); }
.hero-grid { width: min(72rem, 100%); margin-inline: auto; display: grid; }
.hero-rail { display: flex; gap: .5rem; overflow-x: auto; padding: .75rem 1rem; border-bottom: 1px solid var(--color-steel); }
.hero-rail a { min-width: 12rem; display: flex; gap: .75rem; align-items: center; padding: .5rem; border: 1px solid var(--color-steel); background: var(--color-zinc); text-decoration: none; border-radius: 4px; }
.hero-rail img { width: 44px; height: 56px; object-fit: cover; flex-shrink: 0; }
.hero-copy { padding: 2.5rem 1rem 3rem; }
.hero-copy h1 { max-width: 36rem; font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1.1; margin: 1rem 0 0; }
.hero-copy p { max-width: 36rem; font-size: 1.05rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.section { padding: 3.5rem 1rem; }
.section h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin: .5rem 0 0; }

.need-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .75rem; }
.need-card { display: grid; grid-template-columns: 7rem 1fr; background: var(--color-surface); border-left: 4px solid var(--color-accent); overflow: hidden; text-decoration: none; color: inherit; }
.works-photo img { width: 100%; height: 100%; object-fit: cover; }
.need-card > div, .need-copy { padding: 1rem; }

.works-photo { background: var(--color-steel); aspect-ratio: 3/4; overflow: hidden; }
.works-hero-photo { aspect-ratio: 4/3; margin-top: 1.5rem; }
.works-detail h2 { margin-top: 2rem; }
.works-detail ul { padding-left: 1.2rem; line-height: 1.7; }

.quote-band { background: var(--color-claret); color: #fff; padding: 3.5rem 1rem; }
.quote-band-inner { width: min(72rem, 100%); margin-inline: auto; display: grid; gap: 2.5rem; }
.desk-note { padding: 3.5rem 1rem; }

.site-footer { background: var(--color-footer); color: #f4ecef; }
.site-footer-inner { width: min(72rem, 100%); margin-inline: auto; display: grid; gap: 2.5rem; padding: 3rem 1rem; }
.site-footer a, .site-footer button { color: inherit; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; text-decoration: underline; }
.site-footer ul { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .5rem; }
.site-footer-legal { border-top: 1px solid rgb(255 255 255 / .1); padding: 1rem; font-size: .75rem; opacity: .7; }

.cookie-banner { position: fixed; inset: auto 0 0; z-index: 50; padding: .75rem; }
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { width: min(48rem, 100%); margin-inline: auto; background: var(--color-surface); border: 1px solid var(--color-steel); border-radius: 4px; padding: 1rem; box-shadow: 0 8px 24px rgb(92 18 40 / .12); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.cookie-actions button { border-radius: 4px; padding: .5rem .75rem; font: inherit; cursor: pointer; }

.gallery { display: grid; gap: .75rem; }
.gallery figure { margin: 0; }

.quote-wizard label, .quote-wizard legend, .pay-form label, .pay-form legend { display: block; }
.quote-wizard input, .quote-wizard select, .quote-wizard textarea,
.pay-form input, .pay-form select, .pay-form textarea { width: 100%; margin-top: .25rem; padding: .7rem .75rem; border: 1px solid var(--color-steel); border-radius: 4px; background: #fff; color: var(--color-ink); font-size: 1rem; }
.quote-wizard input[type="radio"], .quote-wizard input[type="checkbox"],
.pay-form input[type="radio"], .pay-form input[type="checkbox"] { width: auto; }
.quote-wizard [hidden], .pay-form [hidden] { display: none; }
.phone-row { display: flex; gap: .5rem; align-items: stretch; margin-top: .25rem; }
.phone-row-code { flex: 1 1 13rem; max-width: 18rem; min-width: 0; }
.phone-row-number { flex: 1 1 auto; min-width: 0; }
.phone-row .quote-wizard input, .phone-row input, .phone-row select { margin-top: 0; }
.phone-row label { display: block; width: 100%; }
.quote-wizard input[aria-invalid="true"], .quote-wizard textarea[aria-invalid="true"],
.pay-form input[aria-invalid="true"], .pay-form textarea[aria-invalid="true"] { border-color: var(--color-claret); box-shadow: 0 0 0 1px var(--color-claret); }

.pay-form .paypal-submit { display: inline-flex; align-items: center; justify-content: center; width: 100%; margin-top: 1rem; background: #ffc439; border: 0; border-radius: 4px; padding: .7rem 1rem; cursor: pointer; }
.pay-form .paypal-submit:disabled { opacity: .6; cursor: not-allowed; }
.pay-form .paypal-submit img { height: 24px; width: auto; }
.pay-field-error { margin: .2rem 0 0; color: var(--color-claret); font-size: .875rem; line-height: 1.4; }
.pay-field-hint { margin: .2rem 0 0; font-size: .8rem; line-height: 1.4; opacity: .75; }
.pay-error-summary { margin-top: 1rem; padding: .85rem 1rem; border: 1px solid var(--color-claret); border-radius: 4px; background: #fff; color: var(--color-claret); font-size: .875rem; line-height: 1.5; }
.pay-error-summary p { margin: 0; font-weight: 600; }
.pay-error-summary ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.pay-clear { display: block; margin-top: .75rem; background: none; border: 0; text-decoration: underline; cursor: pointer; font: inherit; }
.pay-line, .pay-catalog-pick { display: flex; justify-content: space-between; gap: 1rem; align-items: center; width: 100%; background: #fff; border: 1px solid var(--color-steel); border-radius: 4px; padding: .75rem; font: inherit; text-align: left; cursor: pointer; }
.pay-line { cursor: default; }
.pay-line input { width: 4rem; }
.pay-checkout { display: grid; gap: 2.5rem; }
.pay-not-sure-banner { background: var(--color-zinc); border: 1px solid var(--color-steel); border-radius: 4px; padding: 1rem 1.25rem; }
.guide-price { margin-top: .75rem; background: var(--color-zinc); border-radius: 4px; padding: .75rem .9rem; }

.preland { background: var(--color-surface); padding-bottom: 4.5rem; }
.preland-inner { width: min(64rem, calc(100% - 2rem)); margin: 0 auto; padding: 2.5rem 0 3rem; }
.preland-kicker { margin: 1rem 0 0; font-size: .875rem; opacity: .75; }
.preland h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.15; margin: 1rem 0 0; }
.preland-lead, .preland-section p { font-size: 1.05rem; line-height: 1.7; margin: 1rem 0 0; max-width: 42rem; }
.preland-jump { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 1.5rem; font-size: .9rem; }
.preland-section { margin-top: 2.75rem; scroll-margin-top: 5rem; }
.preland-section h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; }
.preland-jobs { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
.preland-job { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; background: #fff; border-left: 5px solid var(--color-accent); overflow: hidden; }
.preland-job img { width: 100%; height: 100%; min-height: 9rem; object-fit: cover; }
.preland-job > div { padding: .85rem .85rem 1rem 0; }
.preland-job p { margin: .4rem 0 0; font-size: .95rem; max-width: none; }
.preland-job-price { font-family: var(--font-display); font-size: 1.5rem !important; margin: .6rem 0 !important; }
.preland-checks, .preland-steps { margin: 1rem 0 0; padding-left: 1.2rem; display: grid; gap: .6rem; max-width: 42rem; line-height: 1.6; }
.preland-pay { background: #fff; border: 1px solid var(--color-steel); border-radius: 4px; padding: 1.25rem; }
.preland-quote { margin-top: 1rem; border: 1px solid var(--color-steel); border-radius: 4px; padding: 1.25rem; background: #fff; }
.preland-faq { margin: 1rem 0 0; display: grid; gap: 1rem; max-width: 42rem; }
.preland-faq dt { font-weight: 600; }
.preland-faq dd { margin: .35rem 0 0; line-height: 1.65; }
.preland-foot, .preland-legal { margin-top: 2rem; font-size: .9rem; }
.preland-legal { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; list-style: none; padding: 0; }
.preland-legal button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; color: inherit; }
.preland-sticky { position: sticky; bottom: .75rem; z-index: 30; display: block; width: min(64rem, calc(100% - 2rem)); margin: 0 auto; background: var(--color-claret); color: #fff; text-align: center; text-decoration: none; padding: .85rem 1rem; border-radius: 4px; font-size: .95rem; }

.legal-page { width: min(48rem, calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0; font-size: .95rem; line-height: 1.7; }
.legal-page h1 { font-size: 2.5rem; }
.legal-page h2 { font-size: 1.5rem; margin-top: 2rem; }
.legal-page dl { margin-top: 2rem; display: grid; gap: 1rem; }
.legal-page dt { font-family: ui-monospace, monospace; font-size: .75rem; letter-spacing: .16em; color: var(--color-claret); }
.legal-page dd { margin: .25rem 0 0; }

@media (min-width: 768px) {
  .site-nav, .site-quote { display: flex; align-items: center; }
  .site-menu, .site-mobile { display: none; }
  .hero-grid { grid-template-columns: 210px 1fr; }
  .hero-rail { flex-direction: column; overflow: visible; border-bottom: 0; border-right: 1px solid var(--color-steel); padding: 0; }
  .hero-rail a { min-width: 0; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
  .hero-copy { padding: 4rem 2.5rem; }
  .need-list { grid-template-columns: 1fr 1fr; }
  .quote-band-inner, .site-footer-inner { grid-template-columns: 1.1fr 1fr 1fr; }
  .quote-band-inner { grid-template-columns: .9fr 1.1fr; }
  .gallery { grid-template-columns: 1fr 1fr 1fr; }
  .pay-checkout { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .preland-jobs { grid-template-columns: 1fr 1fr; }
  .preland-job { grid-template-columns: 6.5rem 1fr; }
  .preland-pay { padding: 1.75rem; }
}

@media (max-width: 520px) {
  .phone-row { flex-direction: column; }
  .phone-row-code { flex-basis: auto; width: 100%; }
}
