/* Kitchen Remodeling Kearney. Terracotta poster on cream paper: one heavy grotesque, square corners, ruled lines, no shadows. */
:root {
  --terra: #A8401F;
  --terra-deep: #8A3216;
  --cream: #F6ECDC;
  --espresso: #2A1A12;
  --bg: #F6ECDC;
  --bg2: #EBDCC3;
  --fg: #2A1A12;
  --muted: #5E4A3C;
  --line: #2A1A12;
  --hair: rgba(42, 26, 18, .24);
  --link: #A8401F;
  --btn: #A8401F;
  --btn-fg: #FFF7EA;
  --btn-hover: #2A1A12;
  --btn-hover-fg: #FFF7EA;
  --font: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.on-terra {
  --bg: #A8401F;
  --fg: #FFF3E2;
  --muted: #FBE3CC;
  --line: #FFF3E2;
  --hair: rgba(255, 243, 226, .4);
  --link: #FFF3E2;
  --btn: #FFF3E2;
  --btn-fg: #2A1A12;
  --btn-hover: #2A1A12;
  --btn-hover-fg: #FFF3E2;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1E130D;
    --bg2: #2B1C14;
    --fg: #F6ECDC;
    --muted: #D2BEA8;
    --line: #F6ECDC;
    --hair: rgba(246, 236, 220, .24);
    --link: #F0A583;
    --btn: #F6ECDC;
    --btn-fg: #2A1A12;
    --btn-hover: #F0A583;
    --btn-hover-fg: #2A1A12;
  }
  .on-terra {
    --bg: #8A3216 !important;
    --fg: #FFF3E2 !important;
    --muted: #FBE3CC !important;
    --line: #FFF3E2 !important;
    --hair: rgba(255, 243, 226, .4) !important;
    --link: #FFF3E2 !important;
    --btn: #FFF3E2 !important;
    --btn-fg: #2A1A12 !important;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.6 var(--font); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .16em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font); font-weight: 900; letter-spacing: -.035em; line-height: 1; margin: 0; }
h2 { font-size: clamp(2.1rem, 5.2vw, 4.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1320px, 100%); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .wrap { padding: 0 40px; } }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 50; background: var(--fg); color: var(--bg); padding: 8px 12px; }
.draft-bar { margin: 0; padding: 7px 20px; background: var(--espresso); color: #FFD9A8; font-size: .875rem; font-weight: 700; text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 54px; padding: .7em 1.35em; background: var(--btn); color: var(--btn-fg); font-weight: 800; font-size: 1.125rem; letter-spacing: -.01em; text-decoration: none; border: 0; white-space: nowrap; transition: background .15s, color .15s; }
.btn:hover { background: var(--btn-hover); color: var(--btn-hover-fg); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Header */
.site-head { background: var(--bg); border-bottom: 2px solid var(--line); position: relative; z-index: 20; }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--fg); text-decoration: none; margin-right: auto; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-name { font-weight: 900; font-size: 1rem; line-height: 1.02; letter-spacing: -.025em; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--fg); text-decoration: none; font-weight: 500; font-size: 1rem; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.head-call { min-height: 46px; font-size: 1rem; padding: .5em 1em; }
.menu-btn { display: none; min-height: 44px; padding: 0 14px; background: transparent; color: var(--fg); border: 2px solid var(--line); font: 700 .95rem var(--font); cursor: pointer; }
@media (max-width: 1320px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 2px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 1.125rem; border-bottom: 1px solid var(--hair); }
}
@media (max-width: 640px) { .head-call { display: none; } }

/* Hero: a terracotta poster. The H1 runs the full width, the photo breaks out over the next band */
.hero { background: var(--bg); color: var(--fg); padding: 36px 0 0; }
.hero h1 { font-size: clamp(2.75rem, 8.6vw, 8rem); line-height: .92; letter-spacing: -.045em; margin: 0 0 32px; max-width: 13ch; }
.hero .crumbs + .eyebrow { margin-top: 14px; }
.eyebrow { font-weight: 700; font-size: .95rem; letter-spacing: -.005em; margin: 0 0 12px; color: var(--muted); }
.hero-sub { display: grid; gap: 28px; }
.answer { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.42; font-weight: 500; }
.meta-line { font-size: .9rem; color: var(--muted); }
.hero-photo { margin: 0 0 -60px; position: relative; z-index: 2; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero.plain { padding-bottom: 44px; }
@media (min-width: 900px) {
  .hero { padding-top: 48px; }
  .hero-sub { grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
  .hero-photo { margin-bottom: -96px; }
  .hero.plain .hero-sub { grid-template-columns: minmax(0, 46rem); }
  .hero.plain h1 { max-width: none; }
}
.hero:not(.plain) { padding-bottom: 36px; }
.hero:not(.plain) + .band, .hero:not(.plain) + .proof { padding-top: 112px; }
@media (min-width: 900px) { .hero:not(.plain) + .band, .hero:not(.plain) + .proof { padding-top: 148px; } }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }

/* Bands */
.band { padding: 64px 0; background: var(--bg); color: var(--fg); }
.band.alt { background: var(--bg2); }
@media (min-width: 900px) { .band { padding: 96px 0; } }
.band-head { margin-bottom: 36px; max-width: 54rem; }
.band-head h2 { margin-bottom: 18px; }
.band-head p { font-size: 1.15rem; margin: 0; color: var(--muted); }
.prose { max-width: 42rem; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose h3:first-child { margin-top: 0; }
.split { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 7fr 5fr; gap: 64px; } .split.flip { grid-template-columns: 5fr 7fr; } .split.flip > .photo { order: -1; } }
.photo { margin: 0; }
.photo img { width: 100%; }
.photo figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }

.sec-call { margin: 36px 0 0; padding-top: 14px; border-top: 2px solid var(--line); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.sec-call a { font-weight: 900; white-space: nowrap; }

/* Proof strip */
.proof { background: var(--bg); padding: 40px 0 0; }
.proof ul { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--line); }
.proof li { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--hair); }
.proof strong { display: block; font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; margin-bottom: 6px; }
.proof span { font-size: .975rem; color: var(--muted); }
@media (min-width: 900px) { .proof ul { grid-template-columns: repeat(4, 1fr); } .proof li { padding-right: 28px; } }

