/*
  Wasatch Plumbing Co. — sample Sprint tokens
  Distinct from Funnel Fox: no rust/orange, no cream paper, no Roboto Condensed.
  White + deep navy + brass. Oswald (headings) + Source Sans 3 (body). Phone-first.
*/

@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap");

:root {
  --plumb-paper: #ffffff;
  --plumb-navy: #10243f;
  --plumb-navy-ink: #0b1a30;
  --plumb-brass: #b08a3c;
  --plumb-brass-deep: #8a6a28;
  --plumb-ink: #1b2838;
  --plumb-muted: #5a6b7c;
  --plumb-line: #d4dbe3;
  --plumb-well: #eef2f6;
  --plumb-display: Oswald, "Arial Narrow", "Impact", sans-serif;
  --plumb-sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
  --plumb-radius: 4px;
  --plumb-wrap: 880px;
  --plumb-gutter: 20px;
  --plumb-sticky-h: 56px;
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--plumb-paper);
  color: var(--plumb-ink);
  font-family: var(--plumb-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--plumb-sticky-h) + 12px);
}

@media (min-width: 720px) {
  body {
    padding-bottom: 0;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--plumb-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.12;
}

a {
  color: var(--plumb-navy);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--plumb-brass-deep);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--plumb-brass);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 30;
  padding: 8px 12px;
  background: var(--plumb-navy);
  color: var(--plumb-paper);
  text-decoration: none;
}

.skip:focus {
  top: 8px;
}

.wrap {
  width: min(100% - (var(--plumb-gutter) * 2), var(--plumb-wrap));
  margin-inline: auto;
}

/* Sample notice — not a Funnel Fox rust bar */

.sample-banner {
  margin: 0;
  padding: 8px var(--plumb-gutter);
  background: var(--plumb-navy-ink);
  color: #d7dee6;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
}

.sample-banner a {
  color: #e8c56a;
  font-weight: 600;
}

.sample-banner a:hover {
  color: #fff4cc;
}

/* Utility header: mark + wordmark + brass phone */

.firm-header {
  background: var(--plumb-paper);
  border-bottom: 3px solid var(--plumb-navy);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 8px 0;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--plumb-navy);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--plumb-navy);
}

.mark {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
}

.wordmark-text {
  font-family: var(--plumb-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.wordmark-text span {
  display: block;
  font-family: var(--plumb-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--plumb-brass-deep);
}

.call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  background: var(--plumb-brass);
  color: var(--plumb-navy-ink);
  border-radius: var(--plumb-radius);
  font-family: var(--plumb-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.call-btn:hover {
  background: #c9a04a;
  color: var(--plumb-navy-ink);
}

.header-call {
  display: none;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.95rem;
  white-space: nowrap;
}

@media (min-width: 720px) {
  .mark {
    width: 40px;
    height: 40px;
  }

  .wordmark-text {
    font-size: 1.35rem;
  }

  .header-call {
    display: inline-flex;
  }
}

/* Hero — copy + cropped work photo. Not a blank navy slab. */

.hero {
  background: var(--plumb-navy);
  color: var(--plumb-paper);
}

.hero-grid {
  display: grid;
}

.hero-copy {
  width: min(100% - (var(--plumb-gutter) * 2), var(--plumb-wrap));
  margin-inline: auto;
  padding: 28px 0 24px;
}

.hero .kicker {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c9d4e0;
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(1.85rem, 8.4vw, 3.15rem);
  font-weight: 700;
}

.hero .offer {
  margin: 12px 0 0;
  max-width: 34ch;
  font-size: 1.0625rem;
  line-height: 1.45;
  color: #d5dde6;
}

.hero-copy .call-btn {
  margin-top: 20px;
  width: 100%;
}

.hero-photo {
  margin: 0;
  background: var(--plumb-navy-ink);
}

.hero-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: 42% 38%;
}

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 48px 40px 48px min(48px, 6vw);
  }

  .hero-copy .call-btn {
    width: auto;
    align-self: flex-start;
    min-width: 240px;
  }

  .hero-photo img {
    height: 100%;
    min-height: 520px;
    object-position: 45% 35%;
  }
}

/* Trust strip */

