/* Shared commercial layout. The drafting grid is reserved for page introductions. */
.blueprint {
  --page-gutter: clamp(16px, 4vw, 56px);
  --page-width: 1240px;
  --header-height: 76px;
  --section-space: clamp(42px, 6vw, 84px);
  --heading-size: clamp(2rem, 4.1vw, 3.75rem);
  --section-heading-size: clamp(1.75rem, 3vw, 2.875rem);
  --card-radius: 12px;
  --intro-background: radial-gradient(#bacbd9 0.65px, transparent 0.9px) 0 0 / 16px 16px #edf2f7;
  --paper: #f5f7fa;
  --ink: #192630;
  --muted: #44586a;
  --bp-steel: #3b5266;
  background: var(--paper);
}

.blueprint:not(.bp-home) { background: var(--paper); }

.blueprint .shell {
  width: min(var(--page-width), calc(100% - var(--page-gutter) * 2));
}

.blueprint .header {
  background: var(--bp-sheet);
  border-color: var(--bp-border);
  backdrop-filter: none;
}

.blueprint .header .header-inner {
  height: var(--header-height);
  gap: 24px;
  position: relative;
}

.blueprint .header .bp-wordmark,
.blueprint .error-header .bp-wordmark {
  font-size: clamp(1.55rem, 2.45vw, 2.125rem);
}

.blueprint .header .bp-wordmark img,
.blueprint .error-header .bp-wordmark img {
  width: 36px;
  height: 36px;
}

.blueprint .header .nav {
  color: var(--ink);
  gap: clamp(14px, 1.6vw, 24px);
  font-size: .875rem;
  font-weight: 600;
}

.blueprint .header .nav > a {
  padding: 10px 0;
  font-size: inherit;
}

.blueprint .header .nav > a:hover,
.blueprint .header .nav > a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: .35em;
}

.blueprint .header .nav .nav-cta {
  padding: 10px 14px;
  min-height: 44px;
  border-color: transparent;
  color: #fff;
}

.blueprint .header .nav .nav-cta:hover {
  background: #354553;
  text-decoration: none;
}

.blueprint .header .nav .v3-museum-entry {
  display: inline-flex;
  padding: 8px 10px;
  min-height: 44px;
  border: 1px solid var(--bp-border);
  border-radius: 6px;
  color: var(--bp-steel);
  font-size: .8125rem;
}

.blueprint .header .nav > a[href$="#about"] { display: block; }

.blueprint .header .menu-button {
  min-height: 44px;
  padding: 8px 12px;
  gap: 8px;
  border: 1px solid var(--bp-border);
  border-radius: 6px;
  background: var(--bp-sheet);
  font-size: .875rem;
}

.blueprint :is(.bp-hero, .bp-detail, .v3-page-intro, .case-hero, .prices-intro) {
  background: var(--intro-background);
  border-bottom: 1px solid var(--bp-border);
}

.blueprint :is(.bp-hero, .bp-detail, .v3-page-intro, .prices-intro) {
  padding-block: clamp(32px, 5vw, 70px);
}

.blueprint :is(.v3-breadcrumb, .breadcrumbs) {
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.5;
}

.blueprint .v3-breadcrumb { padding-block: 14px; }

