/* Kitchen Remodeling Titusville. Deep teal slabs, one sun yellow for calls and highlights, Jost + DM Sans.
   Signature: the concrete breeze-block screen found on Florida ranch houses, and a clipped "fin" corner on slabs. */
:root {
  --teal-900: #06373B;
  --teal-800: #084649;
  --teal-700: #0B5A5E;
  --teal-500: #12807F;
  --teal-100: #D7EAE6;
  --sun: #FFC91F;
  --sun-300: #FFE27A;
  --sun-100: #FFF3C4;
  --paper: #F8F5EA;
  --white: #FFFFFF;
  --ink: #082A2D;
  --muted: #3C5A5C;
  --line: #CFD9D0;
  --fin: 32px;
  --wrap: 1200px;
  --display: "Jost", "Century Gothic", "Futura", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* One 96px breeze block: a square frame with a diamond cut in it */
  --breeze: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%2312807F' stroke-width='6'%3E%3Crect x='3' y='3' width='90' height='90'/%3E%3Cpath d='M48 14 82 48 48 82 14 48z'/%3E%3Cpath d='M48 34 62 48 48 62 34 48z'/%3E%3C/g%3E%3C/svg%3E");
  --breeze-sun: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23E5AE00' stroke-width='6'%3E%3Crect x='3' y='3' width='90' height='90'/%3E%3Cpath d='M48 14 82 48 48 82 14 48z'/%3E%3Cpath d='M48 34 62 48 48 62 34 48z'/%3E%3C/g%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-700); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--teal-900); }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; color: var(--teal-900); margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.ribbon { background: var(--ink); color: var(--sun-300); font-size: .86rem; font-weight: 500; text-align: center; padding: 8px 16px; }
.eyebrow { font: 700 .82rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--teal-500); margin: 0 0 14px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 40; background: var(--teal-900); color: var(--white); }
.head-row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; flex: none; }
.brand:hover { color: var(--white); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-name { font: 700 1.16rem/1.15 var(--display); }
.brand-name small { display: block; font: 400 .74rem/1.3 var(--body); color: var(--teal-100); margin-top: 2px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--white); font-weight: 500; font-size: .96rem; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { border-color: var(--sun); color: var(--white); }
.menu-btn { display: none; margin-left: auto; background: none; color: var(--white); border: 1.5px solid var(--teal-100); padding: 8px 14px; font: 600 .95rem var(--body); cursor: pointer; }
.head-call { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; flex: none; }
.head-call:hover { color: var(--sun-300); }
.head-num small { display: block; font-size: .72rem; color: var(--teal-100); line-height: 1.2; }
.head-num strong { font: 700 1.14rem/1.2 var(--display); white-space: nowrap; }

/* Call buttons: the only yellow control on the site */
.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--sun); color: var(--ink); font: 700 1.2rem/1.1 var(--display); text-decoration: none; padding: 9px 24px 9px 9px; border-radius: 999px; min-height: 60px; white-space: nowrap; transition: background .15s ease; }
.btn:hover { background: var(--sun-300); color: var(--ink); }
.btn-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--teal-900); color: var(--sun); flex: none; }
.btn-ico svg { width: 20px; height: 20px; }
.head-call .btn-ico { background: var(--sun); color: var(--teal-900); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cta-note { font-size: .94rem; max-width: 26em; margin: 0; }

.sec-call { margin-top: 36px; }
.band.deep a.btn, .band.deep a.btn:hover { color: var(--ink); }

/* Hero: teal slab on the left, photo running off the right edge */
.hero { background: var(--teal-900); color: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--breeze) 0 0/96px; opacity: .1; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: stretch; min-height: 620px; max-width: 1440px; margin-inline: auto; padding-left: max(20px, calc((min(100vw, 1440px) - var(--wrap)) / 2)); }
.hero-copy { padding: 72px 56px 76px 0; align-self: center; }
.hero h1 { color: var(--white); }
.hero h1 mark { display: inline-block; background: var(--sun); color: var(--teal-900); padding: .04em .14em .08em; margin-top: .14em; line-height: 1.02; }
.hero .eyebrow { color: var(--sun-300); }
.hero .answer { font-size: 1.2rem; line-height: 1.55; margin: 24px 0 10px; max-width: 34em; }
.hero .meta-line { font-size: .86rem; color: var(--teal-100); margin: 0 0 26px; }
.hero .cta-note { color: var(--teal-100); }
.hero a:not(.btn) { color: var(--sun-300); }
.hero-photo { position: relative; min-height: 340px; clip-path: polygon(64px 0, 100% 0, 100% 100%, 0 100%, 0 64px); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero.sub .hero-grid { min-height: 480px; }
.hero.sub h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.hero.sub .hero-copy { padding-top: 40px; padding-bottom: 56px; }
.hero.plain .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-right: 20px; }
.hero.plain .hero-copy { max-width: 820px; padding-right: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 24px; padding: 0; font-size: .88rem; color: var(--teal-100); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--white); }

