/* Brand: tomballpipe.help — photo-led dark terracotta residential plumbing */
:root {
  --tom11-max: 1180px;
  --tom11-pad: clamp(1.15rem, 3vw, 2rem);
  --tom11-accent: var(--dna-accent, #c35f3c);
  --tom11-accent-2: var(--dna-accent-2, #d68a6d);
  --tom11-bg: var(--dna-bg, #171310);
  --tom11-surface: var(--dna-surface, #211b17);
  --tom11-surface-2: var(--dna-surface-2, #2a221d);
  --tom11-ink: var(--dna-ink, #f4eee8);
  --tom11-muted: var(--dna-ink-soft, #c7b9ae);
  --tom11-line: color-mix(in srgb, var(--tom11-ink) 16%, transparent);
  --tom11-ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--tom11-bg);
  color: var(--tom11-ink);
  font-family: 'Work Sans', system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.tom11-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, blockquote, .tom11-mark b {
  margin: 0;
  color: var(--tom11-ink);
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
.tom11-wrap {
  width: min(var(--tom11-max), calc(100% - 2 * var(--tom11-pad)));
  margin-inline: auto;
}
.tom11-skip {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .7rem 1rem;
  background: var(--tom11-accent);
  color: #17100d;
  text-decoration: none;
}
.tom11-skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--tom11-accent-2); outline-offset: 3px; }

/* Header */
.tom11-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--tom11-line);
  background: color-mix(in srgb, var(--tom11-bg) 92%, transparent);
  backdrop-filter: blur(14px);
}
.tom11-bar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.tom11-mark {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-right: auto;
  color: var(--tom11-ink);
  text-decoration: none;
}
.tom11-mark img { width: 38px; height: 38px; }
.tom11-mark b { display: block; font-size: 1.08rem; letter-spacing: -.01em; }
.tom11-mark small { display: block; color: var(--tom11-muted); font-size: .76rem; }
.tom11-nav { display: flex; gap: 1.6rem; align-items: center; }
.tom11-nav a {
  padding-block: .4rem;
  color: var(--tom11-muted);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}
.tom11-nav a:hover, .tom11-nav a[aria-current="page"] { color: var(--tom11-ink); }
.tom11-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font: 700 .9rem/1 'Work Sans', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--tom11-ease), background .2s ease, color .2s ease;
}
.tom11-btn:hover { transform: translateY(-2px); }
.tom11-btn:active { transform: translateY(0); }
.tom11-btn--solid { background: var(--tom11-accent); color: #190e0a; }
.tom11-btn--solid:hover { background: var(--tom11-accent-2); }
.tom11-btn--ghost { border-color: var(--tom11-line); color: var(--tom11-ink); }
.tom11-menu-btn {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  border: 1px solid var(--tom11-line);
  border-radius: 6px;
  background: transparent;
  color: var(--tom11-ink);
}
.tom11-menu-btn span,
.tom11-menu-btn span::before,
.tom11-menu-btn span::after {
  width: 19px;
  height: 2px;
  display: block;
  position: relative;
  background: currentColor;
}
.tom11-menu-btn span::before,
.tom11-menu-btn span::after { content: ""; position: absolute; left: 0; }
.tom11-menu-btn span::before { top: -6px; }
.tom11-menu-btn span::after { top: 6px; }
.tom11-sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-content: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--tom11-bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.tom11-sheet.is-open { opacity: 1; pointer-events: auto; }
.tom11-sheet nav { display: grid; gap: 1.1rem; text-align: center; }
.tom11-sheet nav a { font: 650 2rem/1 'Crimson Pro', serif; text-decoration: none; }
.tom11-sheet-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 46px;
  height: 46px;
  border: 1px solid var(--tom11-line);
  border-radius: 6px;
  background: transparent;
  color: var(--tom11-ink);
  font-size: 1.6rem;
}

/* Home hero */
.tom11-hero {
  min-height: min(780px, calc(100dvh - 74px));
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: url('../images/hero.png') center 58% / cover no-repeat;
}
.tom11-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 12, 9, .94) 0%, rgba(17, 12, 9, .75) 45%, rgba(17, 12, 9, .2) 78%),
    linear-gradient(0deg, rgba(17, 12, 9, .82), transparent 52%);
}
.tom11-hero-inner {
  min-height: inherit;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: clamp(4rem, 10vw, 7rem) 2.4rem;
}
.tom11-hero-copy { max-width: 690px; }
.tom11-location,
.tom11-section-label {
  margin: 0 0 1rem;
  color: var(--tom11-accent-2);
  font-size: .88rem;
  font-weight: 650;
  letter-spacing: .015em;
}
.tom11-hero h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
}
.tom11-hero-lede {
  max-width: 58ch;
  margin: 1.4rem 0 0;
  color: #eee3da;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
}
.tom11-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.tom11-text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--tom11-ink);
  font-weight: 650;
  text-decoration-color: var(--tom11-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.tom11-text-link::after { content: "→"; color: var(--tom11-accent-2); transition: transform .2s var(--tom11-ease); }
.tom11-text-link:hover::after { transform: translateX(4px); }
.tom11-owner-line {
  margin: auto 0 0;
  padding-top: 2rem;
  color: #ddd0c6;
  font-size: .86rem;
}

/* Shared home */
.tom11-services-home,
.tom11-process,
.tom11-about-home,
.tom11-contact-strip,
.tom11-final-cta { padding-block: clamp(4.5rem, 9vw, 8rem); }
.tom11-section-intro { max-width: 760px; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.tom11-section-intro h2,
.tom11-about-copy h2,
.tom11-contact-strip h2,
.tom11-final-cta h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}
.tom11-section-intro > p:last-child,
.tom11-about-copy > p,
.tom11-final-cta p {
  max-width: 64ch;
  margin: 1.15rem 0 0;
  color: var(--tom11-muted);
}
.tom11-service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.tom11-service-photo { margin: 0; }
.tom11-service-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}
.tom11-service-photo figcaption { margin-top: .75rem; color: var(--tom11-muted); font-size: .82rem; }
.tom11-service-list { border-top: 1px solid var(--tom11-line); }
.tom11-service-list article {
  padding: 1.15rem 0 1.25rem;
  border-bottom: 1px solid var(--tom11-line);
}
html[data-site-domain="tomballpipe.help"] body .tom11-services-home .tom11-service-list .service-card {
  border: 0;
  border-bottom: 1px solid var(--tom11-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.tom11-service-list article span { font: 650 1.45rem/1.15 'Crimson Pro', serif; }
.tom11-service-list article p { margin: .35rem 0 0; color: var(--tom11-muted); }
.tom11-service-list > .tom11-text-link { margin-top: 1.5rem; }

.tom11-process { background: var(--tom11-surface); }
.tom11-section-intro--compact { margin-bottom: 2.5rem; }
.tom11-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 1px solid var(--tom11-line);
}
.tom11-steps li { padding: 1.7rem 2rem 0 0; }
.tom11-steps li + li { padding-left: 2rem; border-left: 1px solid var(--tom11-line); }
.tom11-steps li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tom11-accent);
  color: #190e0a;
  font-weight: 800;
}
.tom11-steps h3 { margin-top: 1.25rem; font-size: 1.55rem; }
.tom11-steps p { margin: .6rem 0 0; color: var(--tom11-muted); }

