/* Ben Miller Plumbing: graphite + saffron + chrome */
:root {
  --ink: #141518; --ink-2: #1d1f24; --ink-3: #2a2d34; --ink-line: #33363e;
  --saffron: #ffc21a; --saffron-hi: #ffd659; --saffron-d: #d99e00; --on-saffron: #1a1300;
  --chrome: #c9ced6; --chrome-hi: #eef1f5;
  --paper: #f5f3ee; --card: #ffffff; --line: #e3dfd5; --text: #1b1c20; --muted: #5d6068;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 18px 40px -22px rgba(20, 21, 24, .45);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hh: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--saffron); color: var(--on-saffron); padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
.tbc { font-family: var(--display); font-size: .78em; font-weight: 700; color: #9a6a00; background: #fff1c2; border: 1px dashed #d9a400; padding: 0 .35em; border-radius: 5px; white-space: nowrap; }
.kicker { font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron-d); margin-bottom: .8em; display: inline-flex; align-items: center; gap: .55em; }
.lede { font-size: 1.1rem; color: var(--muted); }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 1rem/1 var(--display); padding: 16px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--saffron); color: var(--on-saffron); box-shadow: 0 10px 24px -10px rgba(255, 194, 26, .7); }
.btn-primary:hover { background: var(--saffron-hi); }
.btn-ghost { border-color: rgba(238, 241, 245, .35); color: var(--chrome-hi); }
.btn-ghost:hover { border-color: var(--saffron); color: var(--saffron); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-block { width: 100%; }

/* Call button (header + floating share one style) */
.call-btn { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--saffron); color: var(--on-saffron); text-decoration: none; font: 700 .98rem/1 var(--display); box-shadow: 0 10px 26px -10px rgba(255, 194, 26, .75), inset 0 -2px 0 rgba(0, 0, 0, .12); transition: transform .2s, background .2s; }
.call-btn:hover { background: var(--saffron-hi); transform: translateY(-1px); }
.call-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--saffron); display: grid; place-items: center; flex: none; }
.call-ico svg { width: 18px; height: 18px; }
.float-call { position: fixed; right: 18px; bottom: 18px; z-index: 60; padding: 10px 22px 10px 10px; font-size: 1.05rem; opacity: 0; visibility: hidden; transform: translateY(18px) scale(.96); transition: opacity .3s, transform .3s, visibility .3s, background .2s; }
.float-call .call-ico { width: 40px; height: 40px; }
.float-call.is-visible { opacity: 1; visibility: visible; transform: none; }
.float-call.is-visible::before { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid var(--saffron); opacity: 0; animation: ring 2.6s ease-out infinite; }
@keyframes ring { 0% { opacity: .7; transform: scale(.94); } 70%, 100% { opacity: 0; transform: scale(1.12); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(20, 21, 24, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .06); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -16px rgba(0, 0, 0, .7); }
.header-inner { height: var(--hh); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.wordmark { font: 700 1.2rem/1 var(--display); letter-spacing: -.02em; display: flex; flex-direction: column; gap: 3px; }
.wordmark span { font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; color: var(--saffron); font-weight: 600; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--chrome); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.header-call { display: flex; align-items: center; gap: 14px; }
.header-phone { text-decoration: none; font: 700 1.08rem/1.1 var(--display); color: #fff; display: flex; flex-direction: column; text-align: right; }
.header-phone small { font: 600 .68rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--chrome); opacity: .8; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--ink-line); background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; }

/* Hero */
.hero { position: relative; background: radial-gradient(120% 90% at 78% 40%, #24262c 0%, var(--ink) 55%, #0d0e10 100%); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 194, 26, .5), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 20px; min-height: min(calc(100vh - var(--hh)), 760px); padding: 40px 0; }
.hero .kicker { color: var(--saffron); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 4px rgba(255, 194, 26, .2); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 700; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, var(--chrome-hi) 0%, #9aa1ab 35%, #fff 52%, #8c939d 70%, var(--chrome-hi) 100%); -webkit-background-clip: text; background-clip: text; }
.hero .lede { color: #c4c8cf; max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts li { padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; color: #d6d9de; }
.hero-facts strong { color: var(--saffron); font-family: var(--display); margin-right: .25em; }
.hero .tbc { background: rgba(255, 194, 26, .14); color: var(--saffron-hi); border-color: rgba(255, 194, 26, .5); }
.hero-visual { position: relative; height: min(76vh, 680px); min-height: 420px; }
#mixer3d { position: absolute; inset: -20px -40px; width: calc(100% + 80px); height: calc(100% + 40px); display: block; }

/* Trust */
.trust { background: var(--ink-2); color: #fff; border-top: 1px solid rgba(255,255,255,.04); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-row p { margin: 0; padding: 22px 18px; display: flex; flex-direction: column; border-left: 1px solid var(--ink-line); }
.trust-row p:first-child { border-left: 0; padding-left: 0; }
.trust-row strong { font-family: var(--display); color: var(--saffron); font-size: 1.05rem; }
.trust-row span { color: #b9bdc4; font-size: .92rem; }
.trust .tbc { background: rgba(255, 194, 26, .14); color: var(--saffron-hi); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }

/* Services */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; min-height: 340px; display: flex; align-items: flex-end; box-shadow: var(--shadow); isolation: isolate; }
.svc--wide { grid-column: span 2; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 21, 24, 0) 30%, rgba(20, 21, 24, .92) 100%); }
.svc:hover img { transform: scale(1.06); }
.svc-body { padding: 24px; }
.svc-body h3 { font-size: 1.35rem; margin-bottom: .3em; }
.svc-body h3::before { content: ""; display: block; width: 28px; height: 3px; background: var(--saffron); border-radius: 2px; margin-bottom: 12px; }
.svc-body p { margin: 0; color: #d2d5da; font-size: .97rem; }
.svc .tbc { background: rgba(255, 194, 26, .18); color: var(--saffron-hi); }

/* About */
.section-about { background: var(--card); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photo::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border: 2px solid var(--saffron); border-radius: var(--radius); z-index: -1; }
.about-photo { isolation: isolate; }
.about-photo figcaption { font-size: .82rem; color: var(--muted); margin-top: 26px; }
.tbc-box { border: 1.5px dashed #d9a400; background: #fff8e0; padding: 14px 16px; border-radius: var(--radius-sm); color: #7a5500; font-size: .95rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--saffron) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23141518' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Area */
.area-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.chips { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }
.chip .tbc { font-size: .68rem; }
.chip--home { background: var(--ink); color: var(--saffron); border-color: var(--ink); }
.area-photo { margin: 0; }
.area-photo img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Reviews */
.section-reviews { background: var(--ink); color: #fff; }
.section-reviews .kicker { color: var(--saffron); }
.placeholder-note { color: #b9bdc4; font-size: .95rem; border-left: 3px solid var(--saffron); padding-left: 12px; }
.reviews { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--ink-2); border: 1px dashed rgba(255, 194, 26, .45); border-radius: var(--radius); padding: 26px; position: relative; }
.review-badge { display: inline-block; font: 700 .7rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--on-saffron); background: var(--saffron); padding: 6px 10px; border-radius: 999px; margin-bottom: 16px; }
.review blockquote { margin: 0 0 14px; font-size: 1.06rem; color: #e3e6ea; }
.review blockquote p { margin: 0; }
.reviewer { margin: 0; color: #9ca1a9; font-size: .9rem; }

/* Quote (fits one screen) */
.section-quote { position: relative; color: #fff; background: var(--ink); overflow: hidden; padding: clamp(36px, 5vh, 64px) 0; }
.quote-bg { position: absolute; inset: 0; z-index: 0; }
.quote-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(.3); }
.quote-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 21, 24, .96) 0%, rgba(20, 21, 24, .82) 45%, rgba(20, 21, 24, .9) 100%); }
.quote-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.section-quote .kicker { color: var(--saffron); }
.quote-intro .lede { color: #c4c8cf; }
.quote-call { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; padding: 12px 22px 12px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 194, 26, .4); font: 700 1.3rem/1.1 var(--display); margin: 6px 0 16px; }
.quote-call small { display: block; font: 600 .72rem/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: #b9bdc4; }
.quote-call-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--saffron); color: var(--ink); display: grid; place-items: center; }
.quote-call-icon svg { width: 22px; height: 22px; }
.quote-email { color: #b9bdc4; }
.quote-email a { color: var(--saffron); }
.quote-form { background: #fbfaf7; color: var(--text); border-radius: 20px; padding: 22px 24px 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); border-top: 4px solid var(--saffron); }
.field { margin-bottom: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font: 600 .84rem/1.3 var(--display); margin-bottom: 4px; color: var(--ink); }
.req { color: #c28400; }
.optional { color: var(--muted); font-weight: 500; font-family: var(--body); }
.field input, .field select, .field textarea { width: 100%; font: 500 .98rem/1.3 var(--body); color: var(--text); background: #fff; border: 1.5px solid #d9d4c8; border-radius: 10px; padding: 10px 12px; min-height: 44px; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141518' stroke-width='1.8'/%3E%3C/svg%3E") right 12px center/12px no-repeat; padding-right: 34px; }
.field textarea { resize: vertical; min-height: 76px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--saffron-d); box-shadow: 0 0 0 4px rgba(255, 194, 26, .28); }
.field .error { margin: 3px 0 0; font-size: .8rem; color: #b3261e; font-weight: 600; min-height: 0; }
.field .error:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; background: #fff6f5; }
.form-note { font-size: .8rem; color: var(--muted); margin: 2px 0 10px; }
.form-status { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff3c4; border: 1px solid #e8b400; color: #5a4000; font-weight: 600; font-size: .92rem; }

/* Footer */
.site-footer { background: #0e0f11; color: #c4c8cf; padding: 56px 0 96px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.brand-footer { color: #fff; margin-bottom: 14px; }
.footer-tag { max-width: 32em; font-size: .95rem; }
.footer-contact { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 24px; }
.footer-contact dt { font: 700 .74rem/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); margin-bottom: 4px; }
.footer-contact dd { margin: 0; color: #e8eaee; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--saffron); }
.footer-contact .tbc { background: rgba(255, 194, 26, .14); color: var(--saffron-hi); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid #24262b; margin-top: 40px; padding-top: 20px; font-size: .85rem; color: #8d929a; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--saffron); text-decoration: none; }

/* Reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: var(--hh); left: 0; right: 0; background: var(--ink); border-bottom: 1px solid var(--ink-line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 10px 20px 18px; }
  .nav a { padding: 14px 8px; font-size: 1.05rem; }
  .header-call { margin-left: auto; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding: 36px 0 10px; gap: 0; }
  .hero-visual { height: 440px; min-height: 0; }
  #mixer3d { inset: 0 -20px; width: calc(100% + 40px); height: 100%; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc:last-child { grid-column: span 2; }
  .about-grid, .area-grid, .quote-grid { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-row p:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --hh: 64px; }
  .brand-mark { width: 34px; height: 34px; }
  .wordmark { font-size: 1.02rem; }
  .call-btn--header { padding: 6px 14px 6px 6px; font-size: .9rem; }
  .call-btn--header .call-ico { width: 30px; height: 30px; }
  .header-inner { gap: 10px; }
  .header-call { gap: 8px; }
  .header-phone { display: none; }
  .hero-visual { height: 360px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc--wide, .svc:last-child { grid-column: auto; }
  .svc { min-height: 280px; }
  .quote-intro .lede, .quote-email { display: none; }
  .quote-intro h2 { font-size: 1.7rem; margin-bottom: .3em; }
  .quote-call { margin: 0; font-size: 1.1rem; padding: 8px 18px 8px 8px; }
  .quote-call-icon { width: 38px; height: 38px; }
  .quote-grid { gap: 16px; }
  .quote-form { padding: 16px 14px 14px; }
  .field-row { gap: 8px; }
  .field label { font-size: .78rem; }
  .field input, .field select, .field textarea { padding: 8px 10px; font-size: 16px; min-height: 40px; }
  .field textarea { min-height: 60px; }
  .footer-contact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .call-btn--header .call-txt { display: none; }
  .call-btn--header { padding: 6px; }
}
