@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap');

/* FINAL SITE SYSTEM — one joyful, disciplined visual language across every public page */
:root{
  --final-ink:#10263b;
  --final-ink-soft:#27465a;
  --final-muted:#647987;
  --final-paper:#fbfaf4;
  --final-white:#fff;
  --final-cyan:#0fa9b5;
  --final-cyan-soft:#e7f8f7;
  --final-blue:#4e86d6;
  --final-blue-soft:#edf3ff;
  --final-amber:#e8b33e;
  --final-amber-soft:#fff4d8;
  --final-coral:#ed735f;
  --final-coral-soft:#fff0eb;
  --final-green:#55b98a;
  --final-line:rgba(16,38,59,.12);
  --final-shadow:0 18px 50px rgba(16,38,59,.09);
  --final-shadow-lg:0 28px 80px rgba(16,38,59,.13);
  --final-radius:24px;
}
html{scroll-behavior:smooth}
body,button,input,textarea,select{font-family:Sora,Inter,"Segoe UI",Arial,sans-serif!important}
body{background:var(--final-paper)!important;color:var(--final-ink)!important}
h1,h2,h3,h4,p,li,a,span,small,strong,b,button,input,textarea,select{font-family:Sora,Inter,"Segoe UI",Arial,sans-serif}
h1,h2,h3,h4{letter-spacing:-.045em!important;text-wrap:balance}
p,li{line-height:1.72}
a{transition:color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease}

/* Remove decorative doodles and pseudo-illustrations globally */
.doodle,.doodle-hero,[class*="doodle"],[class*="scribble"],[class*="sticker"]{display:none!important}
.hero::after,.portfolio-hero::after,.experience-hero::after,.architecture-hero::after,.technologies-hero::after,.governance-hero::after,.contact-hero::after,.evidence-hero::after,.projects-hero::after{display:none!important;content:none!important}

