/* ==========================================================================
   Visentin Plumbing & Heating — Cedar Grove, NJ (since 1999)
   "Copperline" — deep patina teal-green + copper + off-white.
   Space Grotesk + Inter. Signature motif: a copper pipe joint.
   ========================================================================== */
:root {
  --bone:    #f4f1ea;
  --bone-2:  #e9e3d6;
  --bone-3:  #ded5c2;
  --white:   #fffdf8;
  --ink:     #1c2422;
  --ink-soft:#4a544f;
  --ink-faint:#7d857f;
  --teal:    #0f3b3a;
  --teal-deep:#0a2a29;
  --teal-ink:#071d1c;
  --copper:  #b86a3e;
  --copper-deep:#9a532c;
  --copper-soft:#dba277;
  --line:   rgba(28,36,34,.13);
  --line-2: rgba(28,36,34,.24);
  --cop-line: rgba(154,83,44,.45);
  --shadow-sm: 0 1px 2px rgba(28,36,34,.05), 0 4px 14px rgba(28,36,34,.07);
  --shadow-md: 0 10px 30px rgba(28,36,34,.11), 0 3px 8px rgba(28,36,34,.06);
  --shadow-lg: 0 30px 70px rgba(10,42,41,.24), 0 8px 22px rgba(28,36,34,.10);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --r-sm: 7px; --r-md: 12px; --r-lg: 18px; --r-pill: 999px;
  --maxw: 1180px; --gutter: clamp(20px,5vw,60px); --ease: cubic-bezier(.2,.7,.2,1);
}
*,*::before,*::after { box-sizing: border-box; } * { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} }
body { font-family: var(--body); color: var(--ink); background: var(--bone); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img,svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 3px; }
.skip-link { position:absolute; left:12px; top:-60px; background:var(--teal); color:#fff; padding:10px 16px; border-radius:var(--r-sm); z-index:200; transition:top .2s var(--ease); }
.skip-link:focus { top:12px; }

h1,h2,h3,h4 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; color: var(--teal-ink); }
.display { font-size: clamp(2.8rem,7vw,5.4rem); font-weight: 700; letter-spacing: -0.035em; line-height: .98; }
h2 { font-size: clamp(2rem,4.4vw,3.2rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem,2.4vw,1.65rem); }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.1rem,1.9vw,1.32rem); color: var(--ink-soft); line-height: 1.6; }
.eyebrow { font-family: var(--body); font-weight: 700; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-deep); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content:""; width:24px; height:2px; background: var(--copper); }
.eyebrow.center-eb { justify-content: center; }
.accent { color: var(--copper-deep); }

