/* Shared Cardinera brand: palette, logo, navigation, drawing sheets, and homepage hero. */
.blueprint-brand {
  --blueprint: #edf5fb;
  --blueprint-line: #a9c4d7;
  --cream: #f7fbfe;
  --surface-warm: #edf5fb;
  --ink: #202f40;
  --muted: #526577;
  --border: #ccdde9;
  --teal: #b4213a;
  --teal-dark: #921b30;
  --teal-soft: #faeef0;
  --shadow: 0 4px 20px #203f5b08;
  --radius: 6px;
  background: #fff;
}
.blueprint-brand .site-header { background: #f7fbfef5; }
.blueprint-brand .header-inner { max-width: 1220px; padding-block: 1rem; }
.blueprint-brand .brand { padding-right: 1rem; }
.blueprint-brand .brand:hover { text-decoration: none; }
.blueprint-brand .site-nav { align-self: center; top: 0; transform: translateY(11px); }
.blueprint-brand .site-cta, .blueprint-brand .site-signin { transform: translateY(11px); }
.blueprint-brand .site-nav a { font-size: 1.0625rem; }
.blueprint-brand .btn { border-radius: 4px; }
.blueprint-brand .btn-ghost { border: 1px solid var(--blueprint-line); color: var(--ink); background: #ffffffb3; }
.blueprint-brand .btn-ghost:hover { color: var(--teal-dark); border-color: var(--teal); }
.blueprint-brand .kicker, .bp-col-head, .planning-number { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }

/* Match the supplied concept: editorial type and a seamless perspective drawing. */
.blueprint-brand .header-inner { max-width: 1680px; padding-block: 1.25rem; padding-inline: clamp(1.5rem, 5.3vw, 6rem); }
.blueprint-brand .site-header { background: #fbfdff; }
.blueprint-brand main .hero-reference { max-width: 1680px; padding-inline: clamp(1.5rem, 5.3vw, 6rem); }
.hero-band { isolation: isolate; overflow: hidden; background: #edf6ff; border-bottom: 1px solid var(--border); }
.hero-band::before, .hero-band::after { content: none; }
.hero-reference { position: relative; display: flex; align-items: center; min-height: clamp(650px, 52vw, 820px); padding-top: 4rem; padding-bottom: 4rem; text-align: left; }
.hero-copy { position: relative; z-index: 2; width: 59%; }
.hero-eyebrow { margin-bottom: 1.8rem; color: #788fa3; font-size: .69rem; font-weight: 600; line-height: 1.6; letter-spacing: .16em; text-transform: uppercase; }
.hero-reference h1 { margin: 0 0 2rem; max-width: none; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(3rem, 5.15vw, 5rem); line-height: 1.03; letter-spacing: -.045em; color: #13283c; text-wrap: initial; }
.hero-reference h1 > span { display: block; }
.hero-reference h1 em { color: #bd1936; font-style: normal; }
.hero-reference .hero-promise { margin: 0; max-width: 52ch; text-wrap: initial; }
.hero-reference .home-actions { margin-top: 1.8rem; justify-content: flex-start; gap: 1rem; }
.hero-reference .btn { padding: .95rem 1.65rem; }
/* Keep the complete drawing, including the right-hand tree, inside the desktop hero. */
.hero-architecture { position: absolute; z-index: 0; width: 62%; height: auto; aspect-ratio: 3 / 2; right: 1.5%; top: 50%; bottom: auto; transform: translateY(-50%); margin: 0; pointer-events: none; mix-blend-mode: multiply; mask-image: linear-gradient(90deg, transparent 0%, #000 20%); }
.hero-architecture img { width: 100%; height: auto; max-width: none; opacity: .72; mask-image: linear-gradient(180deg, transparent, #000 15%, #000 90%, transparent); }
.hero-annotation { position: absolute; z-index: 1; top: 3.5rem; right: 2rem; color: #8da3b6; font-size: .6rem; font-weight: 600; line-height: 1.9; letter-spacing: .08em; text-transform: uppercase; }
.hero-annotation strong { font-weight: 600; }
.hero-annotation::after { content: ''; display: block; width: 16px; height: 2px; background: #cf6677; margin-top: .7rem; }
/* The original narrative sequence sits together inside the hero copy column. */
.hero-reference .hero-promise, .hero-reference .hero-thesis { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-weight: 400; line-height: 1.5; letter-spacing: 0; color: var(--ink); }
/* The graph: four nodes on one line, the blueprint, under a box that carries the AI strategy, a sightline rising from each node into it. */
.hero-graph { position: relative; max-width: 27.5rem; margin: 1.6rem 0 0 -.25rem; }
.graph-sheet { position: relative; z-index: 0; height: 3.2rem; margin: 0 .6rem; border: 1px solid var(--blueprint-line); border-radius: 3px; background: #ffffffb3; }
.graph-ai { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--teal); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.hero-disciplines { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: 1.3rem 0 0; padding: 0; }
.hero-disciplines::before { content: ''; position: absolute; left: calc((100% - 2.25rem) / 8); right: calc((100% - 2.25rem) / 8); top: 27px; border-top: 1px solid var(--blueprint-line); }
.hero-disciplines li::before { content: ''; position: absolute; left: 50%; top: -2.6rem; height: 2.6rem; border-left: 1px dashed var(--blueprint-line); mask-image: linear-gradient(180deg, transparent, #000 70%); }
.hero-disciplines li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; }
.hero-disciplines svg { position: relative; z-index: 1; box-sizing: content-box; width: 30px; height: 30px; padding: 11px; background: #fff; border: 1px solid var(--blueprint-line); border-radius: 50%; fill: none; stroke: #395c77; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-disciplines .icon-wash { fill: #d9e8f3; stroke: none; }
.hero-disciplines .icon-accent { stroke: var(--teal); }
.hero-disciplines span { font-size: .75rem; line-height: 1.4; font-weight: 600; color: var(--ink); }
.understand { background: #f7fbfe; border-top: 0; padding-block: 1.8rem; }
.understand-list { font-size: .87rem; gap: .65rem 1.8rem; }
.understand-list li::before { width: 5px; height: 5px; border-radius: 0; }
.understand-lead { color: var(--muted); font-weight: 400; }

/* Thin rules, drawing sheets, and red annotations carry the architectural vocabulary. */
.feature-section { padding-block: 5rem; }
.feature-tinted { background: #f0f7fc; }
.feature-copy h2, .planning-heading h2, .home-faq h2, .home-cta h2 { font-weight: 600; }
.feature-visual { position: relative; padding: 12px; border: 1px solid var(--border); }
.feature-visual::before, .feature-visual::after { content: ''; position: absolute; width: 9px; height: 9px; pointer-events: none; }
.feature-visual::before { top: -4px; left: -4px; border-top: 1px solid #7297b1; border-left: 1px solid #7297b1; }
.feature-visual::after { right: -4px; bottom: -4px; border-bottom: 1px solid #7297b1; border-right: 1px solid #7297b1; }
.product-frame { border-color: var(--border); border-radius: 3px; box-shadow: var(--shadow); }
.frame-top { border-color: var(--border); background: #f7fbfe; align-items: flex-start; flex-wrap: wrap; }
.status-chip { color: #48637a; border-color: #ccdde9; background: #edf5fb; border-radius: 3px; white-space: normal; }
.proof-list li::before { width: 5px; height: 5px; border-radius: 0; }
.proof-list.steps li::before, .questions li::before { border-radius: 2px; }
.bp-stage { background-image: linear-gradient(#a9c4d71a 1px, transparent 1px), linear-gradient(90deg, #a9c4d71a 1px, transparent 1px); background-size: 20px 20px; }
.bp-card { border-color: var(--blueprint-line); background: #fff; border-radius: 3px; padding-inline: .55rem; }
.bp-node, .bp-work { opacity: 1; }
.bp-wires path { stroke: var(--blueprint-line); }
.bp-col-head { font-size: .61rem; letter-spacing: .045em; }
.bp-sub { font-size: .7rem; }
.bp-card { box-shadow: none !important; }
.bp-wires path { animation: none !important; }
.portfolio-table th, .portfolio-table td, .decision-facts > div { border-color: var(--border); }
.frame-insight, .project-question { background: #edf5fb; border-radius: 3px; }
.frame-insight { border-left: 2px solid var(--teal); }
.decision-next { border-radius: 3px; }
.icon-crm, .icon-support, .icon-team, .icon-books { color: #355b76; background: #eaf2f8; border-radius: 3px; }
.planning-section { background: #e8f2f9; color: var(--ink); border-block: 1px solid var(--border); padding-block: 5rem; }
.blueprint-brand .planning-section .kicker, .planning-number { color: var(--teal); }
.planning-grid p, .change-timeline p { color: var(--muted); }
.planning-grid > div { border-top: 1px solid var(--blueprint-line); padding-top: 1rem; }
.change-timeline { border-color: var(--border); }
.change-timeline li { border-color: #88a9c1; }
.change-timeline li::before { background: var(--teal); border-radius: 0; }
.change-timeline span { color: #4c677b; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }
.blueprint-brand .faq details { border-radius: 3px; box-shadow: none; }
.blueprint-brand .faq summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 5px; }
.home-cta { background: radial-gradient(ellipse at center, #edf5fb, #ffffff 72%); }
.blueprint-brand .site-footer { margin-top: 0; background: #f0f7fc; color: var(--muted); border-top: 1px solid var(--border); }
.blueprint-brand .site-footer h4 { color: var(--ink); }
.blueprint-brand .site-footer a { color: var(--muted); }
.blueprint-brand .site-footer a:hover { color: var(--teal); }
.blueprint-brand .footer-brand { padding-top: .5rem; margin-bottom: 1rem; }
.blueprint-brand .footer-legal { color: var(--muted); border-color: var(--border); }

@media (max-width: 1000px) {
  .blueprint-brand .header-inner { column-gap: 1.2rem; }
  .feature-row.feature-blueprint, .feature-row.feature-blueprint.feature-reverse { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-blueprint .feature-copy { order: initial; }
  .feature-blueprint .feature-copy h2 { max-width: 24ch; }
  .feature-blueprint .feature-visual { width: 100%; max-width: 700px; justify-self: center; }
}
@media (max-width: 760px) {
  .blueprint-brand .site-header { position: static; }
  .blueprint-brand .header-inner, .blueprint-brand main .hero-reference { padding-inline: 1.25rem; }
  .feature-section, .planning-section { padding-block: 3rem; }
  .feature-visual { padding: 8px; }
}
@media (max-width: 600px) {
  .blueprint-brand .header-inner { column-gap: .7rem; }
  .blueprint-brand .menu-button { border: 1px solid var(--blueprint-line); border-radius: 3px; }
  .blueprint-brand .menu-button span { background: var(--ink); }
  .understand-list { width: auto; max-width: 22rem; }
  .portfolio-table-wrap { overflow-x: auto; }
  .portfolio-table { min-width: 300px; }
}
@media (max-width: 640px) {
  .blueprint-brand .site-nav, .blueprint-brand .site-cta, .blueprint-brand .site-signin { transform: none; }
}
@media (max-width: 360px) {
  .blueprint-brand .header-inner { padding-inline: .8rem; }
  .blueprint-brand .header-inner { column-gap: .5rem; padding-inline: .8rem; }
  .blueprint-brand .site-header .header-inner .site-cta { padding-inline: .5rem; font-size: .8rem; }
}

@media (max-width: 1000px) {
  .hero-reference { min-height: 600px; padding-block: 4rem; }
  .hero-eyebrow { max-width: 38ch; font-size: .6rem; }
  .hero-annotation { right: 1.3rem; font-size: .5rem; }
}
@media (max-width: 760px) {
  .hero-reference { display: block; min-height: 0; padding-top: 3rem; padding-bottom: 3rem; }
  .hero-copy { width: 100%; }
  .hero-eyebrow { max-width: 44ch; margin-bottom: 1.4rem; }
  .hero-reference h1 { font-size: clamp(2.55rem, 6.8vw, 3.8rem); margin-bottom: 1.5rem; }
  .hero-reference .hero-promise { max-width: 38ch; }
  .hero-reference .home-actions { margin-top: 1.7rem; }
  /* A background at every width: the drawing stays behind the copy, low and to the right, faint, and never drops below it. */
  .hero-architecture { position: absolute; top: auto; bottom: -6%; right: -30%; width: 125%; transform: none; margin: 0; opacity: .5; mask-image: linear-gradient(90deg, transparent 15%, #000 55%); }
  .hero-architecture img { opacity: .8; }
  .hero-annotation { display: none; }
  .hero-reference .hero-promise, .hero-reference .hero-thesis { font-size: 1.15rem; }
}
@media (max-width: 600px) {
  .hero-reference h1 > span { display: inline; }
  .hero-reference h1 { max-width: 17ch; text-wrap: balance; }
  .hero-reference .home-actions { flex-direction: row; align-items: center; gap: .75rem; }
  .hero-reference .home-actions .btn { width: auto; padding: .85rem 1.1rem; font-size: .92rem; }
  .hero-disciplines { gap: .5rem; }
  .hero-disciplines svg { width: 38px; height: 38px; }
  .hero-disciplines span { font-size: .72rem; }
}
@media (max-width: 360px) {
  .hero-reference h1 { font-size: 2.35rem; }
}

/* One hybrid SVG locks the outlined lettering and cel-shaded bird's perch together. */
.blueprint-brand .brand .brand-logo, .blueprint-brand .footer-brand .brand-logo { width: 174px; height: auto; max-width: none; }
@media (max-width: 760px) {
  .blueprint-brand .brand .brand-logo { width: 125px; }
  .blueprint-brand .site-nav, .blueprint-brand .site-cta, .blueprint-brand .site-signin { transform: translateY(8px); }
}
@media (max-width: 640px) {
  .blueprint-brand .site-nav, .blueprint-brand .site-cta, .blueprint-brand .site-signin { transform: none; }
}
@media (max-width: 360px) {
  .blueprint-brand .brand .brand-logo { width: 112px; }
}

.blueprint-brand a:focus-visible, .blueprint-brand summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.blueprint-brand .skip-link { position: fixed; top: -100px; left: 1rem; z-index: 20; padding: .8rem; background: #fff; }
.blueprint-brand .skip-link:focus { top: 1rem; }
.blueprint-brand .site-nav a { color: var(--ink); }
.blueprint-brand .site-nav a:hover, .blueprint-brand .site-nav a[aria-current="page"] { color: var(--teal); }
.blueprint-brand .site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .4rem; text-decoration-thickness: 1px; }
@media (prefers-reduced-motion: reduce) { .blueprint-brand .btn { transition: none; } }

/* The vector building and its timeline live in living-blueprint.css. */

/* The graph on a phone: smaller nodes, a lower sheet, the lede flowing without its second break. */
@media (max-width: 760px) {
  .wide-break { display: none; }
  .graph-sheet { height: 2.8rem; }
  .hero-disciplines svg { width: 26px; height: 26px; padding: 9px; }
  .hero-disciplines::before { top: 23px; left: calc((100% - 1.5rem) / 8); right: calc((100% - 1.5rem) / 8); }
  .hero-disciplines li::before { top: -2.3rem; height: 2.3rem; }
}
