/* Yorktown Kitchen and Bath — built from DESIGN.md (Connectid house system, Remodeling preset).
   Brand plum slate is chrome. Action orange is call and quote buttons only. Body 17px.
   System font stacks stand in for Archivo/Inter (allowed substitutes, no third-party fonts). */
:root {
  --brand: #4A3B52; --brand-deep: #372B3D; --brand-press: #261E2B; --brand-soft: #F0EDF2; --brand-tint: #F7F5F8;
  --action: #C74A08; --action-deep: #AD3803; --action-press: #8F2F04; --action-soft: #FDEDE2;
  --ink: #16202B; --ink-2: #3D4C5A; --ink-mute: #5C6B80; --ink-on-dark: #F2F5F8; --ink-on-dark-mute: #A9B6C4;
  --canvas: #FFFFFF; --canvas-soft: #F6F8FA; --band: #0F1A24; --band-alt: #16293A;
  --hairline: #DDE3EA; --hairline-strong: #C3CDD8; --hairline-dark: #2A3F52;
  --star: #F0A500; --success: #1A7047; --success-soft: #E6F4EC; --danger: #C0392B;
  --sh1: 0 1px 2px rgba(15,26,36,.06); --sh2: 0 4px 12px rgba(15,26,36,.08); --sh3: 0 12px 28px rgba(15,26,36,.12);
  --glow: 0 4px 14px rgba(199,74,8,.32); --sticky: 0 -2px 16px rgba(15,26,36,.18);
  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px;
  --display: "Archivo", "Inter Tight", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand-soft); outline-offset: 2px; box-shadow: 0 0 0 2px var(--brand); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0 0 16px; line-height: 1.1; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.125rem); font-weight: 700; }
h3 { font-size: 1.3125rem; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 16px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }
.lead { font-size: 1.1875rem; color: var(--ink-2); max-width: 64ch; }
.eyebrow { display: inline-block; font-size: .84375rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.section { padding: 96px 0; }
.section--soft { background: var(--canvas-soft); }
.section--tint { background: var(--brand-tint); }
.section--tight { padding: 48px 0; }
.updated { font-size: .84375rem; color: var(--ink-mute); margin-top: 32px; }

/* Buttons: 56px floor, 8px radius, action fill only on call and quote. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 16px 28px; border-radius: var(--r-sm); font-weight: 700; font-size: 1.125rem; line-height: 1; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, transform .12s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--call { background: var(--action); color: #fff; box-shadow: var(--glow); }
.btn--call:hover { background: var(--action-deep); color: #fff; }
.btn--call:active { background: var(--action-press); }
.btn--quote { background: var(--canvas); color: var(--brand); border-color: var(--brand); }
.btn--quote:hover { background: var(--brand-soft); }
.btn--ondark { background: var(--canvas); color: var(--brand-deep); }
.btn--ondark:hover { background: var(--brand-soft); }
.btn--sm { min-height: 48px; padding: 12px 18px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-row--center { justify-content: center; }
.btn-row--strip { background: var(--canvas); padding: 12px; border-radius: var(--r-md); display: inline-flex; }

/* Utility bar + header */
.utility { background: var(--brand-soft); color: var(--ink-2); font-size: .9375rem; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.utility a { font-weight: 700; color: var(--brand); white-space: nowrap; }
.header { position: sticky; top: 0; z-index: 50; background: var(--canvas); box-shadow: var(--sh1); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; max-width: 1320px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-weight: 800; line-height: 1.05; font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 44px; height: 44px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .9rem; letter-spacing: .04em; flex: 0 0 auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a, .has-menu > button { font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink); background: none; border: 0; padding: 12px 11px; border-radius: var(--r-sm); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; min-height: 48px; }
.nav a:hover, .has-menu > button:hover { background: var(--canvas-soft); text-decoration: none; }
.has-menu { position: relative; }
.has-menu > button .caret { font-size: .9em; }
.menu { position: absolute; top: calc(100% + 4px); left: 0; display: none; background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-md); box-shadow: var(--sh2); padding: 8px; z-index: 60; }
.has-menu:hover .menu, .has-menu:focus-within .menu { display: grid; }
.menu--wide { min-width: 640px; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu a { display: block; padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink); }
.menu a:hover { background: var(--canvas-soft); text-decoration: none; }
.menu .mi-t { display: block; font-weight: 600; font-size: .95rem; }
.menu .mi-d { display: block; font-size: .84375rem; color: var(--ink-mute); line-height: 1.35; margin-top: 2px; }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__phone { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--brand); font-variant-numeric: tabular-nums; white-space: nowrap; }
.header__phone:hover { text-decoration: none; color: var(--brand-deep); }
.navtoggle { display: none; width: 48px; height: 48px; border: 1px solid var(--hairline); border-radius: var(--r-sm); background: none; cursor: pointer; align-items: center; justify-content: center; }
.navtoggle svg { width: 26px; height: 26px; }
#mnav { display: none; background: var(--canvas); border-top: 1px solid var(--hairline); padding: 8px 0 16px; }
#mnav.open { display: block; }
#mnav .wrap { display: grid; }
#mnav a { padding: 12px 8px; font-weight: 600; border-bottom: 1px solid var(--hairline); color: var(--ink); min-height: 48px; display: flex; align-items: center; }
#mnav .m-head { font-size: .84375rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-mute); padding: 16px 8px 4px; font-weight: 700; }

