/* ==========================================================================
   Bob Cleaners LLC — bobcleaners.com
   Hand-written CSS. No framework, no build step.
   ========================================================================== */

:root {
  --ink:        #14161a;
  --ink-soft:   #3d434c;
  --muted:      #626973;
  --paper:      #ffffff;
  --wash:       #f6f4f1;
  --wash-deep:  #ecE7e1;
  --rule:       #ded8d0;
  --accent:     #a8431a;
  --accent-dk:  #82330f;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;

  --wrap: 70rem;
  --measure: 36rem;

  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.34rem + 0.8vw, 2rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.5vw, 2.9rem);
  --step-4: clamp(2.4rem, 1.85rem + 2.7vw, 4.1rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dk); text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.018em; margin: 0; font-weight: 700; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p  { margin: 0 0 1.15em; max-width: var(--measure); }

strong { font-weight: 650; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 48rem); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- Header ------------------------------------------------------ */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .9rem 0;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: auto; }
.brand-name { display: block; font-weight: 800; font-size: 1.14rem; letter-spacing: .01em; line-height: 1; }
.brand-sub  { display: block; font-size: .625rem; letter-spacing: .18em; text-transform: uppercase;
              color: var(--muted); margin-top: .28rem; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  color: var(--ink-soft); font-size: .935rem; font-weight: 550;
  text-decoration: none; padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

.header-phone {
  font-weight: 700; color: var(--ink); font-size: .96rem; white-space: nowrap;
  text-decoration: none; letter-spacing: .01em;
}
.header-phone:hover { color: var(--accent); text-decoration: none; }

/* ---------- Hero -------------------------------------------------------- */

.hero { position: relative; background: var(--ink); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero-inner { position: relative; padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero p  { color: #e7e3dd; font-size: var(--step-1); max-width: 42ch; margin-top: 1.4rem; }
.hero .btn { margin-top: 2rem; }

.page-head { padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--rule); }
.page-head h1 { max-width: 20ch; }
.page-head .lede { font-size: var(--step-1); color: var(--ink-soft); margin-top: 1.25rem; max-width: 46ch; }
.eyebrow {
  font-size: .72rem; letter-spacing: .19em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin: 0 0 1rem;
}
/* The diamond, small, in front of every section eyebrow. */
.eyebrow::before {
  content: ""; display: inline-block; width: .44rem; height: .44rem;
  background: var(--accent); transform: rotate(45deg);
  margin-right: .7rem; position: relative; top: -1px;
}

/* ---------- Buttons ----------------------------------------------------- */

.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: .85rem 1.7rem; font-weight: 650; font-size: 1rem;
  border: 2px solid var(--accent); letter-spacing: .01em;
}
.btn:hover { background: var(--accent-dk); border-color: var(--accent-dk); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero .btn-ghost { color: #fff; border-color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); }

/* ---------- Stats ------------------------------------------------------- */

.stats {
  background: var(--wash); border-block: 1px solid var(--rule);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  position: relative; overflow: hidden;
}
/* Watermark diamond — present, not loud. */
.stats::after {
  content: ""; position: absolute; right: -8rem; top: 50%; transform: translateY(-50%);
  width: 22rem; height: 22rem; opacity: .04; pointer-events: none;
  background: url("/images/mark.svg") no-repeat center / contain;
}
.stats .wrap { position: relative; z-index: 1; }
.stats-grid {
  display: grid; gap: 2rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.stat .num {
  display: block; font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.4rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat p { margin: .7rem 0 0; font-size: .96rem; color: var(--ink-soft); max-width: 26ch; }

/* ---------- Sections ---------------------------------------------------- */

section { padding: clamp(2.75rem, 6vw, 5rem) 0; }
section.tight { padding-block: clamp(2rem, 4vw, 3.25rem); }
.section-wash { background: var(--wash); border-block: 1px solid var(--rule); }
.section-ink  { background: var(--ink); color: #e9e5df; }
.section-ink h2 { color: #fff; }
.section-ink p  { color: #cfcac3; }
.section-ink a  { color: #f0b48c; }

h2 + .sub { margin-top: 1rem; color: var(--ink-soft); font-size: var(--step-1); max-width: 44ch; }

.services { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 2.5rem; }
.service h3 { margin-bottom: .6rem; }
.service p  { color: var(--ink-soft); }
.service .more { font-weight: 650; font-size: .95rem; }

.reasons { display: grid; gap: 2.25rem 3rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); margin-top: 2.5rem; }
.reason h3 { margin-bottom: .5rem; font-size: 1.12rem; }
.reason p { color: var(--ink-soft); margin: 0; }

.checklist { list-style: none; margin: 1.5rem 0 0; padding: 0; max-width: var(--measure); }
.checklist li { padding: .6rem 0 .6rem 1.6rem; border-bottom: 1px solid var(--rule); position: relative; color: var(--ink-soft); }
/* Bullets are the diamond, rotated. */
.checklist li::before {
  content: ""; position: absolute; left: 1px; top: 1.12rem;
  width: .46rem; height: .46rem; background: var(--accent);
  transform: rotate(45deg);
}
.checklist li:last-child { border-bottom: 0; }

.proof { border-top: 3px solid var(--ink); padding-top: 1.15rem; margin-top: 2.25rem; }
.proof h3 { margin-bottom: .5rem; }
.proof p { color: var(--ink-soft); margin-bottom: 0; }

.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .split { grid-template-columns: 1.15fr .85fr; } }
.split.flip > figure { order: -1; }

figure { margin: 0; }
figure img { width: 100%; }
figcaption { font-size: .84rem; color: var(--muted); margin-top: .6rem; line-height: 1.45; }

/* Headshot source is only 200x300 — never render it larger than it can carry. */
.headshot { max-width: 220px; }
.headshot img { width: 100%; }

/* A tall 3:4 photo in a two-column split leaves a dead column beside short copy.
   Cap it so the row height stays close to the text height. */
.split figure.portrait { max-width: 24rem; }

.gallery { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin-top: 2rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery figcaption { font-size: .82rem; margin-top: .45rem; }
.gallery-3 { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); max-width: 52rem; }

.timestamp {
  display: inline-block; font-variant-numeric: tabular-nums;
  font-size: .74rem; letter-spacing: .14em; font-weight: 700;
  background: var(--ink); color: #fff; padding: .3rem .65rem; margin-bottom: .8rem;
}
.timestamp.clean { background: var(--accent); }

.beforeafter { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; margin-top: 2rem; max-width: 46rem; }
.beforeafter .tag {
  display: inline-block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; background: var(--ink); color: #fff; padding: .28rem .6rem; margin-bottom: .55rem;
}

/* ---------- Data table (capabilities) ----------------------------------- */

.datatable { width: 100%; border-collapse: collapse; margin-top: 1.75rem; max-width: 42rem; }
.datatable th, .datatable td { text-align: left; padding: .72rem .9rem .72rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; font-size: .97rem; }
.datatable th { font-weight: 650; color: var(--ink); width: 42%; }
.datatable td { color: var(--ink-soft); }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .04em; }

.perf { margin-top: 2rem; }
.perf-item { border-top: 1px solid var(--rule); padding: 1.5rem 0; }
.perf-item:last-child { border-bottom: 1px solid var(--rule); }
.perf-item h3 { margin-bottom: .45rem; }
.perf-item p { color: var(--ink-soft); margin-bottom: 0; }
.perf-item .ref { font-size: .87rem; color: var(--muted); font-style: italic; margin-top: .5rem; }

/* ---------- CTA band ---------------------------------------------------- */

.cta {
  background: var(--ink); color: #fff; padding: clamp(2.75rem, 6vw, 4.25rem) 0;
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -5rem; top: 50%; transform: translateY(-50%);
  width: 26rem; height: 26rem; opacity: .08; pointer-events: none;
  background: url("/images/mark.svg") no-repeat center / contain;
  filter: invert(1);
}
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: #cfcac3; margin-top: .9rem; font-size: var(--step-1); }
.cta-lines { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: center; }
.cta-lines a { color: #fff; font-weight: 650; font-size: 1.1rem; border-bottom: 2px solid var(--accent); }
.cta-lines a:hover { text-decoration: none; border-bottom-color: #fff; }

.contact-lines { margin: 1.5rem 0 0; }
.contact-lines a { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.02em; }
.contact-lines .label { font-size: .74rem; letter-spacing: .17em; text-transform: uppercase; color: var(--muted); font-weight: 700; display: block; margin-bottom: .1rem; }
.contact-lines > div { margin-bottom: 1.5rem; }

.arealist { columns: 2; column-gap: 2rem; list-style: none; padding: 0; margin: 1.25rem 0 0; max-width: 24rem; }
.arealist li { padding: .38rem 0; border-bottom: 1px solid var(--rule); color: var(--ink-soft); break-inside: avoid; }

/* ---------- Footer ------------------------------------------------------ */

.site-footer { border-top: 1px solid var(--rule); padding: 3rem 0 2.5rem; background: var(--wash); font-size: .93rem; }
.footer-logo { width: 92px; margin-bottom: 1.1rem; }
.proof, .perf-item { position: relative; }
.proof::before {
  content: ""; position: absolute; left: 0; top: -6px;
  width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg);
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.footer-grid h4 { font-size: .72rem; letter-spacing: .17em; text-transform: uppercase; color: var(--muted); margin: 0 0 .8rem; font-weight: 700; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .45rem; }
.footer-grid a { color: var(--ink-soft); }
.footer-grid a:hover { color: var(--accent); }
.footer-legal { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .86rem; }
.footer-legal p { max-width: none; margin: 0 0 .3rem; }

/* ---------- Utility ----------------------------------------------------- */

.lede-large { font-size: var(--step-2); line-height: 1.35; letter-spacing: -0.015em; font-weight: 650; max-width: 24ch; }
.note { font-size: .93rem; color: var(--muted); }
hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

@media (max-width: 46rem) {
  .header-inner { gap: .6rem 1rem; }
  .site-nav { margin-left: 0; order: 3; width: 100%; }
  .site-nav ul { gap: .55rem 1.1rem; }
  .site-nav a { font-size: .88rem; }
  .header-phone { margin-left: auto; order: 2; }
}

@media (max-width: 40rem) {
  .beforeafter { grid-template-columns: 1fr; max-width: 22rem; }
  .arealist { columns: 1; }
  .headshot { max-width: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .site-nav, .cta, .site-footer { display: none; }
  body { color: #000; }
  a { color: #000; }
}
