/* V6 Production Engineering Layer */
:root{--focus-ring:0 0 0 4px rgba(225,53,17,.18)}
html{scroll-behavior:smooth}
body{min-width:320px}
main{display:block}
nav.nav{isolation:isolate}
.nav-links{white-space:nowrap}
.nav-links>li{display:flex;align-items:center}
.nav-work-link{display:inline-flex!important;align-items:center;gap:7px}.nav-work-link .nav-project-dot{width:6px;height:6px;border-radius:50%;background:#48d597;box-shadow:0 0 0 5px rgba(72,213,151,.11)}
.menu-toggle:focus-visible,.top-link:focus-visible,.btn:focus-visible,.assistant-launcher:focus-visible,.project-expand-btn:focus-visible,.project-filter:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:0;box-shadow:var(--focus-ring)}
.mega-dropdown[aria-hidden="true"]{pointer-events:none}
.hero-alt-title{font-family:'Manrope',sans-serif;color:#fff;font-weight:800;line-height:1.08;letter-spacing:-.045em;font-size:clamp(42px,5vw,72px);margin:0 0 22px}
.stat-item .num,.project-metrics strong,.real-case-metrics strong{font-variant-numeric:tabular-nums;min-width:3ch;will-change:contents}
.stat-item .num.countup-pop,.project-metrics strong.countup-pop,.real-case-metrics strong.countup-pop{animation:v6CounterPop .48s cubic-bezier(.2,.8,.2,1)}
@keyframes v6CounterPop{0%{transform:translateY(4px) scale(.96);filter:drop-shadow(0 0 0 rgba(225,53,17,0))}60%{transform:translateY(-2px) scale(1.035);filter:drop-shadow(0 0 14px rgba(225,53,17,.25))}100%{transform:none;filter:none}}
section:not(.hero-console):not(.projects-hero):not(.page-hero){content-visibility:auto;contain-intrinsic-size:900px}
img{max-width:100%;height:auto}.tech-logo img{height:28px;width:28px;object-fit:contain}
.contact-status{margin-top:12px;min-height:20px;font:650 12px 'Manrope',sans-serif;color:#5c6877}.contact-status.success{color:#16865a}.contact-status.error{color:#b22d18}.form-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.booking-modal{position:fixed;inset:0;z-index:1200;display:none;align-items:center;justify-content:center;padding:22px;background:rgba(7,14,25,.72);backdrop-filter:blur(14px)}.booking-modal.open{display:flex}.booking-dialog{position:relative;width:min(1060px,96vw);height:min(760px,90vh);border-radius:26px;overflow:hidden;background:#fff;box-shadow:0 34px 100px rgba(0,0,0,.42)}.booking-dialog iframe{width:100%;height:100%;border:0}.booking-close{position:absolute;right:13px;top:13px;z-index:2;width:42px;height:42px;border:0;border-radius:50%;background:#14233b;color:#fff;font-size:22px;box-shadow:0 8px 22px rgba(0,0,0,.2)}
.analytics-consent{position:fixed;left:18px;bottom:18px;z-index:850;max-width:360px;padding:15px 16px;border-radius:18px;background:#14233b;color:#fff;border:1px solid rgba(255,255,255,.12);box-shadow:0 20px 55px rgba(4,12,24,.28);display:none}.analytics-consent.show{display:block}.analytics-consent p{font-size:11px;line-height:1.55;color:rgba(255,255,255,.67);margin:0 0 10px}.analytics-consent-actions{display:flex;gap:8px}.analytics-consent button{border:0;border-radius:999px;padding:8px 12px;font:700 10px 'Manrope',sans-serif}.analytics-consent .accept{background:#e13511;color:#fff}.analytics-consent .decline{background:rgba(255,255,255,.08);color:#fff}
.assistant-source-row span a{color:inherit;text-decoration:none}.assistant-source-row span:hover{border-color:rgba(225,53,17,.35)}
.project-filters{display:flex;flex-wrap:wrap;gap:9px}.project-filter[aria-pressed="true"]{background:#14233b;color:#fff}
.project-detail-panel{overflow:hidden}.project-card.is-open .project-detail-panel{will-change:max-height,opacity}.project-detail-terminal-screen{min-height:170px}
.production-badge{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgba(20,35,59,.09);border-radius:999px;background:#fff;font:700 10px 'Manrope',sans-serif;color:#5c6877}.production-badge i{width:6px;height:6px;border-radius:50%;background:#48d597;box-shadow:0 0 0 4px rgba(72,213,151,.11)}
.error-page{min-height:72vh;display:grid;place-items:center;padding:150px 24px 80px}.error-card{max-width:720px;text-align:center}.error-code{font:800 clamp(72px,15vw,150px)/.9 'Manrope',sans-serif;color:#e13511;letter-spacing:-.07em}.error-card h1{font-size:38px;margin:20px 0 14px}.error-card p{color:#6e7886;line-height:1.7;margin-bottom:24px}
@media(max-width:1080px){.nav-links{gap:16px}.nav-links a.top-link{font-size:13px}.nav-cta .btn{padding-left:18px;padding-right:18px}}
@media(max-width:720px){.hero-alt-title{font-size:clamp(38px,12vw,56px)}.booking-modal{padding:8px}.booking-dialog{width:100%;height:94vh;border-radius:20px}.analytics-consent{left:12px;right:12px;bottom:12px;max-width:none}section:not(.hero-console):not(.projects-hero):not(.page-hero){contain-intrinsic-size:1100px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.stat-item .num.countup-pop,.project-metrics strong.countup-pop,.real-case-metrics strong.countup-pop{animation:none}}

/* V6.1 — interactive 3D architecture + approved credibility layer */
.hc-panel{
  perspective:1400px;
  transform-style:preserve-3d;
  min-height:500px;
  background:
    radial-gradient(58% 72% at 62% 47%,rgba(225,53,17,.16),transparent 70%),
    radial-gradient(42% 56% at 20% 18%,rgba(65,107,157,.12),transparent 72%),
    linear-gradient(145deg,#081426 0%,#0e1f36 56%,#091528 100%);
  box-shadow:0 38px 95px rgba(3,9,18,.38),inset 0 1px 0 rgba(255,255,255,.09),inset 0 -40px 100px rgba(0,0,0,.12);
}
.hc-panel canvas{cursor:grab;touch-action:pan-y;outline:0;transition:filter .22s ease,transform .22s ease;transform:translateZ(12px)}
.hc-panel canvas:hover{filter:saturate(1.07) brightness(1.03)}
.hc-panel canvas:focus-visible{box-shadow:inset 0 0 0 2px rgba(255,103,67,.72);border-radius:30px}
.hc-panel canvas.node-selected{animation:hcNodeTouch .22s cubic-bezier(.2,.8,.2,1)}
@keyframes hcNodeTouch{50%{filter:saturate(1.15) brightness(1.08)}}
.hc-panel-label{transform:translateZ(34px)}
.hc-node-inspector{
  display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:13px;align-items:center;
  min-height:72px;padding:13px 15px;border-radius:20px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
  box-shadow:0 18px 42px rgba(4,11,21,.18),inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  color:#fff;transition:border-color .25s ease,background .25s ease,transform .25s ease;
}
.hc-node-inspector[data-group="core"]{border-color:rgba(225,53,17,.28);background:linear-gradient(135deg,rgba(225,53,17,.12),rgba(255,255,255,.035))}
.hc-node-inspector[data-group="output"]{border-color:rgba(72,213,151,.19)}
.hc-node-inspector-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#ff5d3a,#b92a0e);box-shadow:0 10px 25px rgba(225,53,17,.25),inset 0 1px 0 rgba(255,255,255,.28)}
.hc-node-inspector-icon span{width:16px;height:16px;border-radius:50%;border:1px solid rgba(255,255,255,.72);position:relative}
.hc-node-inspector-icon span:before,.hc-node-inspector-icon span:after{content:"";position:absolute;background:#fff;border-radius:999px;opacity:.9}
.hc-node-inspector-icon span:before{width:4px;height:4px;left:5px;top:5px;box-shadow:-8px 0 0 rgba(255,255,255,.55),8px 0 0 rgba(255,255,255,.55)}
.hc-node-inspector-icon span:after{width:1px;height:20px;left:7px;top:-3px;transform:rotate(90deg);opacity:.32}
.hc-node-inspector-copy{min-width:0}.hc-node-inspector-copy small{display:block;color:#f39a84;font:800 8.5px 'Manrope',sans-serif;letter-spacing:.12em;text-transform:uppercase;margin-bottom:3px}.hc-node-inspector-copy strong{display:block;font:800 13px 'Manrope',sans-serif;color:#fff}.hc-node-inspector-copy p{margin:3px 0 0;color:rgba(255,255,255,.55);font-size:10.5px;line-height:1.45;white-space:normal}
.hc-node-inspector-hint{padding:7px 9px;border-radius:999px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.42);font:700 8.5px 'Manrope',sans-serif;white-space:nowrap}

.credibility-stats .stat-item{padding:31px 18px;background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.035));border-color:rgba(255,255,255,.13);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.credibility-stats .stat-item .num{font-size:clamp(38px,4vw,52px);letter-spacing:-.055em}
.credibility-stats .stat-item .lbl{max-width:18ch;margin:0 auto;color:rgba(255,255,255,.71)}

.team-proof-band{margin:34px 0 26px;padding:22px;border-radius:28px;display:grid;grid-template-columns:.78fr 1.22fr;gap:24px;align-items:center;background:linear-gradient(145deg,#0f1e33,#142842);border:1px solid rgba(255,255,255,.09);box-shadow:0 26px 60px rgba(20,35,59,.12),inset 0 1px 0 rgba(255,255,255,.07);overflow:hidden;position:relative}
.team-proof-band:before{content:"";position:absolute;width:280px;height:280px;border-radius:50%;right:-110px;top:-170px;background:radial-gradient(circle,rgba(225,53,17,.27),transparent 68%);pointer-events:none}
.team-proof-copy{padding:10px;position:relative;z-index:1}.team-proof-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#f39a84;font:800 9px 'Manrope',sans-serif;letter-spacing:.12em;text-transform:uppercase}.team-proof-eyebrow i{width:7px;height:7px;border-radius:50%;background:#48d597;box-shadow:0 0 0 5px rgba(72,213,151,.10)}.team-proof-copy h3{color:#fff;font-size:clamp(22px,2.3vw,31px);letter-spacing:-.03em;margin:11px 0 9px}.team-proof-copy p{color:rgba(255,255,255,.56);font-size:12px;line-height:1.65;max-width:50ch}
.team-proof-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;position:relative;z-index:1}.team-proof-grid article{min-height:118px;padding:18px;border-radius:18px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.085);display:flex;flex-direction:column;justify-content:flex-end;transition:transform .3s var(--ease-spring),background .3s ease,border-color .3s ease}.team-proof-grid article:hover{transform:translateY(-4px);background:rgba(255,255,255,.07);border-color:rgba(225,53,17,.22)}.team-proof-grid strong{font:850 30px/1 'Manrope',sans-serif;color:#ff5b37;letter-spacing:-.045em}.team-proof-grid .credential-word{font-size:18px;letter-spacing:-.02em}.team-proof-grid span{font:750 11px 'Manrope',sans-serif;color:#fff;margin-top:7px}.team-proof-grid small{font-size:9px;color:rgba(255,255,255,.40);margin-top:4px;line-height:1.35}

.about-proof-section{padding:38px 0 76px;background:#fff}.about-proof-shell{position:relative;overflow:hidden;border-radius:32px;padding:38px;display:grid;grid-template-columns:.95fr 1.05fr;gap:40px;align-items:center;background:radial-gradient(80% 100% at 100% 0%,rgba(225,53,17,.18),transparent 58%),linear-gradient(145deg,#0e1d32,#142944);box-shadow:0 28px 72px rgba(20,35,59,.17),inset 0 1px 0 rgba(255,255,255,.08)}.about-proof-copy h2{color:#fff;font-size:clamp(28px,3vw,40px);letter-spacing:-.035em;margin:10px 0 13px}.about-proof-copy>p{color:rgba(255,255,255,.58);line-height:1.7;font-size:13.5px}.about-proof-badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}.about-proof-badges span{padding:8px 10px;border-radius:999px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.085);color:rgba(255,255,255,.68);font:700 9px 'Manrope',sans-serif}.about-proof-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.about-proof-metrics article{padding:20px;border-radius:18px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.09);min-height:116px;display:flex;flex-direction:column;justify-content:flex-end}.about-proof-metrics strong{font:850 34px/1 'Manrope',sans-serif;color:#ff5b37;letter-spacing:-.05em}.about-proof-metrics span{font:700 10.5px/1.4 'Manrope',sans-serif;color:rgba(255,255,255,.75);margin-top:8px}

@media(max-width:1079px){
  .hc-panel{min-height:430px;height:430px}.team-proof-band,.about-proof-shell{grid-template-columns:1fr}.team-proof-copy p{max-width:70ch}
}
@media(max-width:720px){
  .hc-right{gap:14px}.hc-panel{min-height:370px;height:370px;border-radius:24px}.hc-panel-label{top:12px;left:12px;font-size:10px;padding:7px 10px}.hc-node-inspector{grid-template-columns:36px minmax(0,1fr);padding:11px 12px;min-height:66px;border-radius:17px}.hc-node-inspector-icon{width:36px;height:36px;border-radius:12px}.hc-node-inspector-hint{display:none}.hc-node-inspector-copy p{font-size:9.7px}.hc-node-inspector-copy strong{font-size:12px}.hc-activity{margin-top:2px}.hc-log-grid{grid-template-columns:1fr}.hc-log-cell{min-height:44px;font-size:11px}.team-proof-band{margin:24px 0 20px;padding:16px;border-radius:22px}.team-proof-grid{grid-template-columns:1fr 1fr}.team-proof-grid article{min-height:105px;padding:15px}.team-proof-grid strong{font-size:27px}.team-proof-grid .credential-word{font-size:16px}.about-proof-section{padding:24px 0 54px}.about-proof-shell{padding:22px;border-radius:24px;gap:24px}.about-proof-metrics{grid-template-columns:1fr 1fr}.about-proof-metrics article{min-height:100px;padding:16px}.about-proof-metrics strong{font-size:30px}
}
@media(max-width:430px){
  .hc-panel{min-height:345px;height:345px}.team-proof-grid,.about-proof-metrics{grid-template-columns:1fr}.team-proof-grid article,.about-proof-metrics article{min-height:92px}.credibility-stats{grid-template-columns:1fr 1fr!important;gap:10px!important}.credibility-stats .stat-item{padding:24px 12px}.credibility-stats .stat-item .num{font-size:36px}.credibility-stats .stat-item .lbl{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.hc-panel canvas.node-selected{animation:none}.team-proof-grid article{transition:none}}


/* V6.9 architecture reliability + focus-edge cleanup */
#hc-panel{
  border:1px solid rgba(105,139,181,.16)!important;
  outline:0!important;
  box-shadow:0 34px 90px rgba(2,8,18,.32),inset 0 1px 0 rgba(255,255,255,.06)!important;
}
#hc-graph-svg{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  -webkit-tap-highlight-color:transparent;
}
#hc-graph-svg:focus,#hc-graph-svg:focus-visible{outline:0!important;box-shadow:none!important}
.hc-graph-flow .svg-node{pointer-events:all}
.hc-graph-flow .svg-node .node-card,.hc-graph-flow .svg-node .node-glass,.hc-graph-flow .svg-node text,.hc-graph-flow .svg-node circle{pointer-events:all}
.hc-graph-flow .svg-node .node-title,.hc-graph-flow .svg-node .node-sub{transform:translateY(-7px)}
.hc-graph-flow .svg-node.active{filter:drop-shadow(0 10px 20px rgba(0,0,0,.20))}
.hc-graph-flow .svg-node.active .node-card{stroke:#ff8b67!important;stroke-width:2!important}
.hc-node-inspector[data-group="input"]{border-color:rgba(255,119,79,.22)}
.hc-node-inspector[data-group="intel"]{border-color:rgba(109,164,225,.20)}
.hc-node-inspector[data-group="output"]{border-color:rgba(72,213,151,.24)}
.hc-node-inspector-hint{transition:color .2s ease,border-color .2s ease,background .2s ease}
.hc-node-inspector.is-updating .hc-node-inspector-hint{color:#fff;border-color:rgba(255,139,103,.24);background:rgba(225,53,17,.10)}


/* V6.10 remove SVG lower-edge seam */
#hc-panel{overflow:hidden!important}
#hc-graph-svg{top:0!important;left:0!important;width:100%!important;height:calc(100% + 4px)!important;bottom:-4px!important;display:block!important;overflow:hidden!important}
#hc-graph-svg rect:first-of-type,#hc-graph-svg rect:nth-of-type(2){shape-rendering:crispEdges}

/* =========================================================
   STARTUP SEQUENCE + MOBILE COMFORT PASS
   ========================================================= */
.startup-screen{
  position:fixed;inset:0;z-index:2000;display:grid;place-items:center;
  background:radial-gradient(80% 65% at 50% 42%,rgba(225,53,17,.10),transparent 62%),linear-gradient(180deg,#0d1b2f,#081421);color:#fff;overflow:hidden;
  transition:opacity .5s ease,visibility .5s ease;
}
.startup-screen.is-complete{opacity:0;visibility:hidden;pointer-events:none}
.startup-screen:before{
  content:"";position:absolute;width:min(72vw,720px);height:min(72vw,720px);
  border:1px solid rgba(255,255,255,.1);border-radius:50%;
  transform:perspective(700px) rotateX(66deg) rotateZ(-18deg);
  box-shadow:0 0 0 34px rgba(225,53,17,.025),0 0 0 70px rgba(255,255,255,.018);
}
.startup-screen:after{
  content:"";position:absolute;inset:0;opacity:.18;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:42px 42px;mask-image:linear-gradient(to bottom,black,transparent 82%);
}
.startup-core{position:relative;z-index:1;display:grid;justify-items:center;gap:22px;text-align:center;padding:32px}
.startup-mark{position:relative;width:92px;height:92px;border-radius:27px;padding:21px;background:linear-gradient(145deg,rgba(25,48,78,.96),rgba(8,24,43,.98));border:1px solid rgba(240,90,56,.42);box-shadow:0 26px 70px rgba(0,0,0,.34),0 0 42px rgba(225,53,17,.16),inset 0 1px 0 rgba(255,255,255,.12);animation:startupLift .8s var(--ease-spring) both}
.startup-mark::before{content:"";position:absolute;inset:-8px;border:1px solid rgba(225,53,17,.16);border-radius:34px;animation:startupRing 1.8s ease-in-out infinite}
.startup-mark img{width:100%;height:100%;object-fit:contain}
.startup-wordmark{font:800 13px/1 'Manrope',sans-serif;letter-spacing:.22em;text-transform:uppercase;color:#fff;animation:startupText .65s .14s ease both}
.startup-status{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(255,255,255,.045);color:rgba(255,255,255,.72);font:750 9px/1 'Manrope',sans-serif;letter-spacing:.12em;text-transform:uppercase;animation:startupText .65s .25s ease both}
.startup-status i{width:7px;height:7px;border-radius:50%;background:#48d597;box-shadow:0 0 0 5px rgba(72,213,151,.10),0 0 12px rgba(72,213,151,.65)}
@keyframes startupLift{from{opacity:0;transform:translateY(18px) rotateX(22deg) scale(.84)}to{opacity:1;transform:none}}
@keyframes startupText{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes startupRing{0%,100%{opacity:.3;transform:scale(.96)}50%{opacity:.9;transform:scale(1.04)}}
body.startup-active{overflow:hidden}

@media(max-width:980px){
  .mega-wrap{display:none!important}
  .hero-media + section > .wrap > div[style*="grid-template-columns"]{grid-template-columns:1fr!important;gap:30px!important}
  body:has(.about-proof-section) .cap-grid{grid-template-columns:1fr!important;gap:16px}
  .nav-links.open{
    display:flex;position:absolute;top:calc(100% + 10px);left:12px;right:12px;
    flex-direction:column;align-items:stretch;gap:2px;padding:12px;
    background:rgba(18,32,54,.985);border:1px solid rgba(255,255,255,.14);
    border-radius:22px;box-shadow:0 24px 60px rgba(8,15,26,.38);
    backdrop-filter:blur(22px);white-space:normal;max-height:calc(100dvh - 104px);overflow:auto;
  }
  .nav-links.open>li{width:100%;display:block}
  .nav-links.open a.top-link{display:flex;width:100%;justify-content:space-between;padding:14px 12px;border-radius:12px;color:rgba(255,255,255,.86);white-space:normal}
  .nav-links.open a.top-link:hover{background:rgba(255,255,255,.07)}
  .nav-links.open .caret{display:block;margin-left:auto}
  .nav-links.open .has-dropdown.mobile-open>.top-link .caret{transform:rotate(225deg);margin-top:4px}
  .nav-links.open .mobile-submenu{display:none;margin:2px 8px 8px;padding:6px;border-left:1px solid rgba(255,255,255,.14)}
  .nav-links.open .has-dropdown.mobile-open>.mobile-submenu{display:grid;gap:2px}
  .nav-links.open .mobile-submenu a{display:block;padding:11px 13px;border-radius:10px;color:rgba(255,255,255,.7);font-size:12px;white-space:normal}
  .nav-links.open .mobile-submenu a:hover,.nav-links.open .mobile-submenu a:focus-visible{background:rgba(255,255,255,.07);color:#fff}
}
@media(max-width:720px){
  body:has(.about-proof-section) .cap-card{min-height:0;padding:26px 22px}
  .startup-mark{width:74px;height:74px;border-radius:21px;padding:17px}
  .startup-wordmark{font-size:11px}
}
@media(max-width:620px){
  .site-assistant{right:12px;bottom:12px}
  .assistant-dock{width:auto;padding:5px;border-radius:18px}
  .assistant-launcher{width:54px;min-height:54px;height:54px;display:grid;grid-template-columns:1fr;padding:6px;border-radius:15px}
  .assistant-launcher-icon{width:42px;height:42px;margin:auto}
  .assistant-launcher-copy,.assistant-launcher-arrow,.assistant-launcher-suggestions{display:none}
}

/* Homepage amendment pass: keep the narrative focused on capability,
   method, and a useful first conversation. */
.hero-console{height:100svh;min-height:100svh;max-height:100svh;box-sizing:border-box}
.hero-console-grid{height:100%;min-height:0;align-items:start}
.hc-copy{min-width:0}
.hc-copy .hero-rotator{display:grid;min-height:0;overflow:hidden;transition:height .45s ease}
.hc-copy .hero-slide{grid-area:1 / 1;position:relative;inset:auto;align-self:start;visibility:hidden}
.hc-copy .hero-slide.active{position:relative;visibility:visible}
.hc-copy .hero-dots{margin-top:18px}
.hero-trust-row{margin-top:18px}
.decision-detail{max-height:0;overflow:hidden;opacity:0;transition:max-height .45s ease,opacity .25s ease}
.decision-card.is-expanded .decision-detail{max-height:360px;opacity:1}
.decision-card h3,.decision-card .decision-toggle h3{color:#fff}
.decision-card p{color:rgba(255,255,255,.72)}
.decision-card>small{color:rgba(255,255,255,.58)}
.decision-grid{align-items:stretch}
.decision-card{min-height:315px;height:100%;padding:24px 22px}
.decision-card h3,.decision-card .decision-toggle h3{font-size:21px;line-height:1.12;margin:10px 0 14px}
.decision-card p{font-size:13px;line-height:1.56}
.decision-toggle>span{margin-top:8px}
.compare-mini{gap:6px;margin-bottom:0}
.compare-mini>div{min-height:128px;padding:12px 10px;background:rgba(255,255,255,.055);color:#fff;border:1px solid rgba(255,255,255,.09)}
.compare-mini>div.featured{background:rgba(255,255,255,.095);color:#fff}
.compare-mini b{font-size:9px;margin-bottom:8px;color:#fff}
.compare-mini span,.compare-mini .featured span{font-size:8.5px;padding:4px 0;color:rgba(255,255,255,.62)}
.security-chips{gap:6px;margin:14px 0}
.security-chips span{padding:6px 8px;font-size:8.5px}
#engineering-team,#engagement-model{scroll-margin-top:112px}
.decision-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;gap:16px;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
.decision-toggle h3{margin:0}
.decision-toggle>span{font-size:28px;font-weight:300;color:var(--orange)}
.nav-links .nav-work-link .nav-project-dot{display:none}
.page-hero .hero-content{max-width:680px}
.hero-rotating-headline{min-height:1.2em}
.hero-headline{display:none}
.hero-headline.active{display:inline}
@media(min-width:721px) and (max-width:980px){.mega-wrap{display:block!important}}
@media(min-width:721px) and (max-width:1079px){
  .hero-console{padding:110px 0 34px}
  .hero-console-grid{grid-template-columns:minmax(250px,.82fr) minmax(0,1.35fr);gap:24px}
  .hc-copy .hero-rotator{min-height:0}
  .hc-copy h1{font-size:clamp(27px,3.5vw,35px)}
  .hc-panel{height:min(54svh,430px);min-height:0}
  .hc-activity{display:none}
}
@media(max-width:720px){
  .hero-console{height:auto!important;min-height:100svh!important;max-height:none!important;padding:88px 0 18px}
  .hero-console-grid{height:auto;min-height:0;grid-template-rows:auto auto;gap:10px}
  .hc-copy .hero-rotator{min-height:0}
  .hc-copy h1{font-size:clamp(25px,8vw,34px);margin-bottom:8px}
  .hc-copy p.lead{font-size:12.5px;line-height:1.45;margin-bottom:12px;max-width:44ch}
  .hc-copy .hero-actions{flex-direction:row;gap:8px}
  .hc-copy .hero-actions .btn{padding:10px 12px;font-size:10px}
  .hc-copy .hero-dots,.hero-trust-row,.hc-node-inspector,.hc-activity{display:none}
  .hc-right{min-height:0;height:auto}
  .hc-panel{height:clamp(280px,72vw,420px)!important;min-height:0!important;border-radius:22px}
}
@media(min-width:721px) and (max-width:1079px) and (max-height:560px){
  .hero-console{padding:32px 0 20px}
  .hero-console-grid{gap:12px}
  .hc-copy .hero-rotator{min-height:0}
  .hc-copy h1{font-size:clamp(25px,3.4vw,34px);margin-bottom:8px}
  .hc-copy p.lead{font-size:12px;line-height:1.4;margin-bottom:12px;max-width:34ch}
  .hc-copy .hero-actions{flex-direction:row;gap:8px}
  .hc-copy .hero-actions .btn{padding:9px 13px;font-size:10px}
  .hc-copy .hero-dots{margin-top:12px}
  .hc-panel{height:210px}
  .hc-node-inspector,.hc-activity{display:none}
}
@media(min-width:721px) and (max-width:1079px) and (max-height:440px){
  .hero-console{padding:18px 0 12px}
  .hc-copy p.lead{display:none}
  .hc-copy .hero-dots{display:none}
  .hc-panel{height:165px}
}
@media(min-width:1080px) and (max-height:960px){
  .hero-console{padding:clamp(96px,14svh,150px) 0 clamp(28px,8svh,76px)}
  .hc-panel{height:min(500px,calc(100svh - 330px));min-height:0}
  .hc-activity{display:none}
}

/* 6.10.0 amendment pass: deliberate shared project-card language */
.project-card,.home-project-card,.case-card,.cap-card,.wide-card,.service-tile{
  position:relative; overflow:hidden; isolation:isolate;
}
.project-card,.home-project-card,.case-card{
  background:
    linear-gradient(118deg,transparent 24%,rgba(255,255,255,.10) 44%,transparent 62%) no-repeat,
    linear-gradient(145deg,#17355e,#102744 52%,#0a1b33);
  background-size:280% 280%,100% 100%;
  color:#fff; border:1px solid rgba(255,255,255,.14);
  box-shadow:var(--glass-dark-shadow);
}
.project-card:hover,.home-project-card:hover,.case-card:hover{
  background-position:120% 120%,0 0;
  box-shadow:var(--glass-dark-shadow-hover);
}
.project-card::before,.home-project-card::before,.case-card::before,.cap-card::before,.wide-card::before,.service-tile::before{
  content:""; position:absolute; right:-4%; bottom:-8%; width:58%; height:62%;
  background-image:
    linear-gradient(135deg,transparent 48%,rgba(255,113,76,.42) 49%,transparent 51%),
    linear-gradient(45deg,transparent 48%,rgba(255,113,76,.28) 49%,transparent 51%);
  background-size:18px 18px; mask-image:radial-gradient(circle at bottom right,#000,transparent 75%);
  opacity:.34; animation:cardGridPulse 3.8s ease-in-out infinite; pointer-events:none; z-index:-1;
}
.cap-card::before{z-index:0;opacity:.42}
.cap-card > *{position:relative;z-index:1}

.engineering-team-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:1080px;margin:24px auto 0}
.engineering-team-card{min-height:292px!important;padding:28px 30px!important;border-radius:24px!important;display:flex;flex-direction:column;justify-content:flex-start}
.engineering-team-card .eyebrow{color:#f39a84;font-size:10px;letter-spacing:.14em;margin-bottom:28px}
.engineering-team-card h3{color:#fff!important;font-size:clamp(22px,2.3vw,28px);line-height:1.15;letter-spacing:-.03em;margin-bottom:12px}
.engineering-team-card p{color:rgba(255,255,255,.68)!important;font-size:13px;line-height:1.55;max-width:34ch}
@media(max-width:720px){
  .engineering-team-row{grid-template-columns:1fr;margin-top:28px}
  .engineering-team-card{min-height:0!important;padding:24px!important}
  .engineering-team-card .eyebrow{margin-bottom:20px}
}
@media(max-width:680px){
  .decision-card{min-height:0;height:auto;padding:22px 20px}
}
.story-panel,.industry-card,.founder-card,.architecture-3d-card,.decision-card{
  position:relative;overflow:hidden;isolation:isolate;border-radius:var(--radius-md);
  background:
    linear-gradient(118deg,transparent 24%,rgba(255,255,255,.10) 44%,transparent 62%) no-repeat,
    linear-gradient(145deg,#17355e,#102744 52%,#0a1b33);
  background-size:280% 280%,100% 100%;
  color:#fff;border:1px solid rgba(255,255,255,.14);box-shadow:var(--glass-dark-shadow);
  transition:transform .35s var(--ease-spring),box-shadow .35s ease,border-color .35s ease,background-position 1.1s ease;
}
.story-panel::before,.industry-card::before,.founder-card::before,.architecture-3d-card::before,.decision-card::before{
  content:"";position:absolute;right:-4%;bottom:-8%;width:58%;height:62%;z-index:-1;pointer-events:none;
  background-image:linear-gradient(135deg,transparent 48%,rgba(255,113,76,.42) 49%,transparent 51%),linear-gradient(45deg,transparent 48%,rgba(255,113,76,.28) 49%,transparent 51%);
  background-size:18px 18px;mask-image:radial-gradient(circle at bottom right,#000,transparent 75%);
  opacity:.34;animation:cardGridPulse 3.8s ease-in-out infinite;
}
.story-panel:hover,.industry-card:hover,.founder-card:hover,.architecture-3d-card:hover,.decision-card:hover{transform:translateY(-6px);background-position:120% 120%,0 0;box-shadow:var(--glass-dark-shadow-hover);border-color:rgba(225,53,17,.35)}
.stat-item,.team-proof-grid article,.about-proof-metrics article,.estimator-shell,.role-card{
  position:relative;overflow:hidden;isolation:isolate;
  background:
    linear-gradient(118deg,transparent 24%,rgba(255,255,255,.10) 44%,transparent 62%) no-repeat,
    linear-gradient(145deg,#17355e,#102744 52%,#0a1b33);
  background-size:280% 280%,100% 100%;
  color:#fff;border:1px solid rgba(255,255,255,.14);box-shadow:var(--glass-dark-shadow);
  transition:transform .35s var(--ease-spring),box-shadow .35s ease,border-color .35s ease,background-position 1.1s ease;
}
.stat-item:hover,.team-proof-grid article:hover,.about-proof-metrics article:hover,.estimator-shell:hover,.role-card:hover{
  transform:translateY(-5px);background-position:120% 120%,0 0;box-shadow:var(--glass-dark-shadow-hover);border-color:rgba(225,53,17,.35)
}
.stat-item::after,.team-proof-grid article::after,.about-proof-metrics article::after,.estimator-shell::after{
  content:"";position:absolute;right:-5%;bottom:-10%;width:55%;height:62%;z-index:-1;pointer-events:none;
  background-image:linear-gradient(135deg,transparent 48%,rgba(255,113,76,.34) 49%,transparent 51%),linear-gradient(45deg,transparent 48%,rgba(255,113,76,.22) 49%,transparent 51%);
  background-size:18px 18px;mask-image:radial-gradient(circle at bottom right,#000,transparent 75%);animation:cardGridPulse 3.8s ease-in-out infinite;
}
.role-card::before{animation:cardGridPulse 3.8s ease-in-out infinite}
.service-pipeline{display:grid;grid-template-columns:190px 34px minmax(0,1fr) 34px 190px;gap:12px;align-items:center;margin-top:42px}
.service-pipeline-core{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.service-pipeline-node{
  position:relative;overflow:hidden;isolation:isolate;min-height:134px;padding:18px 15px;
  border-radius:20px;display:flex;flex-direction:column;justify-content:center;text-align:center;
  background:
    linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.018) 38%,transparent 39%),
    linear-gradient(145deg,rgba(23,53,94,.9),rgba(10,27,51,.96));
  background-size:100% 100%,100% 100%;background-position:0 0,0 0;
  border:1px solid rgba(255,255,255,.14);box-shadow:var(--glass-dark-shadow);
  backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%);
  transition:transform .22s ease,box-shadow .28s ease,border-color .22s ease,background-position .8s ease;
}
.service-pipeline-node::before{
  content:"";position:absolute;right:-18%;bottom:-24%;width:85%;height:70%;z-index:-1;
  background-image:linear-gradient(135deg,transparent 48%,rgba(255,113,76,.4) 49%,transparent 51%),linear-gradient(45deg,transparent 48%,rgba(255,113,76,.25) 49%,transparent 51%);
  background-size:16px 16px;mask-image:radial-gradient(circle at bottom right,#000,transparent 76%);
  -webkit-mask-image:radial-gradient(circle at bottom right,#000,transparent 76%);
  animation:cardGridPulse 3.8s ease-in-out infinite;
}
.service-pipeline-node::after{
  content:"";position:absolute;top:15px;right:15px;width:5px;height:5px;border-radius:50%;
  background:#ff774f;box-shadow:0 0 0 3px rgba(255,119,79,.12),0 0 10px rgba(255,119,79,.72);
  pointer-events:none;z-index:2;
}
.service-pipeline-node small{color:#f49a84;font:800 9px 'Manrope',sans-serif;letter-spacing:.11em;text-transform:uppercase;margin-bottom:8px}
.service-pipeline-node strong{color:#fff;font:700 14px 'Manrope',sans-serif;line-height:1.25;letter-spacing:-.01em}
.service-pipeline-node span{color:rgba(255,255,255,.52);font:500 9.5px/1.4 'Manrope',sans-serif;letter-spacing:.04em;margin-top:7px}
.service-pipeline-node.input,.service-pipeline-node.output{
  min-height:170px;border-color:rgba(225,53,17,.35);
  background:
    linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.018) 38%,transparent 39%),
    radial-gradient(110% 100% at 20% 0%,rgba(225,53,17,.28),transparent 62%),
    linear-gradient(145deg,#17355e,#0a1b33);
}
.service-pipeline-node.output::after{background:#48d597;box-shadow:0 0 0 3px rgba(72,213,151,.12),0 0 10px rgba(72,213,151,.72)}
.service-pipeline-node:hover{
  transform:translateY(-4px);border-color:rgba(255,139,103,.58);
  box-shadow:0 24px 55px rgba(3,10,21,.34),0 0 24px rgba(225,53,17,.14);
  background-position:0 0,120% 120%;
}
.service-pipeline-link{display:block;height:2px;background:linear-gradient(90deg,rgba(255,255,255,.1),var(--orange),rgba(255,255,255,.1));box-shadow:0 0 12px rgba(225,53,17,.45);animation:pipelineLinkPulse 2.8s ease-in-out infinite}
@keyframes pipelineLinkPulse{0%,100%{opacity:.35;transform:scaleX(.7)}50%{opacity:1;transform:scaleX(1)}}
@media(max-width:1080px){
  .service-pipeline{grid-template-columns:1fr;margin:34px auto 0;max-width:820px}
  .service-pipeline-core{grid-template-columns:repeat(3,1fr)}
  .service-pipeline-link{width:2px;height:28px;margin:auto;background:linear-gradient(180deg,rgba(255,255,255,.1),var(--orange),rgba(255,255,255,.1));animation:none}
  .service-pipeline-node.input,.service-pipeline-node.output{min-height:130px}
}
@media(max-width:620px){
  .service-pipeline-core{grid-template-columns:1fr}
  .service-pipeline-node{min-height:112px}
}
@keyframes cardGridPulse{0%,100%{opacity:.18;transform:scale(.96)}50%{opacity:.62;transform:scale(1.04)}}
.project-card h3,.project-card>p,.project-card .project-label,.project-card-head,
.home-project-card h3,.home-project-card p,.case-card h3,.case-card p{color:#fff}
.project-card>p,.home-project-card p,.case-card>p{color:rgba(255,255,255,.68)}
.project-card .project-stack span{background:rgba(255,255,255,.09);color:rgba(255,255,255,.72)}
.project-status{visibility:hidden}
.projects-grid{align-items:stretch}
.projects-grid .project-card{min-height:390px}
.team-projects{grid-template-columns:repeat(2,minmax(0,1fr));max-width:840px;margin:34px auto 0;gap:16px}
.team-projects .project-card{min-height:0;height:auto;padding:28px 30px}
.team-projects .project-card h3{margin:16px 0 8px}
.team-projects .project-card p{margin:0}
.decision-toggle{width:100%;text-align:left;border:0;background:none;color:inherit;padding:0;cursor:pointer}
.decision-detail{max-height:0;overflow:hidden;opacity:0;transition:max-height .55s var(--ease),opacity .35s ease}
.decision-card.is-expanded .decision-detail{max-height:300px;opacity:1}
.hero-media.page-hero{min-height:clamp(620px,78svh,820px);align-items:flex-end;padding-bottom:clamp(62px,8vw,108px)}
.hero-media.page-hero .wrap{width:100%;max-width:1240px;padding-left:clamp(26px,4vw,52px);padding-right:clamp(26px,4vw,52px)}
.hero-media.page-hero .hero-content{max-width:900px;margin-left:0}
.hero-media.page-hero h1{font-size:clamp(42px,6vw,76px);font-weight:800;letter-spacing:-.045em;line-height:1.02}
.hero-media.page-hero p.lead{font-size:17px;line-height:1.7;max-width:620px}
@media(max-width:720px){
 .hero-media.page-hero{min-height:78svh;padding-top:130px;padding-bottom:42px}
 .hero-media.page-hero .wrap{padding-left:22px;padding-right:22px}
 .hero-media.page-hero h1{font-size:clamp(36px,11vw,58px)}
 .hero-media.page-hero p.lead{font-size:15px;line-height:1.55}
 .projects-grid .project-card{min-height:340px}
 .team-projects{grid-template-columns:1fr;margin-top:28px}
 .team-projects .project-card{min-height:0;padding:24px}
}
@media(prefers-reduced-motion:reduce){
  .project-card::before,.home-project-card::before,.case-card::before,.cap-card::before,.wide-card::before,.service-tile::before,
  .story-panel::before,.industry-card::before,.founder-card::before,.architecture-3d-card::before,.decision-card::before,
  .stat-item::after,.team-proof-grid article::after,.about-proof-metrics article::after,.estimator-shell::after,.role-card::before{animation:none!important}
  .service-pipeline-node::before,.service-pipeline-link{animation:none!important}
}
@media(prefers-reduced-motion:reduce){
  .startup-screen:before,.startup-mark,.startup-mark::before,.startup-wordmark,.startup-status{animation:none!important}
  .startup-screen{transition:none}
}

/* =========================================================
   CONSISTENCY PASS — source design tokens, interaction edges
   Keep this layer deliberately narrow: it reconciles later
   enhancements without changing page-specific composition.
   ========================================================= */
:root{
  --surface-light:var(--glass-bg);
  --surface-light-strong:var(--glass-bg-strong);
  --surface-border:var(--glass-border);
  --surface-shadow:var(--glass-shadow);
  --surface-shadow-hover:var(--glass-shadow-hover);
  --surface-dark:var(--glass-dark-bg);
  --surface-dark-strong:var(--glass-dark-bg-strong);
  --surface-dark-border:var(--glass-dark-border);
  --control-height:48px;
}

/* Native cursors are intentional: communicate the affordance, never hide it. */
html,body{cursor:default}
a,button,[role="button"],summary,.project-card,.project-filter,.tech-tab,
.est-options button,.maturity-q button,.flow-step[data-process]{cursor:pointer}
input,textarea,select{cursor:text}
input[type="range"],input[type="checkbox"],input[type="radio"]{cursor:pointer}
.flow-wrap,.terminal-screen,.terminal-input-row,.project-detail-terminal-screen{cursor:default}
.hc-panel canvas{cursor:grab}
.hc-panel canvas:active{cursor:grabbing}

/* One focus language across the light and inverted surfaces. */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
textarea:focus-visible,summary:focus-visible,[role="button"]:focus-visible,
.project-card:focus-visible,.flow-step[data-process]:focus-visible{
  outline:2px solid var(--orange);
  outline-offset:3px;
  box-shadow:0 0 0 5px rgba(225,53,17,.14);
}
.hc-panel canvas:focus-visible,#hc-graph-svg:focus-visible{outline:2px solid #ff8b67!important;outline-offset:-2px;box-shadow:none!important}

/* Navigation: the source system's dark liquid-glass header, with a
   consistent 1px edge and a quieter active state. */
header{background:var(--glass-dark-bg);border-color:var(--glass-dark-border)}
header.scrolled{background:var(--glass-dark-bg-strong);border-color:rgba(255,255,255,.18)}
.nav-links a.top-link::after{background:var(--orange);height:2px}
.nav-project-link{background:rgba(225,53,17,.14);border-color:rgba(225,53,17,.28)}
.nav-project-link:hover,.nav-project-link.active{background:rgba(225,53,17,.24);box-shadow:0 10px 26px rgba(225,53,17,.18)}
.menu-toggle{cursor:pointer}

/* Deliberate project-card scope: light dossiers retain their context while
   open/featured cards share the same border, radius and glass edge. */
.project-card,.home-project-card,.case-card{
  border-radius:var(--radius-md);
  border-color:rgba(20,35,59,.10);
  box-shadow:var(--surface-shadow);
}
.project-card:hover,.home-project-card:hover,.case-card:hover{box-shadow:var(--surface-shadow-hover)}
.project-card.featured,.home-project-card.featured,.case-card.featured{
  border-color:var(--surface-dark-border);
  box-shadow:var(--glass-dark-shadow);
}
.project-card.is-open{border-color:rgba(225,53,17,.25)}
.project-expand-btn,.project-filter{cursor:pointer}

/* Calculator, estimator and maturity controls: shared geometry without
   flattening their intentional dark/light contrast. */
.roi-card,.estimator-shell,.maturity-q,.assessment-result{
  border-radius:var(--radius-md);
}
.input-shell,.calc-fields input,.calc-fields select,.calc-fields textarea,
.builder-form input,.builder-form select,.builder-form textarea,
.maturity-q button{
  font-family:'Manrope',sans-serif;
}
.input-shell{min-height:var(--control-height);border-color:rgba(255,255,255,.16);border-radius:var(--radius-sm);box-shadow:0 1px 0 rgba(255,255,255,.06) inset}
.input-shell:focus-within{border-color:rgba(225,53,17,.62);box-shadow:0 0 0 4px rgba(225,53,17,.14),0 1px 0 rgba(255,255,255,.06) inset}
.input-shell input{cursor:text}
.calc-fields input[type="range"]{cursor:grab}
.calc-fields input[type="range"]:active{cursor:grabbing}
.calc-fields input[type="range"]:focus-visible{outline:0;box-shadow:0 0 0 4px rgba(225,53,17,.18)}
.maturity-q button:hover,.maturity-q button.selected{box-shadow:var(--glass-dark-shadow)}
.est-options button,.project-filter{border-radius:var(--radius-sm)}

/* Keep form text readable on the pale context and make the common fields
   feel like the same family as the calculator controls. */
input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),
textarea,select{
  border-radius:var(--radius-sm);
}
input:not([type="range"]):not([type="checkbox"]):not([type="radio"]):focus,
textarea:focus,select:focus{
  border-color:rgba(225,53,17,.52);
  box-shadow:0 0 0 4px rgba(225,53,17,.11);
  outline:0;
}

@media(max-width:980px){
  .nav{padding-left:20px;padding-right:20px}
  .nav-links.open{border-color:var(--glass-dark-border);background:var(--glass-dark-bg-strong)}
}
@media(max-width:620px){
  .nav{padding-left:16px;padding-right:16px}
  .project-card,.home-project-card,.case-card{border-radius:var(--radius-sm)}
  .roi-card,.estimator-shell,.assessment-result{border-radius:var(--radius-sm)}
}

/* 6.10.8 visual correction pass: clearer brand scale and dark-hero contrast. */
.brand img.logo-full{height:78px}
header.scrolled .brand img.logo-full{height:70px}
.resource-hero h1,.tool-hero h1{color:#fff}
.resource-hero .eyebrow.on-dark,.tool-hero .eyebrow.on-dark{color:#ffb49d}
.premium-stack-strip{padding:34px 0 42px}
.stack-strip-title{margin:0 0 16px;font-size:11px}
.marquee-brand{height:72px}
.marquee-brand-icon{width:48px;height:48px}
.marquee-brand-icon img{width:32px;height:32px}
@media(max-width:1180px) and (min-width:981px){
  .brand img.logo-full{height:72px}
}
@media(max-width:980px){
  .brand img.logo-full{height:70px}
}
@media(max-width:720px){
  .brand img.logo-full{height:68px}
  .premium-stack-strip{padding:28px 0 34px}
  .stack-strip-title{font-size:10px;letter-spacing:.08em}
  .marquee-brand{height:66px;min-width:158px}
  .marquee-brand-icon{width:42px;height:42px}
  .marquee-brand-icon img{width:29px;height:29px}
}

/* =========================================================
   AMENDMENT #22 — CONSISTENT PROJECT-STYLE CARD SURFACES
   Keep card internals intact while bringing visibly light
   content cards into the approved navy/orange system.
   ========================================================= */
.glass-project-surface,
.security-principles article,
.story-panel,
.maturity-q,
.assessment-result{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:
    linear-gradient(115deg,transparent 28%,rgba(255,255,255,.11) 46%,transparent 64%) no-repeat,
    linear-gradient(145deg,#14233b,#101d31 72%);
  background-size:280% 280%,100% 100%;
  background-position:-120% -120%,0 0;
  border:1px solid var(--glass-dark-border);
  border-radius:var(--radius-md);
  box-shadow:var(--glass-dark-shadow);
  color:var(--text-on-dark);
  transition:transform .4s var(--ease-spring),box-shadow .4s ease,background-position 1s var(--ease),border-color .3s ease;
}

.glass-project-surface::before,
.security-principles article::before,
.story-panel::before,
.maturity-q::before,
.assessment-result::before{
  content:"";
  position:absolute;
  right:-4%;
  bottom:-8%;
  width:58%;
  height:62%;
  z-index:-1;
  pointer-events:none;
  background-image:
    linear-gradient(135deg,transparent 48%,rgba(255,113,76,.42) 49%,transparent 51%),
    linear-gradient(45deg,transparent 48%,rgba(255,113,76,.28) 49%,transparent 51%);
  background-size:18px 18px;
  -webkit-mask-image:radial-gradient(circle at bottom right,#000,transparent 75%);
  mask-image:radial-gradient(circle at bottom right,#000,transparent 75%);
  opacity:.34;
  animation:cardGridPulse 3.8s ease-in-out infinite;
}

.glass-project-surface::after,
.security-principles article::after,
.story-panel::after,
.maturity-q::after,
.assessment-result::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(118deg,transparent 24%,rgba(255,255,255,.055) 43%,transparent 61%);
  transform:translateX(-100%);
  transition:transform .9s var(--ease);
}

.glass-project-surface:hover,
.security-principles article:hover,
.story-panel:hover,
.maturity-q:hover,
.assessment-result:hover{
  transform:translateY(-6px);
  background-position:120% 120%,0 0;
  border-color:rgba(225,53,17,.35);
  box-shadow:var(--glass-dark-shadow-hover);
}

.glass-project-surface:hover::after,
.security-principles article:hover::after,
.story-panel:hover::after,
.maturity-q:hover::after,
.assessment-result:hover::after{
  transform:translateX(100%);
}

.glass-project-surface > *,
.security-principles article > *,
.story-panel > *,
.maturity-q > *,
.assessment-result > *{
  position:relative;
  z-index:1;
}

.security-principles article h3,
.story-panel h3,
.maturity-q h3{
  color:var(--text-on-dark);
}

.security-principles article p,
.story-panel p{
  color:var(--text-on-dark-soft);
}

.maturity-q button{
  position:relative;
  z-index:2;
}

/* Image cards retain their photo treatment, but use the same
   measured elevation and border language as the Work cards. */
.im-card{
  border:1px solid var(--glass-dark-border);
  border-top:3px solid var(--orange);
  box-shadow:var(--glass-dark-shadow);
  transition:transform .4s var(--ease-spring),box-shadow .4s ease,border-color .3s ease;
}

.im-card:hover{
  transform:translateY(-6px) scale(1.02);
  border-color:rgba(225,53,17,.42);
  box-shadow:var(--glass-dark-shadow-hover);
}

@media(prefers-reduced-motion:reduce){
  .glass-project-surface::after,
  .security-principles article::after,
  .story-panel::after,
  .maturity-q::after,
  .assessment-result::after{
    transition:none;
  }
  .glass-project-surface::before,
  .security-principles article::before,
  .story-panel::before,
  .maturity-q::before,
  .assessment-result::before{
    animation:none;
  }
}

/* 6.11: the homepage hero is exactly one viewport tall at every breakpoint. */
.system-map-section{isolation:isolate;content-visibility:visible;contain-intrinsic-size:auto}
.system-map-section + .premium-stack-strip{border-top:0}
.system-map-link{display:inline-flex;align-items:center}

/* Amendment #10 — value proposition interface */
.value-interface{
  padding:clamp(28px,4.2vw,54px)!important;
  background:
    radial-gradient(70% 90% at 92% 4%,rgba(225,53,17,.22),transparent 62%),
    radial-gradient(80% 100% at 8% 100%,rgba(35,89,146,.22),transparent 64%),
    linear-gradient(145deg,#142b4b,#0c1f39 58%,#09172d)!important;
}
.value-interface-head{
  display:flex;justify-content:space-between;align-items:flex-end;gap:28px;
  position:relative;z-index:1;
}
.value-interface-copy{min-width:0}
.value-interface .eyebrow{margin-bottom:12px;color:#f39a84}
.value-interface h2{margin-bottom:14px;max-width:620px}
.value-interface p.lead-p{max-width:680px;margin:0;color:rgba(255,255,255,.68);font-size:14px;line-height:1.65}
.value-tabs{
  display:flex;flex:0 1 430px;flex-wrap:wrap;justify-content:flex-end;gap:7px;
  padding-bottom:3px;
}
.value-tab{
  display:inline-flex;align-items:center;min-height:29px;padding:7px 10px;
  border:1px solid rgba(255,255,255,.11);border-radius:999px;
  background:rgba(255,255,255,.045);color:rgba(255,255,255,.56);
  font:750 9px 'Manrope',sans-serif;letter-spacing:.02em;white-space:nowrap;
}
.value-tab.is-active{
  color:#fff;background:rgba(225,53,17,.88);border-color:rgba(255,153,126,.5);
  box-shadow:0 8px 20px rgba(225,53,17,.18);
}
.value-card-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;
  margin-top:30px;position:relative;z-index:1;
}
.value-card{
  min-height:176px!important;height:auto!important;padding:19px 19px 18px!important;
  border-radius:18px!important;background:
    linear-gradient(145deg,rgba(30,63,103,.82),rgba(10,29,53,.9))!important;
  border-color:rgba(255,255,255,.13)!important;
  box-shadow:0 16px 38px rgba(3,10,21,.16),inset 0 1px 0 rgba(255,255,255,.06)!important;
  transition:transform .35s var(--ease-spring),box-shadow .35s ease,border-color .35s ease,background-position 1s ease!important;
}
.value-card:hover{
  transform:translateY(-6px)!important;border-color:rgba(255,127,94,.36)!important;
  box-shadow:0 24px 48px rgba(3,10,21,.28),0 0 24px rgba(225,53,17,.08)!important;
}
.value-card-top{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  position:relative;z-index:2;
}
.value-card-index{color:#f39a84;font:800 9px 'Manrope',sans-serif;letter-spacing:.12em}
.value-status{
  display:inline-flex;align-items:center;gap:5px;color:rgba(255,255,255,.45);
  font:750 8px 'Manrope',sans-serif;letter-spacing:.06em;text-transform:uppercase;
}
.value-status i{width:5px;height:5px;border-radius:50%;background:#48d597;box-shadow:0 0 9px rgba(72,213,151,.55)}
.value-card h3{
  margin:26px 0 8px!important;color:#fff!important;font-size:17px!important;
  line-height:1.18!important;letter-spacing:-.02em;
}
.value-card p{
  margin:0!important;color:rgba(255,255,255,.62)!important;font-size:11.5px!important;
  line-height:1.55!important;max-width:30ch;
}
.value-proof-row{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 26px;
  margin-top:22px;padding-top:17px;border-top:1px solid rgba(255,255,255,.1);
  color:rgba(255,255,255,.5);font:700 9px 'Manrope',sans-serif;
  position:relative;z-index:1;
}
.value-proof-row span{display:inline-flex;align-items:center;gap:7px}
.value-proof-row strong{color:#ff7655;font:850 18px/1 'Manrope',sans-serif;letter-spacing:-.04em}
@media(max-width:1079px){
  .value-interface-head{display:block}
  .value-tabs{justify-content:flex-start;max-width:none;margin-top:22px}
  .value-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .value-interface{padding:28px 20px!important}
  .value-card-grid{grid-template-columns:1fr;gap:10px;margin-top:24px}
  .value-card{min-height:150px!important}
  .value-card h3{margin-top:22px!important}
  .value-proof-row{display:grid;grid-template-columns:1fr;gap:11px;margin-top:18px}
}
