@import url("/card-icons.css?v=space-19");

/* Canonical type contract for every public Plumbing Track page. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-mono.woff2") format("woff2");
}

:root {
  --font-geist-sans: "Geist", Arial, Helvetica, sans-serif;
  --font-geist-mono: "Geist Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

/*
 * Homepage comparison correction.
 * Keep the contrast in the content and gold rule instead of using a large dark-blue
 * "winner" block for the Plumbing Track column.
 */
.home-thesis .plumbing-comparison {
  background: #f4f7f7;
  border: 1px solid rgba(8, 19, 25, .14);
  gap: 0;
}

.home-thesis .comparison-column {
  background: transparent;
}

.home-thesis .comparison-column--track {
  background: transparent;
  border-left: 2px solid var(--gold, #d2b985);
  color: #061015;
}

.home-thesis .comparison-column--track .comparison-column__label {
  color: #173945;
}

.home-thesis .comparison-column--track .comparison-route li {
  border-color: rgba(8, 19, 25, .16);
  color: #061015;
}

.home-thesis .comparison-column--track .comparison-route li::before {
  color: var(--gold, #d2b985);
}

.home-thesis .comparison-column--track .comparison-close {
  color: #53666e;
}

/*
 * Dense content-page refinements. These selectors are intentionally page-specific;
 * the homepage hero and its breathing room are not part of this pass.
 */
.benefits-section,
.trust-section,
.contact-section {
  gap: clamp(1.1rem, 2.2vw, 1.75rem);
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
}

.supporting-section {
  padding-block: clamp(1.4rem, 2.6vw, 2rem);
}

/* "Tagline options" are source notes, not three simultaneous live taglines. */
.supporting-section .taglines {
  display: none;
}

.pt-page--our-work .work-section {
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
}

.pt-page--our-work .work-section__intro {
  margin-bottom: 1.1rem;
}

@media (max-width: 760px) {
  .home-thesis .comparison-column--track {
    border-left: 0;
    border-top: 2px solid var(--gold, #d2b985);
  }

  .benefits-section,
  .trust-section,
  .contact-section,
  .supporting-section,
  .pt-page--our-work .work-section {
    padding-block: 1.5rem;
  }
}

/* Compact headers; keep body measure and line-height so copy stays readable.
 * Homepage stack-panel hero sizing stays in index.html. */
.family-hero {
  min-height: 0;
  padding-bottom: 2rem;
  padding-top: 5.75rem;
}

.family-hero h1 {
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  line-height: 1.18;
  max-width: 28ch;
  text-wrap: pretty;
}

.family-section { padding-block: clamp(1.6rem, 3.2vw, 2.5rem); }

.family-section h2 {
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.22;
  max-width: 34ch;
  text-wrap: pretty;
}

.family-section .feature-grid,
.family-section .proof-strip {
  margin-top: 1.15rem;
}

@media (max-width: 900px) {
  .feature-grid,
  .installation-grid { grid-template-columns: 1fr; }
}

.pt-page--our-work .work-hero:not(.work-hero--split),
.pt-page--our-work .work-hero:not(.work-hero--split) .work-hero__content {
  min-height: 0;
}

.work-section {
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
}

main.pt-page > .hero {
  min-height: 0;
  padding-bottom: 2rem;
  padding-top: 5.75rem;
}

main.pt-page > .hero h1 {
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  max-width: 28ch;
}

.family-section .faq-intro h2 { max-width: none; }

/* Keep comparison content legible at narrow widths instead of forcing a
 * desktop table into cramped columns. */
.comparison-table { font-size: clamp(.9rem, 1.1vw, 1rem); }
.comparison-row { grid-template-columns: minmax(9rem, .7fr) minmax(0, 1fr) minmax(0, 1fr); }
.comparison-row > * { overflow-wrap: anywhere; }

.pt-page--our-work .work-hero h1 {
  font-size: clamp(1.75rem, 2.9vw, 2.55rem);
  line-height: 1.16;
  max-width: 22ch;
  text-wrap: pretty;
}

.pt-page .stack-panel--paper h2,
main.pt-page > .section h2 {
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  max-width: 34ch;
}

main.assessment-page h1 {
  font-size: clamp(1.85rem, 4.4vw, 4rem);
  max-width: none;
}

@media (max-width: 760px) {
  .family-hero { min-height: 0; }
  .family-hero h1,
  main.pt-page > .hero h1 {
    font-size: clamp(1.55rem, 6.2vw, 2.05rem);
    max-width: none;
  }
  .pt-page--our-work .work-hero h1 {
    font-size: clamp(1.55rem, 6.2vw, 2.05rem);
    max-width: none;
    text-wrap: pretty;
  }
  .eyebrow { white-space: nowrap !important; }
  .family-section h3,
  .work-section h3 { font-size: clamp(1rem, 3.2vw, 1.45rem); }
  .installation-step { grid-template-columns: 1fr; }
  .installation-step > div,
  .installation-step__number { grid-column: 1; }
  .installation-step h3 { font-size: clamp(1.25rem, 5vw, 1.65rem); }
  .family-hero .hero-copy { font-size: clamp(.9rem, 3.9vw, 1.15rem); }
  .family-section p,
  .family-section li,
  .family-section figcaption,
  .family-section .lead,
  .work-section p,
  .work-section li,
  .work-section figcaption {
    font-size: clamp(.9rem, 2.5vw, 1.05rem);
    text-wrap: pretty;
  }
  .feature p,
  .family-section .lead { font-size: clamp(.9rem, 2.5vw, 1.05rem); }
  .feature-list li {
    column-gap: .65rem;
    font-size: .9rem;
    grid-template-columns: 28px 1fr;
  }
  #top.stack-panel--ink h1 {
    font-size: clamp(1.65rem, 7vw, 2.15rem);
    max-width: none;
  }
  .phase {
    gap: .55rem;
    grid-template-columns: 1fr;
  }
  .phase-number,
  .phase h3,
  .phase p { grid-column: 1; }
  .phase h3 { font-size: clamp(1.2rem, 5vw, 1.55rem); }
  .phase p,
  .next p { font-size: 1rem; }
  main.assessment-page h1 {
    font-size: clamp(1.4rem, 6.4vw, 3rem);
    max-width: none;
  }
  .assessment-page .step-help { font-size: .82rem; }
  .coordination-media figcaption { font-size: .8rem; }
  .pt-page--our-work .work-hero:not(.work-hero--split),
  .pt-page--our-work .work-hero:not(.work-hero--split) .work-hero__content { min-height: 0; }
}

/* Demarcation 4: Our Work is a compact proof portfolio, not a long alternating feed. */
.pt-page--our-work #featured-projects .project-list {
  align-items: stretch;
}

.pt-page--our-work #featured-projects .project-item,
.pt-page--our-work #featured-projects .project-item:nth-child(even) {
  align-items: stretch;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 0;
  grid-template-columns: none;
  grid-template-rows: none;
  height: auto;
}