.tom11-about-home-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}
.tom11-about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
}
.tom11-facts { margin: 2rem 0; border-top: 1px solid var(--tom11-line); }
.tom11-facts div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--tom11-line);
}
.tom11-facts dt { color: var(--tom11-muted); font-size: .85rem; }
.tom11-facts dd { margin: 0; font-weight: 600; }

.tom11-contact-strip { background: var(--tom11-accent); color: #1b0f0a; }
.tom11-contact-strip h2, .tom11-contact-strip .tom11-section-label { color: #1b0f0a; }
.tom11-contact-strip-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 3rem;
  align-items: end;
}
.tom11-contact-lines { display: grid; gap: .9rem; }
.tom11-contact-lines a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(27, 15, 10, .35);
  color: #1b0f0a;
  text-decoration: none;
}
.tom11-contact-lines span { font-size: .8rem; }
.tom11-contact-lines strong { overflow-wrap: anywhere; text-align: right; }

.tom11-final-cta { padding-block: clamp(3.5rem, 7vw, 6rem); }
.tom11-final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.tom11-final-cta p { max-width: 50ch; }

/* Interior pages */
.tom11-mast {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  background:
    linear-gradient(90deg, rgba(23, 19, 16, .98), rgba(23, 19, 16, .72)),
    url('../images/gallery-1.png') center / cover;
}
.tom11-crumb { margin: 0 0 1.5rem; color: var(--tom11-muted); font-size: .85rem; }
.tom11-crumb a { color: inherit; text-decoration: none; }
.tom11-mast h1 { max-width: 13ch; font-size: clamp(3rem, 7vw, 5rem); }
.tom11-lede { max-width: 60ch; margin: 1.25rem 0 0; color: var(--tom11-muted); font-size: 1.08rem; }
.tom11-page { padding-block: clamp(4rem, 8vw, 7rem); }
.tom11-svcpage [data-services-catalog] { display: grid; gap: 0; }
.tom11-svcpage .service-detail {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--tom11-line);
}
.tom11-svcpage .service-detail:nth-child(even) > div { order: 2; }
.tom11-svcpage .service-detail:nth-child(even) > img { order: 1; }
.tom11-svcpage .service-detail h3 { font-size: clamp(2rem, 4vw, 3rem); }
.tom11-svcpage .service-detail p { color: var(--tom11-muted); }
.tom11-svcpage .service-detail img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}

