/* Kitchen Remodeling Lebanon PA. Slate blue and mustard, Caprasimo over Libre Franklin.
   Signature moves: headlines set inside a mustard block, a checkerboard floor strip, the barn star mark. */
:root {
  --slate: #2E4A62;
  --slate-deep: #1F3345;
  --mustard: #E0A526;
  --mustard-hover: #EDB63F;
  --on-mustard: #1C2A36;
  --on-slate: #F5EFE2;
  --on-slate-soft: #C9D3DB;
  --bg: #FBF7EE;
  --bg-alt: #F1E9D8;
  --card: #FFFDF8;
  --text: #1C2A36;
  --text-soft: #4A5A67;
  --head: #2E4A62;
  --link: #2A5478;
  --rule: #DACFB9;
  --disp: "Caprasimo", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 16px;
  --r-s: 8px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15232F;
    --bg-alt: #1B2C3A;
    --card: #203444;
    --text: #EFE9DC;
    --text-soft: #BCC8D1;
    --head: #F0C65A;
    --link: #F0C65A;
    --rule: #34495B;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.62 var(--sans); font-synthesis: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--mustard); color: var(--on-mustard); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }
.ribbon { background: var(--mustard); color: var(--on-mustard); font-size: 14px; font-weight: 600; text-align: center; padding: 6px 16px; }
h1, h2, .contact-title { font-family: var(--disp); font-weight: 400; margin: 0; }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.55rem); line-height: 1.12; color: var(--head); letter-spacing: -.005em; }
h3 { font: 700 1.14rem/1.3 var(--sans); margin: 0 0 6px; color: var(--text); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); margin: 0 0 12px; }

/* Buttons: mustard is for calling and nothing else */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border-radius: var(--r); background: var(--mustard); color: var(--on-mustard); font-weight: 700; font-size: 1.08rem; text-decoration: none; white-space: nowrap; transition: background-color .16s ease; }
.btn:hover { background: var(--mustard-hover); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--slate-deep); color: var(--on-slate); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--on-slate); text-decoration: none; margin-right: auto; min-width: 0; }
.brand svg { width: 40px; height: 40px; flex: none; }
.s-a { fill: var(--mustard); }
.s-b { fill: var(--on-slate); }
.brand-name { font-family: var(--disp); font-size: 1.14rem; line-height: 1.15; white-space: nowrap; }
.brand-name small { display: block; font: 400 12.5px/1.3 var(--sans); color: var(--on-slate-soft); margin-top: 2px; }
.nav { display: flex; gap: 16px; }
.nav a { color: var(--on-slate); text-decoration: none; font-size: 15px; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--mustard); }
.head-call { min-height: 46px; padding: 8px 16px; font-size: 1rem; }
.menu-btn { display: none; background: none; color: var(--on-slate); border: 1px solid var(--on-slate-soft); border-radius: var(--r-s); font: 600 15px var(--sans); min-height: 44px; padding: 0 14px; cursor: pointer; }

/* Hero: dark canvas, headline in a mustard block, the room bleeding off the right edge */
.hero { background: var(--slate-deep); color: var(--on-slate); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; max-width: 1600px; margin: 0 auto; }
.hero-copy { padding: 56px 40px 60px max(24px, calc((100vw - 1152px) / 2)); align-self: center; min-width: 0; }
@media (min-width: 1600px) { .hero-copy { padding-left: 224px; } }
.hero .eyebrow { color: var(--on-slate-soft); }
h1 { font-size: clamp(2.3rem, 4.5vw, 3.9rem); line-height: 1.3; margin: 0 0 20px; }
h1 span, .contact-title span { background: var(--mustard); color: var(--on-mustard); padding: .05em .24em .1em; border-radius: 12px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.answer { font-size: 1.14rem; line-height: 1.55; color: var(--on-slate); max-width: 34em; margin-bottom: 22px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cta-note { font-size: 15px; color: var(--on-slate-soft); }
.meta-line { font-size: 14px; color: var(--on-slate-soft); margin: 16px 0 0; }
.hero-photo { margin: 28px 0 28px 0; min-height: 420px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r) 0 0 var(--r); }
.hero.plain .hero-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, .8fr); }
.hero-star { width: min(24vw, 340px); height: auto; align-self: center; justify-self: center; opacity: .9; margin: 32px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0; margin: 0 0 18px; font-size: 14px; color: var(--on-slate-soft); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: var(--on-slate); }

