/* Precision Fine Cabinetry — shared styles */
:root {
  --bone: #F2EEE6;
  --bone-2: #E8E2D6;
  --ink: #23272A;
  --ink-2: #4A5055;
  --moss: #35483F;
  --moss-2: #2A3A32;
  --brass: #B08D57;
  --walnut: #5A4030;
  --white: #FFFFFF;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
p { margin: 0 0 1em; max-width: 62ch; }
.lede { font-size: 1.2rem; color: var(--ink-2); }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.section--moss { background: var(--moss); color: var(--bone); }
.section--moss h2, .section--moss h3 { color: var(--bone); }
.section--moss .lede { color: #C9CFC7; }
.section--bone2 { background: var(--bone-2); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: 15px 26px; border-radius: var(--radius); text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--moss); color: var(--bone); border-color: var(--moss); }
.btn--primary:hover { background: var(--moss-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); }
.btn--light { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--light:hover { background: var(--white); }
.btn--wa { background: #1F8F5A; color: #fff; border-color: #1F8F5A; }
.btn--wa:hover { background: #17724a; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bone) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bone-2);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { height: 52px; width: auto; display: block; }
.brand__logo--footer { height: 64px; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .005em; }
.brand__sub { font-size: .72rem; color: var(--ink-2); letter-spacing: .04em; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brass); }
.header__cta { display: flex; align-items: center; gap: 18px; }
.header__phone { text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.header .btn { padding: 11px 18px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--ink); border-radius: var(--radius); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; background: var(--ink); color: var(--bone); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,24,26,.82) 0%, rgba(20,24,26,.55) 55%, rgba(20,24,26,.25) 100%); }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 48px; align-items: end; padding-block: clamp(90px, 14vw, 180px) clamp(56px, 8vw, 110px); }
.hero h1 { color: var(--bone); max-width: 17ch; }
.hero p { color: #D9D6CE; font-size: 1.15rem; max-width: 46ch; }
.hero .btn--ghost { color: var(--bone); border-color: rgba(242,238,230,.6); }
.hero .btn--ghost:hover { background: var(--bone); color: var(--ink); }

/* Spec sheet — the one memorable element, styled like a shop drawing title block */
.spec {
  background: var(--bone); color: var(--ink);
  border: 1px solid var(--ink);
  font-size: .9rem;
  justify-self: end; width: 100%; max-width: 360px;
}
.spec__head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px; border-bottom: 1px solid var(--ink); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.spec__head small { font-family: var(--sans); font-size: .75rem; font-weight: 500; color: var(--ink-2); }
.spec dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.spec dl > div { padding: 12px 18px; border-bottom: 1px solid var(--bone-2); }
.spec dl > div:nth-child(odd) { border-right: 1px solid var(--bone-2); }
.spec dl > div:nth-last-child(-n+2) { border-bottom: 0; }
.spec dt { font-size: .74rem; color: var(--ink-2); margin-bottom: 2px; }
.spec dd { margin: 0; font-weight: 600; }
.spec__foot { border-top: 1px solid var(--ink); padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--ink-2); }
.spec__foot b { color: var(--ink); font-weight: 600; }

/* Section heading row */
.row-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.row-head p { margin: 0; }
.row-head h2 { margin: 0; }

