.blueprint {
  --paper: #f6f8fa;
  --surface: #fff;
  --ink: #171e25;
  --muted: #495767;
  --forest: #202b35;
  --line: #c4ced8;
  --lime: #9ee56c;
  --bp-grid: #bdc8d4;
  --bp-green: #237b39;
  background: var(--paper);
  color: var(--ink);
}

.blueprint .header {
  background: #f6f8fa;
  border-color: var(--line);
}

.blueprint .button-dark,
.blueprint .nav-cta {
  background: #202b35;
  color: #fff;
}

.blueprint .button-dark:hover,
.blueprint .nav-cta:hover {
  background: #354553;
  color: #fff;
}

.blueprint :focus-visible {
  outline: 2px solid var(--bp-green);
  outline-offset: 4px;
}

.blueprint .bp-hero {
  border-bottom: 1px solid var(--line);
  background-color: #eaf0f5;
  background-image: radial-gradient(var(--bp-grid) 1px, transparent 1px);
  background-size: 16px 16px;
  padding: clamp(48px, 8vw, 115px) 0;
}

.bp-hero-grid, .bp-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
}

.blueprint .bp-hero h1,
.blueprint .bp-detail h1 {
  max-width: 16ch;
  margin: 15px 0 18px;
  font-size: clamp(37px, 5vw, 73px);
  line-height: 1.04;
  letter-spacing: -.045em;
  overflow-wrap: break-word;
}

.blueprint .bp-hero h1 {
  max-width: 100%;
  font-size: clamp(33px, 4.5vw, 73px);
}

