/* Dave the Gutter Guy — site styles */
:root {
  --ink: #111111; --ink-deep: #0B0B0B; --panel: #1B1B1B; --rule: #262626; --edge: #333333;
  --bone: #F2EFE9; --muted: #6B6F76; --yellow: #F5C518; --yellow-hi: #FFDA4A; --yellow-lo: #D9AE12;
  --red: #D7263D; --red-hi: #B81E32; --red-lo: #9B1829;
  --display: 'Anton', 'Impact', sans-serif; --body: 'Archivo', system-ui, sans-serif;
  --wrap: 1240px; --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--yellow); text-decoration: none; -webkit-tap-highlight-color: rgba(245,197,24,.25); }
a:hover { color: var(--yellow-hi); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
button, input { font: inherit; }
button { -webkit-tap-highlight-color: rgba(245,197,24,.25); cursor: pointer; }
*:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
::selection { background: var(--yellow); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.split { display: flex; flex-wrap: wrap; gap: 0 48px; align-items: flex-start; }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; }

/* Buttons */
.btn { border: 0; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 14px; min-height: 62px; transition: background 140ms linear; display: flex; align-items: center; justify-content: center; }
.btn:hover { text-decoration: none; }
.btn-red { background: var(--red); color: var(--bone); }
.btn-red:hover { background: var(--red-hi); color: var(--bone); }
.btn-red:active { background: var(--red-lo); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-hi); color: var(--ink); }
.btn-block { width: 100%; }
.btn-text { background: none; border: 0; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 8px 0; text-align: left; }
.btn-text:hover { color: var(--yellow); }
.icon-btn { width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid var(--edge); color: var(--bone); flex: 0 0 auto; }
.icon-btn:hover { border-color: var(--yellow); color: var(--yellow); }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 90; transition: transform 260ms var(--ease), background 200ms linear; border-bottom: 2px solid transparent; }
.site-header.is-scrolled { background: var(--ink); border-bottom-color: var(--rule); }
.site-header.is-hidden { transform: translateY(-105%); }
.site-header .wrap { padding: 11px 14px; display: flex; align-items: center; gap: 10px; }
.logo { display: flex; align-items: center; gap: 6px; color: var(--bone); min-height: 44px; }
.logo:hover { color: var(--bone); text-decoration: none; }
.logo span:first-child { font-family: var(--display); font-size: 20px; text-transform: uppercase; line-height: 1; letter-spacing: -.01em; }
.logo i { width: 8px; height: 8px; background: var(--yellow); display: block; }
.nav { display: none; gap: 28px; margin-left: 36px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nav a { color: var(--bone); }
.nav a:hover { color: var(--yellow); text-decoration: none; }
.header-cta { min-height: 46px; padding: 0 16px; font-size: 12px; letter-spacing: .1em; }
.spacer { flex: 1; }

/* Hero */
.hero { padding-top: 86px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.hero-copy { flex: 1 1 340px; padding: 0 14px; text-align: center; }
.hero h1 { margin: 0; line-height: .86; letter-spacing: -.02em; font-size: clamp(52px, 16vw, 96px); }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p { margin: 16px 0 0; font-size: 14px; font-weight: 600; line-height: 1.35; text-transform: uppercase; }

.carousel { position: relative; flex: 1 1 480px; min-width: 0; }
.track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 14px 8px; -webkit-overflow-scrolling: touch; }
.track::-webkit-scrollbar { display: none; }
.pair { flex: 0 0 84%; scroll-snap-align: center; margin: 0; }
.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--yellow); }
.pair-grid div { position: relative; aspect-ratio: 3 / 4; background: var(--panel); overflow: hidden; }
.pair-grid img, .service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 0; left: 0; font-size: 9px; font-weight: 700; letter-spacing: .18em; padding: 5px 8px; text-transform: uppercase; }
.tag-before { background: var(--ink); color: var(--bone); }
.tag-after { background: var(--yellow); color: var(--ink); }
.pair figcaption { display: flex; justify-content: space-between; gap: 10px; padding-top: 8px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.arrow { position: absolute; top: calc(50% - 14px); transform: translateY(-50%); width: 44px; height: 64px; background: var(--yellow); color: var(--ink); border: 0; display: grid; place-items: center; transition: background 140ms linear; }
.arrow:hover { background: var(--yellow-hi); }
.arrow:active { background: var(--yellow-lo); }
.arrow-prev { left: 0; } .arrow-next { right: 0; }
.dots { display: flex; gap: 5px; padding: 4px 14px 0; }
.dots span { height: 4px; flex: 1; background: var(--edge); transition: background 200ms linear; }
.dots span.on { background: var(--yellow); }

/* Ticker */
.ticker { margin-top: 20px; background: var(--yellow); color: var(--ink); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 22s linear infinite; padding: 11px 0; }
.ticker-track div { display: flex; gap: 18px; padding-right: 18px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.ticker-track b { opacity: .45; font-weight: 700; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.section { border-top: 2px solid var(--rule); padding: 34px 14px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.eyebrow .num { font-family: var(--display); font-size: 12px; letter-spacing: .2em; color: var(--yellow); }
.eyebrow .bar { width: 22px; height: 3px; background: var(--muted); display: block; }
.eyebrow .label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.h2 { margin: 0; letter-spacing: -.015em; line-height: .92; font-size: clamp(34px, 10vw, 64px); }
.h2-sm { font-size: clamp(32px, 9vw, 44px); line-height: .95; }
.process-head { margin: 0 0 20px; flex: 1 1 320px; }
.process-body { flex: 1 1 440px; }
.steps { list-style: none; margin: 0 0 24px; padding: 0; }
.steps li { display: flex; gap: 12px; align-items: baseline; padding: 13px 0; border-top: 2px solid var(--rule); font-size: 15px; font-weight: 600; line-height: 1.3; }
.steps li:last-child { border-bottom: 2px solid var(--rule); }
.steps li span { color: var(--yellow); font-family: var(--display); font-size: 13px; }

.services { border-top: 2px solid var(--rule); }
.services-head { padding: 30px 14px 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.services-head .num { font-family: var(--display); font-size: 12px; letter-spacing: .2em; color: var(--yellow); }
.service-grid { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 22px; background: var(--yellow); }
.service { flex: 1 1 340px; position: relative; aspect-ratio: 5 / 4; background: var(--panel); overflow: hidden; margin: 0; }
.service-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,.05) 35%, rgba(17,17,17,.9)); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; gap: 6px; }
.service h3 { margin: 0; font-size: 30px; line-height: .95; letter-spacing: -.01em; }
.service p { margin: 0; font-size: 13px; font-weight: 600; }
.chip { align-self: flex-start; background: var(--yellow); color: var(--ink); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px; }

.pricing { padding-top: 30px; padding-bottom: 30px; }
.pricing-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; flex: 1 1 300px; }
.pricing-head .num { font-family: var(--display); font-size: 12px; letter-spacing: .2em; color: var(--yellow); }
.pricing-body { flex: 1 1 480px; }
.price-list { margin: 0; }
.price-row { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; padding: 15px 0; border-top: 2px solid var(--rule); }
.price-row:first-child { border-top-color: var(--bone); }
.price-row:last-child { border-bottom: 2px solid var(--bone); }
.price-row dt { font-size: 16px; font-weight: 700; line-height: 1.15; }
.price-row dd { margin: 0; font-family: var(--display); font-size: 21px; color: var(--yellow); white-space: nowrap; }
.fine { margin: 14px 0 0; font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.35; }

/* Quote */
.quote { background: var(--yellow); color: var(--ink); scroll-margin-top: 62px; padding: 30px 14px 34px; }
.quote-intro { flex: 1 1 320px; }
.quote .eyebrow .num { color: var(--ink); }
.quote .eyebrow .bar { background: var(--ink); }
.quote .eyebrow .label { color: var(--ink); }
.quote h2 { margin: 0 0 12px; line-height: .88; letter-spacing: -.02em; font-size: clamp(42px, 13vw, 96px); }
.quote-intro p { margin: 0 0 22px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.quiz { flex: 1 1 480px; min-width: 0; background: var(--ink); color: var(--bone); padding: 18px 16px 22px; min-height: 430px; display: flex; flex-direction: column; }
.quiz-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.quiz-back { background: none; border: 0; color: var(--yellow); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 4px 0; }
.progress { height: 6px; background: var(--rule); margin: 10px 0 20px; }
.progress div { height: 6px; background: var(--yellow); width: 0; transition: width 260ms var(--ease); }
.pane { display: flex; flex-direction: column; gap: 14px; transition: opacity 170ms linear; }
.pane.fading { opacity: 0; }
.pane h3 { margin: 0; font-size: 28px; line-height: 1; letter-spacing: -.01em; }
.options { display: grid; gap: 7px; }
.option { min-height: 62px; text-align: left; background: var(--panel); color: var(--bone); border: 2px solid var(--edge); padding: 14px 16px; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 10px; transition: background 120ms linear, border-color 120ms linear, transform 120ms ease; }
.option:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); transform: translateX(3px); }
.option:active { background: var(--yellow-lo); border-color: var(--yellow-lo); color: var(--ink); }
.option small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .65; text-align: right; }
.field { background: var(--panel); border: 2px solid var(--edge); color: var(--bone); padding: 16px; font-size: 17px; font-weight: 700; min-height: 60px; width: 100%; border-radius: 0; -webkit-appearance: none; }
.field:focus { border-color: var(--yellow); outline: none; }
.field.invalid { border-color: var(--red); }
.hint { margin: 0; font-size: 12px; color: var(--muted); font-weight: 600; line-height: 1.35; }
.error { margin: 0; font-size: 13px; color: #FF6B7D; font-weight: 700; min-height: 0; }
.error:empty { display: none; }
.kicker { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); }
.estimate { font-family: var(--display); font-size: clamp(40px, 12vw, 56px); line-height: .9; letter-spacing: -.02em; }
.scope { border-top: 2px solid var(--rule); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.scope > span { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.scope ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.scope li { font-size: 14px; font-weight: 600; line-height: 1.35; }
.tick { width: 52px; height: 52px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; }
.call-row { min-height: 60px; display: flex; align-items: center; justify-content: space-between; background: var(--panel); border: 2px solid var(--edge); color: var(--bone); padding: 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.call-row:hover { border-color: var(--yellow); color: var(--yellow); text-decoration: none; }
.call-row span:last-child { color: var(--yellow); }
[hidden] { display: none !important; }

/* Footer */
.site-footer { border-top: 4px solid var(--yellow); padding: 30px 14px 96px; }
.footer-brand { font-family: var(--display); text-transform: uppercase; font-size: 32px; line-height: .95; letter-spacing: -.01em; }
.footer-brand span { color: var(--yellow); }
.footer-about { margin: 12px 0 24px; font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.4; max-width: 560px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--rule); padding-top: 18px; }
.footer-contact .label { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.footer-phone { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.footer-email { font-size: 14px; font-weight: 600; color: var(--bone); }
.footer-legal { border-top: 2px solid var(--rule); margin-top: 22px; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer-legal a { color: var(--muted); min-height: 30px; display: flex; align-items: center; }
.footer-legal a:hover { color: var(--yellow); }
.footer-legal span { min-height: 30px; display: flex; align-items: center; }

/* Mobile action bar */
.action-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid var(--yellow); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--ink); }
.action-bar a, .action-bar button { min-height: 64px; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: 0; }
.action-bar a { background: var(--ink); color: var(--bone); }
.action-bar a:hover { color: var(--yellow); text-decoration: none; }

/* Reveal on scroll (JS adds .reveal-ready to <html>) */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 560ms var(--ease), transform 560ms var(--ease); }
.reveal-ready [data-reveal].in { opacity: 1; transform: none; }

/* Legal page */
.legal { max-width: 720px; margin: 0 auto; padding: 110px 14px 72px; }
.legal h1 { margin: 0 0 18px; line-height: .9; letter-spacing: -.02em; font-size: clamp(44px, 12vw, 80px); }
.legal .lede { margin: 0 0 32px; font-size: 17px; font-weight: 600; line-height: 1.45; }
.legal section { border-top: 2px solid var(--rule); padding: 20px 0; font-size: 15px; line-height: 1.55; color: #D9D5CE; }
.legal section:first-of-type { border-top-color: var(--bone); }
.legal section:last-of-type { border-bottom: 2px solid var(--bone); }
.legal h2 { font-size: 24px; line-height: 1; margin: 0 0 10px; color: var(--bone); }
.legal p { margin: 0; text-wrap: pretty; }
.legal ul { margin: 0; padding-left: 18px; }
.legal a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

@media (min-width: 900px) {
  .nav { display: flex; }
  .action-bar { display: none; }
  .site-footer { padding-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}