/* Proof strip: flat blocks, no shadow */
.proof { background: var(--sun); color: var(--ink); }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof li { padding: 26px 24px; border-left: 2px solid var(--ink); }
.proof li:first-child { border-left: 0; padding-left: 0; }
.proof strong { display: block; font: 800 1.7rem/1.1 var(--display); color: var(--teal-900); }
.proof span { font-size: .95rem; line-height: 1.4; display: block; margin-top: 4px; }

/* Bands */
.band { padding: 88px 0; }
.band.white { background: var(--white); }
.band.mint { background: var(--teal-100); }
.band.deep { background: var(--teal-900); color: var(--white); position: relative; overflow: hidden; }
.band.deep h2, .band.deep h3 { color: var(--white); }
.band.deep a { color: var(--sun-300); }
.band.deep .eyebrow { color: var(--sun-300); }
.band-head { max-width: 760px; margin-bottom: 44px; }
.band-head p:not(.eyebrow) { margin-top: 16px; font-size: 1.12rem; }
.prose { max-width: 720px; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.split.flip > :first-child { order: 2; }
.fig { margin: 0; position: sticky; top: 104px; }
.fig img { width: 100%; clip-path: polygon(0 0, calc(100% - var(--fin)) 0, 100% var(--fin), 100% 100%, 0 100%); aspect-ratio: 3/2; object-fit: cover; }
.fig figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.band.deep .fig figcaption { color: var(--teal-100); }

/* The call script: three numbered slabs, the first in yellow */
.script { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.script li { background: var(--teal-800); padding: 34px 30px 36px; clip-path: polygon(0 0, calc(100% - var(--fin)) 0, 100% var(--fin), 100% 100%, 0 100%); }
.script li:first-child { background: var(--sun); color: var(--ink); }
.script li:first-child h3 { color: var(--teal-900); }
.script .n { display: block; font: 800 3rem/1 var(--display); color: var(--sun); margin-bottom: 16px; }
.script li:first-child .n { color: var(--teal-900); }
.script p { margin-top: 10px; margin-bottom: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--white); border-top: 6px solid var(--teal-700); padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.band.white .card { background: var(--paper); }
.card p { margin: 0; flex: 1; }
.card a { font-weight: 700; }
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.area { display: block; background: var(--teal-700); color: var(--white); padding: 32px; text-decoration: none; clip-path: polygon(0 0, calc(100% - var(--fin)) 0, 100% var(--fin), 100% 100%, 0 100%); transition: background .15s ease; }
.area:hover { background: var(--teal-800); color: var(--white); }
.area strong { display: block; font: 700 1.8rem/1.1 var(--display); }
.area span { display: block; margin-top: 8px; }
.area .zip { font-size: .86rem; color: var(--teal-100); }
.area .go { color: var(--sun-300); font-weight: 700; margin-top: 16px; }

/* Numbered decisions list */
.decisions { counter-reset: d; list-style: none; margin: 0; padding: 0; max-width: 860px; }
.decisions li { counter-increment: d; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px 16px; padding: 26px 0; border-top: 2px solid var(--teal-900); }
.decisions li::before { content: counter(d); font: 800 2.6rem/1 var(--display); color: var(--teal-500); grid-row: span 2; }
.decisions p { grid-column: 2; margin: 0; }

/* Phases */
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 6px solid var(--sun); }
.phases li { padding: 24px 24px 0 0; }
.phases .ph-n { font: 700 .86rem var(--display); letter-spacing: .1em; color: var(--sun-300); display: block; margin-bottom: 8px; }
.phases p { margin-top: 8px; margin-bottom: 0; }

/* FAQ */
.faq { max-width: 860px; border-top: 2px solid var(--teal-900); }
.faq-item { border-bottom: 2px solid var(--teal-900); }
.faq-item summary { list-style: none; cursor: pointer; font: 600 1.2rem/1.3 var(--display); color: var(--teal-900); padding: 20px 44px 20px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 500 1.8rem var(--display); color: var(--teal-500); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 0 22px; max-width: 720px; }
.faq-group { margin-top: 48px; }
.faq-group:first-of-type { margin-top: 0; }
.faq-group h2 { font-size: 1.8rem; margin-bottom: 18px; }

/* Tables */
.tbl-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: var(--white); font-size: 1rem; min-width: 620px; }
th { background: var(--teal-900); color: var(--white); font: 600 1rem var(--display); text-align: left; padding: 14px 16px; }
td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.note { font-size: .96rem; color: var(--muted); max-width: 760px; margin-top: 16px; }

