/* TGI polish layer (31 October 2026). Loaded last.
   1. Smooth scrolling: no live blur or blend modes on scroll-linked layers,
      cross-fading story scenes, gentle one-time reveals.
   2. Two-part "How TGI works", Gov Collective tools and product pages.
   3. Illustrative screen previews of DICI and the Solution Stack. */

/* ---------- 1. Scroll performance ---------- */
html { scroll-padding-top: 104px; }
.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #f6f1e7; }
.brand img, .mobile-story-image, .story-home img { mix-blend-mode: normal !important; }
.story-home section:not(.story-hero):before { will-change: auto; }

/* Pinned story: all five scenes are stacked and cross-faded. */
.pinned-figure { position: relative; aspect-ratio: 3 / 2; }
.pinned-figure > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .55s ease; }
.pinned-figure > img.is-active { opacity: 1; }
.ring-progress { transition: stroke-dashoffset .6s cubic-bezier(.3, .7, .2, 1); }
@media (min-width: 851px) {
  .story-frame { min-height: min(64vh, 540px); padding: 48px 0; transition: opacity .45s ease; }
  .js-story .story-frame { opacity: .38; }
  .js-story .story-frame.is-active { opacity: 1; }
  .stage-jumps a { transition: color .3s ease, border-color .3s ease; }
}

/* One-time reveals for content below the first screen. */
.reveal.pre { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }

/* Softer hand-off between bands on the homepage. */
.story-home > section { scroll-margin-top: 90px; }
.story-home .parts-beat, .story-home .stays-beat { background: var(--card); }
.story-home .products-band { background: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  .reveal.pre, .reveal.in { opacity: 1; transform: none; transition: none; }
  .pinned-figure > img { transition: none; }
  .js-story .story-frame { opacity: 1; }
}