.blueprint main :is(.bp-hero, .bp-detail, .case-hero, .prices-intro, .v3-page-intro, .v3-service-detail, .error-copy) h1 {
  margin-block: 10px 18px;
  font-size: var(--heading-size);
  font-weight: 720;
  line-height: 1.09;
  letter-spacing: -.04em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.blueprint main h1 :is(span, .muted) { color: var(--bp-steel); }
.blueprint .bp-detail h1 { max-width: 19ch; }

.blueprint :is(.bp-lead, .v3-lead, .case-intro, .error-lead, .offer-benefit) {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  line-height: 1.6;
}

.blueprint .bp-hero .bp-lead + p { margin-top: 12px; }
.blueprint .bp-hero-secondary { font-size: 1rem; }

.blueprint .bp-hero .button-dark { clip-path: none; }

.blueprint :is(.bp-label, .eyebrow) {
  font-size: .75rem;
  line-height: 1.5;
}

.blueprint :is(.bp-card, .bp-feature, .offer-card, .project-form, .report-example, .architecture, .prices-intro .bp-illustration-image) {
  border-radius: var(--card-radius);
}

.blueprint :is(.bp-card, .offer-card, .project-form) { background: var(--surface); }
.blueprint .bp-home-feature { align-items: stretch; }
.blueprint .bp-card-grid .bp-card { height: 100%; }
.blueprint .bp-card-drawing { margin-top: 0; }

.blueprint :is(.bp-section, .section) { padding-block: var(--section-space); }

.blueprint .bp-home :is(.bp-heading, .section-heading) h2,
.blueprint :is(.bp-section, .section-heading, .start-copy) h2,
.blueprint .case-section h2 {
  font-size: var(--section-heading-size);
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.blueprint :is(.bp-card, .report-example) :is(h2, h3) {
  font-size: clamp(1.25rem, 2vw, 1.6875rem);
  line-height: 1.22;
}

.blueprint .bp-card p:not(.bp-label) { line-height: 1.65; }
.blueprint.bp-home #services { padding-top: var(--section-space); }
.blueprint.bp-home .bp-heading::after { border-color: var(--bp-border); }

.blueprint :is(.button, .nav-cta) { border-radius: 7px; }

.blueprint .start-copy :is(.eyebrow, .contact-help) { color: var(--muted) !important; }
.blueprint .start-copy > p:not(.eyebrow, .section-lead) { color: var(--muted); }
.blueprint .start-copy .section-lead { color: var(--ink); }
.blueprint .start-copy .contact-links a { color: var(--ink); }
.blueprint .project-form .form-field :is(input, textarea, select) { border-radius: 6px; }

.blueprint .prices-intro .bp-detail-head { align-items: start; }
.blueprint .prices-intro h1 { --heading-size: clamp(2rem, 3.65vw, 3.25rem); }
.blueprint .prices-intro .bp-illustration-detail { margin: 0; }
.blueprint .prices-intro .bp-illustration-notes { margin: 12px 0 0; }
.blueprint .prices-intro .bp-illustration-notes ol { padding-inline-start: 20px; }
.blueprint .prices-intro .bp-actions { margin-bottom: 0; }

.blueprint .case-hero {
  width: 100%;
  padding: clamp(24px, 4vw, 56px) 0 clamp(32px, 5vw, 70px);
}

.blueprint .case-hero-grid > *,
.blueprint .bp-hero-grid > *,
.blueprint .bp-card-grid > * { min-width: 0; }

.blueprint.case-page .case-section > p:not(.section-index, .small-note, .budget-scope, .case-date),
.blueprint.case-page :is(.inventory-list, .method-list, .acceptance-list) p {
  font-size: 1rem;
  line-height: 1.65;
}

.blueprint .v3-service-detail { padding-top: 24px; }
.blueprint .v3-service-detail .offer-card { border-radius: var(--card-radius); }

.blueprint .audit-intro .bp-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  padding: clamp(16px, 3vw, 32px);
  background: var(--bp-sheet);
  border: 1px solid var(--bp-border);
  border-radius: var(--card-radius);
}

.blueprint .audit-intro .bp-steps li:first-child { border: 0; padding-top: 0; }

@media (min-width: 1200px) {
  .blueprint .header .menu-button { display: none; }
  .blueprint .header .nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    white-space: nowrap;
  }
  .blueprint .header .nav :is(.nav-cta, .v3-museum-entry) { margin-top: 0; }
}

@media (max-width: 1199px) {
  .blueprint .header .menu-button { display: flex; align-items: center; }
  .blueprint .header .menu-button > span { font-size: 1.25rem; line-height: 1; }
  .blueprint .header .menu-button[aria-expanded="true"] > span { transform: rotate(45deg); }
  .blueprint .header .nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    max-height: calc(100dvh - var(--header-height) - 12px);
    overflow-y: auto;
    background: var(--bp-sheet);
    border: 1px solid var(--bp-border);
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    box-shadow: 0 8px 24px #1926301a;
    padding: 12px 16px 16px;
  }
  .blueprint .header .nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  .blueprint .header .nav > a { display: block; min-height: 44px; }
  .blueprint .header .nav .nav-cta { display: flex; justify-content: space-between; margin-top: 8px; }
  .blueprint .header .nav .v3-museum-entry { justify-content: flex-start; gap: 8px; margin-top: 4px; }
}

@media (max-width: 830px) {
  .blueprint { --header-height: 68px; }
  .blueprint .prices-intro .bp-detail-head { gap: 24px; }
  .blueprint .bp-hero-grid { gap: 26px; }
  .blueprint .bp-hero .bp-drawing { margin-inline: 0; }
  .blueprint .bp-hero .bp-actions { gap: 14px 20px; }
}

@media print {
  .blueprint { --heading-size: 29pt; --section-heading-size: 23pt; }
  .blueprint :is(.bp-hero, .bp-detail, .v3-page-intro, .case-hero, .prices-intro) { background: #fff; }
  .blueprint.case-page .shell { width: 100%; }
}