/* Proof strip */
.proof { background: var(--slate); color: var(--on-slate); }
.proof ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 26px 0; }
.proof strong { display: block; font: 400 1.5rem/1.15 var(--disp); color: var(--mustard); margin-bottom: 4px; }
.proof span { font-size: 15px; line-height: 1.4; display: block; color: var(--on-slate); }

/* Bands */
.band { padding: 68px 0; background: var(--bg); }
.band.alt { background: var(--bg-alt); }
.band.dark { background: var(--slate); color: var(--on-slate); }
.band.dark h2, .band.dark h3 { color: var(--on-slate); }
.band.dark .eyebrow, .band.dark .band-head p { color: var(--on-slate-soft); }
.band.dark a { color: #F0C65A; }
.band-head { max-width: 760px; margin-bottom: 32px; }
.band-head h2 + p { margin-top: 12px; color: var(--text-soft); font-size: 1.06rem; }
.prose { max-width: 760px; }
.prose h2 { margin: 1.3em 0 .4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }

/* Copy beside a photo */
.media-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px; align-items: start; }
.media-grid.flip { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.media-grid.flip .photo-fig { order: -1; }
.photo-fig { margin: 0; }
.photo-fig img { width: 100%; border-radius: var(--r); }
.photo-fig figcaption { font-size: 14px; color: var(--text-soft); margin-top: 8px; }
.band.dark .photo-fig figcaption { color: var(--on-slate-soft); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.card p { font-size: 16px; color: var(--text-soft); }
.card a { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 15.5px; }
.card.pic { padding: 0; overflow: hidden; }
.card.pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card.pic .card-b { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }

/* Town tiles */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.area { display: flex; flex-direction: column; gap: 6px; background: var(--slate); color: var(--on-slate); border-radius: var(--r); padding: 24px; text-decoration: none; transition: background-color .16s ease; }
.area:hover { background: var(--slate-deep); }
.area strong { font: 400 1.5rem/1.15 var(--disp); }
.area span { font-size: 15.5px; line-height: 1.42; color: var(--on-slate-soft); }
.area .go { margin-top: auto; padding-top: 10px; font-weight: 600; color: #F0C65A; }
.zips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 1em; }
.zips li { background: var(--card); border: 1px solid var(--rule); border-radius: 999px; padding: 4px 14px; font-size: 15px; }

/* Ordered lists shown as steps */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 24px; }
.steps li::before { content: counter(s); display: block; font: 400 2.2rem/1 var(--disp); color: var(--head); margin-bottom: 10px; }
.steps.nonum li::before { display: none; }
.steps p { font-size: 16px; color: var(--text-soft); }
.band.dark .steps li { background: var(--slate-deep); border-color: var(--slate-deep); }
.band.dark .steps li::before { color: var(--mustard); }
.band.dark .steps p { color: var(--on-slate-soft); }

/* Check list */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: .55em; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .34em; width: 15px; height: 15px; border-radius: 4px; background: var(--mustard); box-shadow: inset 0 0 0 3px var(--on-mustard); }

/* Call line at the end of a band */
.sec-call { margin: 28px 0 0; font-weight: 600; font-size: 1.08rem; }
.sec-call a { font-family: var(--disp); font-weight: 400; font-size: 1.3rem; white-space: nowrap; }

/* Inline call */
.callout { background: var(--slate-deep); color: var(--on-slate); border-radius: var(--r); padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 32px; }
.callout p { margin: 0; max-width: 40em; }
.callout strong { display: block; font: 400 1.4rem/1.2 var(--disp); margin-bottom: 4px; }

/* Tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); margin-bottom: 1em; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { background: var(--slate); color: var(--on-slate); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
.src { font-size: 14.5px; color: var(--text-soft); }

/* Estimator */
.est { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 28px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; }
.est fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.est legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opts span { display: flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--rule); border-radius: var(--r-s); font-size: 15.5px; }
.opts input:checked + span { background: var(--slate); border-color: var(--slate); color: var(--on-slate); }
.opts input:focus-visible + span { outline: 3px solid var(--mustard); outline-offset: 2px; }
.est-check { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.est-check input { width: 22px; height: 22px; accent-color: var(--slate); }
.est-out { background: var(--slate-deep); color: var(--on-slate); border-radius: var(--r-s); padding: 24px; display: flex; flex-direction: column; gap: 8px; align-self: stretch; justify-content: center; }
.est-out .lbl { font-size: 14px; color: var(--on-slate-soft); }
.range { font: 400 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--disp); color: var(--mustard); }
.why { font-size: 15px; color: var(--on-slate-soft); margin: 0; }
.est-out .btn { margin-top: 8px; white-space: normal; }

