/* Flowwork — conversion-first plumbing */
:root {
  --ink: #000000;
  --ink-soft: #080706;
  --muted: #000000;
  --line: #cfc9bf;
  --paper: #f3efe8;
  --white: #fbf9f5;
  --copper: #4169E1;
  --copper-deep: #4040dd;
  --navy: #4169E1;
  --navy-deep: #0c0a09;
  --danger: #50C878;
  --max: 1100px;
  --header-h: 70px;
  --font: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; border: none; background: none; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.3rem;
}
@media (min-width: 768px) { .container { padding-inline: 1.85rem; } }

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.5rem;
}
h1, h2, h3 {
  font-family: var(--font);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 40ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.88rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 2px;
  transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--copper-deep); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #068a27; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-block { width: 100%; }
.btn-lg { padding: 1rem 1.5rem; font-size: 1rem; }

.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  font-size: 0.84rem;
  padding: 0.5rem 0;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.topbar strong { color: #e66666; }
.topbar a:hover { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(243, 239, 232, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}
.logo {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.logo em { font-style: normal; color: var(--copper); }
.main-nav { display: none; }
.nav-list { display: flex; gap: 1.5rem; align-items: center; }
.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.header-cta { display: none; }
.nav-toggle {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: var(--white);
}
.hamburger {
  width: 18px; height: 1.5px;
  background: var(--ink); position: relative;
}
.hamburger::before, .hamburger::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 1.5px; background: var(--ink);
  transition: transform 0.2s, top 0.2s;
}
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 899px) {
  .main-nav {
    display: block; position: fixed; left: 0; right: 0;
    top: calc(var(--header-h) + 28px);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.4rem 0 1rem;
    transform: translateY(-8px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 49; max-height: 65vh; overflow-y: auto;
  }
  .main-nav.is-open {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    display: block; padding: 1rem 1.3rem;
    border-bottom: 1px solid var(--line);
    color: var(--ink); font-size: 1.05rem;
  }
}
@media (min-width: 900px) {
  .main-nav {
    display: block; position: static;
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: none; background: transparent; border: 0; padding: 0;
  }
  .header-cta { display: inline-flex; gap: 0.5rem; }
  .nav-toggle { display: none; }
  .nav-list { flex-direction: row; }
  .nav-link { border: 0; padding: 0; font-size: 0.88rem; color: var(--muted); }
}

/* Hero conversion */
.hero {
  padding: 2.2rem 0 3rem;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
  }
  .hero { padding: 3rem 0 3.75rem; }
}
.hero h1 {
  font-size: clamp(2.15rem, 4.8vw, 3.2rem);
  margin-bottom: 0.9rem;
  max-width: 14ch;
}
.hero .lead { margin-bottom: 1.4rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
  font-size: 0.86rem;
  color: var(--muted);
}
.hero-trust strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.4rem 1.25rem;
  box-shadow: 0 12px 40px rgba(20, 18, 16, 0.06);
}
.hero-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}
.hero-card > p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.hero-card .field { margin-bottom: 0.75rem; }
.hero-card label {
  font-size: 0.78rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
}
.hero-card input,
.hero-card select {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 2px;
}
.hero-card input:focus,
.hero-card select:focus {
  outline: none;
  border-color: var(--copper);
  background: var(--white);
}
.hero-card input.is-invalid {
  border-color: var(--danger);
  background: #fef2f2;
}

.emergency {
  background: var(--navy-deep);
  color: #fff;
  padding: 1.5rem 0;
}
.emergency-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.emergency h2 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}
.emergency p {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
}

.section {
  padding: 3.2rem 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 400px;
}
@media (min-width: 768px) { .section { padding: 4.4rem 0; } }
.section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}
.section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  margin-bottom: 0.6rem;
}
.section-head p { color: var(--muted); }

.cards {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.45rem;
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}
.card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1rem;
  flex: 1;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
.split-photo img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: 2px;
  filter: contrast(1.03) saturate(0.92);
}
.split-body h2 {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  margin-bottom: 0.75rem;
}
.split-body p {
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.checklist {
  display: grid;
  gap: 0.5rem;
  margin: 1.1rem 0 1.4rem;
}
.checklist li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.94rem;
}
.checklist li::before {
  content: "";
  width: 7px; height: 7px;
  margin-top: 0.45rem;
  background: var(--copper);
  flex-shrink: 0;
}