.tom11-about { padding-block: clamp(4rem, 8vw, 7rem); }
.tom11-about .grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}
.tom11-about blockquote { font-size: clamp(2.2rem, 5vw, 4rem); }
.tom11-about .who { display: flex; align-items: center; gap: .8rem; margin-top: 1.5rem; }
.tom11-about .av { width: 42px; height: 42px; border-radius: 50%; background: var(--tom11-accent); }
.tom11-about .who b, .tom11-about .who small { display: block; }
.tom11-about .who small, .tom11-about .body p { color: var(--tom11-muted); }
.tom11-about-frame { margin-top: 2rem; }
.tom11-about-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }

.tom11-contact-band { padding-block: clamp(3.5rem, 7vw, 6rem); }
.contact-page { display: grid; gap: 2rem; }
.tom11-contact-band [data-contact-info] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--tom11-line);
}
.tom11-info h3 { font: 650 1rem/1.2 'Work Sans', sans-serif; }
.tom11-info p { margin: .5rem 0 0; color: var(--tom11-muted); overflow-wrap: anywhere; }
.tom11-info a { text-decoration-color: var(--tom11-accent); text-underline-offset: 4px; }
.tom11-bk {
  max-width: 540px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 10px;
  background: var(--tom11-surface);
}
.tom11-bk h2 { font-size: clamp(2rem, 4vw, 3rem); }
.tom11-bk-label { display: block; margin: 1.4rem 0 .45rem; font-weight: 700; }
.tom11-bk input {
  width: 100%;
  min-height: 50px;
  padding: .8rem 1rem;
  border: 1px solid var(--tom11-line);
  border-radius: 6px;
  background: var(--tom11-bg);
  color: var(--tom11-ink);
  font: inherit;
}
.tom11-bk-hint { color: var(--tom11-muted); }
.tom11-bk-error { color: #ffb5a2; }
.tom11-bk-form .tom11-btn { margin-top: 1rem; }
.tom11-bk-thanks { font: 650 1.8rem/1.2 'Crimson Pro', serif; }
.tom11-prose { max-width: 72ch; }
.tom11-prose h2 { margin: 2.25rem 0 .65rem; font-size: 1.8rem; }
.tom11-prose p { color: var(--tom11-muted); }

/* Footer */
.tom11-foot { padding-block: 1.5rem; border-top: 1px solid var(--tom11-line); }
.tom11-foot-base {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--tom11-muted);
  font-size: .78rem;
}
.tom11-foot-base > span { min-width: 0; overflow-wrap: anywhere; }
.tom11-foot-base a { color: inherit; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .tom11-nav, .tom11-bar-inner > .tom11-btn { display: none; }
  .tom11-menu-btn { display: grid; }
  .tom11-service-layout,
  .tom11-about-home-grid,
  .tom11-contact-strip-inner,
  .tom11-about .grid { grid-template-columns: 1fr; }
  .tom11-service-photo { max-width: 640px; }
  .tom11-about-photo { max-width: 600px; }
  .tom11-steps { grid-template-columns: 1fr; }
  .tom11-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 1rem; padding: 1.35rem 0; }
  .tom11-steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--tom11-line); }
  .tom11-steps h3 { margin-top: 0; }
  .tom11-contact-band [data-contact-info] { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .tom11-bar-inner { min-height: 66px; }
  .tom11-mark small { display: none; }
  .tom11-hero { min-height: 720px; background-position: 58% center; }
  .tom11-hero-shade {
    background:
      linear-gradient(90deg, rgba(17, 12, 9, .94), rgba(17, 12, 9, .52)),
      linear-gradient(0deg, rgba(17, 12, 9, .9), transparent 60%);
  }
  .tom11-hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .tom11-actions { align-items: flex-start; flex-direction: column; }
  .tom11-services-home,
  .tom11-process,
  .tom11-about-home,
  .tom11-contact-strip,
  .tom11-final-cta { padding-block: 4rem; }
  .tom11-final-cta-inner { align-items: flex-start; flex-direction: column; }
  .tom11-contact-lines a { align-items: flex-start; flex-direction: column; }
  .tom11-contact-lines strong { text-align: left; }
  .tom11-facts div { grid-template-columns: 1fr; gap: .2rem; }
  .tom11-svcpage .service-detail { grid-template-columns: 1fr; }
  .tom11-svcpage .service-detail:nth-child(even) > div,
  .tom11-svcpage .service-detail:nth-child(even) > img { order: initial; }
  .tom11-contact-band [data-contact-info] { grid-template-columns: 1fr; }
  .tom11-foot-base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