/* Ledger: ruled rows instead of cards */
.ledger { border-top: 2px solid var(--line); }
.ledger > li { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.ledger .n { font-weight: 900; font-size: 1rem; color: var(--link); }
.ledger h3 { margin: 0; }
.ledger h3 a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.ledger h3 a:hover { text-decoration: underline; }
.ledger p { margin: 0; }
.ledger .go { font-weight: 700; white-space: nowrap; }
@media (min-width: 900px) {
  .ledger > li { grid-template-columns: 70px 3fr 5fr 200px; gap: 24px; align-items: baseline; }
  .ledger.short > li { grid-template-columns: 70px 3fr 7fr; }
  .ledger .go { text-align: right; }
}

/* Statement band */
.state { background: var(--terra); color: #FFF3E2; padding: 56px 0; }
.state p { font-size: clamp(1.75rem, 4.2vw, 3.5rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.04; margin: 0; max-width: 24ch; }

/* Numbered steps */
.steps { display: grid; gap: 0; border-top: 2px solid var(--line); counter-reset: s; }
.steps li { padding: 22px 0; border-bottom: 1px solid var(--hair); counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-size: clamp(3rem, 6vw, 5rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; color: var(--link); margin-bottom: 10px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 0 32px; border-top: 0; } .steps li { border-top: 2px solid var(--line); border-bottom: 0; } }

/* Lists */
.check { display: grid; gap: 0; border-top: 2px solid var(--line); max-width: 54rem; }
.check li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--hair); position: relative; }
.check li::before { content: ""; position: absolute; left: 2px; top: 1.1em; width: 14px; height: 14px; background: var(--terra); }

/* FAQ */
.faq { border-top: 2px solid var(--line); max-width: 58rem; }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font-size: 1.2rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; line-height: 1; font-weight: 500; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 8px; max-width: 46rem; }
.faq-group { margin: 44px 0 14px; }
.faq-group:first-child { margin-top: 0; }

/* Tables */
.tbl-wrap { border-top: 2px solid var(--line); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
th { font-weight: 800; }
.note { font-size: .95rem; color: var(--muted); margin-top: 16px; max-width: 46rem; }
@media (max-width: 720px) {
  thead { position: absolute; left: -999px; }
  tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--hair); }
  td { display: block; border: 0; padding: 3px 0; }
  td::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 700; color: var(--muted); }
}

/* Estimator */
.est { display: grid; gap: 0; border: 2px solid var(--line); }
.est-left { padding: 22px; display: grid; gap: 18px; }
.est fieldset { border: 0; margin: 0; padding: 0; }
.est legend { font-weight: 800; padding: 0; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: block; padding: 10px 14px; min-height: 44px; border: 1px solid var(--line); cursor: pointer; font-weight: 500; }
.chips input:checked + span { background: var(--fg); color: var(--bg); }
.chips input:focus-visible + span { outline: 3px solid currentColor; outline-offset: 2px; }
.older { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.older input { width: 20px; height: 20px; accent-color: var(--terra); }
.est-out { padding: 22px; background: var(--terra); color: #FFF3E2; }
.est-out .eyebrow { color: #FBE3CC; }
.range { font-size: clamp(1.9rem, 4.2vw, 3.4rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; }
@media (min-width: 900px) { .est { grid-template-columns: 7fr 5fr; } .est-out { display: flex; flex-direction: column; justify-content: center; } }

/* Call band: the giant number is the page's closing poster */
.call { background: var(--bg); color: var(--fg); padding: 56px 0 64px; }
.call-num { display: block; color: var(--fg); text-decoration: none; font-weight: 900; font-size: clamp(2.5rem, 11.2vw, 11rem); letter-spacing: -.055em; line-height: .95; margin-bottom: 28px; white-space: nowrap; }
.call-num:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: .08em; }
.call-grid { display: grid; gap: 22px; }
.call-lead { font-size: 1.2rem; font-weight: 500; line-height: 1.42; margin: 0; }
.call-list { border-top: 2px solid var(--line); }
.call-list li { padding: 9px 0; border-bottom: 1px solid var(--hair); }
@media (min-width: 900px) { .call-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Footer */
.foot { background: var(--espresso); color: #E9DBC6; padding: 52px 0 110px; font-size: .95rem; }
.foot a { color: #FFF3E2; }
.foot-grid { display: grid; gap: 28px; margin-bottom: 32px; }
.foot-h { font-weight: 800; color: #FFF3E2; margin-bottom: 8px; }
.foot-h a { text-decoration: none; }
.foot li { padding: 3px 0; }
.foot address { font-style: normal; }
.disclosure { font-size: .82rem; line-height: 1.5; max-width: 62rem; color: #CDBBA5; border-top: 1px solid rgba(233, 219, 198, .25); padding-top: 14px; margin-bottom: 12px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; } }
@media (min-width: 900px) { .foot { padding-bottom: 52px; } }

/* Phone call bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--espresso); }
.mobile-bar .btn { width: 100%; --btn: #A8401F; --btn-fg: #FFF7EA; background: #A8401F; color: #FFF7EA; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

@media print { .mobile-bar, .site-head .btn { display: none; } }