/* ---------- 2. Homepage parts and Gov Collective ---------- */
.parts-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.parts-two .part-figure { height: 250px; }
article.part-card:hover { transform: none; box-shadow: none; }
.part-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 6px; }
.part-tools .mini-label { width: 100%; color: var(--terracotta); font-size: 11px; }
.tool-chip { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 14px; border: 1px solid #cfc6b2; border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; }
.tool-chip:hover { border-color: var(--turmeric); color: var(--terracotta); }
.part-card .part-link { text-decoration: none; }
.part-card .part-link:hover { color: var(--terracotta); }
.template-tag { font-size: 11px; }

.four-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.four-cards h2 { font-size: 26px; }
.four-cards .text-link { margin-top: 14px; font-size: 15px; }

.products-band { padding: 84px 0; background: var(--paper); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.product-card { display: flex; flex-direction: column; text-decoration: none; background: var(--card); border: 1px solid #e3dccd; border-radius: 12px; overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease; }
.product-card:hover { box-shadow: var(--shadow); border-color: #cdbf9f; }
.product-shot { padding: 22px 22px 0; background: linear-gradient(180deg, #e9eddf, #f3efe4); border-bottom: 3px solid var(--turmeric); }
.product-shot .screen { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.product-shot .scr-body { max-height: 29em; overflow: hidden; }
.product-text { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 26px; flex: 1; }
.product-text h3 { font-size: 25px; line-height: 1.25; color: var(--navy); }
.product-text p { color: #55595f; font-size: 17px; }
.product-text .status-label { align-self: flex-start; }
.product-text .part-link { margin-top: auto; }
.product-card:hover .part-link { color: var(--terracotta); }
.preview-note { margin-top: 16px; font-size: 13px; color: #6a6c70; }

.later-band { padding: 34px 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.later-layout { display: flex; gap: 22px; align-items: baseline; }
.later-layout p:not(.mini-label) { margin: 0; color: #4f5359; font-size: 17px; }
.later-layout a { color: var(--navy); font-weight: 600; }

/* Action Labs: tools behind the method */
.tools-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.tool-links { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.tools-stages { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--turmeric); }
.tools-stages li { position: relative; padding: 4px 0 26px 28px; }
.tools-stages li:before { content: ''; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy); }
.tools-stages li:last-child { padding-bottom: 0; }
.tools-stages p { margin-top: 6px; color: #4f5359; font-size: 17px; }
.status-line { margin-top: 18px; font-size: 15px; color: #4f5359; }
.status-line .status-label { margin-right: 8px; }
.page-intro .status-line + .button, .page-intro .status-line + a { margin-top: 22px; }

/* ---------- Product pages ---------- */
.product-intro { padding-bottom: 72px; }
.product-intro .eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.product-intro h1 { max-width: 1000px; }
.product-intro .acronym { white-space: nowrap; color: var(--terracotta); }
.product-tagline { margin-top: 18px; font-family: Fraunces, Georgia, serif; font-size: 27px; line-height: 1.35; color: var(--navy); max-width: 820px; }
.product-intro .intro-copy { margin-top: 16px; max-width: 780px; }
.product-intro .hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; }
.product-intro .hero-actions .button { margin-top: 0; }
.product-hero-shot { margin-top: 52px; position: relative; z-index: 1; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.split-heading h2 { font-size: 38px; color: var(--navy); }
.split-heading > p { color: #4f5359; font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature-grid article { background: var(--card); border: 1px solid #e3dccd; border-radius: 10px; padding: 26px; }
.feature-grid h3 { margin: 14px 0 10px; font-size: 23px; color: var(--navy); }
.feature-grid p { color: #55595f; font-size: 16px; }
.assistant-note { display: flex; gap: 20px; align-items: flex-start; margin-top: 26px; padding: 24px 26px; border-radius: 10px; background: var(--navy); color: #eef1f6; }
.assistant-note h3 { color: #fff; font-size: 23px; margin-bottom: 6px; }
.assistant-note p { color: #d5dbe6; font-size: 16px; }
.assistant-note .scr-spark { flex: 0 0 auto; width: 40px; height: 40px; font-size: 18px; }
.tier-list { margin-top: 26px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.tier-list ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tier-list li { font-size: 15px; color: #4f5359; display: flex; flex-direction: column; gap: 8px; }
.tier { display: inline-flex; align-self: flex-start; padding: 2px 9px; border-radius: 4px; background: var(--navy); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .03em; }
.user-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.user-grid article { border-top: 2px solid var(--turmeric); padding-top: 18px; }
.user-grid p:not(.mini-label) { margin-top: 10px; font-size: 16px; color: #4f5359; }
.principle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 48px; }
.principle-grid article { border-top: 1px solid var(--line); padding-top: 20px; }
.principle-grid h3 { font-size: 23px; color: var(--navy); margin-bottom: 8px; }
.principle-grid p { color: #55595f; font-size: 16px; }
.connect-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.connect-chain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.connect-chain li { position: relative; }
.connect-chain li:not(:last-child):after { content: ''; position: absolute; left: 28px; bottom: -14px; height: 14px; width: 2px; background: var(--turmeric); }
.connect-chain a { display: block; padding: 16px 20px; border: 1px solid #d9d1bf; border-radius: 10px; background: var(--card); text-decoration: none; color: var(--navy); font-family: Fraunces, Georgia, serif; font-size: 21px; }
.connect-chain a .mini-label { font-family: 'Source Sans 3', sans-serif; margin-bottom: 4px; }
.connect-chain a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.connect-chain a[aria-current="page"] .mini-label { color: var(--turmeric-soft); }
.connect-chain a:hover:not([aria-current]) { border-color: var(--turmeric); }
.product-next { padding: 84px 0; }
.product-next-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.product-next h2 { font-size: 38px; color: var(--navy); margin-bottom: 16px; }
.product-next p { color: #4f5359; }
.product-next .hero-actions { margin-top: 26px; }

/* ---------- 3. Screen previews (drawn, no data) ---------- */
.screen-wrap { container-type: inline-size; }
.screen { font-size: 10px; font-size: clamp(4px, 1.02cqw, 13px); font-family: 'Source Sans 3', Arial, sans-serif; line-height: 1.35; color: #22262b; background: #f3f4f6; border: 1px solid #cfd4dc; border-radius: 1em; overflow: hidden; box-shadow: 0 2.4em 4.8em -2.6em rgba(22, 32, 58, .45); }
.scr-bar { display: flex; align-items: center; gap: .55em; padding: .8em 1.2em; background: #e5e7eb; border-bottom: 1px solid #d3d7de; }
.scr-bar i { width: .9em; height: .9em; border-radius: 50%; background: #c4c9d1; }
.scr-bar span { margin-left: auto; padding: .15em .8em; border-radius: 1em; background: #f6ecd6; color: #8a5b12; font-weight: 600; font-size: .95em; letter-spacing: .04em; text-transform: uppercase; }
.scr-body { display: grid; grid-template-columns: 17.5em minmax(0, 1fr); min-height: 46em; }
.scr-side { display: flex; flex-direction: column; gap: .2em; padding: 1.6em 1.1em; background: #1e2b45; color: #dfe5ee; }
.scr-brand { display: flex; gap: .8em; align-items: center; padding-bottom: 1.2em; margin-bottom: .6em; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.scr-brand b { display: block; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 1.45em; color: #fff; line-height: 1.1; }
.scr-brand small { display: block; font-size: .95em; color: #b8c2d3; margin-top: .2em; }
.scr-seal { flex: 0 0 auto; width: 2.8em; height: 2.8em; border-radius: 50%; background: #d69a2d; box-shadow: inset 0 0 0 .3em #1e2b45, 0 0 0 .12em #d69a2d; }
.scr-group { margin: 1em 0 .3em .6em; font-size: .85em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8e9ab0; }
.scr-item { display: flex; align-items: center; gap: .8em; padding: .65em .7em; border-radius: .5em; font-size: 1.15em; color: #e3e8f0; }
.scr-item i { width: 1em; height: 1em; border: .14em solid #9aa6bb; border-radius: .25em; }
.scr-item.is-active { background: rgba(255, 255, 255, .12); box-shadow: inset .25em 0 0 #d69a2d; color: #fff; font-weight: 600; }
.scr-assist { display: flex; gap: .8em; align-items: center; margin-top: auto; padding: 1em; border: 1px solid rgba(255, 255, 255, .18); border-radius: .7em; background: rgba(255, 255, 255, .06); }
.scr-assist b { display: block; color: #fff; font-size: 1.05em; }
.scr-assist small { display: block; color: #aeb8c9; font-size: .9em; }
.scr-spark { display: inline-flex; align-items: center; justify-content: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: #d69a2d; color: #1e2b45; font-weight: 700; flex: 0 0 auto; }
.scr-lang { display: flex; gap: .3em; margin-top: .8em; }
.scr-lang span { padding: .35em .9em; border: 1px solid rgba(255, 255, 255, .25); border-radius: .4em; font-size: .95em; }
.scr-lang .on { background: #d69a2d; color: #1e2b45; border-color: #d69a2d; font-weight: 700; }
.scr-main { display: flex; flex-direction: column; gap: 1.3em; padding: 1.5em 1.9em 1.9em; min-width: 0; }
.scr-top { display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.scr-search { flex: 0 1 58%; padding: .8em 1.1em; border-radius: .6em; background: #e6e8ed; color: #6b7280; font-size: 1.1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr-user { display: flex; align-items: center; gap: .6em; font-size: 1.05em; color: #374151; font-weight: 600; white-space: nowrap; }
.scr-user i { width: 2.2em; height: 2.2em; border-radius: 50%; background: #1e2b45; }
.scr-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.2em; align-items: end; padding: 1.8em; border-radius: .9em; background: #1e2b45; color: #fff; }
.scr-hero small { display: block; font-size: .9em; letter-spacing: .12em; text-transform: uppercase; color: #d69a2d; font-family: ui-monospace, Menlo, monospace; }
.scr-hero b { display: block; margin-top: .45em; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 2.2em; line-height: 1.15; }
.scr-hero.stack { grid-template-columns: 1fr; background: #1e2b45 radial-gradient(circle at 92% 18%, transparent 0 4.5em, rgba(255, 255, 255, .12) 4.6em 6.2em, transparent 6.3em); }
.scr-hero.stack b { max-width: 20em; }
.sk { display: block; height: .62em; border-radius: .31em; background: #d8dce3; margin-top: .6em; }
.sk.light { background: rgba(255, 255, 255, .26); }
.scr-progress small { color: #c7cfdc; letter-spacing: .08em; }
.scr-progress .bar { display: flex; height: .8em; margin-top: .8em; border-radius: .4em; overflow: hidden; gap: .12em; }
.scr-progress .bar i { display: block; height: 100%; }
.scr-progress .bar .g { background: #3d8c56; } .scr-progress .bar .b { background: #8db2df; } .scr-progress .bar .a { background: #c9871c; } .scr-progress .bar .r { background: #c0413d; }
.scr-progress .legend { display: flex; flex-wrap: wrap; gap: .4em 1.2em; margin-top: .7em; font-size: .95em; color: #d6dce6; }
.scr-progress .legend em { font-style: normal; display: inline-flex; align-items: center; gap: .4em; background: none; }
.scr-progress .legend em:before { content: ''; width: .7em; height: .7em; border-radius: .15em; background: inherit; }
.scr-progress .legend em.g:before { background: #3d8c56; } .scr-progress .legend em.b:before { background: #8db2df; } .scr-progress .legend em.a:before { background: #c9871c; } .scr-progress .legend em.r:before { background: #c0413d; }
.scr-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1em; }
.scr-tile { padding: 1.1em; border-radius: .7em; }
.scr-tile b { font-size: 1.1em; }
.scr-tile .sk:first-of-type { height: 1.6em; width: 30% !important; margin-top: .6em; }
.t-red { background: #f5dddd; } .t-red .sk:first-of-type { background: #c0413d; }
.t-amber { background: #f6ebcf; } .t-amber .sk:first-of-type { background: #c9871c; }
.t-blue { background: #dde6f2; } .t-blue .sk:first-of-type { background: #1e2b45; }
.t-green { background: #dcebdf; } .t-green .sk:first-of-type { background: #3d8c56; }
.scr-cols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.2em; flex: 1; }
.scr-panel { padding: 1.3em; border-radius: .9em; background: #fff; border: 1px solid #e1e4ea; min-width: 0; }
.scr-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9em; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 1.4em; color: #1e2b45; }
.scr-signal { display: flex; gap: .9em; padding: 1em; border-radius: .7em; background: #f7e1e1; }
.scr-signal + .scr-signal { margin-top: .8em; }
.scr-signal.warn { background: #f7edd9; }
.scr-signal b { font-size: 1.15em; color: #1f2937; }
.scr-flag { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 2.2em; height: 2.2em; border-radius: .5em; background: #fff; color: #c0413d; font-weight: 700; }
.scr-chips { display: flex; gap: .4em; margin-top: .7em; }
.scr-chips em { font-style: normal; font-family: ui-monospace, Menlo, monospace; font-size: .85em; padding: .15em .5em; border-radius: .3em; background: #dfe6f2; color: #1e2b45; }
.scr-ask { display: inline-block; margin-top: .8em; padding: .4em .9em; border: 1px solid #c9ced8; border-radius: .5em; background: #fff; font-weight: 600; font-size: .95em; }
.scr-map { display: block; width: 100%; height: auto; margin-top: .4em; }
.scr-query { display: flex; align-items: center; gap: 1em; margin-top: 1.4em; padding: .55em .55em .55em 1.1em; border-radius: .6em; background: #fff; color: #6b7280; font-size: 1.05em; }
.scr-query span:first-child { flex: 1; }
.scr-query span:nth-child(2) { padding-left: 1em; border-left: 1px solid #e2e5ea; color: #1f2937; }
.scr-query em { font-style: normal; padding: .55em 1em; border-radius: .45em; background: #1e2b45; color: #fff; font-weight: 600; }
.scr-key { display: inline-flex; align-items: center; gap: .35em; font-family: 'Source Sans 3', sans-serif; font-weight: 400; font-size: .62em; color: #6b7280; }
.scr-key i { display: inline-block; width: 1em; height: .45em; border-radius: .2em; background: #cdd4de; }
.scr-key i:nth-of-type(2) { background: #a3b1c6; } .scr-key i:nth-of-type(3) { background: #6a7f9d; } .scr-key i:nth-of-type(4) { background: #1e2b45; }
.scr-probs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8em; }
.scr-prob { padding: .9em 1em; border: 1px solid #e1e4ea; border-radius: .7em; background: #fff; }
.scr-prob.is-active { background: #e2e9f4; border-color: #1e2b45; }
.scr-prob b { display: block; font-size: 1.1em; font-weight: 500; color: #1f2937; line-height: 1.25; min-height: 2.5em; }
.scr-prob .tiers { display: flex; gap: .15em; margin-top: .7em; height: .4em; }
.scr-prob .tiers i { flex: 1; border-radius: .2em; background: #cdd4de; }
.scr-prob .tiers i:nth-child(2) { background: #a3b1c6; } .scr-prob .tiers i:nth-child(3) { background: #6a7f9d; } .scr-prob .tiers i:nth-child(4) { background: #1e2b45; }
.scr-prob:nth-child(3n) .tiers i:nth-child(4) { flex: .3; } .scr-prob:nth-child(2n) .tiers i:first-child { flex: 2; }
.scr-record { height: 100%; }
.scr-rec-head { display: flex; justify-content: space-between; gap: 1em; align-items: flex-start; padding-bottom: .9em; border-bottom: 1px solid #e5e7eb; }
.scr-rec-head b { font-family: Fraunces, Georgia, serif; font-size: 1.35em; color: #1e2b45; line-height: 1.2; }
.scr-rec-head .tier { font-size: .95em; padding: .2em .6em; border-radius: .3em; }
.scr-rec-grid { display: grid; grid-template-columns: 1fr; gap: .9em; margin-top: .9em; }
.scr-rec-grid small { display: block; font-size: .85em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; }
@container (max-width: 620px) {
  .screen { font-size: 2.05cqw; }
  .scr-side { display: none; }
  .scr-body { grid-template-columns: 1fr; min-height: 0; }
  .scr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scr-cols { grid-template-columns: 1fr; }
  .scr-hero { grid-template-columns: 1fr; gap: 1.2em; }
  .scr-mapbox { display: none; }
  .scr-search { flex-basis: 70%; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .four-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .user-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier-list ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .parts-two, .product-grid { grid-template-columns: 1fr; }
  .tools-layout, .split-heading, .connect-layout, .product-next-layout { grid-template-columns: 1fr; gap: 32px; }
  .product-tagline { font-size: 23px; }
  .products-band, .product-next { padding: 56px 0; }
  .later-layout { flex-direction: column; gap: 8px; }
  .product-shot .scr-body { max-height: 34em; }
}
@media (max-width: 600px) {
  .four-cards, .feature-grid, .user-grid, .principle-grid, .tier-list ol { grid-template-columns: 1fr; }
  .product-intro h1 { font-size: 33px; }
  .product-intro .acronym { white-space: normal; }
  .split-heading h2, .product-next h2 { font-size: 30px; }
  .product-hero-shot { margin-top: 36px; }
  .product-shot { padding: 14px 14px 0; }
  .parts-two .part-figure { height: auto; }
}

/* ---------- 4. Next phase, merged "What stays", Gov Collective (rev. 31 Oct) ---------- */
.phase-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: #f2dfa9; color: #6b4a0e; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; white-space: nowrap; }
.nav-links a.has-badge { display: inline-flex; align-items: center; gap: 8px; }
.nav-badge { display: inline-flex; padding: 2px 7px; border-radius: 999px; background: #f2dfa9; color: #6b4a0e; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1.4; white-space: nowrap; }
.nav-links { gap: 30px; }
.nav-links a, .nav-cta { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 851px) { .nav-links { gap: 20px; } .nav-links a:not(.button) { font-size: 15px; } }
@media (max-width: 1100px) and (min-width: 851px) {
  .nav-links { gap: 18px; }
  .nav-links a.has-badge { position: relative; }
  .nav-links a.has-badge .nav-badge { position: absolute; left: 50%; top: -13px; transform: translateX(-50%); font-size: 8px; padding: 1px 5px; }
  .nav-cta { padding-inline: 18px; gap: 12px; }
}

.next-phase-strip { display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; margin-top: 24px; padding: 18px 24px; border: 1px dashed #cdbf9f; border-radius: 10px; background: var(--paper); }
.next-phase-strip p { margin: 0; flex: 1 1 380px; color: #4f5359; font-size: 17px; }
.next-phase-strip strong { color: var(--navy); }
.next-phase-strip .text-link { font-size: 15px; }
.parts-two .part-figure { height: 190px; }

.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.product-meta .mini-label { color: var(--terracotta); font-size: 11px; }

.stays-tools { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: stretch; margin-top: 8px; }
.stays-arrow { position: relative; }
.stays-arrow span { position: absolute; left: 0; right: 0; top: 42%; height: 2px; background: var(--turmeric); }
.stays-arrow span:after { content: ''; position: absolute; right: 2px; top: -5px; border: 6px solid transparent; border-left: 9px solid var(--turmeric); border-right: 0; }
.stays-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 22px; }
.stays-foot .preview-note { margin: 0; }
.stays-beat .stays-top { margin-bottom: 36px; }

.gc-parts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gc-part { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; background: var(--card); border: 1px solid #e3dccd; border-top: 3px solid var(--turmeric); border-radius: 10px; }
.gc-part:nth-child(n+3) { border-top-color: #b9c7b0; }
.gc-part h3 { font-size: 24px; color: var(--navy); margin: 0; }
.gc-part p:not(.gc-part-head) { color: #55595f; font-size: 16px; }
.gc-part-head { margin: 0; }
.gc-part-head .mini-label { color: var(--terracotta); font-size: 11px; }
.gc-part .text-link { margin-top: auto; font-size: 15px; }
.gc-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.gc-flow:before { content: ''; position: absolute; left: 18px; right: 18px; top: 18px; height: 2px; background: var(--turmeric); }
.gc-flow li { position: relative; }
.flow-index { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-family: Fraunces, Georgia, serif; font-size: 15px; }
.gc-flow h3 { margin: 18px 0 8px; font-size: 23px; color: var(--navy); }
.gc-flow p { color: #4f5359; font-size: 16px; }
.serve-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.serve-grid article { border-top: 2px solid var(--turmeric); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.serve-grid p:not(.mini-label) { color: #4f5359; font-size: 17px; }
.serve-grid .text-link { margin-top: auto; font-size: 15px; }
.later-layout { align-items: center; }

@media (max-width: 1100px) {
  .gc-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gc-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .gc-flow:before { display: none; }
}
@media (max-width: 850px) {
  .nav-links a.has-badge { justify-content: flex-start; }
  .stays-tools { grid-template-columns: 1fr; row-gap: 0; }
  .stays-arrow { height: 40px; }
  .stays-arrow span { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .stays-arrow span:after { right: auto; left: -5px; top: auto; bottom: 0; border: 6px solid transparent; border-top: 9px solid var(--turmeric); border-bottom: 0; }
  .serve-grid { grid-template-columns: 1fr; }
  .next-phase-strip { padding: 16px 18px; }
}
@media (max-width: 600px) {
  .gc-parts, .gc-flow { grid-template-columns: 1fr; }
  .gc-flow { padding-left: 0; }
}

/* Three parts with Gov Cap marked Next phase (rev. 31 Oct) */
.parts-three .part-figure { height: 190px; }
.part-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.part-name .phase-badge { font-size: 10px; padding: 2px 8px; }
article.part-card:hover { transform: none; box-shadow: none; }
@media (max-width: 420px) {
  .parts-three .part-card { grid-template-columns: 1fr; }
  .parts-three .part-figure { height: 150px; min-height: 0; padding-top: 14px; border-right: 0; border-bottom: 3px solid var(--turmeric); }
  .parts-three .part-body strong { font-size: 23px; overflow-wrap: anywhere; }
}