.trust {
  background: var(--plumb-navy-ink);
  color: #e4ebf2;
  border-bottom: 3px solid var(--plumb-brass);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 0;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  font-family: var(--plumb-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-list li:not(:last-child)::after {
  content: "·";
  margin: 0 0.7em;
  color: var(--plumb-brass);
  font-weight: 700;
}

/* Sections */

.block {
  padding: 40px 0;
}

.block h2 {
  margin: 0 0 18px;
  font-size: 1.55rem;
  color: var(--plumb-navy);
}

.block p {
  margin: 0;
}

/* Three jobs — stacked rows, brass edge, no numbers */

.jobs {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--plumb-line);
}

.jobs li {
  padding: 18px 0 18px 16px;
  border-bottom: 1px solid var(--plumb-line);
  border-left: 4px solid var(--plumb-brass);
}

.jobs h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  color: var(--plumb-navy);
}

.jobs p {
  margin: 0;
  color: var(--plumb-muted);
  font-size: 0.975rem;
}

/* Mid-page work strip */

.work-strip {
  margin: 0;
  background: var(--plumb-navy-ink);
}

.work-strip img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center 55%;
}

@media (min-width: 720px) {
  .work-strip img {
    height: 260px;
  }
}

/* Hours */

.hours {
  background: var(--plumb-well);
}

.hours-list {
  margin: 0;
  padding: 0;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--plumb-line);
  font-size: 0.975rem;
}

.hours-list div:last-child {
  border-bottom: 0;
}

.hours-list dt {
  font-weight: 600;
  color: var(--plumb-navy);
}

.hours-list dd {
  margin: 0;
  text-align: right;
  color: var(--plumb-ink);
}

.hours-note {
  margin-top: 16px;
  color: var(--plumb-muted);
  font-size: 0.9375rem;
}

/* Reviews placeholder — no stars, no quotes */

.reviews-well {
  padding: 20px 16px;
  border: 1px dashed var(--plumb-line);
  background: var(--plumb-well);
  color: var(--plumb-muted);
  font-size: 1rem;
}

/* Contact — navy scene, not leftover fields */

.contact {
  padding: 48px 0 56px;
  background: var(--plumb-navy);
  color: var(--plumb-paper);
}

.contact h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
  color: var(--plumb-paper);
}

.contact-lead {
  margin: 0 0 24px;
  max-width: 36ch;
  color: #c9d4e0;
}

.callout {
  margin-bottom: 28px;
  padding: 16px 18px;
  background: var(--plumb-navy-ink);
  border-left: 4px solid var(--plumb-brass);
}

.callout p {
  margin: 0 0 6px;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c9d4e0;
}

.callout a {
  color: #e8c56a;
  font-family: var(--plumb-display);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.callout a:hover {
  color: #fff4cc;
}

.field {
  margin-top: 14px;
}

.field:first-of-type {
  margin-top: 0;
}

.contact label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #e8eef4;
}

.contact input,
.contact textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #3a516c;
  border-radius: var(--plumb-radius);
  background: var(--plumb-paper);
  color: var(--plumb-ink);
  font-family: inherit;
  font-size: 1rem;
}

.contact textarea {
  min-height: 120px;
  resize: vertical;
}

.contact input:focus-visible,
.contact textarea:focus-visible {
  outline: 2px solid var(--plumb-brass);
  outline-offset: 2px;
  border-color: var(--plumb-brass);
}

.form-actions {
  margin-top: 18px;
}

.contact button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--plumb-radius);
  background: var(--plumb-brass);
  color: var(--plumb-navy-ink);
  font-family: var(--plumb-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact button[type="submit"]:hover {
  background: #c9a04a;
}

.form-hint,
.form-status {
  margin: 12px 0 0;
  font-size: 0.875rem;
  color: #b7c2ce;
}

.form-status[hidden] {
  display: none;
}

@media (min-width: 720px) {
  .contact button[type="submit"] {
    width: auto;
    min-width: 220px;
  }
}

/* Footer */

.firm-footer {
  padding: 28px 0 36px;
  background: var(--plumb-navy-ink);
  color: #b7c2ce;
  font-size: 0.8125rem;
}

.firm-footer p {
  margin: 0;
  max-width: 42ch;
}

/* Sticky call bar — phone-first, hidden on wider screens */

.sticky-call {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--plumb-sticky-h);
  background: var(--plumb-brass);
  color: var(--plumb-navy-ink);
  font-family: var(--plumb-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}

.sticky-call:hover {
  color: var(--plumb-navy-ink);
  background: #c9a04a;
}

@media (min-width: 720px) {
  .sticky-call {
    display: none;
  }
}