/* Hero */
.hero { background: var(--band); color: var(--ink-on-dark); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; padding: 64px 0 72px; }
.hero h1 { color: #fff; margin-bottom: 12px; }
.hero__sub { font-family: var(--display); font-size: 1.375rem; font-weight: 600; color: var(--star); line-height: 1.3; margin: 0 0 20px; }
.hero__opener { font-size: 1.125rem; color: var(--ink-on-dark); max-width: 60ch; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 9999px; font-size: .84375rem; font-weight: 700; background: var(--action-soft); color: var(--action-deep); letter-spacing: .02em; }
.pill--dark { background: rgba(255,255,255,.08); color: var(--ink-on-dark); border: 1px solid var(--hairline-dark); }
.pill svg { width: 16px; height: 16px; flex: 0 0 auto; }
.needs { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.needs li { display: flex; gap: 12px; align-items: flex-start; }
.needs svg { width: 22px; height: 22px; color: var(--star); flex: 0 0 auto; margin-top: 3px; }
.needs b { color: #fff; }
.needs span { color: var(--ink-on-dark-mute); }
.hero .btn-row--strip { margin-top: 28px; }
.trust-row { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; font-size: .9375rem; color: var(--ink-on-dark-mute); }
.trust-row li { display: flex; align-items: center; gap: 8px; }
.trust-row svg { width: 20px; height: 20px; color: var(--star); flex: 0 0 auto; }
.form-estimate { background: var(--canvas); border-radius: var(--r-lg); padding: 16px 16px 8px; box-shadow: var(--sh3); overflow: hidden; }
.form-estimate iframe { margin-bottom: -48px; }
.form-note { font-size: .84375rem; color: var(--ink-mute); margin: 8px 4px 8px; line-height: 1.45; }
.hero__form-head { color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin: 0 4px 8px; }

/* Problem band */
.problems { background: var(--brand-tint); border-bottom: 1px solid var(--hairline); }
.problems__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 48px 0; }
.problem { display: block; background: var(--canvas); border: 1px solid var(--hairline); border-left: 4px solid var(--brand); border-radius: var(--r-md); padding: 24px; color: inherit; transition: box-shadow .15s, transform .15s; }
.problem:hover { text-decoration: none; box-shadow: var(--sh2); transform: translateY(-2px); }
.problem h2 { font-size: 1.125rem; margin: 0 0 8px; }
.problem p { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.problem .more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .9rem; color: var(--brand); }

/* Cards and grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 24px; box-shadow: var(--sh1); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .9375rem; }
.card .btn { width: 100%; margin-bottom: 8px; }
a.card-service { display: block; color: inherit; overflow: hidden; padding: 0; transition: box-shadow .15s, border-color .15s, transform .15s; }
a.card-service:hover { text-decoration: none; border-color: var(--brand); box-shadow: var(--sh2); transform: translateY(-2px); }
.card-service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-service__body { padding: 20px 24px 24px; }
.card-service__body p { margin-bottom: 8px; }
.card-service .more { font-weight: 700; color: var(--brand); font-size: .95rem; }

/* Checks, steps */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--success); flex: 0 0 auto; margin-top: 3px; }
.checks b { display: block; }
.checks span { color: var(--ink-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step__n { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; }
.step h3 { font-size: 1.125rem; }
.step p { color: var(--ink-2); font-size: .9375rem; margin: 0; }

/* Story / fear blocks on service pages */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 24px; }
.story h3 { font-size: 1.125rem; }
.story p { color: var(--ink-2); font-size: .9375rem; margin: 0; }
.story .fix { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hairline); color: var(--ink); font-size: .9375rem; }
.fear { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; padding: 32px 0; border-top: 1px solid var(--hairline); }
.fear:first-of-type { border-top: 0; padding-top: 0; }
.fear h3 { font-size: 1.375rem; }
.fear .proof { background: var(--brand-tint); border-left: 4px solid var(--brand); border-radius: var(--r-sm); padding: 16px 20px; font-size: .9375rem; color: var(--ink-2); align-self: start; }
.fear .proof b { color: var(--ink); display: block; margin-bottom: 4px; }
.pricebox { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 24px; }
.pricebox table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.pricebox th, .pricebox td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.pricebox th { font-weight: 700; color: var(--ink); }