.wrap { width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.section { padding-block: clamp(66px,9vw,130px); }
.section-tight { padding-block: clamp(48px,6vw,86px); }
.center { text-align:center; } .measure { max-width:60ch; } .measure-c { max-width:62ch; margin-inline:auto; }
.mt-1{margin-top:16px;} .mt-2{margin-top:28px;} .mt-3{margin-top:46px;}

.btn { --bg:var(--copper); --fg:#fff; display:inline-flex; align-items:center; justify-content:center; gap:10px; background:var(--bg); color:var(--fg); font-family:var(--body); font-weight:700; font-size:.98rem; padding:15px 28px; border-radius:var(--r-sm); border:2px solid transparent; box-shadow:var(--shadow-sm); transition:transform .2s var(--ease),box-shadow .25s var(--ease),background .2s var(--ease); white-space:nowrap; }
.btn:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); background:var(--copper-deep); }
.btn:active { transform:translateY(0); }
.btn--teal { --bg:var(--teal); --fg:#fff; } .btn--teal:hover { background:var(--teal-deep); }
.btn--ghost { --bg:transparent; --fg:var(--teal); border-color:var(--line-2); box-shadow:none; }
.btn--ghost:hover { background:var(--white); border-color:var(--copper); color:var(--copper-deep); }
.btn svg { width:18px; height:18px; }

.site-header { position:sticky; top:0; z-index:100; background:color-mix(in srgb,var(--bone) 86%,transparent); backdrop-filter:blur(12px) saturate(1.2); border-bottom:1px solid transparent; transition:border-color .3s var(--ease),background .3s var(--ease),box-shadow .3s var(--ease); }
.site-header.scrolled { border-bottom-color:var(--cop-line); box-shadow:var(--shadow-sm); background:color-mix(in srgb,var(--bone) 94%,transparent); }
.topbar { background: var(--teal-ink); color: rgba(255,255,255,.85); font-size:.82rem; }
.topbar .wrap { display:flex; justify-content:space-between; align-items:center; gap:14px; height:38px; flex-wrap:wrap; overflow:hidden; }
.topbar a { color:#fff; font-weight:600; }
.topbar .pill24 { background: var(--copper); color:#fff; font-weight:700; padding:2px 10px; border-radius:var(--r-pill); font-size:.74rem; letter-spacing:.04em; }
@media (max-width:620px){ .topbar .lic { display:none; } }

.nav { display:flex; align-items:center; justify-content:space-between; gap:20px; height:78px; }
.brand { display:inline-flex; align-items:center; gap:12px; }
.brand .pipe { width:34px; height:34px; flex:none; }
.brand .wordmark { font-family:var(--display); font-weight:700; font-size:1.24rem; color:var(--teal-ink); letter-spacing:-.02em; line-height:1; }
.brand small { display:block; font-family:var(--body); font-weight:700; font-size:.58rem; letter-spacing:.18em; text-transform:uppercase; color:var(--copper-deep); margin-top:3px; }
.nav-links { display:flex; align-items:center; gap:2px; }
.nav-links a { padding:9px 14px; border-radius:var(--r-sm); font-weight:600; font-size:.95rem; color:var(--ink-soft); transition:color .2s var(--ease),background .2s var(--ease); }
.nav-links a:hover { color:var(--teal); background:var(--white); }
.nav-links a[aria-current="page"] { color:var(--teal-deep); background:color-mix(in srgb,var(--copper) 16%,transparent); }
.nav-actions { display:flex; align-items:center; gap:12px; }
.nav-toggle { display:none; width:46px; height:46px; border-radius:var(--r-sm); border:1px solid var(--line-2); background:var(--white); align-items:center; justify-content:center; }
.nav-toggle svg { width:24px; height:24px; }
@media (max-width:980px){ .nav-links,.nav-actions .btn--call-desktop{ display:none; } .nav-toggle{ display:inline-flex; } .nav.open .nav-links{ display:flex; flex-direction:column; align-items:stretch; gap:4px; position:absolute; left:var(--gutter); right:var(--gutter); top:74px; background:var(--white); padding:14px; border-radius:var(--r-lg); border:1px solid var(--line); box-shadow:var(--shadow-lg); } .nav.open .nav-links a{ padding:13px 16px; font-size:1.05rem; } }

.hero { position:relative; padding-top:clamp(38px,5vw,70px); padding-bottom:clamp(50px,7vw,110px); overflow:hidden; }
.hero::before { content:""; position:absolute; inset:0; z-index:-2; background:radial-gradient(70% 70% at 88% -5%,color-mix(in srgb,var(--copper-soft) 32%,transparent) 0,transparent 58%),radial-gradient(60% 80% at -5% 110%,color-mix(in srgb,var(--teal) 10%,transparent) 0,transparent 55%); }
.hero-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(28px,4vw,60px); align-items:center; }
.hero h1 { margin-top:16px; }
.hero .lead { margin-top:22px; max-width:46ch; }
.hero-cta { display:flex; flex-wrap:wrap; gap:14px; margin-top:30px; }
.hero-trust { display:flex; flex-wrap:wrap; gap:20px; margin-top:30px; align-items:center; }
.stars { display:inline-flex; align-items:center; gap:8px; font-weight:700; color:var(--ink); font-size:.96rem; }
.stars .s { color:var(--copper-deep); letter-spacing:1px; }
.trust-i { font-weight:600; color:var(--ink); display:inline-flex; align-items:center; gap:8px; font-size:.95rem; }
.trust-i svg { width:18px; height:18px; color:var(--teal); }
.hero-photo { position:relative; border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-lg); border:6px solid var(--white); aspect-ratio:4/3; background:var(--bone-2); }
.hero-photo > img { width:100%; height:100%; object-fit:cover; }
.hero-photo .tagchip { position:absolute; left:16px; bottom:16px; background:var(--teal-ink); color:var(--bone); font-weight:700; font-size:.82rem; padding:9px 16px; border-radius:var(--r-sm); box-shadow:var(--shadow-md); }
.hero-badge { position:absolute; top:-12px; right:-12px; background:var(--white); border-radius:var(--r-sm); box-shadow:var(--shadow-md); padding:10px 16px; z-index:3; border:1px solid var(--cop-line); font-weight:800; color:var(--teal-ink); font-size:.86rem; }
.hero-badge b { color:var(--copper-deep); }
@media (max-width:860px){ .hero-grid{ grid-template-columns:1fr; } .hero-art{ max-width:480px; } }

.grid { display:grid; gap:clamp(16px,2.4vw,26px); }
.grid-3 { grid-template-columns:repeat(3,1fr); } .grid-2 { grid-template-columns:repeat(2,1fr); } .grid-4 { grid-template-columns:repeat(4,1fr); }
@media (max-width:880px){ .grid-3,.grid-4{ grid-template-columns:1fr 1fr; } } @media (max-width:600px){ .grid-3,.grid-4,.grid-2{ grid-template-columns:1fr; } }
.card { background:var(--white); border:1px solid var(--line); border-radius:var(--r-md); padding:clamp(22px,3vw,32px); box-shadow:var(--shadow-sm); transition:transform .25s var(--ease),box-shadow .3s var(--ease),border-color .3s var(--ease); display:block; }
.card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--cop-line); }
.card .ic { width:52px; height:52px; border-radius:var(--r-sm); display:grid; place-items:center; background:color-mix(in srgb,var(--copper) 14%,var(--white)); color:var(--teal); margin-bottom:18px; border:1px solid var(--cop-line); }
.card .ic svg { width:28px; height:28px; }
.card h3 { margin-bottom:10px; } .card p { font-size:.98rem; }
.card .more { margin-top:16px; display:inline-flex; align-items:center; gap:7px; font-weight:700; font-size:.84rem; letter-spacing:.04em; text-transform:uppercase; color:var(--copper-deep); }
.card .more svg { width:15px; height:15px; transition:transform .2s var(--ease); } .card:hover .more svg { transform:translateX(4px); }