.pt-page--our-work #featured-projects .project-item:nth-child(even) .project-item__media,
.pt-page--our-work #featured-projects .project-item:nth-child(even) .project-item__copy {
  order: initial;
}

.pt-page--our-work #featured-projects .project-item__media {
  aspect-ratio: 16 / 10;
  flex: 0 0 auto;
  width: 100%;
}

.pt-page--our-work #featured-projects .project-item__copy {
  display: grid;
  flex: 1 1 auto;
  gap: 0.35rem;
  grid-template-rows: 2.5rem 3.1rem minmax(8.75rem, 1fr);
  justify-items: center;
  min-height: 0;
  text-align: center;
}

.pt-page--our-work #featured-projects .project-kicker {
  align-items: flex-end;
  display: flex;
  height: 2.5rem;
  justify-content: center;
  line-height: 1.2;
  overflow: hidden;
  width: 100%;
}

.pt-page--our-work #featured-projects .project-item__copy h3 {
  align-items: center;
  display: flex;
  height: 3.1rem;
  justify-content: center;
  line-height: 1.12;
  overflow: hidden;
  width: 100%;
}

.pt-page--our-work #featured-projects .project-meta {
  align-content: start;
  height: 100%;
  justify-content: flex-start;
  margin-top: 0;
  min-height: 0;
  text-align: center;
  width: 100%;
}

@media (min-width: 1100px) {
  .pt-page--our-work #featured-projects .project-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 761px) and (max-width: 1099px) {
  .pt-page--our-work #featured-projects .project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .pt-page--our-work #featured-projects .project-list {
    grid-template-columns: 1fr;
  }
}

/* Demarcation 5: Solutions hub routes by visitor intent instead of a split text/card wall. */
.solution-routing-intro {
  margin-inline: auto;
  max-width: 760px;
  text-align: center;
}

.solution-routing-intro h2,
.solution-routing-intro .lead {
  margin-inline: auto;
}

.solution-routing-intro .lead {
  margin-top: 1rem;
}

.solution-routing-grid {
  grid-template-columns: 1fr;
  gap: .85rem;
  margin-top: 1.15rem;
}

.solution-routing-grid .feature {
  min-height: 0;
}

.solution-context-proof {
  margin-top: 1.5rem;
}

@media (max-width: 760px) {
  .solution-routing-grid {
    grid-template-columns: 1fr;
  }

  .solution-routing-grid .feature {
    min-height: 0;
  }
}