/* Estimator */
.est { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
.est fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.est legend { font: 700 1.05rem var(--display); color: var(--teal-900); padding: 0; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: block; padding: 10px 16px; background: var(--white); border: 1.5px solid var(--teal-700); font-weight: 500; cursor: pointer; }
.chips input:checked + span { background: var(--teal-900); color: var(--white); border-color: var(--teal-900); }
.chips input:focus-visible + span { outline: 3px solid var(--teal-500); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 1rem; }
.check input { width: 20px; height: 20px; accent-color: var(--teal-700); }
.est-out { background: var(--teal-900); color: var(--white); padding: 36px; clip-path: polygon(0 0, calc(100% - var(--fin)) 0, 100% var(--fin), 100% 100%, 0 100%); display: flex; flex-direction: column; justify-content: center; }
.est-out .eyebrow { color: var(--sun-300); }
.range { font: 800 clamp(1.9rem, 3.4vw, 2.7rem)/1.1 var(--display); color: var(--sun); margin-bottom: 14px; }

/* Facts list, for town and permit details */
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { font: 700 1rem var(--display); color: var(--teal-900); }
.facts dd { margin: 0; }

/* Bottom call band on every page */
.callband { background: var(--sun) var(--breeze-sun) 0 0/96px; color: var(--ink); padding: 72px 0; }
.callband-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 40px; align-items: center; background: var(--sun); padding: 44px; clip-path: polygon(0 0, calc(100% - var(--fin)) 0, 100% var(--fin), 100% 100%, 0 100%); }
.callband .eyebrow { color: var(--teal-900); }
.callband h2 { margin-bottom: 14px; }
.callband .btn { background: var(--teal-900); color: var(--white); }
.callband .btn:hover { background: var(--teal-800); color: var(--white); }
.callband .btn .btn-ico { background: var(--sun); color: var(--teal-900); }
.callband-cta p { font-size: .94rem; margin: 10px 0 0; text-align: center; }

/* Footer */
.foot { background: var(--ink); color: var(--teal-100); padding: 64px 0 40px; font-size: .98rem; }
.foot a { color: var(--white); }
.foot address { font-style: normal; margin-top: 12px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.foot-h { font: 700 1.12rem var(--display); color: var(--white); margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.disclosure { font-size: .84rem; line-height: 1.6; margin: 44px 0 12px; padding-top: 24px; border-top: 1px solid var(--teal-700); }
.legal { font-size: .84rem; margin: 0; }
.mobile-bar { display: none; }

@media (max-width: 1120px) {
  .menu-btn { display: block; order: 3; margin-left: 0; }
  .head-row { gap: 16px; justify-content: space-between; flex-wrap: wrap; }
  .head-call { margin-left: auto; }
  .nav { display: none; order: 4; width: 100%; flex-direction: column; gap: 0; margin: 0; padding-bottom: 12px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--teal-700); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .hero.sub .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-inline: 0; }
  .hero-copy, .hero.sub .hero-copy { padding: 40px 20px 36px; }
  .hero-photo { aspect-ratio: 3/2; min-height: 0; margin-left: 20px; }
  .split, .est, .callband-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split.flip > :first-child { order: 0; }
  .fig { position: static; }
  .script, .cards.three { grid-template-columns: minmax(0, 1fr); }
  .proof ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof li, .proof li:first-child { padding: 18px 16px; border-left: 0; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { padding: 64px 0; }
  .callband { padding: 40px 0; }
  .callband-grid { padding: 32px 24px; }
  .callband-cta p { text-align: left; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 82px; }
  .wrap { width: calc(100% - 32px); }
  .hero-copy, .hero.sub .hero-copy { padding-inline: 16px; }
  .hero-photo { margin-left: 16px; clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px); }
  .head-row { min-height: 64px; gap: 10px; }
  .brand { flex: 1 1 0; min-width: 0; gap: 10px; }
  .brand svg { width: 34px; height: 34px; }
  .brand-name { font-size: 1rem; }
  .menu-btn { padding: 7px 11px; font-size: .9rem; }
  .brand-name small, .head-call { display: none; }
  .cards, .areas { grid-template-columns: minmax(0, 1fr); }
  .phases { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .decisions li { grid-template-columns: 48px minmax(0, 1fr); }
  .mobile-bar { display: block; position: fixed; inset: auto 0 0 0; z-index: 50; background: var(--teal-900); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .mobile-bar .btn { width: 100%; justify-content: center; }
  .hero .btn, .callband .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