.checklist li { display:flex; gap:13px; padding:12px 0; align-items:flex-start; font-size:1.02rem; color:var(--ink); border-bottom:1px solid var(--line); }
.checklist li:last-child { border-bottom:0; }
.checklist .ck { width:22px; height:22px; flex:none; color:var(--copper-deep); margin-top:3px; }

.band { background:var(--teal-ink); color:var(--bone); position:relative; overflow:hidden; }
.band::before { content:""; position:absolute; inset:0; opacity:.5; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Ccircle cx='24' cy='24' r='8' fill='none' stroke='%23ffffff' stroke-opacity='0.05'/%3E%3C/svg%3E"); }
.band > * { position:relative; z-index:1; }
.band h2,.band h3 { color:#fff; } .band p { color:rgba(244,241,234,.82); }
.band .eyebrow { color:var(--copper-soft); } .band .eyebrow::before { background:var(--copper-soft); }
.band .stat b { color:var(--copper-soft); }

.statline { display:flex; flex-wrap:wrap; gap:clamp(22px,5vw,56px); }
.stat b { font-family:var(--display); font-size:clamp(2.2rem,4.5vw,3.2rem); color:var(--teal); display:block; line-height:1; font-weight:700; }
.stat span { font-size:.86rem; color:var(--ink-faint); font-weight:600; margin-top:5px; display:block; }

.split { display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,4vw,64px); align-items:center; }
@media (max-width:860px){ .split{ grid-template-columns:1fr; } }
.photo-frame { border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-lg); border:6px solid var(--white); position:relative; aspect-ratio:4/3; background:var(--bone-2); }
.photo-frame img { width:100%; height:100%; object-fit:cover; }
.photo-frame .cap { position:absolute; bottom:14px; left:14px; background:var(--teal-ink); color:var(--bone); font-weight:700; font-size:.8rem; padding:8px 14px; border-radius:var(--r-sm); }
.photo-slot { border-radius:var(--r-lg); border:1.5px dashed var(--cop-line); background:linear-gradient(155deg,var(--bone-2),var(--bone-3)); display:grid; place-items:center; aspect-ratio:4/3; position:relative; overflow:hidden; text-align:center; padding:24px; }
.photo-slot .pipe { width:22%; opacity:.85; }
.photo-slot .slot-note { position:absolute; bottom:12px; left:12px; right:12px; font-size:.72rem; color:var(--ink-faint); font-weight:600; }