/* Navigation: stable, calm, and identical in shape */
nav,.site-global-nav{background:rgba(251,250,244,.92)!important;border-bottom:1px solid var(--final-line)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.navbar,.site-nav-inner{min-height:74px!important;width:min(1180px,calc(100% - 44px))!important}
.mark,.site-brand{color:var(--final-ink)!important;font-family:Sora,Inter,sans-serif!important;letter-spacing:.045em!important}
.mark img,.site-brand img{border-radius:12px}
.links a,.site-desktop-links a,.desktop-more>summary,.site-more>summary{color:var(--final-muted)!important;border-radius:999px!important;font-weight:600!important}
.links a:hover,.desktop-more>summary:hover,.site-desktop-links a:hover,.site-more>summary:hover{background:var(--final-white)!important;color:var(--final-ink)!important}
.pill,.site-contact,.mobile-contact,.site-mobile-contact{background:var(--final-ink)!important;color:#fff!important;border-radius:999px!important;box-shadow:0 10px 24px rgba(16,38,59,.14)!important}
.pill:hover,.site-contact:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(16,38,59,.18)!important}

/* Shared hero: generous whitespace and a warm/cyan wash */
.hero,.portfolio-hero,.projects-type-hero,.evidence-hero,.contact-hero,.technologies-hero,.experience-hero,.architecture-hero,.governance-hero{
  background:
    radial-gradient(circle at 88% 14%,rgba(232,179,62,.17),transparent 24%),
    radial-gradient(circle at 8% 88%,rgba(15,169,181,.11),transparent 28%),
    linear-gradient(180deg,#fffefa 0%,#f4fbfa 100%)!important;
}
.hero>.wrap,.portfolio-hero>.wrap,.projects-type-hero>.wrap,.evidence-hero>.wrap,.contact-hero>.wrap,.technologies-hero>.wrap,.experience-hero>.wrap,.architecture-hero>.wrap,.governance-hero>.wrap{position:relative;z-index:1}
.kicker,.eyebrow,.ey,.registry-id,.registry-type,.arch-case-index,.category-no,.case-id{
  color:var(--final-cyan)!important;letter-spacing:.12em!important;font-weight:800!important
}
.kicker::after{content:""!important;display:inline-block!important;width:28px!important;height:3px!important;margin-left:10px!important;border-radius:99px!important;background:linear-gradient(90deg,var(--final-cyan),var(--final-amber))!important}
.display,.portfolio-title,.executive-hero h1{font-weight:700!important;color:var(--final-ink)!important}
.hero .lead,.projects-type-hero .lead,.evidence-hero .lead,.technologies-hero .lead,.experience-hero .lead{color:var(--final-muted)!important}

/* Buttons and actions */
.btn,.hero-actions a,.portfolio-hero-action a,.experience-actions a{
  min-height:48px!important;padding:0 20px!important;border-radius:999px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:var(--final-ink)!important;color:#fff!important;border:1px solid var(--final-ink)!important;
  box-shadow:0 12px 24px rgba(16,38,59,.12)!important;font-weight:700!important
}
.btn:hover,.hero-actions a:hover{transform:translateY(-2px);box-shadow:0 18px 32px rgba(16,38,59,.18)!important}
.btn.alt,.hero-actions .alt{background:var(--final-white)!important;color:var(--final-ink)!important;border-color:var(--final-line)!important}
.context-link,.section-action a{color:var(--final-cyan)!important;font-weight:700!important}
.context-link:hover,.section-action a:hover{color:var(--final-ink)!important}

/* Section architecture */
.wrap{width:min(1180px,calc(100% - 44px))!important}
.band,.arch-section,.gov-section,.registry-shell,.evidence-band,.technology-categories,.v5-toolkit-section,.home-mandate,.home-cases,.home-recognition,.home-operating,.contact-hub,.contact-close,.flagships,.signature,.recognition-strip,.exec-snapshot{
  border-color:var(--final-line)!important
}
.section-title,.section-head h2,.signature-head h2,.wb-title{color:var(--final-ink)!important}
.section-title::after,.section-head h2::after,.signature-head h2::after{background:linear-gradient(90deg,var(--final-cyan),var(--final-blue),var(--final-amber))!important;width:60px!important}

/* Cards: consistent surfaces, stronger hierarchy, colorful restrained edges */
.case,.project-card,.featured-card,.gov,.gov-card,.technology-card,.tech-category,.architecture-card,.decision-card,.domain-card,.evidence-card,.recognition-year,.registry-card,.award,.metric,.stat,.portfolio-note,.truth-note,.board-card,.arch-case,.gov-rule,.gov-win,.operating-steps article,.mediq-node,.mandate-chips span{
  border:1px solid var(--final-line)!important;
  background:rgba(255,255,255,.82)!important;
  box-shadow:0 8px 24px rgba(16,38,59,.045)!important;
  border-radius:var(--final-radius)!important;
}
.case,.project-card,.featured-card,.gov,.gov-card,.technology-card,.tech-category,.architecture-card,.decision-card,.domain-card,.evidence-card,.recognition-year,.registry-card,.arch-case,.gov-rule,.gov-win,.operating-steps article{
  overflow:hidden
}
.case::before,.project-card::before,.featured-card::before,.gov::before,.gov-card::before,.technology-card::before,.tech-category::before,.architecture-card::before,.decision-card::before,.domain-card::before,.evidence-card::before,.recognition-year::before,.registry-card::before{height:4px!important;left:0!important;top:0!important;width:100%!important;opacity:1!important;background:linear-gradient(90deg,var(--final-cyan),var(--final-blue))!important}
.case:nth-child(4n+2)::before,.project-card:nth-child(4n+2)::before,.gov-card:nth-child(4n+2)::before,.technology-card:nth-child(4n+2)::before,.tech-category:nth-child(4n+2)::before,.architecture-card:nth-child(4n+2)::before,.evidence-card:nth-child(4n+2)::before,.registry-card:nth-child(4n+2)::before{background:linear-gradient(90deg,var(--final-blue),#8e6ed8)!important}
.case:nth-child(4n+3)::before,.project-card:nth-child(4n+3)::before,.gov-card:nth-child(4n+3)::before,.technology-card:nth-child(4n+3)::before,.tech-category:nth-child(4n+3)::before,.architecture-card:nth-child(4n+3)::before,.evidence-card:nth-child(4n+3)::before,.registry-card:nth-child(4n+3)::before{background:linear-gradient(90deg,var(--final-amber),var(--final-coral))!important}
.case:nth-child(4n)::before,.project-card:nth-child(4n)::before,.gov-card:nth-child(4n)::before,.technology-card:nth-child(4n)::before,.tech-category:nth-child(4n)::before,.architecture-card:nth-child(4n)::before,.evidence-card:nth-child(4n)::before,.registry-card:nth-child(4n)::before{background:linear-gradient(90deg,var(--final-green),var(--final-cyan))!important}
@media(hover:hover){.case:hover,.project-card:hover,.featured-card:hover,.gov:hover,.gov-card:hover,.technology-card:hover,.tech-category:hover,.architecture-card:hover,.decision-card:hover,.domain-card:hover,.evidence-card:hover,.recognition-year:hover,.registry-card:hover{transform:translateY(-4px)!important;box-shadow:var(--final-shadow)!important;border-color:rgba(15,169,181,.28)!important}}

/* Homepage sections */
.executive-hero{background:linear-gradient(135deg,#fffefa 0%,#f1fbfa 100%)!important}
.photo-card{border-radius:30px!important;box-shadow:var(--final-shadow-lg)!important}
.photo-frame{border-radius:24px!important;overflow:hidden}
.mediq-flagship{background:linear-gradient(135deg,#0f3349 0%,#145a65 58%,#168f94 100%)!important;color:#fff!important}
.mediq-flagship h2,.mediq-flagship p,.mediq-flagship h3,.mediq-flagship .kicker{color:#fff!important}
.mediq-grid{gap:clamp(28px,5vw,72px)!important}
.mediq-map{background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:28px!important}
.mediq-node{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.2)!important;color:#fff!important}
.mediq-node span{color:rgba(255,255,255,.76)!important}
.exec-snapshot{background:var(--final-white)!important}
.exec-snapshot-grid>div{background:linear-gradient(180deg,#fff,#f8fbfb)!important}
.home-mandate{background:linear-gradient(135deg,#fff4d8 0%,#fffaf0 52%,#e9f8f7 100%)!important}
.home-cases{background:#f7fbfa!important}
.recognition-strip{background:linear-gradient(90deg,#eef6ff,#fff8e7)!important}
.signature{background:#fffefa!important}
.cta{background:linear-gradient(135deg,#10263b 0%,#164a5a 60%,#0f9cab 100%)!important;color:#fff!important}
.cta h2,.cta .kicker{color:#fff!important}
.cta h2 em{color:#bdf3eb!important}

/* Footer: one compact, catchy, reliable block */
footer{background:var(--final-ink)!important;color:#fff!important;border-top:0!important}
.final-footer{padding:64px 0 28px!important}
.footer-title{font-size:clamp(2rem,4vw,4rem)!important;letter-spacing:-.06em!important;color:#fff!important}
.footer-title em{color:#aef0e8!important}
.footer-intro,.footer-row{color:rgba(255,255,255,.68)!important}
.footer-nav{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:26px 0!important}
.footer-nav a{display:inline-flex!important;align-items:center!important;min-height:40px!important;padding:0 14px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:999px!important;color:#fff!important;background:rgba(255,255,255,.07)!important;text-decoration:none!important;font-size:12px!important;font-weight:700!important}
.footer-nav a:hover{background:#fff!important;color:var(--final-ink)!important;transform:translateY(-2px)}
.footer-row{display:flex!important;justify-content:space-between!important;gap:16px!important;flex-wrap:wrap!important;padding-top:22px!important;border-top:1px solid rgba(255,255,255,.14)!important}

/* Prevent overflow from long labels and data cards */
img{max-width:100%;height:auto}
table{max-width:100%;display:block;overflow-x:auto}
.registry-card h3,.case h3,.project-card h3,.featured-card h3,.gov-card h3,.technology-card h3{overflow-wrap:anywhere}
@media(max-width:900px){
  .wrap,.navbar,.site-nav-inner{width:min(100% - 28px,1180px)!important}
  .hero,.portfolio-hero,.projects-type-hero,.evidence-hero,.contact-hero,.technologies-hero,.experience-hero,.architecture-hero,.governance-hero{padding-block:62px!important}
  .display,.portfolio-title,.executive-hero h1{font-size:clamp(2.7rem,10vw,5rem)!important;line-height:.98!important}
  .case-grid,.featured-grid,.category-grid,.evidence-grid,.registry-grid,.operating-steps,.mediq-ecosystem{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:640px){
  .wrap,.navbar,.site-nav-inner{width:calc(100% - 28px)!important}
  .hero,.portfolio-hero,.projects-type-hero,.evidence-hero,.contact-hero,.technologies-hero,.experience-hero,.architecture-hero,.governance-hero{padding-block:46px!important}
  .hero-actions,.experience-actions,.hero-actions{flex-direction:column!important;align-items:stretch!important}
  .hero-actions a,.experience-actions a,.btn{width:100%!important}
  .case-grid,.featured-grid,.category-grid,.evidence-grid,.registry-grid,.operating-steps,.mediq-ecosystem{grid-template-columns:1fr!important}
  .final-footer{padding:48px 0 24px!important}
  .footer-title{font-size:2.3rem!important}
  .footer-nav a{flex:1 1 auto;justify-content:center}
  .footer-row{font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* Homepage hero cleanup: remove the doodle ring beside the name. */
.executive-hero .hero-name::after,
.executive-hero .hero-name::before,
.hero-name::after,
.hero-name::before{
  display:none!important;
  content:none!important;
  border:0!important;
  background:none!important;
  box-shadow:none!important;
}


/* Sticky-note layer — playful paper cues with executive restraint. */
:root{
  --note-yellow:#fff3ad;
  --note-cyan:#dff8f5;
  --note-blue:#e5efff;
  --note-coral:#ffe3db;
  --note-green:#e2f6df;
  --note-shadow:0 16px 26px rgba(36,48,57,.12),0 3px 0 rgba(36,48,57,.04);
}
.exec-snapshot-grid>div,
.home-cases .case,
.operating-steps article,
.project-type-summary article,
.registry-card,
.featured-card,
.evidence-card,
.tech-category,
.gov-win,
.gov-rule,
.arch-case,
.contact-channel,
.mediq-node,
.recognition-strip-items article,
.flagships .case,
.timeline-content{
  position:relative!important;
  isolation:isolate;
  box-shadow:var(--note-shadow)!important;
  border-radius:8px 18px 10px 16px!important;
  transform:rotate(-.45deg);
  background:var(--note-yellow)!important;
}
.exec-snapshot-grid>div:nth-child(4n+2),
.home-cases .case:nth-child(4n+2),
.operating-steps article:nth-child(4n+2),
.project-type-summary article:nth-child(4n+2),
.registry-card:nth-child(4n+2),
.featured-card:nth-child(4n+2),
.evidence-card:nth-child(4n+2),
.tech-category:nth-child(4n+2),
.gov-win:nth-child(4n+2),
.gov-rule:nth-child(4n+2),
.arch-case:nth-child(4n+2),
.contact-channel:nth-child(4n+2),
.mediq-node:nth-child(4n+2),
.recognition-strip-items article:nth-child(4n+2),
.flagships .case:nth-child(4n+2),
.timeline-content:nth-child(4n+2){background:var(--note-cyan)!important;transform:rotate(.55deg)}
.exec-snapshot-grid>div:nth-child(4n+3),
.home-cases .case:nth-child(4n+3),
.operating-steps article:nth-child(4n+3),
.project-type-summary article:nth-child(4n+3),
.registry-card:nth-child(4n+3),
.featured-card:nth-child(4n+3),
.evidence-card:nth-child(4n+3),
.tech-category:nth-child(4n+3),
.gov-win:nth-child(4n+3),
.gov-rule:nth-child(4n+3),
.arch-case:nth-child(4n+3),
.contact-channel:nth-child(4n+3),
.mediq-node:nth-child(4n+3),
.recognition-strip-items article:nth-child(4n+3),
.flagships .case:nth-child(4n+3),
.timeline-content:nth-child(4n+3){background:var(--note-blue)!important;transform:rotate(-.25deg)}
.exec-snapshot-grid>div:nth-child(4n),
.home-cases .case:nth-child(4n),
.operating-steps article:nth-child(4n),
.project-type-summary article:nth-child(4n),
.registry-card:nth-child(4n),
.featured-card:nth-child(4n),
.evidence-card:nth-child(4n),
.tech-category:nth-child(4n),
.gov-win:nth-child(4n),
.gov-rule:nth-child(4n),
.arch-case:nth-child(4n),
.contact-channel:nth-child(4n),
.mediq-node:nth-child(4n),
.recognition-strip-items article:nth-child(4n),
.flagships .case:nth-child(4n),
.timeline-content:nth-child(4n){background:var(--note-coral)!important;transform:rotate(.35deg)}
.exec-snapshot-grid>div:nth-child(5n),
.home-cases .case:nth-child(5n),
.operating-steps article:nth-child(5n),
.registry-card:nth-child(5n),
.evidence-card:nth-child(5n),
.tech-category:nth-child(5n),
.mediq-node:nth-child(5n),
.timeline-content:nth-child(5n){background:var(--note-green)!important;transform:rotate(-.6deg)}

.exec-snapshot-grid>div::before,
.home-cases .case::before,
.operating-steps article::before,
.project-type-summary article::before,
.registry-card::before,
.featured-card::before,
.evidence-card::before,
.tech-category::before,
.gov-win::before,
.gov-rule::before,
.arch-case::before,
.contact-channel::before,
.mediq-node::before,
.recognition-strip-items article::before,
.flagships .case::before,
.timeline-content::before{
  content:""!important;
  position:absolute!important;
  top:-7px!important;
  left:50%!important;
  width:68px!important;
  height:13px!important;
  transform:translateX(-50%) rotate(-2deg)!important;
  background:rgba(255,236,164,.92)!important;
  border:0!important;
  border-radius:2px!important;
  box-shadow:0 1px 2px rgba(36,48,57,.08)!important;
  z-index:2!important;
  opacity:.76!important;
}
.home-cases .case::after,
.operating-steps article::after,
.registry-card::after,
.evidence-card::after,
.tech-category::after,
.gov-win::after,
.gov-rule::after,
.arch-case::after,
.contact-channel::after,
.flagships .case::after{
  content:""!important;
  position:absolute!important;
  right:15px!important;
  bottom:14px!important;
  width:28px!important;
  height:4px!important;
  border-radius:50%!important;
  background:rgba(16,38,59,.16)!important;
  border:0!important;
  box-shadow:none!important;
  transform:rotate(-4deg)!important;
  opacity:.55!important;
}
.exec-snapshot-grid>div:hover,
.home-cases .case:hover,
.operating-steps article:hover,
.project-type-summary article:hover,
.registry-card:hover,
.featured-card:hover,
.evidence-card:hover,
.tech-category:hover,
.gov-win:hover,
.gov-rule:hover,
.arch-case:hover,
.contact-channel[href]:hover,
.mediq-node:hover,
.recognition-strip-items article:hover,
.flagships .case:hover,
.timeline-content:hover{
  transform:translateY(-5px) rotate(0deg)!important;
  box-shadow:0 22px 34px rgba(36,48,57,.16)!important;
}
.mediq-flagship .mediq-node{
  background:rgba(255,247,183,.16)!important;
  box-shadow:0 12px 24px rgba(4,26,38,.16)!important;
}
.mediq-flagship .mediq-node:nth-child(3n+2){background:rgba(205,247,241,.16)!important}
.mediq-flagship .mediq-node:nth-child(3n){background:rgba(207,226,255,.15)!important}
@media(max-width:760px){
  .exec-snapshot-grid>div,
  .home-cases .case,
  .operating-steps article,
  .project-type-summary article,
  .registry-card,
  .featured-card,
  .evidence-card,
  .tech-category,
  .gov-win,
  .gov-rule,
  .arch-case,
  .contact-channel,
  .mediq-node,
  .recognition-strip-items article,
  .flagships .case,
  .timeline-content{transform:rotate(0deg)!important;border-radius:10px 16px 10px 14px!important}
  .exec-snapshot-grid>div::before,
  .home-cases .case::before,
  .operating-steps article::before,
  .project-type-summary article::before,
  .registry-card::before,
  .featured-card::before,
  .evidence-card::before,
  .tech-category::before,
  .gov-win::before,
  .gov-rule::before,
  .arch-case::before,
  .contact-channel::before,
  .mediq-node::before,
  .recognition-strip-items article::before,
  .flagships .case::before,
  .timeline-content::before{top:-5px!important;width:54px!important;height:10px!important}
}
@media(prefers-reduced-motion:reduce){
  .exec-snapshot-grid>div,.home-cases .case,.operating-steps article,.project-type-summary article,.registry-card,.featured-card,.evidence-card,.tech-category,.gov-win,.gov-rule,.arch-case,.contact-channel,.mediq-node,.recognition-strip-items article,.flagships .case,.timeline-content{transform:none!important}
}


/* 2026 compact editorial pass — shared public-site rhythm. Keeps hierarchy and proof density while reducing vertical travel. */
:root{--compact-section-y:clamp(48px,5.6vw,76px);--compact-section-y-mobile:42px;--compact-card-pad:clamp(16px,1.8vw,24px);--compact-gap:clamp(12px,1.6vw,22px)}

/* Public pages: tighter section rhythm without flattening hero hierarchy. */
main>section:not(.executive-hero):not(.mq-hero):not(.contact-hero),
main>.section,
main>.band{padding-top:var(--compact-section-y)!important;padding-bottom:var(--compact-section-y)!important}

/* Keep opening statements spacious, but remove oversized viewport-style whitespace. */
.executive-hero,.contact-hero,.page-hero,.hero,.mq-hero{padding-top:clamp(54px,6vw,84px)!important;padding-bottom:clamp(54px,6vw,84px)!important}

/* Shared editorial headings: less dead space between label, title and supporting copy. */
.section-head,.signature-head,.page-head,.hero-copy{gap:clamp(10px,1.3vw,18px)!important}
.section-head{margin-bottom:clamp(22px,3vw,38px)!important}
.kicker{margin-bottom:clamp(8px,1vw,13px)!important}

/* Dense but readable modular grids. */
.case-grid,.featured-grid,.category-grid,.evidence-grid,.registry-grid,.operating-steps,.project-type-summary,.recognition-strip-items,.contact-hub-grid,.contact-channel-list,.flagships,.knowledge-grid,.decision-grid{gap:var(--compact-gap)!important}
.case,.project-card,.featured-card,.gov,.gov-card,.technology-card,.tech-category,.architecture-card,.decision-card,.domain-card,.evidence-card,.recognition-year,.registry-card,.award,.metric,.stat,.portfolio-note,.truth-note,.board-card,.arch-case,.gov-rule,.gov-win,.operating-steps article,.project-type-summary article,.recognition-strip-items article,.flagships .case,.timeline-content{padding:var(--compact-card-pad)!important}

/* Compact copy rhythm inside cards while preserving long-form article readability. */
.case h3,.project-card h3,.featured-card h3,.evidence-card h3,.registry-card h3,.operating-steps h3,.flagships .case h3{margin-top:8px!important;margin-bottom:8px!important}
.case p,.project-card p,.featured-card p,.evidence-card p,.registry-card p,.operating-steps p,.flagships .case p{margin-top:0!important;margin-bottom:10px!important}
.tags{gap:6px!important;margin-top:12px!important}
.tags span{padding:5px 8px!important}

/* Homepage-specific compression: retain MedIQ as the visual anchor. */
.home-mandate{padding-top:clamp(52px,6vw,78px)!important;padding-bottom:clamp(52px,6vw,78px)!important}
.home-mandate .mandate-copy{padding:clamp(20px,2.5vw,30px)!important}
.home-mandate .mandate-chips{margin:18px 0!important}
.home-cases .case{min-height:0!important}
.signature.operating-summary{padding-top:clamp(52px,6vw,78px)!important;padding-bottom:clamp(52px,6vw,78px)!important}
.recognition-strip{padding-top:clamp(40px,4.5vw,60px)!important;padding-bottom:clamp(40px,4.5vw,60px)!important}
.cta{padding-top:clamp(44px,5vw,66px)!important;padding-bottom:clamp(44px,5vw,66px)!important}

/* Footer remains a deliberate close, but no longer consumes a full screen. */
body footer .final-footer{padding-top:clamp(48px,5vw,64px)!important;padding-bottom:24px!important}
body footer .footer-nav{margin-top:26px!important}

@media(max-width:760px){
  main>section:not(.executive-hero):not(.mq-hero):not(.contact-hero),main>.section,main>.band{padding-top:var(--compact-section-y-mobile)!important;padding-bottom:var(--compact-section-y-mobile)!important}
  .executive-hero,.contact-hero,.page-hero,.hero,.mq-hero{padding-top:44px!important;padding-bottom:48px!important}
  .section-head{margin-bottom:22px!important}
  .case-grid,.featured-grid,.category-grid,.evidence-grid,.registry-grid,.operating-steps,.project-type-summary,.recognition-strip-items,.contact-hub-grid,.contact-channel-list,.flagships,.knowledge-grid,.decision-grid{gap:12px!important}
  .case,.project-card,.featured-card,.gov,.gov-card,.technology-card,.tech-category,.architecture-card,.decision-card,.domain-card,.evidence-card,.recognition-year,.registry-card,.award,.metric,.stat,.portfolio-note,.truth-note,.board-card,.arch-case,.gov-rule,.gov-win,.operating-steps article,.project-type-summary article,.recognition-strip-items article,.flagships .case,.timeline-content{padding:16px!important}
  body footer .final-footer{padding-top:44px!important}
}


/* Hero density refinement — remove excess vertical air while preserving executive hierarchy. */
.executive-hero{padding-top:clamp(34px,3.8vw,54px)!important;padding-bottom:clamp(34px,3.8vw,54px)!important}
.executive-hero .hero-grid{align-items:center!important;min-height:0!important}
.executive-hero .hero-copy{padding-top:0!important;padding-bottom:0!important}
.executive-hero .hero-name{margin-bottom:8px!important}
.executive-hero h1{margin-top:10px!important;margin-bottom:14px!important}
.executive-hero .hero-copy>p{margin-top:0!important;margin-bottom:18px!important}
.executive-hero .hero-actions{margin-top:18px!important}
.executive-hero .photo-card{margin-top:0!important;margin-bottom:0!important}
@media(max-width:760px){
  .executive-hero{padding-top:28px!important;padding-bottom:32px!important}
  .executive-hero h1{margin-top:8px!important;margin-bottom:12px!important}
  .executive-hero .hero-copy>p{margin-bottom:16px!important}
  .executive-hero .hero-actions{margin-top:16px!important}
}


/* Sticky-note tape palette — varied paper-tape accents, deliberately distinct from card fills. */
.exec-snapshot-grid>div:nth-child(5n+1)::before,.home-cases .case:nth-child(5n+1)::before,.operating-steps article:nth-child(5n+1)::before,.project-type-summary article:nth-child(5n+1)::before,.registry-card:nth-child(5n+1)::before,.featured-card:nth-child(5n+1)::before,.evidence-card:nth-child(5n+1)::before,.tech-category:nth-child(5n+1)::before,.gov-win:nth-child(5n+1)::before,.gov-rule:nth-child(5n+1)::before,.arch-case:nth-child(5n+1)::before,.contact-channel:nth-child(5n+1)::before,.mediq-node:nth-child(5n+1)::before,.recognition-strip-items article:nth-child(5n+1)::before,.flagships .case:nth-child(5n+1)::before,.timeline-content:nth-child(5n+1)::before{background:rgba(255,226,122,.92)!important}
.exec-snapshot-grid>div:nth-child(5n+2)::before,.home-cases .case:nth-child(5n+2)::before,.operating-steps article:nth-child(5n+2)::before,.project-type-summary article:nth-child(5n+2)::before,.registry-card:nth-child(5n+2)::before,.featured-card:nth-child(5n+2)::before,.evidence-card:nth-child(5n+2)::before,.tech-category:nth-child(5n+2)::before,.gov-win:nth-child(5n+2)::before,.gov-rule:nth-child(5n+2)::before,.arch-case:nth-child(5n+2)::before,.contact-channel:nth-child(5n+2)::before,.mediq-node:nth-child(5n+2)::before,.recognition-strip-items article:nth-child(5n+2)::before,.flagships .case:nth-child(5n+2)::before,.timeline-content:nth-child(5n+2)::before{background:rgba(151,224,211,.88)!important}
.exec-snapshot-grid>div:nth-child(5n+3)::before,.home-cases .case:nth-child(5n+3)::before,.operating-steps article:nth-child(5n+3)::before,.project-type-summary article:nth-child(5n+3)::before,.registry-card:nth-child(5n+3)::before,.featured-card:nth-child(5n+3)::before,.evidence-card:nth-child(5n+3)::before,.tech-category:nth-child(5n+3)::before,.gov-win:nth-child(5n+3)::before,.gov-rule:nth-child(5n+3)::before,.arch-case:nth-child(5n+3)::before,.contact-channel:nth-child(5n+3)::before,.mediq-node:nth-child(5n+3)::before,.recognition-strip-items article:nth-child(5n+3)::before,.flagships .case:nth-child(5n+3)::before,.timeline-content:nth-child(5n+3)::before{background:rgba(164,195,239,.88)!important}
.exec-snapshot-grid>div:nth-child(5n+4)::before,.home-cases .case:nth-child(5n+4)::before,.operating-steps article:nth-child(5n+4)::before,.project-type-summary article:nth-child(5n+4)::before,.registry-card:nth-child(5n+4)::before,.featured-card:nth-child(5n+4)::before,.evidence-card:nth-child(5n+4)::before,.tech-category:nth-child(5n+4)::before,.gov-win:nth-child(5n+4)::before,.gov-rule:nth-child(5n+4)::before,.arch-case:nth-child(5n+4)::before,.contact-channel:nth-child(5n+4)::before,.mediq-node:nth-child(5n+4)::before,.recognition-strip-items article:nth-child(5n+4)::before,.flagships .case:nth-child(5n+4)::before,.timeline-content:nth-child(5n+4)::before{background:rgba(246,167,153,.86)!important}
.exec-snapshot-grid>div:nth-child(5n)::before,.home-cases .case:nth-child(5n)::before,.operating-steps article:nth-child(5n)::before,.project-type-summary article:nth-child(5n)::before,.registry-card:nth-child(5n)::before,.featured-card:nth-child(5n)::before,.evidence-card:nth-child(5n)::before,.tech-category:nth-child(5n)::before,.gov-win:nth-child(5n)::before,.gov-rule:nth-child(5n)::before,.arch-case:nth-child(5n)::before,.contact-channel:nth-child(5n)::before,.mediq-node:nth-child(5n)::before,.recognition-strip-items article:nth-child(5n)::before,.flagships .case:nth-child(5n)::before,.timeline-content:nth-child(5n)::before{background:rgba(188,220,151,.88)!important}


/* Homepage flagship grid final override: six proofs must remain 2 × 3; undo legacy fifth-card full-span rule. */
@media(min-width:761px){
  body .home-cases .case-grid.root-priority{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body .home-cases .case-grid.root-priority>.case{grid-column:auto!important;width:auto!important;max-width:none!important;}
  body .home-cases .case-grid.root-priority>.case:nth-child(5){grid-column:auto!important;}
}

.site-language{padding:.48rem .72rem!important;border:1px solid #cfe1f4!important;border-radius:999px!important;color:#1268f3!important;font:800 10px "IBM Plex Mono",monospace!important;text-decoration:none!important}.site-language:hover,.site-language:focus-visible{background:#eef6ff!important;color:#09265c!important}@media(max-width:900px){.site-language{display:none!important}}
/* Navigation usability: keep language switch accessible on small screens */
@media(max-width:900px){.site-global-nav .site-language{display:inline-flex!important;align-items:center!important;flex-shrink:0!important;font-size:11px!important;padding:7px 9px!important;white-space:nowrap!important}.site-global-nav .site-nav-inner{min-width:0!important;gap:8px!important}.site-global-nav .site-brand{min-width:0!important}.site-global-nav .site-brand span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:420px){.site-global-nav .site-brand span{display:none!important}}

/* 2026-10 quality pass: safe shared responsive and accessibility rules */
:where(main,section,article,.wrap,.site-nav-inner){min-width:0}
:where(main,section,article) :where(img,video,iframe){max-width:100%}
:where(main,section,article) :where(h1,h2,h3,p){overflow-wrap:break-word}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #087f89!important;outline-offset:3px!important}
:where(.site-global-nav) details summary{cursor:pointer}
:where(.site-global-nav) details[open] summary{color:#087f89}
@media(max-width:760px){
  :where(main,section,article) :where(.wrap){max-width:calc(100vw - 28px)}
  :where(main,section,article) :where(.grid,.cards,.case-grid){min-width:0}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  :where(.site-global-nav,main) *, :where(.site-global-nav,main) *::before,:where(.site-global-nav,main) *::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* Executive polish: keep the final system authoritative on high-signal surfaces. */
@media(min-width:901px){
  body .executive-hero{padding-top:38px!important;padding-bottom:58px!important}
  body .executive-hero .hero-copy h1{max-width:11ch!important;font-size:clamp(3.75rem,5.7vw,6.25rem)!important;line-height:.93!important}
  body .executive-hero .photo-card{min-height:0!important}
}
body .exec-snapshot-grid>div,
body .home-cases .case,
body .operating-steps article,
body .recognition-strip-items article{
  transform:none!important;border-radius:16px!important;background:#fff!important;
  border:1px solid rgba(16,38,59,.12)!important;box-shadow:0 12px 30px rgba(16,38,59,.06)!important;
}
body .mediq-flagship .mediq-node{
  transform:none!important;border-radius:14px!important;background:rgba(255,255,255,.10)!important;
  border:1px solid rgba(255,255,255,.20)!important;box-shadow:0 10px 22px rgba(4,26,38,.14)!important;
}
body .exec-snapshot-grid>div:nth-child(n),
body .home-cases .case:nth-child(n),
body .operating-steps article:nth-child(n),
body .recognition-strip-items article:nth-child(n){background:#fff!important}
body .exec-snapshot-grid>div::before,body .exec-snapshot-grid>div::after,
body .home-cases .case::before,body .home-cases .case::after,
body .operating-steps article::before,body .operating-steps article::after,
body .recognition-strip-items article::before,body .recognition-strip-items article::after,
body .mediq-flagship .mediq-node::before,body .mediq-flagship .mediq-node::after{
  display:none!important;content:none!important
}
body footer .final-footer{padding-top:30px!important;padding-bottom:22px!important}
body footer .footer-title{font-size:clamp(1.7rem,3.2vw,3rem)!important;line-height:1.08!important}
@media(hover:hover){
  body .exec-snapshot-grid>div:hover,body .home-cases .case:hover,
  body .operating-steps article:hover,body .recognition-strip-items article:hover{
    transform:translateY(-3px)!important;box-shadow:0 18px 34px rgba(16,38,59,.11)!important
  }
  body .mediq-flagship .mediq-node:hover{transform:translateY(-2px)!important;box-shadow:0 14px 26px rgba(4,26,38,.18)!important}
}