/* Work grid (services on home) */
.work { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.work__item { position: relative; text-decoration: none; color: var(--bone); overflow: hidden; background: var(--ink); min-height: 320px; }
.work__item img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .6s ease; }
.work__item:hover img { transform: scale(1.03); }
.work__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,26,0) 40%, rgba(20,24,26,.85) 100%); }
.work__body { position: relative; z-index: 1; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.work__body h3 { margin: 0 0 6px; color: var(--bone); }
.work__body p { margin: 0; color: #D9D6CE; font-size: .95rem; max-width: 40ch; }
.work__item--kitchens { grid-column: span 7; min-height: 460px; }
.work__item--vanities { grid-column: span 5; min-height: 460px; }
.work__item--closets { grid-column: span 4; }
.work__item--builtins { grid-column: span 4; }
.work__item--refacing { grid-column: span 4; }

/* Process (a real sequence, so numbering is earned) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(242,238,230,.25); }
.step { padding: 32px 28px 8px 0; border-right: 1px solid rgba(242,238,230,.18); padding-right: 28px; }
.step:last-child { border-right: 0; }
.step + .step { padding-left: 28px; }
.step__n { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--brass); margin-bottom: 18px; }
.step h3 { font-size: 1.45rem; margin-bottom: 8px; }
.step p { font-size: .98rem; color: #C9CFC7; margin: 0; }

/* Two-column feature */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature--flip .feature__media { order: 2; }
.feature__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feature__media--wide img { aspect-ratio: 4 / 3; }
.feature h2 { margin-bottom: 20px; }

/* Definition list of materials / details */
.details { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.details li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--bone-2); }
.details li b { font-weight: 600; }
.details li span { color: var(--ink-2); }
.section--moss .details { border-top-color: rgba(242,238,230,.4); }
.section--moss .details li { border-bottom-color: rgba(242,238,230,.16); }
.section--moss .details li span { color: #C9CFC7; }

/* Assurances (plain list, not cards) */
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.assure h3 { font-size: 1.5rem; margin-bottom: 8px; padding-top: 18px; border-top: 2px solid var(--brass); display: inline-block; }
.assure p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* CTA band */
.cta { background: var(--walnut); color: var(--bone); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.cta h2 { color: var(--bone); margin: 0 0 10px; }
.cta p { color: #E3D8CC; margin: 0; }
.cta .btn--ghost { color: var(--bone); border-color: rgba(242,238,230,.6); }
.cta .btn--ghost:hover { background: var(--bone); color: var(--walnut); }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(64px, 10vw, 120px) clamp(40px, 6vw, 72px); }
.page-hero h1 { margin-bottom: 18px; max-width: 16ch; }
.page-hero .lede { max-width: 56ch; }
.page-hero--img { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.page-hero--img img { aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }

/* Service blocks (services page) */
.svc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--bone-2); }
.svc:first-of-type { border-top: 0; }
.svc__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.svc ul { columns: 2; column-gap: 32px; padding: 0 0 0 18px; margin: 18px 0 24px; color: var(--ink-2); }
.svc ul li { break-inside: avoid; margin-bottom: 6px; }

/* Stats-free "at a glance" strip */
.glance { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--ink); }
.glance div { padding: 24px 20px; border-right: 1px solid var(--bone-2); }
.glance div:last-child { border-right: 0; }
.glance b { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; margin-bottom: 4px; }
.glance span { color: var(--ink-2); font-size: .92rem; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact__info h2 { margin-bottom: 20px; }
.contact__list { list-style: none; padding: 0; margin: 0 0 28px; border-top: 1px solid var(--ink); }
.contact__list li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--bone-2); }
.contact__list li span { color: var(--ink-2); }
.contact__list a { text-decoration: none; font-weight: 600; }
.contact__list a:hover { text-decoration: underline; }
.form { background: var(--white); border: 1px solid var(--bone-2); padding: clamp(24px, 4vw, 40px); }
.form h3 { margin-bottom: 6px; }
.form > p { color: var(--ink-2); font-size: .95rem; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 13px 14px; border: 1px solid #C9C3B7; border-radius: var(--radius); background: var(--bone); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--brass); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: .85rem; color: var(--ink-2); margin: 14px 0 0; }
.map { margin-top: clamp(48px, 7vw, 96px); border: 1px solid var(--bone-2); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.2); }

/* Footer */
.footer { background: var(--ink); color: #C9CFC7; padding-block: clamp(48px, 6vw, 80px) 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(242,238,230,.14); }
.footer .brand__name, .footer .brand__sub { color: var(--bone); }
.footer .brand__sub { color: #9AA39E; }
.footer p { font-size: .95rem; max-width: 34ch; margin-top: 16px; }
.footer h4 { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--bone); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; font-size: .95rem; }
.footer a { text-decoration: none; color: #C9CFC7; }
.footer a:hover { color: var(--bone); text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: .85rem; color: #8F9893; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #1F8F5A; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); text-decoration: none;
}
.wa-float svg { width: 28px; height: 28px; }

/* Responsive */
@media (max-width: 1024px) {
  .work__item--kitchens { grid-column: span 12; min-height: 400px; }
  .work__item--vanities { grid-column: span 12; min-height: 360px; }
  .work__item--closets, .work__item--builtins, .work__item--refacing { grid-column: span 6; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(3) { padding-left: 0; }
  .step:nth-child(3), .step:nth-child(4) { border-top: 1px solid rgba(242,238,230,.18); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .glance { grid-template-columns: 1fr 1fr; }
  .glance div:nth-child(2) { border-right: 0; }
  .glance div:nth-child(3), .glance div:nth-child(4) { border-top: 1px solid var(--bone-2); }
}
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .header__cta .btn { display: none; }
  .nav { position: absolute; top: 80px; left: 0; right: 0; background: var(--bone); border-bottom: 1px solid var(--bone-2); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; display: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--bone-2); font-size: 1.05rem; }
  .nav a[aria-current="page"], .nav a:hover { border-bottom-color: var(--bone-2); color: var(--brass); }
  .nav-open .nav { display: flex; }
  .hero__inner { grid-template-columns: 1fr; align-items: start; gap: 40px; }
  .spec { justify-self: start; max-width: 420px; }
}
@media (max-width: 860px) {
  .brand__logo { height: 44px; }
  .row-head, .feature, .page-hero--img, .svc, .contact, .cta__inner { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .feature__media img { aspect-ratio: 4 / 3; }
  .assure { grid-template-columns: 1fr; }
  .work__item--closets, .work__item--builtins, .work__item--refacing { grid-column: span 12; min-height: 280px; }
  .svc ul { columns: 1; }
  .details li, .contact__list li { grid-template-columns: 1fr; gap: 4px; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .header__phone { display: none; }
  .brand__logo { height: 40px; }
  .header__inner { height: 68px; }
  .nav { top: 68px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; padding-left: 0 !important; border-top: 1px solid rgba(242,238,230,.18); }
  .step:first-child { border-top: 0; }
  .field-row { grid-template-columns: 1fr; }
  .glance { grid-template-columns: 1fr; }
  .glance div { border-right: 0; border-top: 1px solid var(--bone-2); }
  .glance div:first-child { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .work__item:hover img { transform: none; }
}