.blueprint .cookie-notice { background: #edf2f6; }
.blueprint .cookie-notice button { background: #202b35; }

.bp-label, .bp-diagram figcaption, .bp-layer div > span {
  color: #48596c;
  font: 600 .72rem/1.5 var(--font-mono, monospace);
  letter-spacing: .065em;
}

.bp-lead {
  max-width: 65ch;
  color: #344353;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.55;
}

.bp-note {
  max-width: 75ch;
  margin: 14px 0;
  color: #495767;
  font-size: .87rem;
  line-height: 1.55;
}

.bp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin: 24px 0 12px;
}

.bp-actions .button { max-width: 100%; }
.bp-link { display: inline-block; width: fit-content; color: #182a38; font-weight: 650; text-decoration: underline; text-underline-offset: .22em; }
.bp-link span, .bp-layer b { color: var(--bp-green); }
.bp-link:hover { color: var(--bp-green); }

.bp-diagram {
  margin: 0;
  border: 1px solid #8f9eae;
  padding: clamp(15px, 3vw, 32px);
  background: #f7fafc;
  box-shadow: 8px 8px 0 #cbd6e1;
}

.bp-diagram figcaption { margin-bottom: 12px; }
.bp-layer {
  display: grid;
  grid-template-columns: minmax(52px, 1fr) minmax(0, 2fr) auto;
  align-items: center;
  gap: 15px;
  min-height: 84px;
  padding: 5px 0;
  border-top: 1px dashed #9ba9b7;
}

.bp-layer:hover { background: #edf3f8; }
.bp-layer strong { display: block; line-height: 1.25; }
.bp-mini { width: min(100%, 120px); height: auto; color: #304359; }
.bp-dot { fill: #73d74a; stroke: #235d2b; }
.bp-section { padding: clamp(38px, 6vw, 88px) 0; scroll-margin-top: 110px; }
.bp-section h2 { margin: 8px 0 15px; font-size: clamp(27px, 3.7vw, 49px); line-height: 1.1; letter-spacing: -.035em; }
.bp-heading { margin: 44px 0 18px; }
.bp-band { background: #edf2f6; border-block: 1px solid var(--line); }
.bp-feature { padding: clamp(20px, 4vw, 42px); background: #edf2f6; border: 1px solid #98a8b8; }
.bp-card-grid, .bp-side-grid, .bp-steps { display: grid; gap: 16px; }
.bp-card-grid, .bp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bp-side-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 20px 0; }
.bp-steps { list-style: none; margin: 24px 0; padding: 0; }
.bp-steps li { border-top: 1px solid #8b9daf; padding: 14px 0 0; }
.bp-steps li > span { display: block; font-family: monospace; color: var(--bp-green); margin-bottom: 5px; }
.bp-steps li p { margin-top: 5px; color: #405264; }
.bp-card { display: flex; flex-direction: column; min-width: 0; gap: 12px; border: 1px solid #aebbc9; background: #fbfcfd; padding: clamp(16px, 2.4vw, 28px); scroll-margin-top: 110px; }
.bp-card h2, .bp-card h3 { margin: 0; font-size: clamp(21px, 2vw, 28px); line-height: 1.15; }
.bp-card p { color: #405264; line-height: 1.55; }
.bp-card .bp-link { margin-top: auto; }
.bp-card-grid .bp-card .bp-mini { margin-bottom: 6px; }
.bp-detail { padding-top: 42px; }
.bp-detail-head > .bp-mini { width: min(100%, 330px); justify-self: center; }
.bp-sample ol { padding-left: 22px; }
.bp-sample li + li { margin-top: 8px; }
.bp-sample .bp-flow {
  list-style: none;
  padding: 0;
}
.bp-flow li {
  position: relative;
  border: 1px solid var(--line);
  background: #edf2f6;
  padding: 8px 12px;
}
.bp-sample .bp-flow li + li { margin-top: 18px; }
.bp-flow li + li::before {
  content: '↓';
  position: absolute;
  left: 14px;
  top: -20px;
  color: var(--bp-green);
}
.bp-gap { width: 100%; border-collapse: collapse; background: #fff; table-layout: fixed; }
.bp-gap caption { text-align: left; margin-bottom: 8px; font-weight: 700; }
.bp-gap th, .bp-gap td { padding: 10px; border: 1px solid #b5c1cd; text-align: left; overflow-wrap: anywhere; }
.bp-gap th { background: #dce6ef; }
.bp-case-return { padding-block: 20px 36px; }
.blueprint .v3-about, .blueprint .start { background: #e9eff4; color: var(--ink); }
.blueprint .start h2, .blueprint .start h2 span { color: var(--ink); }
.blueprint .footer { background: #202b35; }

@media (max-width: 830px) {
  .bp-hero-grid, .bp-detail-head { grid-template-columns: 1fr; }
  .bp-detail-head > .bp-mini { width: 130px; justify-self: start; }
  .bp-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 570px) {
  .bp-card-grid, .bp-side-grid, .bp-steps { grid-template-columns: 1fr; }
  .bp-layer { gap: 9px; min-height: 74px; }
  .bp-gap { font-size: .8rem; }
  .bp-gap th, .bp-gap td { padding: 6px; }
}

/* The homepage follows the selected blueprint composition. */
.bp-home {
  background: #edf2f6 radial-gradient(#b7c5d3 .65px, transparent .8px) 0 0 / 12px 12px;
}
.bp-home .header {
  background: #edf2f6 radial-gradient(#b7c5d3 .65px, transparent .8px) 0 0 / 12px 12px;
  border-color: #718090;
}
.bp-home .bp-hero { background: transparent; border: 0; padding: clamp(32px, 5vw, 72px) 0 25px; }
.bp-home .bp-hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(10px, 2vw, 30px); }
.bp-home .bp-hero h1 {
  font-size: clamp(33px, 4.3vw, 57px);
  font-weight: 750;
}
.bp-home .bp-hero .bp-label { display: block; }
.bp-home .bp-hero-secondary { color: var(--muted); font-size: .95rem; max-width: 54ch; }
.bp-home .bp-hero h1 { overflow-wrap: anywhere; }
.bp-home .bp-hero .button-dark { clip-path: polygon(0 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%); }
.bp-home .bp-hero .button-dark span { color: #a1f46a; }
.bp-wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(25px, 3.4vw, 42px); font-weight: 750; letter-spacing: -.05em; }
.bp-wordmark img { flex: none; width: 38px; height: 38px; background: #131b23; border-radius: 3px; }
.bp-drawing { margin: 0; min-width: 0; }
.bp-audit-image-link { display: block; }
.bp-audit-image-link img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.bp-drawing figcaption {
  margin-top: 8px;
  font-size: .9rem;
}
.bp-home #services { padding-top: 10px; }
.bp-home .bp-heading { display: flex; align-items: center; gap: 20px; margin: 0 0 20px; }
.bp-home .bp-heading::after { content: ""; flex: 1; border-bottom: 1px solid #718090; }
.bp-home .bp-heading h2 { margin: 0; }
.bp-home .bp-card, .bp-home .bp-feature {
  border-color: #798898;
  background: #f5f8fb;
  border-radius: 3px 12px 3px 12px;
}
.bp-home .bp-solution h3 { font-weight: 740; }
.bp-card-drawing {
  display: grid;
  place-items: center;
  margin-top: auto;
  min-height: 150px;
  background: radial-gradient(#bac8d5 .6px, transparent .8px) 0 0 / 10px 10px;
}
.bp-card-drawing .bp-mini { width: min(94%, 250px); height: auto; }
.bp-home-feature { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin: 22px 0; }
.bp-home-feature .bp-feature h2 { font-size: clamp(27px, 3.3vw, 44px); }
.bp-home-feature .bp-card .bp-mini { width: min(70%, 155px); }

@media (min-width: 831px) {
  .commercial-v3.bp-home .header-inner { position: relative; }
  .commercial-v3.bp-home .menu-button { display: none; }
  .commercial-v3.bp-home .nav {
    position: static;
    display: flex;
    align-items: center;
    gap: clamp(20px, 3.8vw, 55px);
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .commercial-v3.bp-home .nav > a { font-size: 16px; font-weight: 680; padding: 8px 0; }
  .commercial-v3.bp-home .nav a[href="#about"],
  .commercial-v3.bp-home .nav .v3-museum-entry { display: none; }
}
@media (max-width: 830px) {
  .bp-home .bp-hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .bp-home .bp-drawing { width: min(100%, 510px); margin-inline: auto; }
}
@media (max-width: 640px) {
  .bp-home-feature { grid-template-columns: 1fr; }
  .bp-home .bp-hero h1 { font-size: clamp(30px, 8vw, 42px); }
}

/* Commercial interiors use the same drafting paper and graphite as the home page. */
.blueprint {
  --bp-sheet: #f8fafc;
  --bp-panel: #e9eff5;
  --bp-border: #aebdcc;
  --bp-steel: #42586d;
}

.blueprint:not(.bp-home) {
  background: #f2f5f8;
}

.blueprint :is(.v3-page-intro, .bp-detail, .case-hero, .not-found-card) {
  background: #eaf0f5 radial-gradient(#b4c2cf .65px, transparent .85px) 0 0 / 14px 14px;
}

.blueprint .case-hero { padding-inline: clamp(16px, 3vw, 35px); }
.blueprint .bp-detail { border-bottom: 1px solid var(--bp-border); }
.blueprint .bp-detail .bp-detail-head > .bp-pencil {
  width: min(100%, 420px);
  filter: drop-shadow(0 8px 12px #2f44521a);
}

.blueprint :is(.offer-card, .offer-example, .offer-acceptance, .report-example,
  .passport-document, .recovery-questions, .recovery-sequence, .price-free,
  .price-item[open], .v3-case, .v3-inline-report, .cost-comparison,
  .case-callout, .budget-comparison, .entry-lane, .case-promo, .v3-process,
  .recovery-targets, .project-form, .selected-package, .architecture,
  .target-example, .host-node, .price-subscription, .not-found-card) {
  background: var(--bp-sheet);
  border-color: var(--bp-border);
}

.blueprint :is(.offer-example, .offer-acceptance, .recovery-targets, .recovery-questions,
  .cost-comparison, .budget-comparison, .entry-lane, .v3-process, .case-promo,
  .case-callout, .price-free, .selected-package, .budget-table tfoot tr,
  .flow-inputs span, .flow-decisions span, .allocation-services > div,
  .handover-source, .handover-documents > span, .handover-check,
  .service-sketch, .result-map, .recovery-measures span) {
  background: var(--bp-panel);
  border-color: var(--bp-border);
}

.blueprint :is(.case-budget-hero, .flow-document, .allocation-total, .map-final) {
  background: #263544;
  color: #f7fafc;
}

.blueprint :is(.case-budget-hero, .flow-document, .allocation-total) :is(span, small, p) {
  color: #e0e9f1;
}

.blueprint :is(.offer-benefit, .offer-condition, .flow-arrow, .flow-decisions b,
  .offer-sample summary > span, .offer-scope summary > span, .case-page thead th,
  .case-callout, .price-item summary small, .passport-status) {
  color: var(--bp-steel);
}

.blueprint :is(.form-field input, .form-field textarea, .form-field select) {
  background: #f3f6fa;
  border-color: var(--bp-border);
  color: var(--ink);
}
.blueprint :is(.menu-button, .button-outline, .nav .v3-museum-entry) {
  border-color: #889aab;
  color: #2f465a;
}
.blueprint :is(.button-outline, .nav .v3-museum-entry):hover { background: #e0e8f0; }
.blueprint .nav.is-open { border-color: var(--bp-border); }
.blueprint .form-status[data-state="success"] { background: #e9f1ed; color: #28553d; border-color: #31724e; }
.blueprint .form-status[data-state="error"] { background: #f4ebed; color: #773743; border-color: #934752; }
.blueprint :is(.old-bar, .allocation-bar span:nth-child(3), .cost-fill-plan) { background: #a6b9cb; }
.blueprint :is(.new-bar, .allocation-bar span:nth-child(1), .cost-fill-current) { background: #40576c; }
.blueprint :is(.allocation-bar span:nth-child(2), .cost-fill-cautious) { background: #718ba2; }
.blueprint :is(.old-bar, .new-bar, .cost-fill, .allocation-bar span) {
  background-image: repeating-linear-gradient(135deg, #f2f6fa36 0 1px, transparent 1px 4px);
}
.blueprint .project-form .selected-package { background: var(--bp-panel); border-color: var(--bp-border); }
.blueprint .allocation-dot { background: #40576c; }
.blueprint .allocation-consumers > div:nth-child(2) .allocation-dot { background: #718ba2; }
.blueprint .allocation-consumers > div:nth-child(3) .allocation-dot { background: #a6b9cb; }
.blueprint .architecture.is-failed [data-host="first"] { background: #edf0f3; border-color: #8696a6; }
.blueprint .architecture.is-failed [data-host="second"] { background: #edf4f1; border-color: #529472; }

.bp-explainer {
  margin: 26px 0;
  padding: clamp(16px, 3vw, 29px);
  border: 1px solid var(--bp-border);
  background: var(--bp-sheet) radial-gradient(#c6d1dc .55px, transparent .75px) 0 0 / 13px 13px;
}
.bp-explainer figcaption { margin-bottom: 14px; }
.bp-explainer figcaption strong { display: block; margin-top: 4px; font-size: clamp(19px, 2.4vw, 28px); line-height: 1.2; }
.bp-explainer ol { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.bp-explainer li { position: relative; min-width: 0; padding: 12px; background: #f7f9fc; border: 1px solid var(--bp-border); }
.bp-explainer li + li::before { content: "→"; position: absolute; left: -18px; top: 36px; color: var(--bp-green); font-weight: 700; }
.bp-explainer li img { display: block; width: min(100%, 175px); height: auto; margin-inline: auto; }
.bp-explainer li strong { display: block; color: var(--ink); }
.bp-explainer li p { color: #425568; margin: 4px 0 0; line-height: 1.45; font-size: .89rem; }
.bp-explainer li .bp-label { display: block; }

.bp-visual {
  margin: 14px 0 22px;
  padding: clamp(12px, 2vw, 23px);
  border: 1px solid var(--bp-border);
  background: var(--bp-sheet) radial-gradient(#b9c8d6 .65px, transparent .85px) 0 0 / 12px 12px;
}
.bp-visual figcaption {
  color: var(--ink);
  font-weight: 730;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.2;
}
.bp-visual-row { margin-top: 15px; }
.bp-visual-row > p {
  margin: 0 0 6px;
  color: var(--bp-steel);
  font: 650 .73rem/1.4 var(--font-mono, monospace);
}
.bp-visual-row ol {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: 21px;
  margin: 0;
  padding: 0;
}
.bp-sample .bp-visual-row ol { padding: 0; }
.bp-visual-row li {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  align-content: center;
  padding: 7px;
  color: var(--ink);
  background: #f5f8fb;
  border: 1px solid var(--bp-border);
  font-size: .82rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.bp-sample .bp-visual-row li + li { margin-top: 0; }
.bp-visual-row li + li::before {
  content: "→";
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bp-green);
  font-weight: 750;
}
.bp-visual-row img {
  width: min(100%, 155px);
  height: auto;
  aspect-ratio: 300 / 165;
  object-fit: contain;
}
.bp-visual .bp-visual-note { margin: 12px 0 0; font-size: .87rem; }
.bp-sample .bp-visual { margin: 0; }

@media (max-width: 430px) {
  .bp-sample .bp-visual-row ol { flex-direction: column; gap: 16px; }
  .bp-sample .bp-visual-row li {
    grid-template-columns: auto minmax(0,1fr);
    align-items: center;
    gap: 7px;
  }
  .bp-sample .bp-visual-row img { width: 74px; }
  .bp-sample .bp-visual-row li + li::before { content: "↓"; left: 8px; top: -16px; transform: none; }
}

@media (max-width: 570px) {
  .bp-explainer ol { grid-template-columns: 1fr; gap: 16px; }
  .bp-explainer li + li::before { content: "↓"; left: 12px; top: -18px; }
  .bp-explainer li img { width: 126px; margin-inline: 0; }
}

/* The contact section has a light surface in the blueprint theme. */
.commercial-v3.blueprint .start .eyebrow,
.commercial-v3.blueprint .start-copy .contact-help { color: var(--muted) !important; }
.commercial-v3.blueprint .start-copy > p:not(.eyebrow):not(.section-lead) { color: var(--ink); }
.blueprint .bp-audit-sample { margin: 20px 0 0; }