/* FAQ */
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq-group { margin: 28px 0 10px; }
.faq-group:first-child { margin-top: 0; }
details { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-s); padding: 0 20px; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; min-height: 44px; }
details[open] { padding-bottom: 16px; }
details p { color: var(--text-soft); }

/* Close band on every page */
.close-band { background: var(--slate-deep); color: var(--on-slate); }
.close-band .eyebrow { color: var(--on-slate-soft); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; padding-top: 60px; padding-bottom: 60px; align-items: center; }
.contact-title { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.34; margin-bottom: 18px; }
.phone-big { display: inline-block; font: 400 clamp(2rem, 5vw, 3.2rem)/1.1 var(--disp); color: var(--mustard); text-decoration: none; margin-top: 4px; }
.phone-big:hover { color: var(--mustard-hover); }
.ready { background: var(--slate); border-radius: var(--r); padding: 26px 28px; }
.ready-h { font: 400 1.3rem/1.2 var(--disp); margin-bottom: 12px; }
.ready ul { margin: 0; padding-left: 1.1em; }
.ready li { margin-bottom: .35em; }
.checker { height: 24px; background: conic-gradient(var(--mustard) 25%, var(--slate-deep) 0 50%, var(--mustard) 0 75%, var(--slate-deep) 0) 0 0 / 24px 24px; }

/* Footer */
.foot { background: #14222E; color: var(--on-slate-soft); font-size: 15px; }
.foot .wrap { padding-top: 44px; padding-bottom: 30px; }
.foot a { color: var(--on-slate); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 26px; }
.foot-h { font: 400 1.14rem/1.2 var(--disp); color: var(--on-slate); margin-bottom: 10px; }
.foot-h a { text-decoration: none; }
.foot-h a:hover { text-decoration: underline; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 6px; }
.foot address { font-style: normal; margin-top: 10px; }
.disclosure { font-size: 13.5px; line-height: 1.55; border-top: 1px solid #2B3F50; padding-top: 14px; margin: 0 0 12px; }
.disclosure + .disclosure { border-top: 0; padding-top: 0; }

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

@media (max-width: 1190px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--slate-deep); flex-direction: column; gap: 0; padding: 8px 24px 16px; border-top: 1px solid #34495B; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #2B3F50; }
  .cards, .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-grid, .hero.plain .hero-grid, .media-grid, .media-grid.flip, .contact-grid, .est { grid-template-columns: minmax(0, 1fr); }
  .media-grid.flip .photo-fig { order: 0; }
  .hero-copy { padding: 40px 24px 28px; }
  .hero-photo { margin: 0 0 0 24px; min-height: 0; max-height: 380px; overflow: hidden; }
  .hero-star { display: none; }
  .hero.plain .hero-copy { padding-bottom: 44px; }
  .proof ul { grid-template-columns: repeat(2, 1fr); }
  .steps, .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .band { padding: 52px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; padding-bottom: 76px; }
  .wrap { padding: 0 16px; }
  .head-row { min-height: 64px; gap: 10px; }
  .brand svg { width: 34px; height: 34px; }
  .brand-name { font-size: 1rem; white-space: normal; }
  .brand-name small { display: none; }
  .head-call { display: none; }
  .hero-copy { padding: 30px 16px 24px; }
  .hero-photo { margin-left: 16px; }
  h1 { font-size: 2.15rem; }
  .cta-row .btn { width: 100%; }
  .cards, .cards.three, .cards.two, .areas, .steps, .steps.four { grid-template-columns: minmax(0, 1fr); }
  .proof ul { gap: 18px; }
  .callout { padding: 22px; }
  .callout .btn { width: 100%; }
  .est { padding: 20px; }
  thead { display: none; }
  table, tbody, tr, td { display: block; width: 100%; }
  tr { border-bottom: 1px solid var(--rule); padding: 8px 0; }
  tbody tr:last-child { border-bottom: 0; }
  td { border: 0; padding: 4px 14px; }
  td[data-label]::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 700; color: var(--text-soft); }
  .mobile-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--slate-deep); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .mobile-bar .btn { width: 100%; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
