/* NC Perc Solutions — shared styles */
:root {
  --cream: #f8f4ec;
  --sand: #efe6d6;
  --line: #e0d4c0;
  --ink: #2a211b;
  --muted: #6b5d52;
  --loam: #241912;
  --loam-2: #33251b;
  --clay: #a94c27;
  --clay-dk: #8a3b1c;
  --moss: #3d5a3f;
  --white: #fffdf9;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(36, 25, 18, .06), 0 8px 24px rgba(36, 25, 18, .07);
  --wrap: 1140px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--clay-dk); }
a:hover { color: var(--clay); }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 100; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 var(--sans);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 22px; border-radius: 999px;
  font: 600 1rem/1 var(--sans); text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-dk); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.on-dark .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.on-dark .btn-ghost:hover { background: #fff; color: var(--loam); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 244, 236, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font: 600 1.12rem/1.1 var(--serif); letter-spacing: -.01em; }
.brand-sub { display: block; font: 500 .74rem/1.3 var(--sans); color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--clay); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .btn { padding: 11px 18px; font-size: .95rem; color: #fff; }
.nav .btn:hover { color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 28px; height: 28px; }

@media (max-width: 880px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"] { text-decoration: none; }
  .nav .btn { margin-top: 16px; border-bottom: 0; padding: 15px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600' fill='none' stroke='%23e0d4c0' stroke-width='1.2'%3E%3Cpath d='M-20 120c80-40 160 30 250-10s170-60 260 0 120 30 140 10'/%3E%3Cpath d='M-20 170c90-30 150 40 250 0s180-50 260 5 110 25 140 5'/%3E%3Cpath d='M-20 220c100-20 150 50 250 10s190-40 260 10 100 20 140 0'/%3E%3Cpath d='M-20 400c70-50 170 20 260-20s160-70 250-10 130 40 150 20'/%3E%3Cpath d='M-20 450c80-40 170 30 260-10s170-60 250 0 120 30 150 10'/%3E%3Cpath d='M-20 500c90-30 160 40 260 0s180-50 250 5 110 25 150 5'/%3E%3C/svg%3E");
  background-size: 600px 600px;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--clay); font-weight: 500; }
.hero .lead { margin-bottom: 30px; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--muted); }
.hero-note strong { color: var(--ink); }
.profile-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); padding: 22px 22px 16px; position: relative;
}
.profile-card figcaption { font-size: .82rem; color: var(--muted); margin-top: 10px; text-align: center; }
@media (max-width: 880px) {
  .hero { padding: 44px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .profile-card { max-width: 420px; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--loam); color: #f1e8da; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 28px 22px; border-left: 1px solid rgba(255,255,255,.1); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-num { font: 600 2.1rem/1 var(--serif); color: #fff; }
.trust-num small { font-size: 1rem; color: #e3a37f; margin-left: 2px; }
.trust-label { font-size: .9rem; color: #cdbfac; margin-top: 8px; line-height: 1.4; }
@media (max-width: 880px) {
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 22px 16px; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .trust-item:first-child { padding-left: 16px; }
  .trust-item:nth-child(-n+2) { border-top: 0; }
  .trust-item:nth-child(odd) { padding-left: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--loam); color: #efe5d6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #cdbfac; }
.section-head { max-width: 720px; margin-bottom: 48px; }
@media (max-width: 700px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: #f4e2d6; color: var(--clay-dk); margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); }
.card .for { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--muted); }
.card .for strong { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } .card { padding: 24px; } }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-top { align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font: 600 1.15rem/1 var(--serif);
  background: var(--clay); color: #fff;
}
.step::after {
  content: ""; position: absolute; top: 21px; left: 56px; right: -14px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }
.step p { color: #cdbfac; margin: 0; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { padding: 0 0 0 62px; min-height: 42px; }
  .step::after { display: none; }
}

/* Who chips */
.who { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.who span {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; font-size: .93rem; font-weight: 500;
}

/* Quote / about block */
.about-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 36px; box-shadow: var(--shadow);
}
.about-card blockquote {
  margin: 0 0 22px; font: 400 1.35rem/1.45 var(--serif); color: var(--ink);
}
.about-sig { display: flex; align-items: center; gap: 14px; }
.monogram {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--loam); color: #f1e8da;
  font: 600 1.15rem/1 var(--serif); letter-spacing: .02em;
}
.about-sig strong { display: block; }
.about-sig span { color: var(--muted); font-size: .92rem; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 600 1.12rem/1.4 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--clay); border-bottom: 2px solid var(--clay); transform: rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* CTA band */
.cta-band { background: var(--clay); color: #fff; padding: 72px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { color: #f6dccd; margin: 0; font-size: 1.08rem; }
.cta-band .btn-light { background: #fff; color: var(--clay-dk); }
.cta-band .btn-light:hover { background: var(--loam); color: #fff; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--clay-dk); }

/* Page header (inner pages) */
.page-head { padding: 72px 0 56px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head .lead { margin: 0; }
@media (max-width: 700px) { .page-head { padding: 48px 0 40px; } }

/* Service detail rows */
.service-row {
  display: grid; grid-template-columns: 300px 1fr; gap: 56px; padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 0; }
.service-row .num { font: 500 .85rem/1 var(--sans); letter-spacing: .14em; color: var(--clay); text-transform: uppercase; margin-bottom: 14px; }
.service-row h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.service-row .body p { color: var(--muted); }
.service-row .body h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; margin: 22px 0 10px; }
@media (max-width: 880px) { .service-row { grid-template-columns: 1fr; gap: 10px; padding: 44px 0; } }

/* Permitting paths */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.path.feature { border: 2px solid var(--clay); position: relative; }
.path .tag {
  display: inline-block; font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: var(--sand); color: var(--muted); margin-bottom: 14px;
}
.path.feature .tag { background: #f4e2d6; color: var(--clay-dk); }
.path p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 880px) { .paths { grid-template-columns: 1fr; } }

/* Commercial list */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tile {
  background: var(--loam-2); border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
  padding: 22px 16px; text-align: center; font-weight: 500; color: #f1e8da;
}
.tile svg { width: 30px; height: 30px; margin: 0 auto 10px; color: #e3a37f; }
@media (max-width: 880px) { .tiles { grid-template-columns: repeat(2, 1fr); } .tile:last-child { grid-column: span 2; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-method {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line);
}
.contact-method:first-of-type { padding-top: 0; }
.contact-method .card-icon { margin: 0; flex: none; }
.contact-method h3 { font: 600 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 4px 0 8px; }
.contact-method a.big { font: 600 1.5rem/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.contact-method a.big:hover { color: var(--clay); }
.contact-method p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.form h2 { font-size: 1.7rem; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } .form { padding: 24px 20px; } }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
  transition: border-color .15s, background .15s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--clay); background: #fff; }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: 10px; font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e3ecdf; color: #27412a; }
.form-status.err { background: #f6e0d6; color: #7a2f12; }

/* ---------- Footer ---------- */
.site-footer { background: var(--loam); color: #cdbfac; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-sub { color: #a8998a; }
.site-footer h4 { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 6px 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #e8dccb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-blurb { margin-top: 16px; max-width: 36ch; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: #a8998a;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: 72px; }
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(36, 25, 18, .96); border-top: 1px solid rgba(255,255,255,.08);
  }
  .call-bar .btn { padding: 13px 10px; }
  .call-bar .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Short brand tagline on small phones */
.sub-short { display: none; }
@media (max-width: 480px) {
  .sub-long { display: none; }
  .sub-short { display: inline; }
}
@media (max-width: 480px) { .trust-num { font-size: 1.6rem; } }
@media (max-width: 360px) { .brand-name { font-size: 1rem; } .brand-mark { width: 34px; height: 34px; } }