/* Area chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--hairline); border-radius: var(--r-sm); background: var(--canvas); color: var(--brand); font-weight: 600; font-size: .9375rem; }
a.chip:hover { border-color: var(--brand); text-decoration: none; }

/* FAQ: open, always */
.faq { display: grid; gap: 0; }
.faq__item { padding: 20px 16px; border-top: 1px solid var(--hairline); }
.faq__item h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; }
.faq__item p { margin: 0; color: var(--ink-2); }

/* Bands */
.band { padding: 64px 24px; text-align: center; }
.band--dark { background: var(--band); color: var(--ink-on-dark); }
.band--brand { background: var(--brand); color: #fff; }
.band h2 { color: #fff; }
.band p { color: var(--ink-on-dark-mute); font-size: 1.1875rem; max-width: 58ch; margin: 0 auto 8px; }
.band--brand p { color: #E9E3EC; }

/* Page head, prose, split */
.pagehead { background: var(--canvas-soft); border-bottom: 1px solid var(--hairline); padding: 16px 0 40px; }
.pagehead h1 { margin-top: 12px; max-width: 24ch; }
.crumbs { font-size: .84375rem; color: var(--ink-mute); }
.crumbs a { color: var(--ink-mute); }
.post-date { color: var(--ink-mute); font-size: .9375rem; margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.sidebar { position: sticky; top: 96px; display: grid; gap: 16px; }
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose img, .post-hero { border-radius: var(--r-md); margin: 0 0 24px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); }
.prose blockquote { margin: 1.2em 0; padding: 4px 20px; border-left: 4px solid var(--brand-soft); color: var(--ink-2); }
.local { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.local img { border-radius: var(--r-md); box-shadow: var(--sh2); }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.post-card { display: flex; flex-direction: column; background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-md); overflow: hidden; color: inherit; transition: box-shadow .15s; }
.post-card:hover { text-decoration: none; box-shadow: var(--sh2); border-color: var(--brand); }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card__body { padding: 16px 18px 18px; }
.post-card__title { display: block; font-weight: 700; font-size: 1rem; line-height: 1.35; color: var(--ink); }
.post-card__meta { display: block; font-size: .8125rem; color: var(--ink-mute); margin-top: 6px; }
.blog-index h2 { margin-top: 16px; }
.blog-index .count { font-size: .9rem; color: var(--ink-mute); font-weight: 400; }

/* Footer */
.footer { background: var(--band); color: var(--ink-on-dark-mute); font-size: .9375rem; padding: 64px 0 28px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a { color: var(--ink-on-dark); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__brand p { max-width: 40ch; }
.footer__phone a { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: #fff; font-variant-numeric: tabular-nums; }
.footer__disclosure { font-size: .84375rem; color: var(--ink-on-dark-mute); margin: 40px 0 0; max-width: 90ch; border-top: 1px solid var(--hairline-dark); padding-top: 20px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 16px; font-size: .84375rem; }
.footer__bottom a { color: var(--ink-on-dark-mute); }

/* Sticky call bar: mobile only, after 400px scroll */
.callbar { display: none; }
@media (max-width: 767px) {
  .callbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--action); box-shadow: var(--sticky); transform: translateY(100%); transition: transform .2s; }
  .callbar.show { transform: translateY(0); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px; color: #fff; font-weight: 700; font-size: 1.125rem; text-decoration: none; }
  body { padding-bottom: 64px; }
}
.callbar[hidden] { display: none; }
@media (max-width: 767px) { .callbar[hidden] { display: block; } }

/* Responsive */
@media (max-width: 1180px) {
  .nav, .has-menu { display: none; }
  .navtoggle { display: inline-flex; }
}
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 56px; }
  .grid-3, .stories, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .fear { grid-template-columns: 1fr; gap: 16px; }
  .local { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 767px) {
  .section { padding: 48px 0; }
  .utility .wrap { font-size: .84375rem; }
  .utility span { display: none; }
  .utility .wrap { justify-content: center; }
  .header .wrap { min-height: 64px; }
  .header__cta .btn--sm { display: none; }
  .header__phone { font-size: 1.125rem; }
  .brand__name { display: none; }
  .problems__grid { grid-template-columns: 1fr; padding: 32px 0; }
  .grid-2, .grid-3, .stories, .post-grid, .steps { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .trust-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .band { padding: 48px 16px; }
  .footer__bottom { flex-direction: column; }
}