.quotes {
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 800px) {
  .quotes { grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
}
.quotes blockquote {
  background: var(--white);
  border-top: 3px solid var(--copper);
  padding: 1.25rem 1.1rem;
}
.quotes p {
  font-family: var(--font);
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 0.85rem;
  line-height: 1.4;
}
.quotes footer { font-size: 0.84rem; color: var(--muted); }
.quotes strong { display: block; color: var(--ink); font-family: var(--sans); }

.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.areas span {
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
.gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.gallery figcaption {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.55rem 0.7rem;
}

.page-hero {
  padding: 2.5rem 0 2.2rem;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.55rem);
  margin-bottom: 0.45rem;
}
.page-hero p {
  color: var(--muted);
  max-width: 46ch;
}

.stack { border-top: 1px solid var(--line); }
.stack-row {
  display: grid;
  gap: 1rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) {
  .stack-row {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.75rem;
  }
}
.stack-row h3 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}
.stack-row p {
  color: var(--muted);
  font-size: 0.93rem;
  max-width: 52ch;
}

.contact-grid {
  display: grid;
  gap: 2.25rem;
}
@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
  }
}
.contact-aside h2 {
  font-size: 1.4rem;
  margin-bottom: 0.55rem;
}
.contact-aside p {
  color: var(--muted);
  margin-bottom: 1.35rem;
}
.detail + .detail { margin-top: 1rem; }
.detail strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.2rem;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.6rem 1.35rem;
}
.form-card h2 {
  font-size: 1.3rem;
  margin-bottom: 1.15rem;
}
.form-grid { display: grid; gap: 0.9rem; }
@media (min-width: 560px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 0.28rem; }
.field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.72rem 0.85rem;
  border-radius: 2px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: var(--white);
}
.field input.is-invalid {
  border-color: var(--danger);
  background: #fef2f2;
}
.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #067647;
  font-size: 0.92rem;
}
.form-success.is-visible { display: block; }

.faq-list { display: grid; gap: 0.55rem; max-width: 720px; }
.faq-item {
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  padding: 1rem 1.1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item button span:last-child { color: var(--copper); }
.faq-item .faq-body {
  display: none;
  padding: 0 1.1rem 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.faq-item.is-open .faq-body { display: block; }

.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 2.75rem 0 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 260px;
}
.footer-grid {
  display: grid;
  gap: 1.75rem;
  padding-bottom: 2.25rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand .logo {
  color: rgb(253, 253, 253);
  display: inline-block;
  margin-bottom: 0.7rem;
}
.footer-brand p { font-size: 0.9rem; max-width: 30ch; }
.footer-col h3 {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: rgba(255,255,255,0.68);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

.bg-white { background: var(--white); }

.sticky-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  background: var(--navy-deep);
  padding: 0.65rem 1rem;
  gap: 0.55rem;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.18);
}
@media (max-width: 899px) {
  .sticky-bar { display: flex; }
  .sticky-bar .btn { flex: 1; }
  body { padding-bottom: 64px; }
}

/* Before / after work */
.ba-grid {
  display: grid;
  gap: 1.35rem;
}
@media (min-width: 720px) {
  .ba-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.ba-pair {
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}
.ba-pair-title {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.9rem 1rem 0.15rem;
}
.ba-pair-meta {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 0 1rem 0.75rem;
}
.ba-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
}
.ba-shot {
  position: relative;
  margin: 0;
  background: #e7e2da;
}
.ba-shot img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.ba-label {
  position: absolute;
  left: 0.45rem;
  top: 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.22rem 0.45rem;
  border-radius: 2px;
  background: rgba(12, 10, 9, 0.88);
  color: #fff;
}
.ba-shot.is-after .ba-label {
  background: rgba(0, 0, 0, 0.95);
}
/* Soft hero wash — full width */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #ebe6dc;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;              /* full hero, not half */
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 100% 90% at 50% 0%,
      rgba(25, 153, 228, 0.18),
      transparent 60%
    ),
    radial-gradient(
      ellipse 90% 80% at 0% 50%,
      rgba(25, 153, 228, 0.12),
      transparent 55%
    ),
    radial-gradient(
      ellipse 90% 80% at 100% 50%,
      rgba(25, 153, 228, 0.12),
      transparent 55%
    ),
    radial-gradient(
      ellipse 80% 70% at 50% 100%,
      rgba(25, 153, 228, 0.1),
      transparent 55%
    ),
    linear-gradient(
      180deg,
      #f3efe8 0%,
      #ebe6dc 50%,
      #e5e0d6 100%
    );
}

.hero .container {
  position: relative;
  z-index: 1;
}