.info-card { background:linear-gradient(160deg,var(--teal),var(--teal-deep)); color:#fff; border-radius:var(--r-lg); padding:clamp(26px,3vw,38px); box-shadow:var(--shadow-lg); position:relative; overflow:hidden; }
.info-card h3 { color:#fff; }
.info-card .status { display:inline-flex; align-items:center; gap:9px; font-weight:700; padding:7px 15px; border-radius:var(--r-pill); background:rgba(255,255,255,.12); margin-bottom:14px; font-size:.9rem; }
.info-card .dot { width:10px; height:10px; border-radius:50%; background:var(--copper-soft); box-shadow:0 0 0 4px rgba(219,162,119,.25); }
.contact-rows li { display:flex; gap:15px; padding:16px 0; border-bottom:1px solid var(--line); align-items:flex-start; }
.contact-rows li:last-child { border-bottom:0; }
.contact-rows .ic { width:44px; height:44px; border-radius:var(--r-sm); background:color-mix(in srgb,var(--copper) 14%,var(--white)); color:var(--teal); display:grid; place-items:center; flex:none; border:1px solid var(--cop-line); }
.contact-rows .ic svg { width:21px; height:21px; }
.contact-rows .lbl { font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; color:var(--ink-faint); font-weight:700; }
.contact-rows .val { font-weight:600; color:var(--ink); font-size:1.05rem; }
.contact-rows a.val:hover { color:var(--copper-deep); }
.map-embed { border:0; width:100%; height:100%; min-height:320px; border-radius:var(--r-lg); filter:saturate(.9) contrast(1.02); }

.cta-band { background:linear-gradient(160deg,var(--copper),var(--copper-deep)); border-radius:var(--r-lg); padding:clamp(38px,5vw,68px); text-align:center; box-shadow:var(--shadow-lg); }
.cta-band h2 { color:#fff; } .cta-band p { color:rgba(255,253,248,.9); }
.cta-band .hero-cta { justify-content:center; } .cta-band .btn--teal { --bg:var(--teal-ink); }

.site-footer { background:var(--teal-ink); color:var(--bone); padding-block:clamp(50px,6vw,78px) 30px; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1.2fr; gap:clamp(26px,4vw,48px); }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } } @media (max-width:540px){ .footer-grid{ grid-template-columns:1fr; } }
.site-footer .brand .wordmark { color:var(--bone); }
.site-footer p { color:rgba(244,241,234,.62); font-size:.95rem; }
.footer-col h4 { font-family:var(--body); font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; color:var(--copper-soft); margin-bottom:16px; }
.footer-col a { display:block; color:rgba(244,241,234,.78); padding:6px 0; font-size:.96rem; transition:color .2s var(--ease); }
.footer-col a:hover { color:var(--bone); }
.footer-bottom { margin-top:42px; padding-top:22px; border-top:1px solid rgba(244,241,234,.13); display:flex; flex-wrap:wrap; gap:12px 24px; justify-content:space-between; align-items:center; }
.footer-bottom p { font-size:.83rem; color:rgba(244,241,234,.5); }

.callbar { position:fixed; left:12px; right:12px; bottom:12px; z-index:90; display:none; gap:10px; background:color-mix(in srgb,var(--teal-ink) 96%,transparent); backdrop-filter:blur(8px); padding:10px; border-radius:var(--r-sm); box-shadow:var(--shadow-lg); }
.callbar .btn { flex:1; padding:13px; font-size:.96rem; }
@media (max-width:980px){ .callbar{ display:flex; } body{ padding-bottom:86px; } }

.reveal { opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease),transform .7s var(--ease); }
.reveal.in { opacity:1; transform:none; }
.reveal[data-d="1"]{ transition-delay:.08s; } .reveal[data-d="2"]{ transition-delay:.16s; } .reveal[data-d="3"]{ transition-delay:.24s; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

.crumbs { font-size:.84rem; color:var(--ink-faint); padding-top:24px; } .crumbs a:hover { color:var(--copper-deep); } .crumbs span { margin:0 8px; opacity:.5; }
.page-hero { padding-top:clamp(26px,4vw,52px); padding-bottom:clamp(28px,4vw,54px); }
.page-hero h1 { margin-top:14px; font-size:clamp(2.4rem,5.6vw,4rem); }
.page-hero .lead { margin-top:16px; }
.pill-list { display:flex; flex-wrap:wrap; gap:10px; } .pill { background:var(--white); border:1px solid var(--line); border-radius:var(--r-pill); padding:9px 18px; font-weight:600; font-size:.92rem; color:var(--ink-soft); }

/* ---------- Recent-work gallery ---------- */
.workgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.workgrid figure{margin:0;border-radius:var(--r-md);overflow:hidden;box-shadow:var(--shadow-sm);position:relative;aspect-ratio:1/1;background:var(--bone-2)}
.workgrid img{width:100%;height:100%;object-fit:cover;transition:transform .55s var(--ease)}
.workgrid figure:hover img{transform:scale(1.06)}
.workgrid figure.wide{grid-column:span 2;aspect-ratio:2/1}
.workgrid figcaption{position:absolute;left:10px;bottom:10px;background:color-mix(in srgb,var(--teal-ink) 88%,transparent);color:var(--bone);font-weight:700;font-size:.72rem;padding:5px 11px;border-radius:var(--r-pill)}
@media(max-width:820px){.workgrid{grid-template-columns:repeat(2,1fr)}.workgrid figure.wide{grid-column:span 2}}
